From a0cb14aa4f5e60c9c88d7adea08a7dd6f0a6a22e Mon Sep 17 00:00:00 2001 From: Tadeo Hepperle <62739623+tadeohepperle@users.noreply.github.com> Date: Wed, 27 Mar 2024 09:55:08 +0100 Subject: [PATCH] `subxt-core` crate (#1466) * start migrating, broken * first iteration of updating * fmt and clippy * add Composite decoding via scale value patch * bump scale type gen versions * fix decoding with new scale decode * compiling with changed deps * core utils, condig, client, metadata * core crate compiling * signer crate no once lock * add core to no-std-tests, change imports * broken commit, start pulling everything together in subxt * port more things to subxt * events in core crate, extrinsics sadly much more difficult * almost all examples pass again * dynamic values fix in examples * fix no std issue and fmt * remove unused dependencies * fix lightclient impl * runtime version refactor * formatting and addressing nits * more comments addressed * update wasm example and no-std-signer tests * other nits and error impl on signer errors * fix feature flag * fix runtime version refactor * fix doc links * fix integration tests * fix feature flag gated client state * fix native feature in CI * fix lightclient utils * make imports more lean in subxt-core * integrate changes from subxt-core imports into subxt * other changes in subxt simplify imports more * fix and docs * doc false for cli * fix clippy * remove events block hash in tests * codegen no-std support in generated code * export alloc crate for no-std codegen * fix doc test * implement James comments * remove std traits, use core traits instead * address nits * remove unusued dep in no-std tests * fix Box import in no_std * sp-crypto-hashing instead of sp-core-hashing * bump scale-typegen, add no std codegen tests * fix some things * replace unmaintained derivative with derive_where to remove non-canonical warnings * fmt * remove unused dep * fix deps * update artifacts to fix type ID mismatches * bump to latest scale-typegen --------- Co-authored-by: James Wilson --- .github/workflows/rust.yml | 4 +- Cargo.lock | 67 +- Cargo.toml | 8 +- artifacts/demo_chain_specs/polkadot.json | 12 +- artifacts/polkadot_metadata_full.scale | Bin 402061 -> 288423 bytes artifacts/polkadot_metadata_small.scale | Bin 69879 -> 59331 bytes artifacts/polkadot_metadata_tiny.scale | Bin 38084 -> 37597 bytes cli/src/commands/codegen.rs | 2 +- cli/src/commands/explore/pallets/calls.rs | 5 +- codegen/src/api/calls.rs | 15 +- codegen/src/api/constants.rs | 7 +- codegen/src/api/custom_values.rs | 7 +- codegen/src/api/errors.rs | 5 +- codegen/src/api/events.rs | 14 +- codegen/src/api/mod.rs | 25 +- codegen/src/api/runtime_apis.rs | 5 +- codegen/src/api/storage.rs | 27 +- codegen/src/lib.rs | 15 +- core/Cargo.toml | 82 + core/README.md | 3 + core/src/blocks/mod.rs | 19 + core/src/client/mod.rs | 71 + .../src/config/default_extrinsic_params.rs | 0 .../src/config/extrinsic_params.rs | 46 +- {subxt => core}/src/config/mod.rs | 8 +- {subxt => core}/src/config/polkadot.rs | 2 +- {subxt => core}/src/config/refine_params.rs | 4 +- .../src/config/signed_extensions.rs | 70 +- {subxt => core}/src/config/substrate.rs | 61 +- .../src/constants/constant_address.rs | 30 +- core/src/constants/mod.rs | 59 + .../src/custom_values/custom_value_address.rs | 26 +- core/src/custom_values/mod.rs | 156 + {subxt => core}/src/dynamic.rs | 11 +- core/src/error.rs | 184 + .../events_type.rs => core/src/events/mod.rs | 124 +- core/src/lib.rs | 42 + core/src/macros.rs | 17 + .../src/metadata/decode_encode_traits.rs | 11 +- core/src/metadata/metadata_type.rs | 137 + {subxt => core}/src/metadata/mod.rs | 2 +- .../src/runtime_api/mod.rs | 23 +- core/src/storage/mod.rs | 22 + .../src/storage/storage_address.rs | 31 +- {subxt => core}/src/storage/storage_key.rs | 23 +- core/src/storage/utils.rs | 118 + .../tx/tx_payload.rs => core/src/tx/mod.rs | 32 +- {subxt => core}/src/tx/signer.rs | 0 {subxt => core}/src/utils/account_id.rs | 24 +- {subxt => core}/src/utils/bits.rs | 7 +- {subxt => core}/src/utils/era.rs | 0 core/src/utils/mod.rs | 83 + {subxt => core}/src/utils/multi_address.rs | 1 + {subxt => core}/src/utils/multi_signature.rs | 0 {subxt => core}/src/utils/static_type.rs | 10 +- .../src/utils/unchecked_extrinsic.rs | 5 +- {subxt => core}/src/utils/wrapper_opaque.rs | 26 +- examples/wasm-example/Cargo.lock | 28 +- examples/wasm-example/src/services.rs | 4 +- metadata/src/lib.rs | 39 - signer/Cargo.toml | 13 +- signer/src/ecdsa.rs | 6 +- signer/src/sr25519.rs | 8 +- subxt/Cargo.toml | 13 +- subxt/examples/setup_client_offline.rs | 5 +- subxt/examples/setup_config_custom.rs | 7 +- .../examples/setup_config_signed_extension.rs | 7 +- subxt/examples/storage_iterating_dynamic.rs | 4 +- subxt/src/backend/legacy/mod.rs | 16 +- subxt/src/backend/legacy/rpc_methods.rs | 5 +- subxt/src/backend/mod.rs | 22 +- subxt/src/backend/unstable/mod.rs | 7 +- subxt/src/backend/unstable/rpc_methods.rs | 5 +- subxt/src/blocks/blocks_client.rs | 5 +- subxt/src/blocks/extrinsic_types.rs | 56 +- subxt/src/client/mod.rs | 1 + subxt/src/client/offline_client.rs | 49 +- subxt/src/client/online_client.rs | 37 +- subxt/src/constants/constants_client.rs | 46 +- subxt/src/constants/mod.rs | 3 +- .../src/custom_values/custom_values_client.rs | 65 +- subxt/src/custom_values/mod.rs | 3 +- subxt/src/error/mod.rs | 104 +- subxt/src/events/events_client.rs | 11 +- subxt/src/events/mod.rs | 48 +- subxt/src/lib.rs | 44 +- subxt/src/macros.rs | 2 +- subxt/src/metadata/metadata_type.rs | 74 - subxt/src/runtime_api/mod.rs | 3 +- subxt/src/runtime_api/runtime_client.rs | 5 +- subxt/src/runtime_api/runtime_types.rs | 5 +- subxt/src/storage/mod.rs | 12 +- subxt/src/storage/storage_client.rs | 12 +- subxt/src/storage/storage_type.rs | 16 +- subxt/src/tx/mod.rs | 7 +- subxt/src/tx/tx_client.rs | 7 +- subxt/src/tx/tx_progress.rs | 18 +- subxt/src/utils/mod.rs | 79 +- .../src/full_client/client/unstable_rpcs.rs | 4 +- .../src/full_client/codegen/polkadot.rs | 46762 +++++++--------- .../src/full_client/frame/contracts.rs | 1 - testing/no-std-tests/Cargo.lock | 1733 +- testing/no-std-tests/Cargo.toml | 4 +- testing/no-std-tests/src/main.rs | 10 + testing/ui-tests/src/correct/custom_values.rs | 6 +- testing/ui-tests/src/lib.rs | 2 +- 106 files changed, 24329 insertions(+), 26882 deletions(-) create mode 100644 core/Cargo.toml create mode 100644 core/README.md create mode 100644 core/src/blocks/mod.rs create mode 100644 core/src/client/mod.rs rename {subxt => core}/src/config/default_extrinsic_params.rs (100%) rename {subxt => core}/src/config/extrinsic_params.rs (53%) rename {subxt => core}/src/config/mod.rs (97%) rename {subxt => core}/src/config/polkadot.rs (97%) rename {subxt => core}/src/config/refine_params.rs (94%) rename {subxt => core}/src/config/signed_extensions.rs (90%) rename {subxt => core}/src/config/substrate.rs (86%) rename {subxt => core}/src/constants/constant_address.rs (80%) create mode 100644 core/src/constants/mod.rs rename {subxt => core}/src/custom_values/custom_value_address.rs (78%) create mode 100644 core/src/custom_values/mod.rs rename {subxt => core}/src/dynamic.rs (93%) create mode 100644 core/src/error.rs rename subxt/src/events/events_type.rs => core/src/events/mod.rs (92%) create mode 100644 core/src/lib.rs create mode 100644 core/src/macros.rs rename {subxt => core}/src/metadata/decode_encode_traits.rs (88%) create mode 100644 core/src/metadata/metadata_type.rs rename {subxt => core}/src/metadata/mod.rs (90%) rename subxt/src/runtime_api/runtime_payload.rs => core/src/runtime_api/mod.rs (91%) create mode 100644 core/src/storage/mod.rs rename {subxt => core}/src/storage/storage_address.rs (86%) rename {subxt => core}/src/storage/storage_key.rs (97%) create mode 100644 core/src/storage/utils.rs rename subxt/src/tx/tx_payload.rs => core/src/tx/mod.rs (90%) rename {subxt => core}/src/tx/signer.rs (100%) rename {subxt => core}/src/utils/account_id.rs (92%) rename {subxt => core}/src/utils/bits.rs (98%) rename {subxt => core}/src/utils/era.rs (100%) create mode 100644 core/src/utils/mod.rs rename {subxt => core}/src/utils/multi_address.rs (99%) rename {subxt => core}/src/utils/multi_signature.rs (100%) rename {subxt => core}/src/utils/static_type.rs (91%) rename {subxt => core}/src/utils/unchecked_extrinsic.rs (98%) rename {subxt => core}/src/utils/wrapper_opaque.rs (94%) delete mode 100644 subxt/src/metadata/metadata_type.rs diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 327a77bd31..0f1843ca69 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -187,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 diff --git a/Cargo.lock b/Cargo.lock index f374c7f25a..7dc57d7b2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1270,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" @@ -2816,7 +2827,7 @@ checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", "rand", - "rand_core 0.5.1", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -3637,9 +3648,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ef2175c2907e7c8bc0a9c3f86aeb5ec1f3b275300ad58a44d0c3ae379a5e52e" +checksum = "788745a868b0e751750388f4e6546eb921ef714a4317fa6954f7cde114eb2eb7" dependencies = [ "bitvec", "cfg-if", @@ -3651,9 +3662,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", @@ -3673,22 +3684,23 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.2.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6108609f017741c78d35967c7afe4aeaa3999b848282581041428e10d23b63" +checksum = "0906a872e5733f2633457001962007b644d2e17e08e74340f79820e4951b653f" dependencies = [ "proc-macro2", "quote", "scale-info", + "smallvec", "syn 2.0.53", "thiserror", ] [[package]] name = "scale-typegen-description" -version = "0.2.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479f0b8b0d75cce8d284ace5a9b7f5a12c523c94387c710835695e8b194a17bb" +checksum = "1601f61a2ec4f278cc6102204860893b90abd938ec7e9d02799748a97169b3c9" dependencies = [ "anyhow", "peekmore", @@ -4613,10 +4625,8 @@ version = "0.35.0" dependencies = [ "assert_matches", "async-trait", - "base58", "bitvec", - "blake2", - "derivative", + "derive-where", "either", "frame-metadata 16.0.0", "futures", @@ -4639,6 +4649,7 @@ dependencies = [ "sp-crypto-hashing", "sp-keyring", "sp-runtime", + "subxt-core", "subxt-lightclient", "subxt-macro", "subxt-metadata", @@ -4700,6 +4711,36 @@ dependencies = [ "tokio", ] +[[package]] +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" @@ -4773,7 +4814,7 @@ dependencies = [ "sp-core", "sp-crypto-hashing", "sp-keyring", - "subxt", + "subxt-core", "zeroize", ] diff --git a/Cargo.toml b/Cargo.toml index c61513dc6f..2f50bc5ceb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ members = [ "cli", "codegen", + "core", "lightclient", "testing/substrate-runner", "testing/test-runtime", @@ -70,7 +71,7 @@ codec = { package = "parity-scale-codec", version = "3.6.9", default-features = color-eyre = "0.6.3" console_error_panic_hook = "0.1.7" darling = "0.20.8" -derivative = "2.2.0" +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 } @@ -93,6 +94,8 @@ 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"] } @@ -106,8 +109,6 @@ url = "2.5.0" wabt = "0.10.0" wasm-bindgen-test = "0.3.24" which = "5.0.0" -scale-typegen-description = "0.2.0" -scale-typegen = "0.2.0" strip-ansi-escapes = "0.2.0" # Light client support: @@ -136,6 +137,7 @@ sp-keyring = "34.0.0" # Subxt workspace crates: 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" } diff --git a/artifacts/demo_chain_specs/polkadot.json b/artifacts/demo_chain_specs/polkadot.json index 74ce0faa6e..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", @@ -43,10 +43,10 @@ }, "id": "polkadot", "lightSyncState": { - "babeEpochChanges": "0x0458f6448501174951cd92aa253e1dca05ff4487a8b86ca45b699e2e7bef36456f4644300101b38bfe10000000001395fe100000000004dc81f2058c70567f7c85ded467631941c2efb85ba96e2c9328f10be4774092dc904d3001011395fe1000000000739efe10000000001064de6cab75353df51c9bc549ea19c3fd6bb2094b10745ec5aa63db9576b9d15de456300101739efe1000000000d3a7fe1000000000007921f499584ea60af4fc6c621d1585b79e3852fcc929fce53d68e7d6f5f16c8fe456300101739efe1000000000d3a7fe1000000000009ea154e5d5448f812bcac06720992209518325b0527502738bbbcedc30413c24e456300101739efe1000000000d3a7fe100000000000ffb5d0e61bb7150459291768cdad47428dce5d980d4975c4e1e21ad0b43a059fe456300101739efe1000000000d3a7fe100000000000001858f6448501174951cd92aa253e1dca05ff4487a8b86ca45b699e2e7bef36456f46443001019b20000000000000b38bfe10000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000c681c1acaa82eddba6e394ddc9a2fd1af34418448d544c34966a31c837667f280100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f720100000000000000c056f1879c1fd443e38244c26ef138218b3e43e70b1cb84bd7242e354cc9ee0e010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b0100000000000000c67b1b3084dc3eb2cc7a3cc4f742defc21b733e787737cbaf3b146a052633e0f01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f700100000000000000a6f10752adf745ad55866031836194ad027ed8d6710d9853ef62982bcf45fd0e010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e47758878972010000000000000090d25f2368ee57fb5c100140b7507d5831fb035e7632c53b532b65e6d14ba8480100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e01000000000000008610e1f00a1eba67d13225867c1f2972e60604e49bea7e5c1b10b29d4841b84a0100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b0100000000000000acef6dc8da16677955c38451be5a1b369fdc3c20bc249a1aec917276dfc2da580100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e01000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f010000000000000032636c64cae326ea37dfa4ddad688feb9829ada7a7d580a91ce03a50a673d01c01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e70210100000000000000ee82f2670e36b9ad136ae1ab1607c35f3b49a8c93b86802c06df3ca62a2e3561010000000000000024a0c6db2090170748a7bae71b6f77b5dcc14c6acc5c58e8de78d317ccafe14401000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000e41b3ecad757b0a5ecbc6b29691681df25b3d2b5f1ea325b648e607a5d76cf0801000000000000005461977495f9c407a8d951e860a1cb2087592103229bdbd879629cc538a4182b0100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c39070100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d707600501000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb550100000000000000220d3f26072ad42aa5ca04b7253284d185f8bf95650faa170cbda8d7a47ea84a01000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e5101000000000000004628f93047462b43ec0886f2c7d7318ddad1764fd32af4f32ef0b2dcfa4b297a010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa1901000000000000003635c55546f19bfe62d84a220c4396b1c9d71a1acdb2da917a82f0c1415a2b020100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa7401000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c36010000000000000028e972febaf463f22d1108053e7c26ccde1e6018d7c302985bc227557e0a663b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e0100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000a6cd7eca570e90e2efeeda8f1c09480884a073c66fc7c41b2464e11822b12f0c0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000b045bf0235bbe708e4d6918758650c9c7f9ab4d638e4a841807ed7c82ff7f63a01000000000000005c252543704920d6bea67453cdd61b464b001badf73a3ea3b9e9fb35b224947201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b010000000000000010fee28789d45569ac0c95b7287fc7c5f087d93516cbd06e3c074a392d86da300100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c0100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000f894d159aa4b63402119985e2243e77fc35787fb086867659412c8c6918b2a670100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c8400100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd878010000000000000024190e384934261c444897054262813c65a73aaf371806db97762e995e5b350e0100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000767cb742c94b22fff80da70a4ea77069aecde7ded53fbf5d957b01196924cd2d0100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e66010000000000000016f34c9e6687012c42f9c02de75b9499849fe771f2ad2e666f965dc6627735540100000000000000f60b5e74957220ed7664befb71e9621436e40f2b6c1bdb1c90a6de9c3540a84001000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000fa30595578d5e253a0a3701616665cb205fc02eb560c023454c280bfc6cd8d090100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000c670e2b0f864f126be43807610aab3295cb4ed6a684d95de331d700f74e2985e0100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e176010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c721535901000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c230100000000000000b2ddb9eab0545b9ac7a46e37d6fc4605c34227d848416bd3637da7156efe612601000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf7120100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000c686fbbc968476537924f90aaa4993eef8314685d150228c462f8ae4e5e1e57f01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e852901000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000005e0fa84f762f7d6e4c4b0c18a86e1b7da6cb4fe7dfcf6b5c0056a7ccd8eb201401000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000006ca32996225021dadb0b3f22460db6ce243faa3a0df7b33ef28e5fbcb9cf6f2f01000000000000004a512ac212da2c96d7bc8590865ce627e6b60246700595bb100b240e80a3f0760100000000000000f0c0cc64f8973ebc2322273e684b4f73f412503f124c130be0be1589718cdd780100000000000000322dcdf3a5f50091af8b876983da0e0e98e358339e6033cdb865cd64995f86130100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000003213885ba6fd707b0716aeaad959cd824ab2f854e55963d9e69af006d194d51f0100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d109740199856010000000000000004ea82190bfc6f5f845f2ba785032a5d772b1cb44b3023c18af302f626e7df190100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b0100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a5003010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000008c45a06f479923e10cc400ae1600234f85906e26195bde9023350efaf0bc622c01000000000000006053f4e41a4db1dd6ddcd2304b62de45cda832c4e63a831ce9e634fab830d40d0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad21020100000000000000104b3d784f0ae26bf3268fb7342a99fcbb1ea61068e03337df050ef2e0895374010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba6201000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000001c103b038f0515bb77061128200e1f117a531cb4474cf5f9430535345f54196701000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c2801000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d6101000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e210100000000000000a2259245fb5a7251b99ee8f307b97ec6e7f20081c1f75284aa9b433153d888160100000000000000068245d8a483bdbd4e9d88b49e17a651ec168f25e6851fc52c2e36a516031d5e0100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000dc1d6d9b878558829a87267a578e1d044b2033888074dcc3a9fcd69cd5e60d3e0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b01000000000000007e0da5500e4e91faec6b7c3763c52058a7a9350be3009f2fe00a8e3bf0c59e790100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a1843220100000000000000c322115db35bcba5a2c0755dd59c0278ef7f91ae39592cd8a98e481d64604428010000000000000004000000000000000264de6cab75353df51c9bc549ea19c3fd6bb2094b10745ec5aa63db9576b9d15de4563001019d20000000000000739efe10000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000c681c1acaa82eddba6e394ddc9a2fd1af34418448d544c34966a31c837667f280100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f720100000000000000c056f1879c1fd443e38244c26ef138218b3e43e70b1cb84bd7242e354cc9ee0e010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b0100000000000000c67b1b3084dc3eb2cc7a3cc4f742defc21b733e787737cbaf3b146a052633e0f01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f700100000000000000a6f10752adf745ad55866031836194ad027ed8d6710d9853ef62982bcf45fd0e010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e47758878972010000000000000090d25f2368ee57fb5c100140b7507d5831fb035e7632c53b532b65e6d14ba8480100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e01000000000000008610e1f00a1eba67d13225867c1f2972e60604e49bea7e5c1b10b29d4841b84a0100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b0100000000000000acef6dc8da16677955c38451be5a1b369fdc3c20bc249a1aec917276dfc2da580100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e01000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f010000000000000032636c64cae326ea37dfa4ddad688feb9829ada7a7d580a91ce03a50a673d01c01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e70210100000000000000ee82f2670e36b9ad136ae1ab1607c35f3b49a8c93b86802c06df3ca62a2e3561010000000000000024a0c6db2090170748a7bae71b6f77b5dcc14c6acc5c58e8de78d317ccafe14401000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000e41b3ecad757b0a5ecbc6b29691681df25b3d2b5f1ea325b648e607a5d76cf0801000000000000005461977495f9c407a8d951e860a1cb2087592103229bdbd879629cc538a4182b0100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c39070100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d707600501000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb550100000000000000220d3f26072ad42aa5ca04b7253284d185f8bf95650faa170cbda8d7a47ea84a01000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e5101000000000000004628f93047462b43ec0886f2c7d7318ddad1764fd32af4f32ef0b2dcfa4b297a010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa1901000000000000003635c55546f19bfe62d84a220c4396b1c9d71a1acdb2da917a82f0c1415a2b020100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa7401000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c36010000000000000028e972febaf463f22d1108053e7c26ccde1e6018d7c302985bc227557e0a663b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e0100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000a6cd7eca570e90e2efeeda8f1c09480884a073c66fc7c41b2464e11822b12f0c0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000b045bf0235bbe708e4d6918758650c9c7f9ab4d638e4a841807ed7c82ff7f63a01000000000000005c252543704920d6bea67453cdd61b464b001badf73a3ea3b9e9fb35b224947201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b010000000000000010fee28789d45569ac0c95b7287fc7c5f087d93516cbd06e3c074a392d86da300100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c0100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000f894d159aa4b63402119985e2243e77fc35787fb086867659412c8c6918b2a670100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c8400100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd878010000000000000024190e384934261c444897054262813c65a73aaf371806db97762e995e5b350e0100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000767cb742c94b22fff80da70a4ea77069aecde7ded53fbf5d957b01196924cd2d0100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e66010000000000000016f34c9e6687012c42f9c02de75b9499849fe771f2ad2e666f965dc6627735540100000000000000f60b5e74957220ed7664befb71e9621436e40f2b6c1bdb1c90a6de9c3540a84001000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000fa30595578d5e253a0a3701616665cb205fc02eb560c023454c280bfc6cd8d090100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000c670e2b0f864f126be43807610aab3295cb4ed6a684d95de331d700f74e2985e0100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e176010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c721535901000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c230100000000000000b2ddb9eab0545b9ac7a46e37d6fc4605c34227d848416bd3637da7156efe612601000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf7120100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000c686fbbc968476537924f90aaa4993eef8314685d150228c462f8ae4e5e1e57f01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e852901000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000005e0fa84f762f7d6e4c4b0c18a86e1b7da6cb4fe7dfcf6b5c0056a7ccd8eb201401000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000006ca32996225021dadb0b3f22460db6ce243faa3a0df7b33ef28e5fbcb9cf6f2f01000000000000004a512ac212da2c96d7bc8590865ce627e6b60246700595bb100b240e80a3f0760100000000000000f0c0cc64f8973ebc2322273e684b4f73f412503f124c130be0be1589718cdd780100000000000000322dcdf3a5f50091af8b876983da0e0e98e358339e6033cdb865cd64995f86130100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000003213885ba6fd707b0716aeaad959cd824ab2f854e55963d9e69af006d194d51f0100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d10974019985601000000000000007075de5f3cae26e005560440e9cc633c9fe8d7143b1fb8dc67e0d1ed7871e77d0100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b0100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a5003010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000008c45a06f479923e10cc400ae1600234f85906e26195bde9023350efaf0bc622c01000000000000006053f4e41a4db1dd6ddcd2304b62de45cda832c4e63a831ce9e634fab830d40d0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad21020100000000000000104b3d784f0ae26bf3268fb7342a99fcbb1ea61068e03337df050ef2e0895374010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba6201000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000001c103b038f0515bb77061128200e1f117a531cb4474cf5f9430535345f54196701000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c2801000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d6101000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e21010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac480100000000000000068245d8a483bdbd4e9d88b49e17a651ec168f25e6851fc52c2e36a516031d5e0100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000dc1d6d9b878558829a87267a578e1d044b2033888074dcc3a9fcd69cd5e60d3e0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b01000000000000007e0da5500e4e91faec6b7c3763c52058a7a9350be3009f2fe00a8e3bf0c59e790100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a18432201000000000000005d9f86b7514745bf41299f7fb39969966e4b7556bc3942a51c95052f5233493901000000000000000400000000000000027921f499584ea60af4fc6c621d1585b79e3852fcc929fce53d68e7d6f5f16c8fe4563001019d20000000000000739efe10000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000c681c1acaa82eddba6e394ddc9a2fd1af34418448d544c34966a31c837667f280100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f720100000000000000c056f1879c1fd443e38244c26ef138218b3e43e70b1cb84bd7242e354cc9ee0e010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b0100000000000000c67b1b3084dc3eb2cc7a3cc4f742defc21b733e787737cbaf3b146a052633e0f01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f700100000000000000a6f10752adf745ad55866031836194ad027ed8d6710d9853ef62982bcf45fd0e010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e47758878972010000000000000090d25f2368ee57fb5c100140b7507d5831fb035e7632c53b532b65e6d14ba8480100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e01000000000000008610e1f00a1eba67d13225867c1f2972e60604e49bea7e5c1b10b29d4841b84a0100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b0100000000000000acef6dc8da16677955c38451be5a1b369fdc3c20bc249a1aec917276dfc2da580100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e01000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f010000000000000032636c64cae326ea37dfa4ddad688feb9829ada7a7d580a91ce03a50a673d01c01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e70210100000000000000ee82f2670e36b9ad136ae1ab1607c35f3b49a8c93b86802c06df3ca62a2e3561010000000000000024a0c6db2090170748a7bae71b6f77b5dcc14c6acc5c58e8de78d317ccafe14401000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000e41b3ecad757b0a5ecbc6b29691681df25b3d2b5f1ea325b648e607a5d76cf0801000000000000005461977495f9c407a8d951e860a1cb2087592103229bdbd879629cc538a4182b0100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c39070100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d707600501000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb550100000000000000220d3f26072ad42aa5ca04b7253284d185f8bf95650faa170cbda8d7a47ea84a01000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e5101000000000000004628f93047462b43ec0886f2c7d7318ddad1764fd32af4f32ef0b2dcfa4b297a010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa1901000000000000003635c55546f19bfe62d84a220c4396b1c9d71a1acdb2da917a82f0c1415a2b020100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa7401000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c36010000000000000028e972febaf463f22d1108053e7c26ccde1e6018d7c302985bc227557e0a663b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e0100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000a6cd7eca570e90e2efeeda8f1c09480884a073c66fc7c41b2464e11822b12f0c0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000b045bf0235bbe708e4d6918758650c9c7f9ab4d638e4a841807ed7c82ff7f63a01000000000000005c252543704920d6bea67453cdd61b464b001badf73a3ea3b9e9fb35b224947201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b010000000000000010fee28789d45569ac0c95b7287fc7c5f087d93516cbd06e3c074a392d86da300100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c0100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000f894d159aa4b63402119985e2243e77fc35787fb086867659412c8c6918b2a670100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c8400100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd878010000000000000024190e384934261c444897054262813c65a73aaf371806db97762e995e5b350e0100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000767cb742c94b22fff80da70a4ea77069aecde7ded53fbf5d957b01196924cd2d0100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e66010000000000000016f34c9e6687012c42f9c02de75b9499849fe771f2ad2e666f965dc6627735540100000000000000f60b5e74957220ed7664befb71e9621436e40f2b6c1bdb1c90a6de9c3540a84001000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000fa30595578d5e253a0a3701616665cb205fc02eb560c023454c280bfc6cd8d090100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000c670e2b0f864f126be43807610aab3295cb4ed6a684d95de331d700f74e2985e0100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e176010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c721535901000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c230100000000000000b2ddb9eab0545b9ac7a46e37d6fc4605c34227d848416bd3637da7156efe612601000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf7120100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000c686fbbc968476537924f90aaa4993eef8314685d150228c462f8ae4e5e1e57f01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e852901000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000005e0fa84f762f7d6e4c4b0c18a86e1b7da6cb4fe7dfcf6b5c0056a7ccd8eb201401000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000006ca32996225021dadb0b3f22460db6ce243faa3a0df7b33ef28e5fbcb9cf6f2f01000000000000004a512ac212da2c96d7bc8590865ce627e6b60246700595bb100b240e80a3f0760100000000000000f0c0cc64f8973ebc2322273e684b4f73f412503f124c130be0be1589718cdd780100000000000000322dcdf3a5f50091af8b876983da0e0e98e358339e6033cdb865cd64995f86130100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000003213885ba6fd707b0716aeaad959cd824ab2f854e55963d9e69af006d194d51f0100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d10974019985601000000000000007075de5f3cae26e005560440e9cc633c9fe8d7143b1fb8dc67e0d1ed7871e77d0100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b0100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a5003010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000008c45a06f479923e10cc400ae1600234f85906e26195bde9023350efaf0bc622c01000000000000006053f4e41a4db1dd6ddcd2304b62de45cda832c4e63a831ce9e634fab830d40d0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad21020100000000000000104b3d784f0ae26bf3268fb7342a99fcbb1ea61068e03337df050ef2e0895374010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba6201000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000001c103b038f0515bb77061128200e1f117a531cb4474cf5f9430535345f54196701000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c2801000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d6101000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e21010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac480100000000000000068245d8a483bdbd4e9d88b49e17a651ec168f25e6851fc52c2e36a516031d5e0100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000dc1d6d9b878558829a87267a578e1d044b2033888074dcc3a9fcd69cd5e60d3e0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b01000000000000007e0da5500e4e91faec6b7c3763c52058a7a9350be3009f2fe00a8e3bf0c59e790100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a18432201000000000000005d9f86b7514745bf41299f7fb39969966e4b7556bc3942a51c95052f5233493901000000000000000400000000000000029ea154e5d5448f812bcac06720992209518325b0527502738bbbcedc30413c24e4563001019d20000000000000739efe10000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000c681c1acaa82eddba6e394ddc9a2fd1af34418448d544c34966a31c837667f280100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f720100000000000000c056f1879c1fd443e38244c26ef138218b3e43e70b1cb84bd7242e354cc9ee0e010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b0100000000000000c67b1b3084dc3eb2cc7a3cc4f742defc21b733e787737cbaf3b146a052633e0f01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f700100000000000000a6f10752adf745ad55866031836194ad027ed8d6710d9853ef62982bcf45fd0e010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e47758878972010000000000000090d25f2368ee57fb5c100140b7507d5831fb035e7632c53b532b65e6d14ba8480100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e01000000000000008610e1f00a1eba67d13225867c1f2972e60604e49bea7e5c1b10b29d4841b84a0100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b0100000000000000acef6dc8da16677955c38451be5a1b369fdc3c20bc249a1aec917276dfc2da580100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e01000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f010000000000000032636c64cae326ea37dfa4ddad688feb9829ada7a7d580a91ce03a50a673d01c01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e70210100000000000000ee82f2670e36b9ad136ae1ab1607c35f3b49a8c93b86802c06df3ca62a2e3561010000000000000024a0c6db2090170748a7bae71b6f77b5dcc14c6acc5c58e8de78d317ccafe14401000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000e41b3ecad757b0a5ecbc6b29691681df25b3d2b5f1ea325b648e607a5d76cf0801000000000000005461977495f9c407a8d951e860a1cb2087592103229bdbd879629cc538a4182b0100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c39070100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d707600501000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb550100000000000000220d3f26072ad42aa5ca04b7253284d185f8bf95650faa170cbda8d7a47ea84a01000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e5101000000000000004628f93047462b43ec0886f2c7d7318ddad1764fd32af4f32ef0b2dcfa4b297a010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa1901000000000000003635c55546f19bfe62d84a220c4396b1c9d71a1acdb2da917a82f0c1415a2b020100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa7401000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c36010000000000000028e972febaf463f22d1108053e7c26ccde1e6018d7c302985bc227557e0a663b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e0100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000a6cd7eca570e90e2efeeda8f1c09480884a073c66fc7c41b2464e11822b12f0c0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000b045bf0235bbe708e4d6918758650c9c7f9ab4d638e4a841807ed7c82ff7f63a01000000000000005c252543704920d6bea67453cdd61b464b001badf73a3ea3b9e9fb35b224947201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b010000000000000010fee28789d45569ac0c95b7287fc7c5f087d93516cbd06e3c074a392d86da300100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c0100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000f894d159aa4b63402119985e2243e77fc35787fb086867659412c8c6918b2a670100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c8400100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd878010000000000000024190e384934261c444897054262813c65a73aaf371806db97762e995e5b350e0100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000767cb742c94b22fff80da70a4ea77069aecde7ded53fbf5d957b01196924cd2d0100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e66010000000000000016f34c9e6687012c42f9c02de75b9499849fe771f2ad2e666f965dc6627735540100000000000000f60b5e74957220ed7664befb71e9621436e40f2b6c1bdb1c90a6de9c3540a84001000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000fa30595578d5e253a0a3701616665cb205fc02eb560c023454c280bfc6cd8d090100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000c670e2b0f864f126be43807610aab3295cb4ed6a684d95de331d700f74e2985e0100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e176010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c721535901000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c230100000000000000b2ddb9eab0545b9ac7a46e37d6fc4605c34227d848416bd3637da7156efe612601000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf7120100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000c686fbbc968476537924f90aaa4993eef8314685d150228c462f8ae4e5e1e57f01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e852901000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000005e0fa84f762f7d6e4c4b0c18a86e1b7da6cb4fe7dfcf6b5c0056a7ccd8eb201401000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000006ca32996225021dadb0b3f22460db6ce243faa3a0df7b33ef28e5fbcb9cf6f2f01000000000000004a512ac212da2c96d7bc8590865ce627e6b60246700595bb100b240e80a3f0760100000000000000f0c0cc64f8973ebc2322273e684b4f73f412503f124c130be0be1589718cdd780100000000000000322dcdf3a5f50091af8b876983da0e0e98e358339e6033cdb865cd64995f86130100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000003213885ba6fd707b0716aeaad959cd824ab2f854e55963d9e69af006d194d51f0100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d10974019985601000000000000007075de5f3cae26e005560440e9cc633c9fe8d7143b1fb8dc67e0d1ed7871e77d0100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b0100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a5003010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000008c45a06f479923e10cc400ae1600234f85906e26195bde9023350efaf0bc622c01000000000000006053f4e41a4db1dd6ddcd2304b62de45cda832c4e63a831ce9e634fab830d40d0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad21020100000000000000104b3d784f0ae26bf3268fb7342a99fcbb1ea61068e03337df050ef2e0895374010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba6201000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000001c103b038f0515bb77061128200e1f117a531cb4474cf5f9430535345f54196701000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c2801000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d6101000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e21010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac480100000000000000068245d8a483bdbd4e9d88b49e17a651ec168f25e6851fc52c2e36a516031d5e0100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000dc1d6d9b878558829a87267a578e1d044b2033888074dcc3a9fcd69cd5e60d3e0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b01000000000000007e0da5500e4e91faec6b7c3763c52058a7a9350be3009f2fe00a8e3bf0c59e790100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a18432201000000000000005d9f86b7514745bf41299f7fb39969966e4b7556bc3942a51c95052f523349390100000000000000040000000000000002dc81f2058c70567f7c85ded467631941c2efb85ba96e2c9328f10be4774092dc904d3001019c200000000000001395fe10000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000c681c1acaa82eddba6e394ddc9a2fd1af34418448d544c34966a31c837667f280100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f720100000000000000c056f1879c1fd443e38244c26ef138218b3e43e70b1cb84bd7242e354cc9ee0e010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b0100000000000000c67b1b3084dc3eb2cc7a3cc4f742defc21b733e787737cbaf3b146a052633e0f01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f700100000000000000a6f10752adf745ad55866031836194ad027ed8d6710d9853ef62982bcf45fd0e010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e47758878972010000000000000090d25f2368ee57fb5c100140b7507d5831fb035e7632c53b532b65e6d14ba8480100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e01000000000000008610e1f00a1eba67d13225867c1f2972e60604e49bea7e5c1b10b29d4841b84a0100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b0100000000000000acef6dc8da16677955c38451be5a1b369fdc3c20bc249a1aec917276dfc2da580100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e01000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f010000000000000032636c64cae326ea37dfa4ddad688feb9829ada7a7d580a91ce03a50a673d01c01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e70210100000000000000ee82f2670e36b9ad136ae1ab1607c35f3b49a8c93b86802c06df3ca62a2e3561010000000000000024a0c6db2090170748a7bae71b6f77b5dcc14c6acc5c58e8de78d317ccafe14401000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000e41b3ecad757b0a5ecbc6b29691681df25b3d2b5f1ea325b648e607a5d76cf0801000000000000005461977495f9c407a8d951e860a1cb2087592103229bdbd879629cc538a4182b0100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c39070100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d707600501000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb550100000000000000220d3f26072ad42aa5ca04b7253284d185f8bf95650faa170cbda8d7a47ea84a01000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e5101000000000000004628f93047462b43ec0886f2c7d7318ddad1764fd32af4f32ef0b2dcfa4b297a010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa1901000000000000003635c55546f19bfe62d84a220c4396b1c9d71a1acdb2da917a82f0c1415a2b020100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa7401000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c36010000000000000028e972febaf463f22d1108053e7c26ccde1e6018d7c302985bc227557e0a663b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e0100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000a6cd7eca570e90e2efeeda8f1c09480884a073c66fc7c41b2464e11822b12f0c0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000b045bf0235bbe708e4d6918758650c9c7f9ab4d638e4a841807ed7c82ff7f63a01000000000000005c252543704920d6bea67453cdd61b464b001badf73a3ea3b9e9fb35b224947201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b010000000000000010fee28789d45569ac0c95b7287fc7c5f087d93516cbd06e3c074a392d86da300100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c0100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000f894d159aa4b63402119985e2243e77fc35787fb086867659412c8c6918b2a670100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c8400100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd878010000000000000024190e384934261c444897054262813c65a73aaf371806db97762e995e5b350e0100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000767cb742c94b22fff80da70a4ea77069aecde7ded53fbf5d957b01196924cd2d0100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e66010000000000000016f34c9e6687012c42f9c02de75b9499849fe771f2ad2e666f965dc6627735540100000000000000f60b5e74957220ed7664befb71e9621436e40f2b6c1bdb1c90a6de9c3540a84001000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000fa30595578d5e253a0a3701616665cb205fc02eb560c023454c280bfc6cd8d090100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000c670e2b0f864f126be43807610aab3295cb4ed6a684d95de331d700f74e2985e0100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e176010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c721535901000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c230100000000000000b2ddb9eab0545b9ac7a46e37d6fc4605c34227d848416bd3637da7156efe612601000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf7120100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000c686fbbc968476537924f90aaa4993eef8314685d150228c462f8ae4e5e1e57f01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e852901000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000005e0fa84f762f7d6e4c4b0c18a86e1b7da6cb4fe7dfcf6b5c0056a7ccd8eb201401000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000006ca32996225021dadb0b3f22460db6ce243faa3a0df7b33ef28e5fbcb9cf6f2f01000000000000004a512ac212da2c96d7bc8590865ce627e6b60246700595bb100b240e80a3f0760100000000000000f0c0cc64f8973ebc2322273e684b4f73f412503f124c130be0be1589718cdd780100000000000000322dcdf3a5f50091af8b876983da0e0e98e358339e6033cdb865cd64995f86130100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000003213885ba6fd707b0716aeaad959cd824ab2f854e55963d9e69af006d194d51f0100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d109740199856010000000000000064214c3864c6011c684c9189e62616eff43fd4709c37755b41d432a6ee03fc020100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b0100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a5003010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000008c45a06f479923e10cc400ae1600234f85906e26195bde9023350efaf0bc622c01000000000000006053f4e41a4db1dd6ddcd2304b62de45cda832c4e63a831ce9e634fab830d40d0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad21020100000000000000104b3d784f0ae26bf3268fb7342a99fcbb1ea61068e03337df050ef2e0895374010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba6201000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000001c103b038f0515bb77061128200e1f117a531cb4474cf5f9430535345f54196701000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c2801000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d6101000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e21010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac480100000000000000068245d8a483bdbd4e9d88b49e17a651ec168f25e6851fc52c2e36a516031d5e0100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000dc1d6d9b878558829a87267a578e1d044b2033888074dcc3a9fcd69cd5e60d3e0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b01000000000000007e0da5500e4e91faec6b7c3763c52058a7a9350be3009f2fe00a8e3bf0c59e790100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a1843220100000000000000389a3d1a5e1e8099f5b05213b5e20bf7f80c50e945831f1309f1d0623dc514e60100000000000000040000000000000002ffb5d0e61bb7150459291768cdad47428dce5d980d4975c4e1e21ad0b43a059fe4563001019d20000000000000739efe10000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000c681c1acaa82eddba6e394ddc9a2fd1af34418448d544c34966a31c837667f280100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f720100000000000000c056f1879c1fd443e38244c26ef138218b3e43e70b1cb84bd7242e354cc9ee0e010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b0100000000000000c67b1b3084dc3eb2cc7a3cc4f742defc21b733e787737cbaf3b146a052633e0f01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f700100000000000000a6f10752adf745ad55866031836194ad027ed8d6710d9853ef62982bcf45fd0e010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e47758878972010000000000000090d25f2368ee57fb5c100140b7507d5831fb035e7632c53b532b65e6d14ba8480100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e01000000000000008610e1f00a1eba67d13225867c1f2972e60604e49bea7e5c1b10b29d4841b84a0100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b0100000000000000acef6dc8da16677955c38451be5a1b369fdc3c20bc249a1aec917276dfc2da580100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e01000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f010000000000000032636c64cae326ea37dfa4ddad688feb9829ada7a7d580a91ce03a50a673d01c01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e70210100000000000000ee82f2670e36b9ad136ae1ab1607c35f3b49a8c93b86802c06df3ca62a2e3561010000000000000024a0c6db2090170748a7bae71b6f77b5dcc14c6acc5c58e8de78d317ccafe14401000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000e41b3ecad757b0a5ecbc6b29691681df25b3d2b5f1ea325b648e607a5d76cf0801000000000000005461977495f9c407a8d951e860a1cb2087592103229bdbd879629cc538a4182b0100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c39070100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d707600501000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb550100000000000000220d3f26072ad42aa5ca04b7253284d185f8bf95650faa170cbda8d7a47ea84a01000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e5101000000000000004628f93047462b43ec0886f2c7d7318ddad1764fd32af4f32ef0b2dcfa4b297a010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa1901000000000000003635c55546f19bfe62d84a220c4396b1c9d71a1acdb2da917a82f0c1415a2b020100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa7401000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c36010000000000000028e972febaf463f22d1108053e7c26ccde1e6018d7c302985bc227557e0a663b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e0100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000a6cd7eca570e90e2efeeda8f1c09480884a073c66fc7c41b2464e11822b12f0c0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000b045bf0235bbe708e4d6918758650c9c7f9ab4d638e4a841807ed7c82ff7f63a01000000000000005c252543704920d6bea67453cdd61b464b001badf73a3ea3b9e9fb35b224947201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b010000000000000010fee28789d45569ac0c95b7287fc7c5f087d93516cbd06e3c074a392d86da300100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c0100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000f894d159aa4b63402119985e2243e77fc35787fb086867659412c8c6918b2a670100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c8400100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd878010000000000000024190e384934261c444897054262813c65a73aaf371806db97762e995e5b350e0100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000767cb742c94b22fff80da70a4ea77069aecde7ded53fbf5d957b01196924cd2d0100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e66010000000000000016f34c9e6687012c42f9c02de75b9499849fe771f2ad2e666f965dc6627735540100000000000000f60b5e74957220ed7664befb71e9621436e40f2b6c1bdb1c90a6de9c3540a84001000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000fa30595578d5e253a0a3701616665cb205fc02eb560c023454c280bfc6cd8d090100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000c670e2b0f864f126be43807610aab3295cb4ed6a684d95de331d700f74e2985e0100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e176010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c721535901000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c230100000000000000b2ddb9eab0545b9ac7a46e37d6fc4605c34227d848416bd3637da7156efe612601000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf7120100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000c686fbbc968476537924f90aaa4993eef8314685d150228c462f8ae4e5e1e57f01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e852901000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000005e0fa84f762f7d6e4c4b0c18a86e1b7da6cb4fe7dfcf6b5c0056a7ccd8eb201401000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000006ca32996225021dadb0b3f22460db6ce243faa3a0df7b33ef28e5fbcb9cf6f2f01000000000000004a512ac212da2c96d7bc8590865ce627e6b60246700595bb100b240e80a3f0760100000000000000f0c0cc64f8973ebc2322273e684b4f73f412503f124c130be0be1589718cdd780100000000000000322dcdf3a5f50091af8b876983da0e0e98e358339e6033cdb865cd64995f86130100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000003213885ba6fd707b0716aeaad959cd824ab2f854e55963d9e69af006d194d51f0100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d10974019985601000000000000007075de5f3cae26e005560440e9cc633c9fe8d7143b1fb8dc67e0d1ed7871e77d0100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b0100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a5003010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000008c45a06f479923e10cc400ae1600234f85906e26195bde9023350efaf0bc622c01000000000000006053f4e41a4db1dd6ddcd2304b62de45cda832c4e63a831ce9e634fab830d40d0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad21020100000000000000104b3d784f0ae26bf3268fb7342a99fcbb1ea61068e03337df050ef2e0895374010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba6201000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000001c103b038f0515bb77061128200e1f117a531cb4474cf5f9430535345f54196701000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c2801000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d6101000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e21010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac480100000000000000068245d8a483bdbd4e9d88b49e17a651ec168f25e6851fc52c2e36a516031d5e0100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000dc1d6d9b878558829a87267a578e1d044b2033888074dcc3a9fcd69cd5e60d3e0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b01000000000000007e0da5500e4e91faec6b7c3763c52058a7a9350be3009f2fe00a8e3bf0c59e790100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a18432201000000000000005d9f86b7514745bf41299f7fb39969966e4b7556bc3942a51c95052f523349390100000000000000040000000000000002", - "babeFinalizedBlockWeight": 4980440, - "finalizedBlockHeader": "0x08fc7d82be90fc446540dfc7fa84ea9654e4b325c371287af36fc682b35de5003662c1045aa42cc757a09c3e25503e09011b5d42bda04ae837625b94fc8b5707fc720a1e1542f33045f3c148004d12449a85939443875ed22a6b784d0b98bcd23e8d94700c0642414245b50103c5000000be96fe1000000000b23bf90dbb77221a32ecce7d972f2329400d1f1e63ad35dceeea1da85b70db291c684e274e48e2209af241ba33af42ffb5d146744563a182f2a9e5f19eed2807cc6de44d4cd6122378107fdc2e911e1dbb48ad8e3128c2704fffd376f897770a0442454546840339ee35d495af3a52ded5bf12f7d0199ba9a2ef6b7fad55d4a43b1d3d298b149c05424142450101a67b1f75fc1754699d7be1faae0fc2607c30bfbf391a214842ad1a28bf11d257d89dba14f111563675fe3f407e0b6068ca17e42da4e34311471673b233f0b680", - "grandpaAuthoritySet": "0xa5046f706506065685b322054d22e8a1f23ca9df75c32a88dda5214ad58b553b4cca01000000000000008a239af78d4659897af698b5670533fa6d215864be8c41e3a2fc4309f9f83dcb0100000000000000e2b9e72d9202e99526fa626d9a6651dfd7c1daec8fc6ba1130af96f7d21a42da010000000000000056b838dd2005e499be47ceef086df4ca9c5fbc1f81968391c31af062a8a8bef301000000000000004a3fc0fe1020c7f460c7bd23d0b657c03368552b2f0a12d80a1c406fd066e0db01000000000000009b992b5e9b99eb2cd3b2b648d6db81ed722a2feb4938d998b58dcb5d159fadfa0100000000000000aee9de3938173700b3e3f4fbf2b200ae296173a0854157f40de2598dd4cad8f10100000000000000243f110deac5efe8e963d794eb8706a1895ae1942523ab0fe9e1623515b7dea80100000000000000e8d7333e457fa740db924866152f31c3bfa6124c0367b0878a61aff2d5d6e27e0100000000000000426b2be4596a759a15028d84e08c5c56440e6cede68d088f47c671cc3387c3e6010000000000000070ba6e5985990ba1b1392713236f1b50df750f10f744cc6eb95fa7c5cfbc68760100000000000000d343862beda4cf485b4a3b7e9b62d3b7e6263b47f65a7c88c88f6e0f1350c7a50100000000000000116768c765c7ce5a5e895a5342d1f56f1a118901d8d36fe584bab325506f3b2801000000000000007d09df0a629a0eee12da27d7fad8b18833a7d1edc7c6c8b7701e425ae449fa820100000000000000e511d441d6d3c822cb276bb2a14b1c8071d9fe1995802383fb5dcf8a92edcfc20100000000000000be2235b9d9c9164f494dd688000fb569a37d5c47912ef99b9ebda9318d13345e010000000000000049c0902ee37b569482da5474a15458b5dee16102fbc09b45878bb05f4a717acf01000000000000000e0ac68072ac35b8f19f98d13385b6eb75cf6fd4d513d9a2abfe9711b19883bb01000000000000007818639057900f8fb58e3aa8180f6108c251884a9fcb8041ca645cf612bc1eda0100000000000000a8dbfc6cb88ac105e25b9dc7f11e883631824647cd4d0c18014bb6239627b2900100000000000000a5b094ae7c156592baa68ce18dab6368d5b665e9a0f07dfc5f54f58309e086c101000000000000005ce9f5dbcde6b3a066cfe93e07f0066fa7aa3ef8511d34dede8aa8f7cba5b68b010000000000000041ef4a31eb7dc1e01f4630604e1908e644d7cdee3f66a60f98d6d59605326f8b0100000000000000890f5c296681b8c23038b3d36a491ca9e0e7e809e6455b2bcd28a13700f81abb010000000000000008cc1d6c743da905511a39a6f0a68809a6bc32f8ac25e53bb2d6aca4f493fc9b0100000000000000acd71d4269b3ba2a9de822d494c4d841708e1519c08de41d7fc6153eaf48da8101000000000000007c1024f3b93e54cb1cdde0d2f685e2e16cadabe59e407ebc45eabb07efebca6101000000000000000f42866aa6927f1c5916a8a1a5a5cba2d88e1fff957d80df701617d93ee6407801000000000000005cba2c6f569da1edc3778308da406f266aa53140381dbb3f14f22909ba6e30040100000000000000dac2e90de824b109043f70818d53eabe05e79d518bda504e951d7f4056b0b2720100000000000000652f455eb3d30486151c716a4031bc02bd00254ef3e8290fd29f946d958a46b60100000000000000589fc35b132ef9d7ed9a6787a203e5a3a37f8cd6c775f47ac5e589d55d381a640100000000000000a34b3f8e84aa86be3b47260f67720030795fc96379e5b31cc6c87c2f4d1cc3e001000000000000007977808620ade75f3efeb26b0926229e0817c6163399f1d48f39ece8159c9ec20100000000000000dccafad8bba5affbc80095564afc9376881907073a060979fabbb962bef08d560100000000000000cba3e016511b2fea3ba7738f807f31d6dc0679b877910dff84cf12bc357105d30100000000000000aa3be8112cdf851411fe9e00fe9ef0a6b58217326ba7c1ab7ed9ce8a34620b250100000000000000c1c1ff5f66fefb5c0849e3b2333411d1f7e9dd4888600e334e7a33623f15fa360100000000000000fe240e80ff8a48a77947b394979cf361017cd906ddaab637d72cf72e729d79bf01000000000000002f40f2660559a4472aa7d2b5dac22c8925b9baeaec9fa2463cef2a77eb9d3a1b0100000000000000fa2c21f1a03638d4cb35202102240c2b85f5667924d5838cc503721117049da601000000000000008aabd4f6d7ecec7a749c83fc7be33f3b4818cca6f93a4927b4964900df9454e50100000000000000fcc0d954c7d519851e0094cd9a015b4789022a37091e3a04791d0731bd85f0d301000000000000003948bfd09bbbc2fe6ac5dfe53146e32df50828eecf7b2b18cdcff8dc385cbd750100000000000000a2a4af2a11ae7ba812fcc32845583d0354a0f2ffb1271a53c9a976a0f47fff4401000000000000002385953f1ac49461b9c243159d9668b26e7322e19fff7bc18d90634f0f767ce8010000000000000058e304af91397247f704ce95d60845629aa59a50fba1c13896bb2300708db47201000000000000008663371a5899d5e7a8bc99b9a6ce24c8c3f5f1149c1e70accf9560405c1a5bf201000000000000003d28789c6d574f3aa6d14360471901c5bf8255d072c2209fa22ac773bd32e5bf010000000000000041763df8284ae8248ee0f649982ffc7d4f613e07c7bb83cd554aca5dcf8f56250100000000000000cc0c6a91c7971438b621cd9a3bd37a67f52ec4093336585d1e2c73416195e28a010000000000000094040fd277c75d7227bf8d55973060bde3809b3b7d6ec79602f19cdf68e775cc0100000000000000de52bfa88c4a76bb22fbebb0f078dfcc5a327034e0044e8f8034f2a96e7adfef0100000000000000bf3fd3d4065b306638662c3e789d830a63d9b343cef5f863d346058387844b58010000000000000005197187ac7eb8d0a3cfadd32f1a7fb662e7e4a16ea718af3f1e4437b865205b0100000000000000c84074bb67af84cdf84b9df1dadc1188cd75709a8d11bba65f2835d76f38c4730100000000000000aaecb94cc62ac90656976daa8955353e0ff22fcabd55715903be2f958988bc070100000000000000b98c920666586f392d129d480e78a965764ac82de45e691589b3aab7831a7f020100000000000000cb92ffeace78dbafe6fbf275741b4b38657fb81590712aa0bca7877931f6ad39010000000000000034a18d21097f479eecbe51b91c522a798582caafc787134bab6888854742406e010000000000000027791275ae7d4735aa45e70210663067f7d268aa57126a26044c8f6d8572a7d80100000000000000f7c9f4bc8669969246cfb748ac6996db6cd4c1fc634d981a1093b2c3d7a2eadf0100000000000000b0b60d160bed8c1484f5359eb5282e523c47daaf880cb2d32edf97f633aeffd10100000000000000106ea6714f4bd7ecc914d6b6696f031f4d04a74afc55051068d3c44edfc6ecbc0100000000000000f001e2e99b378fa4f2d1a50b28c3fcefcd7da3a66314af1280fb7f9cb429dd380100000000000000ffd82ddc49373448bed6feb0032744e20068f4e21adc4cb6d2cbf05ce73f4ce40100000000000000507b0289bfb2f55c7a62ec3c3298690909013c916dd5885b05b330fdc0caf1270100000000000000c8185ca8ae6330a1e03490e132163adf517f76402ecac6881a51c8a14ed62f940100000000000000c49e3cd2c701bb845963c2870dcca12ed070c3f67ffc20144327a93aa6e896ec010000000000000081b1fce3ee9e31723f1023eaa9f8793e8663e72c50fbb0fbcea9bc78bacc491b01000000000000002dad5b2212ee688f2eeb9ca1fb6a90574f006dc1c6680ac3a8523363a248940b01000000000000004bb953c285fc6de7ef27baf835e8d905e60d86fb1bca0e52af8323e9d1ff219d010000000000000050f9fd6c0623020debb7843bcb832ee1d80db9b156d8e6083ccebd434fe979470100000000000000b8183b905f28b87c68c2d5b2f39f009f2ee22b47235f6c6d6cf6e63121b490300100000000000000b7c13f1239888cda5c8e6ac9ea10675df17633368906e66a487f91ddd3268ca601000000000000002cd51e09c3197e04155b78f3d97742ceffface390dc46f81f2613a94b2e483fd0100000000000000affb713ecdae328aa4436756f6a3e8add6b274d5ef1cc19d7aa69ab82c80e472010000000000000086cddc46c9a3a42c3821183d597e76872f1d4904b84a92e8160ab4e0fb4d39a8010000000000000052912b3dfd0ccacd00586b97f1abe32431a2f6fa9c2b3bb17837a1ecde61728001000000000000008a2b50acd1a4955fc814bf6720c7427902a6ce709f3a2d7c17c55b67f6f1c0630100000000000000ff80f99fcf0f4072402a4e522aecd41ff231c5b579d978d0383dda0407ee498b0100000000000000fd856413411b2e50cf1d32f8253c9bf7b055df259c42fc3a501ced6850173f8f01000000000000006565187c86eca2aaf37db6d59405535a5e6dd85e2743a07ebf50e55c2b7fbc890100000000000000aa674be249403288a8078e209231e764e3679f2f66a1070ea5d9b5b420fc53ab0100000000000000d1c146d2429a5a827660008721c7a880e71f44feaa3dc75524c1a9281bac48cd01000000000000005d2b07941a21adb6ba52298c2f0b0bdb6023e4a1713018762a5f61973b2fd1e80100000000000000e4b2cffd0b9cacfc500050b27ecae3c55b9b51bd9a416d62605118c8ad4fb09f0100000000000000f42c2e2a4157d51d22d5997dea1342f65e1882e207fd0e64e8e5d44330857eef0100000000000000f6d74de7b39455519a5d6480c8f12c93fc7a4cfc9af39154fc60857a39ad888b0100000000000000c8be78d05f652edd0a64a5865455de36d0fadb0d91c470fd344f8de23c8a6b9c01000000000000006ad5224d5c8f7fb3ae15dcb3766c0956ca627a6c91e93c4e770a2908e8f590150100000000000000f5fef7a87c9f3917fd28640907ce59ad26f33e41baa25d8ead8033ae0b944d7901000000000000005d0124063ede3e49f037df33948477235e5a58f93f8b98bf7203f25e11d4f0b4010000000000000049bfee2608fe8c9d280c80fe2e7e50d15980deeb1d29a2edc7507d17b319e7760100000000000000be95095d93298171c6fb8a1847adfa173d127e13f53482dcb694f891d68f0c58010000000000000085b714accac0654ba57fac59b626dd35802269d2c1d995cea7c335cb05a88f7f0100000000000000098e7f6085499cc37621458acc5a44dd928202482d456fed047f76a7edf1c08a01000000000000009c11e35911f023df6e4d218e53412ab4e4a20c17961d63ba381c913b51f394c001000000000000007448b6f6db7cfffd8650a1f3f08ddad1e114321ea770c9cfe6154882f586edb50100000000000000eea0e8d1a0aae5e5cd38dda0e172b49f8ea02287fd7d2ca79ffcdf6e593a2831010000000000000037483029302a84623f0a8db165fbed905b0a4fc25e7cfb56e975a0e98336a59b010000000000000053b5918f72e73f92f32b578d1b602f0cc554d98bee8c4e131ef0ac7a63399fb40100000000000000178838772f4eb26785673a57c8365e98a21ede2ed8d1ca3aeccbf7ef2631da110100000000000000587473ac474bbd8c99d14bec88d614426944b5c84dbf2912abac7610741560ff01000000000000001935d43843c66ecf76a9f4c4229de9ed7c172f52aa53d1a279f2856a736661b80100000000000000e1d3d955e446b13a28abadadd28971475035b3f25fcd414111bde54b53a3faab0100000000000000501c3978722a089f663f75c7865626a43d13ce19bd924583e43a46720584ed140100000000000000cdeaed45451971dcdcf886df977f31b3c004c497037d9940bcbbf2bd6dd2e3340100000000000000cc5dc1c5155dfcf43ee8dc4443292e966cb3226aea4fdf88e73daa259d66b673010000000000000008cb5d0ff7f138698c9fb80a1383155cff65ec7e127c5b3614e2e17963969f100100000000000000a7ae34bd517afa9f7563b73483435a14c56d9901a78f9459566355ec60a7cc8501000000000000006727561447ed474ff4e15645b952a37fa5008d4e694d4853bb55594fa34c4f340100000000000000c05f72a55f91f613b2da541ae27eb6053e80f267c906c135a4ebd848ecfb49db0100000000000000ec295fb809e22c332aa36a57afe05f2c093b2d13e52b0971d8265c5514e4e9690100000000000000a47880b0265ec6d2348a47b2df5b8cffd9c3221c1c9ed0e623d68641f4172c060100000000000000efb5f1e4c4ba37f8c159d452d897c607a58518b8355a8454620b3e3ccc3271230100000000000000099a9eb71f9cb1b7d15eae384790b4ec35045a19acea1730ba62f3e7caf31e8b0100000000000000d34560b879f8f4dd8d2fbd4f6d51b9b6f41b76656860646fcef4e1498859a190010000000000000061914b4dba0a1e42e692016cb74943266b257339008ffed4644231a2b48df21a0100000000000000a703a37bd5d93619bfb6ad72c24840b396b2ddb8700db2e1d372a82363ec7d580100000000000000a892342c56149812a43e98c82b6a3dfee7eff384d9b6d832002ea63838f64900010000000000000081bbaa3313b09e3b0ea2817c3e968a33587ec8928539c3f3a6d0e65644612f4901000000000000003d884e3f58913c10c26d8af2a095e231079a3a0b69f775052f7173ff1c3ace2e0100000000000000c13b603b5fe774d98e59c26fac03f8096ccc42c57d0cbc6a443b4f07a3c077920100000000000000be6b59cb464fadec4e0b22a9f12857ba5cf7a14c4f9551439d36305d582dd7fb0100000000000000f916634f9fd7e54374e30ac6b722ad1793c13cb2d5f2ad38769eaca2f79d414b01000000000000007ba967a2dae0d8839cf44710591db994d18e53b25ec6d0f861da0037c4a4366a0100000000000000222ee6c6a6c62d56cadb4eaad5104d595fe962fbbdd551c81562d3b509212907010000000000000055ca63358082034ddaf76b75f41a396081dd4f39a61eff13f7575e506e1033560100000000000000faa7af0f76a660a8c8c89fabf7290f2938798fcf0d522902d5d8b1d3a177e05d01000000000000000aadf1b2009026f8f5dd75d532e91dc756fd47572aa0f3c15d26790e6d6b2f27010000000000000050e16d897010823670148ef157d77933bc1721d82c45e80eb73b46b12b5daab601000000000000000228d7fc42b304906518cbd91d73a5384c4893de6cbfe1e7346999df642d3d0001000000000000004f950be5bf61958a0ae6e6a036b85b33ba838de8bd5508b558cbe2602d341168010000000000000082e6b6bf1f275c59fbde0dad91393ae690d5e644d11d23898a9ccfdda025920a010000000000000074b60dfb12745236ba9dc8f925efa21482b50c870c567638ba3240a05fe363d90100000000000000d761043f405069ac01285f1ff258450aac675f08d906b1ae0a1ce54eabcb36d901000000000000000dfbc1b5757e1f0ba348f8af64fb631aaff86cd21fa0529e0bb1fbab2508792601000000000000004abc35969775726127370e3bef6da0c45c5e281ed03b11bc32eb5d736d197e380100000000000000d791b58285e2c4f17c82a518e099812d2a3f63e1090f1cb2576e2c7695ee24970100000000000000de74612da9080d47be35bf4ded2094e23c1de14477114ddcd7b76b815456ec0c0100000000000000d3b3d9703a265a51a137b9de348587c645a168981ef3e01c9dc482856751b8ef010000000000000003dd543dddd6ad00137ddf94a218bfa19d2f08b4365d696765dc25deef76598b0100000000000000cfb9f7f1fcf903a51af729ed1647aee928630e148990309f9dc9f3b14b114b7601000000000000005216ff912251cd2bcf9db256b3927e737cf909e4b53a375586dad21bb7b907ef0100000000000000d14a779884de1b2fbf079b8e47e8c0edb1c29e282996899a4eab5aaf1f4f41130100000000000000b5b64e522ece2a1a3325f95082e33bbf5832e6116d378ac0f437b7b49727292401000000000000004bf6037c3820cb7468601051701164948b7f7cbbe1ac8cad97e809c76170dddf010000000000000061f8830d235dc8b50288a606b3570c8335eefac47874c26a45f170cd29a5dd3301000000000000001ec0811cbe4f2ea1e5a714d3ba08c6d7fdec138bcc6406da3c6cd32f1686616d010000000000000025ebbb2a00126545bbedf00318a78b6e61a0b52c81e30231ff45bd32e311472f01000000000000008b7baa89dbac95969a0042fa876a37eaccfcecd3591c4d7ed0e8051aea814cfa01000000000000004715211e268489d1eeccfbd8a5e67235244322c17127226184448741ae332ba10100000000000000dc5289899ba3e91edf93781843f9abbc99b3ae0beb940c385edf706acdf0d2540100000000000000ddac76c2a61c9aef4a9b3247aa0953187533f346466f02840235662440d2945c0100000000000000055c25dcc9cf8a08ad007ed9c8afb0ba53cebd129a20f194d272535ca9fa06490100000000000000cc8db7467349129a20ab4ba7e705044216651c0eba9d39f1054849edbcd677af01000000000000004df6e4d7da2c11ddb9153c714699f9ab625bbcd5e8e38f1cdeee567dc04abc610100000000000000982d9e3cc8ef3f8d99638b6f9df32c82356e1cd88f123d1e586a604d1d4b0cb401000000000000009cfeed14dd2f96550a0e7edebd9c9a8c8b1d8f7efdd1abca01987654239f3c860100000000000000736925c31654df870fbc29437c9b2a488ac3262e5d80798534ad00c43a61e5470100000000000000e08ce24248f3f8c0cdd313a5d46e6d491fccf6711788b6aca2de82f6700ced5101000000000000008404cabeb0674765bb77af690fa838ba28fa2045d602994a89f07680f4851c83010000000000000006b9e740c0a0e1f8fd31717438d5918ed8680eaccb70fdc9511931ce0d164ae50100000000000000b8cf76a8082d518016ea5588be57b64e156ed23b0f72248975522c23d15ef16101000000000000002565e04c6e0b665fac87f8238bee74837f8f621ed63409f3838d263603400a980100000000000000373b26b330a41547971874dd81c2cbbf8b7e3eda05b861c57205ad7e8c15bbcf0100000000000000362589a96b0adb6b0d48e51e0870986ff75719ac8f348fc7b906dabf616531090100000000000000620c78305072857b43dadced80ebc057dbfc82b58c14c7b63372ef021408676501000000000000001de97cc443740a0e0e0fdf166ef4515c387fec450fc4d4e141cebb41e1b7f8e90100000000000000546ce2099b3863d2d75324d5866bfd5324d8ee4701a99dd53528f8a8c898ca4801000000000000004dc2e72680dbf0156818114fa34d3591f8e6948df25a128e191190c66f6ac35301000000000000001ebe41ca4cd399901ffe5f6f52642630820500e4a96cbef4c80c560cae38d2c601000000000000005d50d6099c7c88f367568fa473b44785acccd030251627cb371de16e5fa704260100000000000000301b983e5e1320b7c9ff0f2525121b9f3007f68c273ba8ff662b7244f1f95f210100000000000000ef5b937d1eb14d07785430ca8efb57cb965060fac808b9a25ab9d4ab52cf0ad10100000000000000b1f748c87b12edf7242b4719cfe68e6761acaa4329beee538d6ff740941d3cd3010000000000000014a3f3f45d0bc1352f8665d1e24cb13d72d95b48c595913cc985dcf58e63c123010000000000000072341ca1eb3a0fd4e790318b51ace114315573d5355c9d5336e39382ba0642560100000000000000a79cd2241bd68004641baac25c1900da3a9e6d83101aea3ef2a58d78c657272f010000000000000028139ae721b771cf57d5afa58579d8dc0f04f04c1e1b631cac64a9fdfaf8b5250100000000000000b66e24ea84d5e02a7b2b58e20bbf17a0f2a19c4654bf8b07669ba3b9fc4a468101000000000000003c1dcee818434058b7de26ee874ade21bd1149185d6dcba1f67048b931ec3dda01000000000000000d8e0ceb31d11634ff50f20c90d57239a9307602e221baa190c784b144a7eb980100000000000000d1f73fb97dc0b0c3244c8d879f134dc90f614eb30505e8f27eff58e558d221f5010000000000000015b49bdd8cb8b9110a45bd1985746655b330829e1dbe7580ade2fab6531799d301000000000000000428e3ccdba17d779ffba05c9ec7a6264187d13bf89b6009e97200474ad3439701000000000000004c43a374e6b3e6f7d6c5a6b8518ae0d0d232a1c46d63af8fbc800045a14cbe930100000000000000c34f62968a87b2e4a9340a75004029dff5777a020f60fb287f08038491881f220100000000000000f54bb82d58c665ce3289b8765c40e60d84f74da663c164c38e16784d5c142b2c0100000000000000607737116e62ba11852c68515933afb8165f3174d594eef6d01dd7eaddb60ec30100000000000000dea32ed7afbb5b31cb45b6e5daff40fb33e80042994d8d6527ee262e32fb2131010000000000000065dc4c53802befd2acfc3d6d3f66eeb84947e5c15fc7a2165a375352a4faace101000000000000007c39d28f80a16bf0cedb70e36c5ac9063dd9b513c5fbbe2c2222389f428921340100000000000000bdee8597e248688fddc627ad9c95cbebf7d3b5f248b9a742aa2d8e761fa365050100000000000000a128a73c5eaa1803618a75bc368c38e4c5cd40999cb72d615b8af1d30cb8cf1d010000000000000020270811c3dc453f37b27d958ef7ad7dd4c7f217c83f94bd0ecd84c60018a86601000000000000006bed5c36442ab221e4d825e3ef41e30bddd8bb3847153706d69d851e186092c1010000000000000020869a63e7a343094ad0b4ffaa3d83344ffec8c7fb9b177008f78d17eda7dcbf0100000000000000f549e094ce2c081069b7a39b67a13a00899882b79ed9ce8c63b2599cbb0900950100000000000000d64083c00178b8dd224afade9792fed8076031bdfe9efc5b8128e6372a9261e201000000000000001c6842f07fb07b318a8d00ce6258844374f8e894853ae5fd4a85c867d3fc32e30100000000000000417e120dbfd0297d59458b48407b62570987f1e907dd6dfa9a20bfe64eb489d80100000000000000443bd12fcb944a0e19b2f76ddd066a713a99d2dd3530a5f39275300d11ac96590100000000000000be724139e9bdd099b70f7edab7d1acf0d05fa1a4ca212f5e2958d31f4272dcda0100000000000000134cf4720486824c6a27fa7892c8d82e805653ba1d98480267ec284a76b792c20100000000000000f701f07489e11959ace47ce003808f4248a6c64b35f51f0551f4a69aa0572e2f0100000000000000c2eb94269c5e5d2ab9a1a300387358679640763b053aca99ba5c1c9083ee717f0100000000000000316bafdefb60951da2738d6c9c2ef1866d139b34b5eab6944d6bae754dd3fb110100000000000000b65475766e6229c87ff34263f5ca58525ab133962bc599ca0eab096ff296f4e60100000000000000ebb1834a568ea7653bc66f394937a0aa4f2f617118d2161e2c11c0d7d2febb9d0100000000000000b6d7ac98d6667fe8f4a186ef12a66b017df05a54e11b45d3f2967cb3d6b6827f010000000000000042f47dad5949be7b7b8f81faaec17b1b53465b01b9f8f81e6a45f2fc74e12daf01000000000000007a1291795805dbe300425311ae50ed698450b1912b62e5b5a3264c68bfa970760100000000000000826fea075408d2c9331974dad61f4fedb0a7a306711c696997bc63b4b0e73e4c0100000000000000e0df5b2f299314d2d419b46d15c3c8a739182d91c3d4b98cd16c013c3a25c04b01000000000000000150276c1b3d28d42630801c1d4a738ae723887d9286e40ba48d10b0752f7dcc010000000000000098a6defcfeb3dfca36ec46eb373734627a2c395cdd2d886046a11788ed6467af0100000000000000853ba986f8785e8fc1a2ae2fb86f17cc91886d931182ccb8d148379a35cbf02701000000000000009bbc024bfe4f072b94735afda064dc3c7da2b4bc0c50cfad44722543583a372e010000000000000086dee2a2c1977cb6ff99dde8fc5b0cb10dcac44b50b19b80f8252899b091c84b0100000000000000496826b538d97906e14d417b48598d7d591a483ab5f4c6786cd0b96239c2f4cf0100000000000000c4b54db8b5dc6346d0367c6c69a191cc826a90643d93c6230763a9e92806a33f0100000000000000c7009be830fe78c42f12f0753923131d16300bac230650001636b6a546cf0aa3010000000000000045f84b0909eb669ce3d2099a935e269d6ebb091f1f8055fbfcf07d6efe7f43ab0100000000000000425d9edc1cc5cf795f0caee680a379215cb77d71c69bfe41296df63cb2ac34430100000000000000ed3f97f83ee7799c4aeba9f40bd18134c862c1a30875fc1e038cd27bae3a739a0100000000000000348e8bacc2d40191a6a00e137c745a422ff8fb03148d2ff9cad75efbb7a67014010000000000000066b964258b3239799608ad4ffde6214a7b04ab3e0fd889fc7eb078548b3518ec0100000000000000efb31c5039e45fda750af5d2ea31b3210a407b168adec8f98db1f3dbc4cd94380100000000000000525661070154e9eebb48a7befd2c03e125b218eadb27cb121786678c0f67e5d901000000000000003b88c653be781a322afaacf2a4774b4fe4d72c9837c7d3ac1ec848679c6a48f90100000000000000d227434a77cd7b7127c039eb9995aeb025a242c36ca7116372c7c8fe5bc921b50100000000000000510a0c61dca3e1044d3540c08272054462c6353aac4dc06cda265753b126b38501000000000000005db4206baa8706a1b1de0ac7edacbd2a2c93452481808b8fe6c582265b57a60d0100000000000000761ce3eef4bd0d15601aef70728f54ca72a9859e90841c3d02d5060201671878010000000000000000132d9e682cf8d45ce8efd4bef165a26da5d1349ea1fe9f51abd6dc7622720201000000000000001262625cc59c0e4b7548904c31a02231a601305881a231d4dea45eec6cbbbdcc0100000000000000c3576342cbf99792896ee5329b04ff2eee2fc2bb6d53c5c03d52c8957ee793fb01000000000000006ad4bc289673029ab44f3045eb6fdd3589d05e0e5fd76ee017f650a662f898fb0100000000000000a82f563264d1892dd46873205d03c098d8b03f53e21c797839737e4e5f66a87e010000000000000059dadf17dc0f84c1c334e6a815a04bdfcd0988a3f3bcb713c66ae29e17276cc60100000000000000297dc7cf28b3d40a42c5e8faac876bf7227c670e6e031dd0e0537f4fb70e6fbe010000000000000043601ae31cf5b03cb49395dda13809f7398d8670ee4d2172b14a1ab05986ac3b0100000000000000e7f57bd0bc756f24574e3a77c90616adb393e9d4ffceb2c63df19f605cb6a0240100000000000000a5f788e86ee2d311357b7aa4a128f063fa4ee36958baf10304c10bde7421aa2c0100000000000000290321d793b7dcb12ad148c2438bb60821bd938b7e9164a0c3d0fc82987f8b6301000000000000002ef11bc5ce1e7b53f788ba01ba581b9171ef36449719ff3eb20973342a4a82850100000000000000ab45f730dd495f657b61b2777091fa8cd11b5a626bea2b514e5e61180210379701000000000000003bb30832d06cdd3e081afef0cf2b7770bfe81dc58081d1886443e4e4547da8a101000000000000002832b59000d2027d2bf57fdb40da04bd8aac1498923397517181cc487a92815201000000000000000cd7067f96a2d63fa72065302432f48690485fa5f47c9afab17123e0482785230100000000000000f6f23ae9bb4c269a5959d51f9173270ddefcc354b63de77b672bce58cabe60c801000000000000007a1df073f4a474faa4616f9a6f5d93cedf25716cbe8d05a08afafb570b6e6f9501000000000000002ada479e1fde7211de15900ed29035f6f07506cdbadc4c232aab96d62006b9de0100000000000000be223d49fdccd102646c9b0d62130fbc8e7f0324d55a3eabaaffb5ed1616795a010000000000000062a91ffda8611ffce3edeb628ea6d3b8b12e5b2448beda6da8334e77a9ecbdd7010000000000000071893ca83ebe6ee06c3eb10dcbfaf70d8267959f6159b4ca36929a69604cadbc0100000000000000dea69c3badff9b8d7571cb6c538cd099544da7460a19e1b8651c5c530a6dd53c01000000000000004ad600cc461daf6d287d5d2ff0791f74fd7c6aab5714ad50340187a7ce509ea9010000000000000005062bede97a45c6e1c6b593675ee07ce969fae45136cc2b2afc6e705a77f4700100000000000000dc6e03f650e4304ca8d1598dde8d4faf45891987bfc49ef785ace47c4c0b5573010000000000000026cdfb88461d7125f438c599e062799219b385bacca93f3cdbe5418c9d4d499301000000000000000f19c3ed807ad5f2b7546f5e6c5e9bb934835d54ed1f4f989540b86a2ca02b550100000000000000e4c1d1377894eee032e1a60dbac6252e23f35bbb43ce51d5f98652cfee58d5bf01000000000000000e7bc96895730726225e47e31c742fd44d3936f31ecd32658c694fc11df2522401000000000000000bf0e21672e2d888dfb361e7dac6bcfaeecd1de5192b6db710fd362d7378e431010000000000000081b197220d996795477a7f5929b629a3a669e43a59033ef1538a5b669e6238b30100000000000000b426ef68c50245a003dd068c5c086fc9012c08a7f9ec53fbf7df4318261c8c2c01000000000000004383e891024a29ed0fe106e7869c7e05ef8487ef13a6ac390076bf43456c6d450100000000000000e7931a825260ba7d4fdb5f4990d39a71e2a8b215a776ebf770102ca772f103a3010000000000000095fde7b91441fae9d2a6360d30228392519293be5e78cf3305667595cb15e566010000000000000096847258e5fdd261a8df1b3958366b29d28363aeb96a71c2b705e4c8864b97e10100000000000000e7eb7de26e0e24fd528fbbcecf837f26579784dfd4db512c9237e2811139738701000000000000009f677785cfbf44140bdf38770f3d8076f222aa1c9997842d89d580b0f256198f01000000000000009a0ea02dca493accceb975732f31c9d249d4c90ff1ca0bd86cbe00f1728146b401000000000000003adbd2d5abdb70ef56c2d8bd4a7c0d67882a1c2050a856937491e98496a496fe0100000000000000716a181407939b3ea68289e09265d3b9d8a8f21ba7d9f50d8ef8a86fa3c0fd0301000000000000004d960a5b5cfc68f32236a14f5e094ec24c9bd0f73df19086c27cff9a78fd5dbb01000000000000008e3d1c8c0261e193e87403c8959919ef035ba39175d3ba22f31190303601412e010000000000000094416582fe359e0a310da59bf93df8ff9665b89071d4977a9a9f3390b75c0c450100000000000000ac5230e4338aa51c44ab6a0fb903e6fd914fd029dab8f7ca447be54ceba749340100000000000000a76b32c8c28cce206ddf70ff3ad591ed01a0067f9f9baa77f9052ce938d359c701000000000000003a4bfd825ccd308def4a61bac80c579db42b02ea5f1a0768656a326e83a0dd8801000000000000007fab4769c41af85b9de8e784d3b1cda093fc0a8dffcdff21e914c62f131c77580100000000000000d2f1b3b5f7eb1b0d8328911d9ec920327d7a30729e80c1238f86dfe27c4fa3470100000000000000841584e602ab975c936fe7c2025fcea2b5a0061e839b1ad96528942b33d0974b0100000000000000e056900cabddb471de9e1846d7efdddd8b5ad400b02fc54b4402ba725c78bf9a010000000000000085b6321d0044ba1f9ed6baf255065c5d9947cd2fd6067f66dfddc74511fe583b0100000000000000daffd43670286cbddbf38953e6e33ba093f8c719e9fbf0a4aa76ff3ee97df307010000000000000098763eb72b3f7dbb7a793bd1d4367af5f072ff45a1a6eae0e002e1eaa24c5d550100000000000000d39f98bb0dd1dcda91cbe0104afc0ae7456cd77c8bb6630e2bb4c86db1cbb5b0010000000000000079f73931b31ce353119fb4063412e844b16cb3eb92e592ebd822a8c21303554801000000000000006d698963e0fa3c04ef2b32f638e0176e053cd021f6a49b55a4a4ebd4d5fbb11701000000000000002929dacc53614cea1848e7ba20fdeed7cb0bd81571aa72dfb63dfc84d3965d2b010000000000000031a46e639e57d1a11119b17f76617a35b3606d206fb5c3e87710f464f7a57de50100000000000000ed25d7114e2aef2f0e57dc2be1401a4994d8aaafb30223162634a512604a23660100000000000000600700000000000000018d58300100811d00000000000000002904050001000000000000002a0d050002000000000000002f16050003000000000000008e1f05000400000000000000ee28050005000000000000004d32050006000000000000009d3b05000700000000000000fd44050008000000000000005c4e05000900000000000000b75705000a00000000000000176105000b00000000000000766a05000c00000000000000d67305000d00000000000000357d05000e00000000000000958605000f00000000000000f58f0500100000000000000055990500110000000000000095a205001200000000000000d8ab050013000000000000000db50500140000000000000024da05001500000000000000aaec05001600000000000000f4f5050017000000000000003bff050018000000000000008b0806001900000000000000992406001a00000000000000f92d06001b000000000000000d4a06001c00000000000000685306001d00000000000000b65c06001e00000000000000f76506001f00000000000000308b060020000000000000007b940600210000000000000025a70600220000000000000033c3060023000000000000007fcc06002400000000000000c3d50600250000000000000011df060026000000000000005ae806002700000000000000a0f106002800000000000000410407002900000000000000880d07002a000000000000001b3c07002b00000000000000764507002c00000000000000357407002d00000000000000239907002e000000000000006fa207002f00000000000000c3ab070030000000000000006abe07003100000000000000bdc7070032000000000000000fd107003300000000000000b2e3070034000000000000000aed07003500000000000000971b080036000000000000009d24080037000000000000009c4008003800000000000000255308003900000000000000735c08003a000000000000000c6f08003b00000000000000048b08003c00000000000000589408003d00000000000000d3c208003e00000000000000e4de08003f000000000000003fe808004000000000000000f7fa08004100000000000000aa0d09004200000000000000153309004300000000000000fc6a090044000000000000003e74090045000000000000009a7d0900460000000000000000a30900470000000000000014db0900480000000000000020130a004900000000000000791c0a004a00000000000000364b0a004b0000000000000043830a004c00000000000000e5950a004d0000000000000045bb0a004e0000000000000059f30a004f000000000000000e060b005000000000000000812b0b005100000000000000dc340b005200000000000000ef500b005300000000000000a3630b005400000000000000b69b0b005500000000000000c7d30b005600000000000000dd0b0c005700000000000000f3430c005800000000000000087c0c00590000000000000052b30c005a0000000000000060eb0c005b00000000000000baf40c005c0000000000000072230d005d00000000000000805b0d005e000000000000007e930d005f000000000000007ccb0d00600000000000000076030e006100000000000000793b0e00620000000000000088730e00630000000000000092ab0e00640000000000000083e30e006500000000000000731b0f00660000000000000079530f006700000000000000748b0f0068000000000000001fc30f006900000000000000d0fa0f006a00000000000000633210006b00000000000000826a10006c0000000000000028a210006d0000000000000005b310006e0000000000000055d810006f000000000000004810110070000000000000006548110071000000000000008e8011007200000000000000bfb811007300000000000000bbf011007400000000000000e828120075000000000000001561120076000000000000003b991200770000000000000058d112007800000000000000770913007900000000000000944113007a00000000000000c07913007b00000000000000e7b113007c000000000000000cea13007d0000000000000067f313007e00000000000000d31814007f000000000000002e22140080000000000000008c2b14008100000000000000545a14008200000000000000ad63140083000000000000000e89140084000000000000006892140085000000000000008dca14008600000000000000b00215008700000000000000d03a15008800000000000000f3721500890000000000000015ab15008a000000000000003be315008b000000000000005d1b16008c00000000000000855316008d00000000000000b18b16008e00000000000000d3c316008f00000000000000e9fb16009000000000000000073417009100000000000000bf4617009200000000000000286c1700930000000000000029a41700940000000000000041dc17009500000000000000591418009600000000000000bf3918009700000000000000704c18009800000000000000948418009900000000000000f28d18009a00000000000000bcbc18009b00000000000000e4f418009c000000000000000b2d19009d000000000000002c6519009e00000000000000896e19009f00000000000000519d1900a00000000000000075d51900a100000000000000920d1a00a200000000000000ec161a00a300000000000000b6451a00a400000000000000887d1a00a50000000000000077b51a00a600000000000000cdbe1a00a70000000000000070ed1a00a80000000000000083091b00a9000000000000004e251b00aa00000000000000fe371b00ab00000000000000065d1b00ac000000000000005f661b00ad00000000000000bd6f1b00ae00000000000000de941b00af00000000000000fecc1b00b0000000000000001f041c00b1000000000000000c321c00b2000000000000002f3b1c00b3000000000000002e721c00b4000000000000000ca01c00b50000000000000044a91c00b60000000000000022e11c00b70000000000000044191d00b8000000000000000c481d00b9000000000000006b511d00ba000000000000008b891d00bb00000000000000a5c11d00bc0000000000000053f91d00bd00000000000000ff301e00be00000000000000054d1e00bf0000000000000002691e00c000000000000000d1a01e00c100000000000000c5d81e00c200000000000000cf101f00c30000000000000083481f00c400000000000000af801f00c500000000000000d0b81f00c600000000000000f0f01f00c7000000000000001b292000c80000000000000039612000c90000000000000054992000ca000000000000004fd12000cb000000000000004c092100cc00000000000000031c2100cd000000000000006d412100ce00000000000000cc4a2100cf0000000000000098792100d000000000000000c4b12100d100000000000000eee92100d20000000000000011222200d300000000000000325a2200d40000000000000055922200d50000000000000075ca2200d6000000000000008f022300d700000000000000b13a2300d800000000000000cd722300d90000000000000078852300da00000000000000ce8e2300db00000000000000bdaa2300dc00000000000000abe22300dd0000000000000012112400de00000000000000501a2400df0000000000000045512400e000000000000000a1882400e1000000000000005fc02400e20000000000000013f82400e30000000000000007302500e40000000000000013682500e500000000000000c37a2500e600000000000000a8962500e700000000000000fb9f2500e80000000000000000d82500e90000000000000019102600ea000000000000002b482600eb0000000000000028802600ec000000000000002eb82600ed0000000000000044d42600ee0000000000000058f02600ef00000000000000b3f92600f00000000000000065282700f10000000000000057602700f20000000000000064982700f3000000000000008dd02700f400000000000000a7ec2700f500000000000000b9082800f600000000000000e0402800f700000000000000f6782800f80000000000000019b12800f90000000000000040e92800fa000000000000006c212900fb00000000000000a0592900fc00000000000000107f2900fd00000000000000bc912900fe00000000000000eac92900ff00000000000000fd012a000001000000000000ff1d2a0001010000000000000c3a2a0002010000000000002b722a00030100000000000005aa2a000401000000000000fce12a0005010000000000004ceb2a000601000000000000e0fd2a000701000000000000c3192b000801000000000000be512b0009010000000000000a772b000a01000000000000ae892b000b01000000000000b0a52b000c01000000000000abc12b000d010000000000009bf92b000e0100000000000093312c000f0100000000000087692c00100100000000000075a12c00110100000000000074d92c00120100000000000089112d00130100000000000099492d001401000000000000b0812d001501000000000000c3b92d001601000000000000d1f12d001701000000000000d6292e001801000000000000e9612e001901000000000000ea992e001a01000000000000efd12e001b01000000000000f8092f001c01000000000000f0412f001d01000000000000e9792f001e0100000000000036832f001f01000000000000b2b12f002001000000000000a9cd2f00210100000000000094e92f0022010000000000007121300023010000000000003b5930002401000000000000089130002501000000000000599a30002601000000000000f6c830002701000000000000e30031002801000000000000c03831002901000000000000a17031002a01000000000000f27931002b010000000000007fa831002c010000000000005de031002d01000000000000aae931002e01000000000000441832002f01000000000000295032003001000000000000fe8732003101000000000000aa9a3200320100000000000010c0320033010000000000003af8320034010000000000005f303300350100000000000059683300360100000000000078a0330037010000000000009bd833003801000000000000cb1034003901000000000000f44834003a010000000000001c8134003b0100000000000044b934003c0100000000000055f134003d010000000000009dfa34003e01000000000000302935003f01000000000000c6573500400100000000000023613500410100000000000053993500420100000000000080d135004301000000000000560036004401000000000000b10936004501000000000000ce4136004601000000000000037a3600470100000000000031b2360048010000000000005fea360049010000000000007b2237004a01000000000000995a37004b01000000000000f56337004c01000000000000c69237004d01000000000000feca37004e01000000000000340338004f01000000000000683b380050010000000000009e7338005101000000000000c9ab38005201000000000000dcc7380053010000000000003cd138005401000000000000f8e338005501000000000000b0f6380056010000000000001c1c390057010000000000007a2539005801000000000000da2e39005901000000000000525439005a01000000000000878c39005b01000000000000bbc439005c01000000000000f3fc39005d0100000000000028353a005e010000000000005f6d3a005f0100000000000098a53a006001000000000000cedd3a0061010000000000000c163b006201000000000000404e3b00630100000000000019853b006401000000000000608e3b006501000000000000b8973b0066010000000000000fa13b006701000000000000a7b33b006801000000000000fabc3b00690100000000000049c63b006a010000000000009ccf3b006b01000000000000eed83b006c01000000000000c1f43b006d0100000000000014fe3b006e0100000000000066073c006f01000000000000b7103c0070010000000000009e2c3c007101000000000000ee353c00720100000000000094483c007301000000000000e0513c0074010000000000007c643c0075010000000000001d773c0076010000000000004b9c3c00770100000000000010d43c007801000000000000d80b3d0079010000000000001a153d007a0100000000000053433d007b01000000000000ea553d007c01000000000000225f3d007d0100000000000072683d007e01000000000000b4713d007f01000000000000fb7a3d0080010000000000007a8d3d008101000000000000b8963d00820100000000000006a03d00830100000000000088b23d008401000000000000c8bb3d0085010000000000000bc53d0086010000000000001dea3d008701000000000000e9053e008801000000000000b5213e0089010000000000003b343e008a01000000000000843d3e008b010000000000005e593e008c010000000000001f913e008d0100000000000065c83e008e010000000000006bed3e008f01000000000000a9f63e009001000000000000f6ff3e009101000000000000c1373f0092010000000000005c4a3f0093010000000000003b663f009401000000000000856f3f009501000000000000cf783f0096010000000000003ea73f009701000000000000ccde3f0098010000000000008516400099010000000000001e2940009a010000000000006e4e40009b01000000000000c35740009c010000000000009b8640009d01000000000000cebe40009e0100000000000001f740009f01000000000000372f4100a00100000000000097384100a10100000000000070674100a201000000000000a99f4100a30100000000000065b24100a401000000000000ddd74100a50100000000000096ea4100a6010000000000000b104200a70100000000000044484200a8010000000000009c514200a9010000000000003b804200aa0100000000000051b84200ab010000000000006fd44200ac010000000000005ef04200ad01000000000000b9f94200ae010000000000006a284300af0100000000000078604300b00100000000000077984300b101000000000000abd04300b20100000000000064e34300b30100000000000072ff4300b401000000000000d2084400b50100000000000008414400b6010000000000002e794400b7010000000000005eb14400b8010000000000007de94400b9010000000000009e214500ba010000000000005d344500bb01000000000000d0594500bc0100000000000006924500bd010000000000001aca4500be010000000000004a024600bf01000000000000603a4600c00100000000000084724600c101000000000000abaa4600c20100000000000047bd4600c3010000000000009ec64600c401000000000000a0e24600c5010000000000005df54600c601000000000000bf1a4700c701000000000000d1524700c8010000000000007f814700c901000000000000dd8a4700ca0100000000000039944700cb01000000000000f2c24700cc0100000000000010fb4700cd01000000000000d5294800ce010000000000002c334800cf01000000000000f9614800d001000000000000596b4800d10100000000000078874800d2010000000000008da34800d301000000000000aadb4800d401000000000000c6134900d501000000000000eb4b4900d601000000000000e7834900d701000000000000f9bb4900d801000000000000b6ce4900d9010000000000001bf44900da010000000000004a2c4a00db0100000000000066644a00dc010000000000002f7d4a00dd0100000000000019994a00de01000000000000c0ab4a00df01000000000000aec74a00e001000000000000fed04a00e101000000000000bbff4a00e20100000000000019094b00e301000000000000902e4b00e40100000000000041414b00e50100000000000010704b00e6010000000000006e794b00e7010000000000002b8c4b00e80100000000000094b14b00e901000000000000a4e94b00ea01000000000000d4214c00eb01000000000000d7594c00ec01000000000000e8914c00ed0100000000000004ae4c00ee01000000000000ebc94c00ef0100000000000014024d00f001000000000000fe394d00f1010000000000000a724d00f201000000000000667b4d00f30100000000000013aa4d00f40100000000000031c64d00f50100000000000037e24d00f6010000000000004afe4d00f7010000000000002c1a4e00f801000000000000ea2c4e00f90100000000000049364e00fa010000000000004e524e00fb01000000000000628a4e00fc0100000000000079a64e00fd010000000000001ab94e00fe0100000000000079c24e00ff0100000000000094de4e000002000000000000aafa4e00010200000000000059324f00020200000000000004654f000302000000000000ff764f0004020000000000000d804f0005020000000000007e924f000602000000000000c29b4f000702000000000000f4d34f000802000000000000160c50000902000000000000504450000a02000000000000877c50000b02000000000000b6b450000c02000000000000e7ec50000d0200000000000046f650000e02000000000000b61b51000f020000000000001625510010020000000000004f5d510011020000000000000f7051001202000000000000889551001302000000000000b5cd5100140200000000000014d751001502000000000000e605520016020000000000001f3e5200170200000000000053765200180200000000000089ae52001902000000000000e8b752001a02000000000000b7e652001b0200000000000074f952001c02000000000000e81e53001d020000000000001a5753001e02000000000000558f53001f020000000000008ac753002002000000000000b9ff53002102000000000000f13754002202000000000000277054002302000000000000418c54002402000000000000d1a354002502000000000000d9c8540026020000000000007edb54002702000000000000b81355002802000000000000e34b55002902000000000000c58355002a02000000000000d6bb55002b0200000000000007f455002c02000000000000c30656002d020000000000002c2c56002e020000000000005d6456002f020000000000008f9c56003002000000000000c9d456003102000000000000070d570032020000000000004345570033020000000000007a7d570034020000000000007d99570035020000000000009ab557003602000000000000b4ed57003702000000000000f225580038020000000000002f5e580039020000000000006b9658003a02000000000000a6ce58003b02000000000000e30659003c02000000000000183f59003d02000000000000517759003e02000000000000ad8059003f020000000000008baf59004002000000000000e9b859004102000000000000c5e75900420200000000000002205a0043020000000000003f585a0044020000000000007c905a004502000000000000bcc85a004602000000000000f1005b004702000000000000111d5b00480200000000000030395b0049020000000000006f715b004a02000000000000aca95b004b02000000000000e9e15b004c02000000000000251a5c004d0200000000000060525c004e020000000000009f8a5c004f02000000000000dbc25c00500200000000000019fb5c00510200000000000058335d005202000000000000956b5d005302000000000000c7a35d005402000000000000f7db5d00550200000000000031145e0056020000000000006f4c5e005702000000000000a7845e005802000000000000e0bc5e0059020000000000003fc65e005a020000000000001cf55e005b02000000000000582d5f005c0200000000000093655f005d02000000000000cf9d5f005e0200000000000005d65f005f02000000000000440e600060020000000000008346600061020000000000006a7e6000620200000000000056b46000630200000000000000ec60006402000000000000a72361006502000000000000e25b61006602000000000000f293610067020000000000001bcc61006802000000000000dade61006902000000000000590462006a02000000000000963c62006b02000000000000cc7462006c020000000000008c8762006d02000000000000ffac62006e020000000000003ae562006f02000000000000731d63007002000000000000b05563007102000000000000e98d630072020000000000001dc6630073020000000000005dfe63007402000000000000993664007502000000000000d86e6400760200000000000017a76400770200000000000051df640078020000000000008a1765007902000000000000c34f65007a02000000000000018865007b020000000000003ec065007c020000000000007af865007d02000000000000b63066007e02000000000000f06866007f0200000000000004a16600800200000000000041d966008102000000000000711167008202000000000000ac4967008302000000000000de8167008402000000000000f8b967008502000000000000b8cc6700860200000000000035f2670087020000000000006e2a680088020000000000001c3d680089020000000000007f6268008a02000000000000ba9a68008b02000000000000f3d268008c02000000000000310b69008d02000000000000704369008e02000000000000ae7b69008f02000000000000eeb3690090020000000000002bec6900910200000000000065246a009202000000000000a45c6a009302000000000000e0946a0094020000000000001dcd6a009502000000000000dbdf6a00960200000000000059056b00970200000000000018186b009802000000000000923d6b009902000000000000b0756b009a02000000000000e6ad6b009b0200000000000021e66b009c020000000000005e1e6c009d0200000000000096566c009e02000000000000d28e6c009f020000000000000ac76c00a00200000000000047ff6c00a10200000000000077376d00a202000000000000876f6d00a3020000000000000fa76d00a40200000000000059dc6d00a50200000000000022146e00a602000000000000464c6e00a70200000000000071846e00a802000000000000eea96e00a902000000000000aabc6e00aa0200000000000085eb6e00ab02000000000000e4f46e00ac020000000000001c2d6f00ad02000000000000da3f6f00ae0200000000000053656f00af020000000000008c9d6f00b002000000000000c4d56f00b102000000000000d90d7000b202000000000000d7457000b302000000000000f67d7000b402000000000000deb57000b502000000000000b2ed7000b602000000000000a9257100b702000000000000975d7100b802000000000000338c7100b9020000000000007e957100ba0200000000000068b17100bb0200000000000050cd7100bc020000000000001c057200bd02000000000000610e7200be02000000000000c13c7200bf020000000000006b747200c0020000000000005aac7200c10200000000000032e47200c202000000000000dcf67200c302000000000000321c7300c4020000000000002b547300c5020000000000007d8b7300c60200000000000020c37300c702000000000000cefa7300c8020000000000003c327400c9020000000000009b697400ca02000000000000eda07400cb0200000000000056d87400cc0200000000000090107500cd02000000000000ad2c7500ce020000000000000b367500cf02000000000000c7487500d002000000000000fe807500d10200000000000039b97500d20200000000000073f17500d30200000000000030047600d4020000000000004b207600d502000000000000a9297600d60200000000000006337600d702000000000000d3617600d80200000000000090747600d902000000000000089a7600da020000000000002fd27600db020000000000001a0a7700dc0200000000000022427700dd02000000000000007a7700de02000000000000d2b17700df02000000000000f8e97700e0020000000000002b227800e102000000000000635a7800e202000000000000a0927800e302000000000000daca7800e40200000000000011037900e502000000000000483b7900e60200000000000085737900e702000000000000b1ab7900e802000000000000dae37900e902000000000000121c7a00ea0200000000000049547a00eb02000000000000878c7a00ec02000000000000bfc47a00ed02000000000000edfc7a00ee0200000000000026357b00ef02000000000000606d7b00f0020000000000009da57b00f102000000000000cddd7b00f20200000000000006167c00f3020000000000003f4e7c00f402000000000000fb607c00f50200000000000077867c00f602000000000000b4be7c00f70200000000000014c87c00f802000000000000e0f67c00f9020000000000001b2f7d00fa0200000000000058677d00fb02000000000000959f7d00fc02000000000000d2d77d00fd02000000000000ec0f7e00fe0200000000000025487e00ff020000000000005f807e0000030000000000009ab87e000103000000000000d3f07e000203000000000000ee0c7f0003030000000000000a297f000403000000000000c53b7f00050300000000000043617f0006030000000000007b997f000703000000000000b9d17f000803000000000000f20980000903000000000000284280000a030000000000005e7a80000b0300000000000099b280000c03000000000000d2ea80000d03000000000000082381000e030000000000003e5b81000f030000000000007b9381001003000000000000b8cb81001103000000000000f30382001203000000000000313c82001303000000000000697482001403000000000000a6ac82001503000000000000c4c882001603000000000000e0e482001703000000000000ff00830018030000000000001e1d83001903000000000000dd2f83001a030000000000005b5583001b03000000000000988d83001c03000000000000d5c583001d0300000000000010fe83001e030000000000004e3684001f03000000000000826e84002003000000000000bba684002103000000000000f5de840022030000000000006f0485002303000000000000cc0d850024030000000000002c1785002503000000000000ea2985002603000000000000634f850027030000000000007e6b850028030000000000009a878500290300000000000017ad85002a03000000000000d2bf85002b0300000000000031c985002c030000000000000ef885002d030000000000004a3086002e03000000000000866886002f03000000000000bea086003003000000000000f2d8860031030000000000002a1187003203000000000000871a870033030000000000006449870034030000000000001d5c87003503000000000000998187003603000000000000cfb987003703000000000000eed5870038030000000000000cf2870039030000000000004a2a88003a03000000000000a83388003b03000000000000826288003c03000000000000b69a88003d03000000000000efd288003e030000000000002d0b89003f030000000000004d27890040030000000000006c4389004103000000000000ab7b89004203000000000000eab38900430300000000000028ec8900440300000000000068248a004503000000000000a05c8a004603000000000000b4948a004703000000000000f4cc8a00480300000000000030058b0049030000000000006f3d8b004a030000000000008e598b004b03000000000000ae758b004c03000000000000ecad8b004d0300000000000028e68b004e03000000000000331e8c004f030000000000004f568c0050030000000000008e8e8c005103000000000000c7c68c00520300000000000005ff8c00530300000000000041378d005403000000000000746f8d005503000000000000a4a78d00560300000000000064ba8d005703000000000000e4df8d0058030000000000000a188e00590300000000000023508e005a0300000000000027888e005b03000000000000d89a8e005c0300000000000043c08e005d0300000000000082f88e005e03000000000000c0308f005f03000000000000ff688f0060030000000000001ba18f00610300000000000059d98f006203000000000000981190006303000000000000d64990006403000000000000f56590006503000000000000158290006603000000000000758b9000670300000000000053ba9000680300000000000092f290006903000000000000d22a91006a03000000000000106391006b03000000000000489b91006c03000000000000a2a491006d030000000000001bd391006e03000000000000530992006f03000000000000d32e9200700300000000000090419200710300000000000074799200720300000000000094b19200730300000000000072e092007403000000000000d2e992007503000000000000b21893007603000000000000122293007703000000000000445a93007803000000000000739293007903000000000000f3b793007a03000000000000abca93007b030000000000005ddd93007c03000000000000c40294007d03000000000000e13a94007e03000000000000217394007f0300000000000059ab9400800300000000000090e394008103000000000000c31b95008203000000000000ea53950083030000000000009866950084030000000000000b8c9500850300000000000046c49500860300000000000057fc950087030000000000008f3496008803000000000000cf6c960089030000000000000ba596008a0300000000000045dd96008b03000000000000a3e696008c03000000000000801597008d03000000000000bc4d97008e03000000000000f78597008f030000000000002ebe9700900300000000000030f6970091030000000000005a2e98009203000000000000956698009303000000000000d49e9800940300000000000014d7980095030000000000003b0f990096030000000000006c4799009703000000000000ac7f9900980300000000000078b79900990300000000000026ca99009a030000000000007cef99009b0300000000000085279a009c03000000000000be5f9a009d03000000000000fd979a009e03000000000000b9aa9a009f0300000000000022d09a00a0030000000000003dec9a00a10300000000000058089b00a20300000000000074249b00a3030000000000008b409b00a403000000000000e4499b00a50300000000000038789b00a60300000000000076819b00a703000000000000e4af9b00a803000000000000b7e79b00a903000000000000731f9c00aa03000000000000a6289c00ab030000000000002f3b9c00ac0300000000000012579c00ad030000000000005d609c00ae03000000000000cb8e9c00af0300000000000057a19c00b00300000000000086c69c00b1030000000000005afe9c00b20300000000000002369d00b303000000000000bc6d9d00b40300000000000099a59d00b5030000000000004edd9d00b603000000000000db149e00b703000000000000e0399e00b803000000000000724c9e00b9030000000000002a849e00ba03000000000000ee9f9e00bb03000000000000d1bb9e00bc030000000000007df39e00bd03000000000000f02a9f00be030000000000006a629f00bf03000000000000ff999f00c0030000000000002ed19f00c1030000000000004608a000c203000000000000893fa000c303000000000000a476a000c403000000000000dfada000c5030000000000001cb7a000c6030000000000003ce5a000c703000000000000921ca100c8030000000000008c53a100c903000000000000988aa100ca0300000000000010a6a100cb03000000000000a0c1a100cc03000000000000e5d3a100cd0300000000000072f8a100ce030000000000007c2fa200cf030000000000003766a200d003000000000000389da200d10300000000000056a6a200d203000000000000a9b8a200d303000000000000cac1a200d4030000000000001ad4a200d503000000000000200ba300d6030000000000002714a300d703000000000000bc41a300d8030000000000006778a300d9030000000000000aafa300da0300000000000046dca300db0300000000000065e5a300dc03000000000000a81ba400dd03000000000000d72da400de030000000000002352a400df030000000000006288a400e003000000000000c1bea400e103000000000000f8f4a400e203000000000000212ba500e3030000000000003f61a500e403000000000000656aa500e503000000000000e497a500e60300000000000040cea500e703000000000000b204a600e803000000000000fc3aa600e9030000000000009471a600ea0300000000000037a8a600eb030000000000001adfa600ec03000000000000ea0ca700ed030000000000000e16a700ee030000000000005228a700ef030000000000007d31a700f003000000000000034da700f1030000000000002084a700f2030000000000004a8da700f303000000000000a99fa700f403000000000000f6baa700f503000000000000c1f1a700f603000000000000be28a800f703000000000000a65fa800f8030000000000003e7ba800f903000000000000c296a800fa03000000000000c3cda800fb03000000000000d504a900fc03000000000000f83ba900fd030000000000005f73a900fe03000000000000ceaaa900ff030000000000000bb4a900000400000000000005e2a90001040000000000005e19aa000204000000000000c12baa0003040000000000008e50aa000404000000000000fd62aa0005040000000000008175aa000604000000000000fa87aa0007040000000000002f91aa0008040000000000005dbfaa000904000000000000a3c8aa000a04000000000000e5f6aa000b04000000000000e41bab000c040000000000005b2eab000d04000000000000e765ab000e040000000000004c9dab000f0400000000000085a6ab001004000000000000b8d4ab001104000000000000fdddab0012040000000000003b0cac001304000000000000d043ac001404000000000000827bac001504000000000000b8a0ac0016040000000000005bb3ac00170400000000000029ebac0018040000000000006af4ac0019040000000000000e07ad001a04000000000000f422ad001b04000000000000432cad001c040000000000009935ad001d04000000000000ee3ead001e04000000000000d55aad001f04000000000000bd76ad002004000000000000a592ad00210400000000000076caad002204000000000000f6dcad002304000000000000e001ae0024040000000000004f39ae0025040000000000001371ae0026040000000000005f7aae002704000000000000fc8cae002804000000000000cda8ae0029040000000000005ebbae002a0400000000000081e0ae002b040000000000004f18af002c040000000000001e50af002d04000000000000e687af002e04000000000000a0bfaf002f040000000000005ff7af003004000000000000042fb0003104000000000000da66b00032040000000000009a9eb000330400000000000063d6b0003404000000000000300eb1003504000000000000da45b10036040000000000009a7db100370400000000000050b5b100380400000000000029edb1003904000000000000971bb2003a04000000000000e024b2003b04000000000000995cb2003c040000000000006694b2003d0400000000000048b0b2003e040000000000002eccb2003f0400000000000075d5b200400400000000000008e8b2004104000000000000e703b3004204000000000000ce1fb3004304000000000000b63bb30044040000000000000d45b30045040000000000009f57b30046040000000000007573b3004704000000000000c67cb30048040000000000003aabb3004904000000000000e4e2b3004a04000000000000651ab4004b04000000000000f951b4004c040000000000009389b4004d0400000000000025c1b4004e04000000000000f6f8b4004f04000000000000241eb5005004000000000000b130b50051040000000000007068b500520400000000000040a0b5005304000000000000ecd7b50054040000000000000510b60055040000000000003e48b60056040000000000007a80b6005704000000000000b7b8b6005804000000000000f3f0b60059040000000000002f29b7005a04000000000000ae4eb7005b040000000000006861b7005c04000000000000a599b7005d04000000000000ded1b7005e040000000000005cf7b7005f04000000000000160ab80060040000000000005042b8006104000000000000964bb8006204000000000000687ab8006304000000000000a6b2b800640400000000000066c5b8006504000000000000e5eab80066040000000000000423b90067040000000000003f5bb90068040000000000005d77b90069040000000000007b93b9006a04000000000000b7cbb9006b04000000000000ef03ba006c04000000000000133cba006d040000000000003358ba006e040000000000005174ba006f0400000000000042acba0070040000000000006ce4ba007104000000000000a21cbb007204000000000000e054bb007304000000000000405ebb0074040000000000001b8dbb0075040000000000002ec5bb0076040000000000006dfdbb007704000000000000a435bc007804000000000000d06dbc0079040000000000000ca6bc007a040000000000004adebc007b040000000000008716bd007c04000000000000c34ebd007d04000000000000fc86bd007e040000000000003bbfbd007f040000000000007af7bd008004000000000000d500be008104000000000000b32fbe008204000000000000ea67be00830400000000000027a0be00840400000000000065d8be008504000000000000a410bf008604000000000000dd48bf0087040000000000003b52bf0088040000000000001881bf0089040000000000008fb8bf008a04000000000000cbc1bf008b04000000000000f8efbf008c040000000000007602c0008d040000000000008327c0008e04000000000000075fc0008f040000000000005d96c000900400000000000009cec00091040000000000003b06c10092040000000000002d3ec10093040000000000006476c10094040000000000007aaec1009504000000000000b9e6c1009604000000000000ef1ec20097040000000000002c57c2009804000000000000698fc20099040000000000008cc7c2009a040000000000009effc2009b04000000000000da37c3009c04000000000000ee6fc3009d0400000000000029a8c3009e0400000000000067e0c3009f04000000000000240fc400a0040000000000008218c400a104000000000000b150c400a204000000000000c088c400a304000000000000d2c0c400a404000000000000f6f8c400a5040000000000001231c500a604000000000000d143c500a7040000000000004d69c500a80400000000000089a1c500a904000000000000c4d9c500aa040000000000000112c600ab040000000000005c1bc600ac040000000000003a4ac600ad040000000000007482c600ae04000000000000abbac600af04000000000000e4f2c600b0040000000000001d2bc700b1040000000000002e47c700b2040000000000004863c700b304000000000000687fc700b404000000000000829bc700b5040000000000009bd3c700b604000000000000d80bc800b7040000000000001144c800b804000000000000704dc800b904000000000000d056c800ba040000000000004e7cc800bb0400000000000080b4c800bc04000000000000b1ecc800bd040000000000009808c900be040000000000008d24c900bf04000000000000c75cc900c004000000000000df94c900c104000000000000feb0c900c2040000000000001dcdc900c3040000000000004605ca00c4040000000000006e3dca00c5040000000000009e75ca00c604000000000000029bca00c704000000000000aeadca00c8040000000000008adcca00c904000000000000eae5ca00ca04000000000000251ecb00cb04000000000000fa55cb00cc04000000000000778ccb00cd04000000000000eec3cb00ce0400000000000005fccb00cf040000000000004134cc00d004000000000000716ccc00d10400000000000096a4cc00d204000000000000d3dccc00d30400000000000086efcc00d4040000000000000215cd00d504000000000000ac27cd00d604000000000000264dcd00d7040000000000008656cd00d8040000000000006385cd00d9040000000000003bb4cd00da0400000000000099bdcd00db04000000000000d8f5cd00dc04000000000000172ece00dd040000000000005366ce00de04000000000000909ece00df04000000000000b7d6ce00e00400000000000068e9ce00e104000000000000cc0ecf00e2040000000000000547cf00e304000000000000427fcf00e40400000000000079b7cf00e504000000000000b8efcf00e604000000000000f427d000e7040000000000000b60d000e8040000000000004698d000e90400000000000083d0d000ea04000000000000c008d100eb04000000000000fa40d100ec040000000000003679d100ed0400000000000073b1d100ee0400000000000087cdd100ef04000000000000a6e9d100f004000000000000e521d200f1040000000000001e5ad200f2040000000000005692d200f30400000000000092cad200f40400000000000052ddd200f504000000000000ce02d300f604000000000000e13ad300f7040000000000003444d300f804000000000000dc56d300f904000000000000ef72d300fa040000000000004d7cd300fb0400000000000024abd300fc04000000000000a1d0d300fd040000000000005be3d300fe04000000000000901bd400ff04000000000000ce53d40000050000000000000a8cd40001050000000000003ac4d40002050000000000004ae0d400030500000000000069fcd4000405000000000000a134d50005050000000000006047d5000605000000000000de6cd50007050000000000001ba5d500080500000000000058ddd50009050000000000009415d6000a05000000000000d24dd6000b05000000000000f085d6000c050000000000001ebed6000d05000000000000fbecd6000e050000000000005bf6d6000f050000000000008b2ed7001005000000000000c566d7001105000000000000029fd700120500000000000036d7d70013050000000000006f0fd80014050000000000009f47d8001505000000000000c97fd8001605000000000000e4b7d80017050000000000001ff0d80018050000000000005928d90019050000000000009560d9001a050000000000005473d9001b05000000000000718fd9001c05000000000000d198d9001d0500000000000031a2d9001e050000000000000fd1d9001f05000000000000cfe3d90020050000000000004f09da0021050000000000008941da002205000000000000b979da002305000000000000edb1da00240500000000000047bbda00250500000000000054d7da00260500000000000007eada00270500000000000067f3da0028050000000000003a22db0029050000000000005e5adb002a050000000000007892db002b05000000000000b0cadb002c05000000000000e702dc002d05000000000000183bdc002e050000000000007644dc002f050000000000002773dc003005000000000000dd85dc0031050000000000004dabdc00320500000000000086e3dc003305000000000000bb1bdd003405000000000000944add003505000000000000f453dd003605000000000000ad66dd003705000000000000298cdd00380500000000000060c4dd0039050000000000009cfcdd003a05000000000000fa05de003b05000000000000d734de003c05000000000000b56cde003d0500000000000045a4de003e05000000000000a1d2de003f05000000000000e4dbde0040050000000000002fe5de0041050000000000003c05df004205000000000000d81adf004305000000000000d636df0044050000000000002840df004505000000000000d252df004605000000000000cf6edf004705000000000000a9a6df004805000000000000eeafdf00490500000000000047b9df004a05000000000000b1dedf004b050000000000000de8df004c050000000000006e0de0004d05000000000000cb16e0004e05000000000000d84ee0004f050000000000007886e0005005000000000000b3bee0005105000000000000c3f6e0005205000000000000fe2ee10053050000000000002c67e1005405000000000000e679e1005505000000000000a68ce1005605000000000000629fe10057050000000000009bd7e10058050000000000005806e2005905000000000000b10fe2005a05000000000000e647e2005b050000000000001880e2005c050000000000007689e2005d050000000000004cb8e2005e050000000000007ef0e2005f05000000000000b228e3006005000000000000e760e30061050000000000002499e300620500000000000060d1e30063050000000000009c09e4006405000000000000d441e4006505000000000000334be40066050000000000000a7ae4006705000000000000e0a8e400680500000000000040b2e40069050000000000006feae4006a05000000000000a022e5006b05000000000000de5ae5006c050000000000001a93e5006d0500000000000055cbe5006e050000000000000bdee5006f050000000000008203e6007005000000000000db0ce6007105000000000000b53be6007205000000000000f073e60073050000000000004e7de60074050000000000002cace60075050000000000008cb5e60076050000000000006be4e6007705000000000000a51ce7007805000000000000dc54e7007905000000000000168de7007a050000000000004ac5e7007b0500000000000057fde7007c050000000000009335e8007d05000000000000d06de8007e050000000000002e77e8007f0500000000000004a6e80080050000000000003fdee80081050000000000007b16e9008205000000000000b74ee9008305000000000000e886e900840500000000000015bfe900850500000000000046f7e9008605000000000000602fea0087050000000000000442ea0088050000000000005a4bea0089050000000000006a67ea008a05000000000000889fea008b05000000000000daa8ea008c0500000000000079d7ea008d050000000000009f0feb008e050000000000005c22eb008f050000000000001c35eb009005000000000000d847eb0091050000000000000e80eb0092050000000000003eb8eb00930500000000000076f0eb009405000000000000ad28ec009505000000000000e660ec0096050000000000002399ec00970500000000000060d1ec0098050000000000009e09ed0099050000000000005e1ced009a05000000000000da41ed009b050000000000009654ed009c050000000000005567ed009d05000000000000127aed009e050000000000004ab2ed009f0500000000000082eaed00a005000000000000e1f3ed00a105000000000000bd22ee00a205000000000000fa5aee00a3050000000000003493ee00a405000000000000929cee00a50500000000000070cbee00a605000000000000ac03ef00a705000000000000eb3bef00a805000000000000fb73ef00a905000000000000feabef00aa05000000000000bebeef00ab0500000000000038e4ef00ac050000000000004e1cf000ad050000000000008854f000ae05000000000000958cf000af05000000000000c5c4f000b005000000000000fffcf000b1050000000000002e35f100b205000000000000de47f100b305000000000000466df100b4050000000000005da5f100b50500000000000094ddf100b605000000000000c115f200b705000000000000fa4df200b8050000000000002d86f200b90500000000000067bef200ba05000000000000a0f6f200bb05000000000000b52ef300bc050000000000003254f300bd05000000000000ef66f300be05000000000000239ff300bf0500000000000032d7f300c005000000000000dde9f300c1050000000000001e0ff400c2050000000000004f47f400c3050000000000008d7ff400c4050000000000006bb7f400c5050000000000009beff400c605000000000000c927f500c705000000000000ff5ff500c8050000000000003198f500c90500000000000063d0f500ca050000000000008908f600cb05000000000000c240f600cc050000000000001d66f600cd05000000000000ca78f600ce05000000000000fbb0f600cf0500000000000031e9f600d0050000000000006021f700d1050000000000009e59f700d205000000000000d891f700d3050000000000000acaf700d4050000000000004402f800d5050000000000007b3af800d605000000000000fa5ff800d705000000000000b672f800d805000000000000ebaaf800d90500000000000048b4f800da0500000000000024e3f800db05000000000000601bf900dc050000000000009753f900dd05000000000000ac8bf900de05000000000000e3c3f900df050000000000001cfcf900e0050000000000005934fa00e105000000000000936cfa00e205000000000000a7a4fa00e305000000000000dfdcfa00e4050000000000001a15fb00e5050000000000004d4dfb00e605000000000000a656fb00e7050000000000007b85fb00e805000000000000a2bdfb00e905000000000000dff5fb00ea050000000000005f1bfc00eb050000000000001e2efc00ec050000000000005266fc00ed050000000000000c79fc00ee05000000000000cc8bfc00ef050000000000002995fc00f005000000000000899efc00f105000000000000c1d6fc00f2050000000000007ee9fc00f3050000000000003dfcfc00f405000000000000f00efd00f5050000000000004c18fd00f6050000000000001a47fd00f7050000000000004a7ffd00f80500000000000086b7fd00f905000000000000beeffd00fa050000000000001ef9fd00fb05000000000000ee27fe00fc050000000000000944fe00fd050000000000002560fe00fe05000000000000307cfe00ff050000000000002798fe000006000000000000e2aafe00010600000000000042b4fe0002060000000000005dd0fe0003060000000000009a08ff000406000000000000ca40ff000506000000000000244aff000606000000000000f278ff0007060000000000002db1ff00080600000000000063e9ff000906000000000000712100010a06000000000000313400010b060000000000004c5000010c06000000000000ac5900010d06000000000000b49100010e06000000000000e3c900010f06000000000000f60101011006000000000000103a010111060000000000003056010112060000000000004c720101130600000000000084aa01011406000000000000c2e201011506000000000000fe1a02011606000000000000235302011706000000000000618b020118060000000000009dc3020119060000000000005ad602011a06000000000000badf02011b06000000000000d7fb02011c06000000000000370503011d06000000000000f71703011e06000000000000133403011f06000000000000516c03012006000000000000107f030121060000000000008da403012206000000000000cadc03012306000000000000f81404012406000000000000324d0401250600000000000070850401260600000000000080bd040127060000000000008bf504012806000000000000842d05012906000000000000d73605012a060000000000008b6505012b06000000000000c19d05012c06000000000000f9d505012d060000000000002e0e06012e06000000000000664606012f060000000000009d7e06013006000000000000d7b60601310600000000000011ef06013206000000000000442707013306000000000000725f07013406000000000000af9707013506000000000000e7cf070136060000000000001f0808013706000000000000372408013806000000000000544008013906000000000000917808013a06000000000000c8b008013b0600000000000001e908013c060000000000000f2109013d06000000000000085909013e06000000000000a99009013f06000000000000b5c809014006000000000000c5000a014106000000000000d2380a01420600000000000006710a014306000000000000f5a80a0144060000000000002be10a01450600000000000012190b01460600000000000048510b01470600000000000086890b014806000000000000e5920b014906000000000000c4c10b014a0600000000000000fa0b014b060000000000001d320c014c060000000000000b6a0c014d06000000000000c5980c014e060000000000001aa20c014f06000000000000d7d00c0150060000000000002dda0c01510600000000000069120d015206000000000000a44a0d015306000000000000df820d0154060000000000001dbb0d01550600000000000055f30d015606000000000000852b0e01570600000000000083630e015806000000000000c39b0e0159060000000000001ba50e015a060000000000007bae0e015b06000000000000f7d30e015c06000000000000afe60e015d06000000000000290c0f015e0600000000000065440f015f06000000000000db690f016006000000000000977c0f016106000000000000d2b40f016206000000000000ecec0f016306000000000000062510016406000000000000ea5c10016506000000000000f49410016606000000000000ffcc100167060000000000005ed610016806000000000000d6fb10016906000000000000340511016a06000000000000613d11016b060000000000008b7511016c06000000000000919111016d06000000000000abad11016e06000000000000e0e511016f060000000000001d1e120170060000000000005556120171060000000000006c8e120172060000000000008aaa12017306000000000000a3c612017406000000000000bdfe12017506000000000000f83613017606000000000000126f130177060000000000006c9413017806000000000000c99d1301790600000000000029a713017a060000000000005bdf13017b06000000000000b8e813017c0600000000000016f213017d060000000000008d1714017e06000000000000ec2014017f06000000000000a43314018006000000000000bc4f14018106000000000000d58714018206000000000000919a1401830600000000000005c0140184060000000000005fc914018506000000000000f8f714018606000000000000a10a15018706000000000000fa1315018806000000000000561d15018906000000000000fa2f15018a06000000000000513915018b06000000000000aa4215018c06000000000000106815018d060000000000002f8415018e060000000000004ba015018f060000000000002cbc15019006000000000000ccce1501910600000000000019d81501920600000000000076e115019306000000000000331016019406000000000000664816019506000000000000998016019606000000000000d5b81601970600000000000093cb16019806000000000000f3d4160199060000000000000ff116019a06000000000000cd0317019b06000000000000492917019c06000000000000a33217019d06000000000000444517019e060000000000003a6117019f06000000000000117d1701a0060000000000001c991701a10600000000000059d11701a2060000000000008c091801a306000000000000c2411801a4060000000000001e4b1801a50600000000000037671801a606000000000000f2791801a7060000000000001fb21801a806000000000000dec41801a90600000000000056ea1801aa0600000000000005fd1801ab0600000000000079221901ac06000000000000b25a1901ad06000000000000e5921901ae06000000000000f9ca1901af060000000000005df01901b00600000000000017031a01b1060000000000003a3b1a01b206000000000000e64d1a01b30600000000000044731a01b406000000000000a37c1a01b50600000000000078ab1a01b6060000000000006ee31a01b706000000000000921b1b01b806000000000000be531b01b9060000000000001d5d1b01ba06000000000000ec8b1b01bb0600000000000009c41b01bc06000000000000e5fb1b01bd06000000000000f1331c01be06000000000000ef6b1c01bf06000000000000a39a1c01c006000000000000fba31c01c106000000000000f2db1c01c206000000000000f8131d01c306000000000000df4b1d01c40600000000000075831d01c506000000000000aaa81d01c6060000000000003bbb1d01c7060000000000002fd71d01c80600000000000017f31d01c90600000000000067fc1d01ca06000000000000ad211e01cb06000000000000fb2a1e01cc0600000000000052341e01cd06000000000000da621e01ce06000000000000c87e1e01cf06000000000000b09a1e01d00600000000000089d21e01d1060000000000000fe51e01d2060000000000005fee1e01d3060000000000003b0a1f01d406000000000000f8411f01d50600000000000098541f01d606000000000000ac5d1f01d70600000000000094791f01d8060000000000006eb11f01d90600000000000038e91f01da060000000000000b212001db06000000000000e6582001dc06000000000000c8902001dd0600000000000062a32001de060000000000007ac82001df060000000000001cdb2001e0060000000000005d002101e10600000000000021382101e206000000000000f76f2101e3060000000000003d792101e406000000000000cea72101e50600000000000095df2101e6060000000000006e172201e706000000000000334f2201e80600000000000085582201e90600000000000010872201ea06000000000000eea22201eb06000000000000cbbe2201ec06000000000000a9da2201ed060000000000009ef62201ee060000000000003d092301ef06000000000000782e2301f0060000000000000c412301f1060000000000005e4a2301f20600000000000045662301f3060000000000003b822301f406000000000000299e2301f506000000000000fed52301f606000000000000990d2401f7060000000000002c202401f806000000000000173c2401f90600000000000063452401fa06000000000000fd572401fb060000000000002a7d2401fc0600000000000000b52401fd06000000000000b8ec2401fe0600000000000037242501ff06000000000000155c25010007000000000000e69325010107000000000000a6cb25010207000000000000630326010307000000000000b30c260104070000000000000916260105070000000000005b1f26010607000000000000523b260107070000000000004857260108070000000000002d732601090700000000000018ab26010a07000000000000fdc626010b07000000000000ede226010c070000000000008d1127010d07000000000000e31a27010e07000000000000cc5227010f07000000000000ac8a270110070000000000004b9d2701110700000000000090c22701120700000000000087fa27011307000000000000583228011407000000000000fe6928011507000000000000557328011607000000000000f4a128011707000000000000ced9280118070000000000007d1129011907000000000000414929011a070000000000001a8129011b07000000000000deb829011c07000000000000bff029011d07000000000000a8282a011e070000000000008b602a011f07000000000000dc692a0120070000000000002d732a0121070000000000007a7c2a012207000000000000198f2a01230700000000000069982a01240700000000000003ab2a0125070000000000004ab42a0126070000000000009ebd2a01270700000000000041d02a012807000000000000e7e22a01290700000000000089f52a012a0700000000000023082b012b07000000000000cb1a2b012c0700000000000018242b012d070000000000006b2d2b012e07000000000000ba362b012f070000000000000e402b013007000000000000af522b013107000000000000035c2b0132070000000000004c652b0133070000000000009b6e2b013407000000000000e4772b013507000000000000abaf2b013607000000000000f8b82b01370700000000000052c22b013807000000000000f0d42b0139070000000000008de72b013a0700000000000081032c013b070000000000005e1f2c013c070000000000004a3b2c013d0700000000000037572c013e070000000000000a8f2c013f070000000000005e982c014007000000000000eeaa2c0141070000000000007fbd2c014207000000000000d2c62c014307000000000000b6fe2c0144070000000000008f362d014507000000000000426e2d014607000000000000d9a52d014707000000000000a0dd2d0148070000000000003df02d0149070000000000004f152e014a07000000000000971e2e014b07000000000000e2272e014c0700000000000035312e014d07000000000000cb432e014e07000000000000174d2e014f07000000000000a57b2e015007000000000000f8842e015107000000000000e0bc2e015207000000000000bdf42e0153070000000000009d2c2f015407000000000000e9352f015507000000000000353f2f015607000000000000cf512f0157070000000000006e642f0158070000000000001b772f015907000000000000659c2f015a070000000000005bd42f015b0700000000000001e72f015c07000000000000470c30015d07000000000000464430015e07000000000000904d30015f07000000000000e4563001" + "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 e72afe3236b2fba68f8338541118b516b8d35646..3767f672116e2e17b5ce34c7fb8265e94528acc6 100644 GIT binary patch delta 56098 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

>J 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

5BP(BGV`M=ev*59N)sL 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 diff --git a/artifacts/polkadot_metadata_small.scale b/artifacts/polkadot_metadata_small.scale index 900a982b3e73617776191240aa5b74487933d15e..86f4d6732b0a3ec5b657a31fbd2f07b1348d5eef 100644 GIT binary patch delta 11130 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 %y)wgHs2S%i;7T0?xiVKA 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 b`o87GBV_T_4Ka7ihhHt9aFFlgIqd%fucQEF diff --git a/artifacts/polkadot_metadata_tiny.scale b/artifacts/polkadot_metadata_tiny.scale index f601a8d2519f2bbeafb4b68c8f0bb06aedb8ac2c..73372dfa170aac58c053ecfb07753fb840d61cef 100644 GIT binary patch delta 7307 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 delta 7830 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, /// 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/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 330843ccf7..95dbdf7d2a 100644 --- a/codegen/src/api/storage.rs +++ b/codegen/src/api/storage.rs @@ -13,6 +13,8 @@ use subxt_metadata::{ 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,7 +71,8 @@ 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}"); @@ -89,7 +92,7 @@ fn generate_storage_entry_fns( .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_def = quote!( pub type #alias_name = #alias_type; ); let alias_type_path = quote!( types::#alias_module_name::#alias_name ); @@ -169,7 +172,7 @@ 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!(()), }; @@ -191,10 +194,10 @@ fn generate_storage_entry_fns( (fn_name, false, true) }; let is_fetchable_type = is_fetchable - .then_some(quote!(#crate_path::storage::address::Yes)) + .then_some(quote!(#crate_path::utils::Yes)) .unwrap_or(quote!(())); let is_iterable_type = is_iterable - .then_some(quote!(#crate_path::storage::address::Yes)) + .then_some(quote!(#crate_path::utils::Yes)) .unwrap_or(quote!(())); let (keys, keys_type) = match keys_slice.len() { @@ -247,7 +250,7 @@ fn generate_storage_entry_fns( arg_name, alias_type_path, .. - }| quote!( #arg_name: impl ::std::borrow::Borrow<#alias_type_path> ), + }| quote!( #arg_name: impl ::core::borrow::Borrow<#alias_type_path> ), ); quote!( @@ -297,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)] @@ -424,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/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 100% rename from subxt/src/config/default_extrinsic_params.rs rename to core/src/config/default_extrinsic_params.rs diff --git a/subxt/src/config/extrinsic_params.rs b/core/src/config/extrinsic_params.rs similarity index 53% rename from subxt/src/config/extrinsic_params.rs rename to core/src/config/extrinsic_params.rs index 5b3148c269..51a1b0444e 100644 --- a/subxt/src/config/extrinsic_params.rs +++ b/core/src/config/extrinsic_params.rs @@ -7,46 +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; - use super::refine_params::RefineParams; - -/// 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 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 @@ -58,10 +21,7 @@ pub trait ExtrinsicParams: ExtrinsicParamsEncoder + Sized + 'static { type Params: RefineParams; /// Construct a new instance of our [`ExtrinsicParams`]. - fn new>( - client: Client, - params: Self::Params, - ) -> 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 97% rename from subxt/src/config/mod.rs rename to core/src/config/mod.rs index ca84a4e9bb..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. @@ -24,7 +24,7 @@ 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; @@ -77,7 +77,7 @@ pub trait BlockHash: + Encode + PartialEq + Eq - + std::hash::Hash + + core::hash::Hash { } impl BlockHash for T where @@ -92,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/subxt/src/config/refine_params.rs b/core/src/config/refine_params.rs similarity index 94% rename from subxt/src/config/refine_params.rs rename to core/src/config/refine_params.rs index 3a5c3a2087..978c5f58e8 100644 --- a/subxt/src/config/refine_params.rs +++ b/core/src/config/refine_params.rs @@ -14,7 +14,9 @@ pub struct RefineParamsData { } impl RefineParamsData { - pub(crate) fn new(account_nonce: u64, block_number: u64, block_hash: T::Hash) -> Self { + #[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, diff --git a/subxt/src/config/signed_extensions.rs b/core/src/config/signed_extensions.rs similarity index 90% rename from subxt/src/config/signed_extensions.rs rename to core/src/config/signed_extensions.rs index d5d2a1c66b..9b99fec022 100644 --- a/subxt/src/config/signed_extensions.rs +++ b/core/src/config/signed_extensions.rs @@ -7,19 +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. @@ -41,11 +46,8 @@ pub struct CheckSpecVersion(u32); impl ExtrinsicParams for CheckSpecVersion { type Params = (); - fn new>( - client: Client, - _params: Self::Params, - ) -> Result { - Ok(CheckSpecVersion(client.runtime_version().spec_version)) + fn new(client: &ClientState, _params: Self::Params) -> Result { + Ok(CheckSpecVersion(client.runtime_version().spec_version())) } } @@ -68,10 +70,7 @@ pub struct CheckNonce(Compact); impl ExtrinsicParams for CheckNonce { type Params = CheckNonceParams; - fn new>( - _client: Client, - params: Self::Params, - ) -> 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))) @@ -109,11 +108,10 @@ pub struct CheckTxVersion(u32); impl ExtrinsicParams for CheckTxVersion { type Params = (); - fn new>( - client: Client, - _params: Self::Params, - ) -> Result { - Ok(CheckTxVersion(client.runtime_version().transaction_version)) + fn new(client: &ClientState, _params: Self::Params) -> Result { + Ok(CheckTxVersion( + client.runtime_version().transaction_version(), + )) } } @@ -136,10 +134,7 @@ pub struct CheckGenesis(T::Hash); impl ExtrinsicParams for CheckGenesis { type Params = (); - fn new>( - client: Client, - _params: Self::Params, - ) -> Result { + fn new(client: &ClientState, _params: Self::Params) -> Result { Ok(CheckGenesis(client.genesis_hash())) } } @@ -210,10 +205,7 @@ impl CheckMortalityParams { impl ExtrinsicParams for CheckMortality { type Params = CheckMortalityParams; - fn new>( - client: Client, - params: Self::Params, - ) -> Result { + fn new(client: &ClientState, params: Self::Params) -> Result { let check_mortality = if let Some(params) = params.0 { CheckMortality { era: params.era, @@ -246,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, @@ -308,10 +300,7 @@ impl ChargeAssetTxPaymentParams { impl ExtrinsicParams for ChargeAssetTxPayment { type Params = ChargeAssetTxPaymentParams; - fn new>( - _client: Client, - params: Self::Params, - ) -> Result { + fn new(_client: &ClientState, params: Self::Params) -> Result { Ok(ChargeAssetTxPayment { tip: Compact(params.tip), asset_id: params.asset_id, @@ -367,10 +356,7 @@ impl ChargeTransactionPaymentParams { impl ExtrinsicParams for ChargeTransactionPayment { type Params = ChargeTransactionPaymentParams; - fn new>( - _client: Client, - params: Self::Params, - ) -> Result { + fn new(_client: &ClientState, params: Self::Params) -> Result { Ok(ChargeTransactionPayment { tip: Compact(params.tip), }) @@ -397,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 { @@ -412,8 +398,8 @@ macro_rules! impl_tuples { { type Params = ($($ident::Params,)+); - fn new>( - client: Client, + fn new( + client: &ClientState, params: Self::Params, ) -> Result { let metadata = client.metadata(); @@ -430,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(client.clone(), params.$index)?; + let ext = $ident::new(client, params.$index)?; let boxed_ext: Box = Box::new(ext); exts_by_index.insert(idx, boxed_ext); break @@ -453,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 86% rename from subxt/src/config/substrate.rs rename to core/src/config/substrate.rs index 1ee3e83c5f..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}; @@ -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 80% rename from subxt/src/constants/constant_address.rs rename to core/src/constants/constant_address.rs index 3765d4c84b..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,26 +29,12 @@ pub trait ConstantAddress { } /// This represents the address of a constant. -#[derive(Derivative)] -#[derivative( - Clone(bound = ""), - Debug(bound = ""), - Eq(bound = ""), - Ord(bound = ""), - PartialEq(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, -} - -// Manual implementation to work around https://github.com/mcarton/rust-derivative/issues/115. -impl PartialOrd for Address { - fn partial_cmp(&self, other: &Self) -> Option { - Some(self.cmp(other)) - } + _marker: core::marker::PhantomData, } /// The type of address typically used to return dynamic constant values. @@ -59,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, } } @@ -75,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 78% rename from subxt/src/custom_values/custom_value_address.rs rename to core/src/custom_values/custom_value_address.rs index 6e2f7f77ea..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,28 +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 = ""), - Eq(bound = ""), - Ord(bound = ""), - PartialEq(bound = "") -)] +#[derive_where(Clone, Debug, PartialOrd, Ord, PartialEq, Eq)] pub struct StaticAddress { name: &'static str, hash: Option<[u8; 32]>, - phantom: PhantomData<(ReturnTy, IsDecodable)>, -} - -impl PartialOrd for StaticAddress { - fn partial_cmp(&self, other: &Self) -> Option { - Some(self.cmp(other)) - } + phantom: core::marker::PhantomData<(ReturnTy, IsDecodable)>, } impl StaticAddress { @@ -64,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 93% rename from subxt/src/dynamic.rs rename to core/src/dynamic.rs index c405450481..05a03117e7 100644 --- a/subxt/src/dynamic.rs +++ b/core/src/dynamic.rs @@ -5,12 +5,9 @@ //! 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 @@ -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,7 +64,7 @@ impl DecodedValueThunk { &self.scale_bytes } /// Decode the SCALE encoded storage entry into a dynamic [`DecodedValue`] type. - pub fn to_value(&self) -> Result { + pub fn to_value(&self) -> Result { let val = scale_value::scale::decode_as_type( &mut &*self.scale_bytes, &self.type_id, 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 92% rename from subxt/src/events/events_type.rs rename to core/src/events/mod.rs index 6818a84815..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]>, @@ -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. @@ -378,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::{ @@ -531,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) } } @@ -545,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 88% rename from subxt/src/metadata/decode_encode_traits.rs rename to core/src/metadata/decode_encode_traits.rs index 8b8d4077fa..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,7 +21,7 @@ impl DecodeWithMetadata for T { bytes: &mut &[u8], type_id: u32, metadata: &Metadata, - ) -> Result { + ) -> 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,7 +45,7 @@ impl EncodeWithMetadata for T { type_id: u32, metadata: &Metadata, bytes: &mut Vec, - ) -> Result<(), Error> { + ) -> 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 91% rename from subxt/src/runtime_api/runtime_payload.rs rename to core/src/runtime_api/mod.rs index 128440b98d..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,15 +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"), - Eq(bound = "ArgsData: std::cmp::Eq"), - Ord(bound = "ArgsData: std::cmp::Ord"), - PartialEq(bound = "ArgsData: std::cmp::PartialEq"), - PartialOrd(bound = "ArgsData: std::cmp::PartialOrd") -)] +#[derive_where(Clone, Debug, Eq, Ord, PartialEq, PartialOrd; ArgsData)] pub struct Payload { trait_name: Cow<'static, str>, method_name: Cow<'static, str>, @@ -150,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/subxt/src/storage/storage_address.rs b/core/src/storage/storage_address.rs similarity index 86% rename from subxt/src/storage/storage_address.rs rename to core/src/storage/storage_address.rs index cb72462eb8..fbb3f267ba 100644 --- a/subxt/src/storage/storage_address.rs +++ b/core/src/storage/storage_address.rs @@ -6,10 +6,13 @@ use crate::{ dynamic::DecodedValueThunk, error::{Error, MetadataError}, metadata::{DecodeWithMetadata, Metadata}, + utils::Yes, }; -use derivative::Derivative; +use derive_where::derive_where; -use std::borrow::Cow; +use alloc::borrow::{Cow, ToOwned}; +use alloc::string::String; +use alloc::vec::Vec; use super::{storage_key::StorageHashers, StorageKey}; @@ -48,27 +51,15 @@ pub trait StorageAddress { } } -/// 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 = "Keys: Clone"), - Debug(bound = "Keys: std::fmt::Debug"), - Eq(bound = "Keys: std::cmp::Eq"), - Ord(bound = "Keys: std::cmp::Ord"), - PartialEq(bound = "Keys: std::cmp::PartialEq"), - PartialOrd(bound = "Keys: std::cmp::PartialOrd") -)] +#[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: std::marker::PhantomData<(ReturnTy, Fetchable, Defaultable, Iterable)>, + _marker: core::marker::PhantomData<(ReturnTy, Fetchable, Defaultable, Iterable)>, } /// A typical storage address constructed at runtime rather than via the `subxt` macro; this @@ -83,7 +74,7 @@ impl DynamicAddress { entry_name: Cow::Owned(entry_name.into()), keys, validation_hash: None, - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } } } @@ -108,7 +99,7 @@ where entry_name: Cow::Borrowed(entry_name), keys, validation_hash: Some(hash), - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } } } @@ -127,9 +118,7 @@ where } } - /// 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. + /// 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) } diff --git a/subxt/src/storage/storage_key.rs b/core/src/storage/storage_key.rs similarity index 97% rename from subxt/src/storage/storage_key.rs rename to core/src/storage/storage_key.rs index 71ecafde9d..d76246fb0e 100644 --- a/subxt/src/storage/storage_key.rs +++ b/core/src/storage/storage_key.rs @@ -1,21 +1,21 @@ +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}; -use derivative::Derivative; - -use super::utils::hash_bytes; - /// 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(crate) struct StorageHashers { +pub struct StorageHashers { hashers_and_ty_ids: Vec<(StorageHasher, u32)>, } @@ -162,11 +162,10 @@ impl StorageKey for () { /// A storage key for static encoded values. /// The original value is only present at construction, but can be decoded from the contained bytes. -#[derive(Derivative)] -#[derivative(Clone(bound = ""), Debug(bound = ""))] +#[derive_where(Clone, Debug, PartialOrd, PartialEq, Eq)] pub struct StaticStorageKey { bytes: Static, - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } impl StaticStorageKey { @@ -174,7 +173,7 @@ impl StaticStorageKey { pub fn new(key: &K) -> Self { StaticStorageKey { bytes: Static(Encoded(key.encode())), - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } } } @@ -227,7 +226,7 @@ impl StorageKey for StaticStorageKey { // Return the key bytes. let key = StaticStorageKey { bytes: Static(Encoded(key_bytes.to_vec())), - _marker: std::marker::PhantomData::, + _marker: core::marker::PhantomData::, }; Ok(key) } @@ -362,6 +361,10 @@ mod tests { use crate::utils::Era; + use alloc::string::String; + use alloc::vec; + use alloc::vec::Vec; + use super::{StaticStorageKey, StorageKey}; struct KeyBuilder { 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 90% rename from subxt/src/tx/tx_payload.rs rename to core/src/tx/mod.rs index c2a1dbe65c..8266f0c687 100644 --- a/subxt/src/tx/tx_payload.rs +++ b/core/src/tx/mod.rs @@ -5,16 +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 derivative::Derivative; use scale_encode::EncodeAsFields; -use scale_value::{Composite, ValueDef, Variant}; -use std::borrow::Cow; +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. @@ -49,15 +52,7 @@ pub struct ValidationDetails<'a> { } /// A transaction payload containing some generic `CallData`. -#[derive(Derivative)] -#[derivative( - Clone(bound = "CallData: Clone"), - Debug(bound = "CallData: std::fmt::Debug"), - Eq(bound = "CallData: std::cmp::Eq"), - Ord(bound = "CallData: std::cmp::Ord"), - PartialEq(bound = "CallData: std::cmp::PartialEq"), - PartialOrd(bound = "CallData: std::cmp::PartialOrd") -)] +#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] pub struct Payload { pallet_name: Cow<'static, str>, call_name: Cow<'static, str>, @@ -160,7 +155,8 @@ impl TxPayload for Payload { .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 98% rename from subxt/src/utils/bits.rs rename to core/src/utils/bits.rs index 6c334d701c..8c83314e13 100644 --- a/subxt/src/utils/bits.rs +++ b/core/src/utils/bits.rs @@ -4,15 +4,16 @@ //! 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, TypeResolver}; -use std::marker::PhantomData; - /// Associates `bitvec::store::BitStore` trait with corresponding, type-erased `scale_bits::StoreFormat` enum. /// /// Used to decode bit sequences by providing `scale_bits::StoreFormat` using @@ -145,7 +146,7 @@ impl codec::Encode for DecodedBits(std::marker::PhantomData<(S, O, R)>); +pub struct DecodedBitsVisitor(core::marker::PhantomData<(S, O, R)>); impl scale_decode::Visitor for DecodedBitsVisitor { type Value<'scale, 'info> = DecodedBits; 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 91% rename from subxt/src/utils/static_type.rs rename to core/src/utils/static_type.rs index 6cf1285f8b..ad359886f5 100644 --- a/subxt/src/utils/static_type.rs +++ b/core/src/utils/static_type.rs @@ -6,6 +6,8 @@ use codec::{Decode, Encode}; 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`]. /// @@ -29,7 +31,7 @@ impl EncodeAsType for Static { } } -pub struct StaticDecodeAsTypeVisitor(std::marker::PhantomData<(T, R)>); +pub struct StaticDecodeAsTypeVisitor(core::marker::PhantomData<(T, R)>); impl Visitor for StaticDecodeAsTypeVisitor { type Value<'scale, 'info> = Static; @@ -53,7 +55,7 @@ impl Visitor for StaticDecodeAsTypeVisitor { impl IntoVisitor for Static { type AnyVisitor = StaticDecodeAsTypeVisitor; fn into_visitor() -> StaticDecodeAsTypeVisitor { - StaticDecodeAsTypeVisitor(std::marker::PhantomData) + StaticDecodeAsTypeVisitor(core::marker::PhantomData) } } @@ -65,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 98% rename from subxt/src/utils/unchecked_extrinsic.rs rename to core/src/utils/unchecked_extrinsic.rs index 14ad39e790..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, TypeResolver, Visitor}; use super::{Encoded, Static}; +use alloc::vec::Vec; /// The unchecked extrinsic from substrate. #[derive(Clone, Debug, Eq, PartialEq, Encode)] @@ -115,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 94% rename from subxt/src/utils/wrapper_opaque.rs rename to core/src/utils/wrapper_opaque.rs index 7888dee47f..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 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, @@ -83,7 +79,7 @@ impl EncodeAsType for WrapperKeepOpaque { use scale_encode::error::{Error, ErrorKind, Kind}; let visitor = visitor::new(out, |_, _| { - // Check that the target shape lines up: any other shape but the composite is wrong. + // Check that the target shape lines up: any other shape but composite is wrong. Err(Error::new(ErrorKind::WrongShape { actual: Kind::Struct, expected_id: format!("{:?}", type_id), @@ -100,7 +96,7 @@ impl EncodeAsType for WrapperKeepOpaque { } } -pub struct WrapperKeepOpaqueVisitor(std::marker::PhantomData<(T, R)>); +pub struct WrapperKeepOpaqueVisitor(core::marker::PhantomData<(T, R)>); impl Visitor for WrapperKeepOpaqueVisitor { type Value<'scale, 'info> = WrapperKeepOpaque; type Error = scale_decode::Error; @@ -143,7 +139,7 @@ impl Visitor for WrapperKeepOpaqueVisitor { impl IntoVisitor for WrapperKeepOpaque { type AnyVisitor = WrapperKeepOpaqueVisitor; fn into_visitor() -> WrapperKeepOpaqueVisitor { - WrapperKeepOpaqueVisitor(std::marker::PhantomData) + WrapperKeepOpaqueVisitor(core::marker::PhantomData) } } @@ -151,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 @@ -188,7 +186,7 @@ mod test { + Encode + Decode + PartialEq - + std::fmt::Debug + + core::fmt::Debug + scale_info::TypeInfo + 'static, { diff --git a/examples/wasm-example/Cargo.lock b/examples/wasm-example/Cargo.lock index 87abb8f1d3..5b14afaaf3 100644 --- a/examples/wasm-example/Cargo.lock +++ b/examples/wasm-example/Cargo.lock @@ -2502,8 +2502,6 @@ name = "subxt" version = "0.35.0" dependencies = [ "async-trait", - "base58", - "blake2", "derivative", "either", "frame-metadata 16.0.0", @@ -2551,6 +2549,32 @@ dependencies = [ "tokio", ] +[[package]] +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" 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/metadata/src/lib.rs b/metadata/src/lib.rs index 2f3c6c0000..cec6afd565 100644 --- a/metadata/src/lib.rs +++ b/metadata/src/lib.rs @@ -171,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 = alloc::format!("{name}{visited_count}"); - } - } - } - } } /// Metadata for a specific pallet. diff --git a/signer/Cargo.toml b/signer/Cargo.toml index 7e307b2284..e69042c841 100644 --- a/signer/Cargo.toml +++ b/signer/Cargo.toml @@ -15,7 +15,7 @@ description = "Sign extrinsics to be submitted by Subxt" keywords = ["parity", "subxt", "extrinsic", "signer"] [features] -default = ["sr25519", "ecdsa", "subxt", "std", "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 @@ -27,15 +27,15 @@ 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 } +subxt-core = { workspace = true, optional = true, default-features = false } +secrecy = { workspace = true } regex = { workspace = true, features = ["unicode"] } hex = { workspace = true } cfg-if = { workspace = true } @@ -49,15 +49,14 @@ zeroize = { workspace = true } bip39 = { workspace = true } schnorrkel = { workspace = true, optional = true } secp256k1 = { workspace = true, optional = true, features = ["alloc", "recovery"] } -secrecy = { workspace = true } # 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 } sp-keyring = { workspace = true } +sp-core = { workspace = true } [package.metadata.cargo-machete] ignored = ["getrandom"] diff --git a/signer/src/ecdsa.rs b/signer/src/ecdsa.rs index de84d4bd9a..cfa3975edf 100644 --- a/signer/src/ecdsa.rs +++ b/signer/src/ecdsa.rs @@ -272,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 { diff --git a/signer/src/sr25519.rs b/signer/src/sr25519.rs index 344e7b2655..83e011fc26 100644 --- a/signer/src/sr25519.rs +++ b/signer/src/sr25519.rs @@ -258,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/subxt/Cargo.toml b/subxt/Cargo.toml index f91ec708a0..8f8cc847de 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -53,7 +53,7 @@ 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 @@ -68,6 +68,7 @@ unstable-light-client = ["subxt-lightclient"] [dependencies] async-trait = { workspace = true } codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] } +derive-where = { workspace = true } scale-info = { workspace = true, features = ["default"] } scale-value = { workspace = true, features = ["default"] } scale-bits = { workspace = true, features = ["default"] } @@ -80,7 +81,6 @@ 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 } @@ -89,19 +89,12 @@ impl-serde = { workspace = true } primitive-types = { workspace = true, features = ["codec", "scale-info", "serde"] } sp-crypto-hashing = { workspace = true } -# For ss58 encoding AccountId32 to serialize them properly: -base58 = { workspace = true } -blake2 = { 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-core = { workspace = true, features = ["std"] } subxt-metadata = { workspace = true, features = ["std"] } subxt-lightclient = { workspace = true, optional = true, default-features = false } 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 df4dec9fae..38cab069f9 100644 --- a/subxt/examples/setup_config_custom.rs +++ b/subxt/examples/setup_config_custom.rs @@ -1,6 +1,6 @@ #![allow(missing_docs)] use codec::Encode; -use subxt::client::OfflineClientT; +use subxt::client::ClientState; use subxt::config::{ Config, ExtrinsicParams, ExtrinsicParamsEncoder, ExtrinsicParamsError, RefineParams, }; @@ -60,10 +60,7 @@ impl ExtrinsicParams for CustomExtrinsicParams { type Params = CustomExtrinsicParamsBuilder; // Gather together all of the params we will need to encode: - fn new>( - client: Client, - params: Self::Params, - ) -> Result { + fn new(client: &ClientState, params: Self::Params) -> Result { Ok(Self { genesis_hash: client.genesis_hash(), tip: params.tip, diff --git a/subxt/examples/setup_config_signed_extension.rs b/subxt/examples/setup_config_signed_extension.rs index e4a2733be5..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, @@ -60,10 +60,7 @@ impl signed_extensions::SignedExtension for CustomSignedExtension impl ExtrinsicParams for CustomSignedExtension { type Params = (); - fn new>( - _client: Client, - _params: Self::Params, - ) -> Result { + fn new(_client: &ClientState, _params: Self::Params) -> Result { Ok(CustomSignedExtension) } } diff --git a/subxt/examples/storage_iterating_dynamic.rs b/subxt/examples/storage_iterating_dynamic.rs index a768e6768e..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> { @@ -8,7 +8,7 @@ async fn main() -> Result<(), Box> { // Build a dynamic storage query to iterate account information. // With a dynamic query, we can just provide an empty vector as the keys to iterate over all entries. - let keys: Vec = vec![]; + let keys: Vec = vec![]; let storage_query = subxt::dynamic::storage("System", "Account", keys); // Use that query to return an iterator over the results. diff --git a/subxt/src/backend/legacy/mod.rs b/subxt/src/backend/legacy/mod.rs index 8d9f331fac..6c6520e0db 100644 --- a/subxt/src/backend/legacy/mod.rs +++ b/subxt/src/backend/legacy/mod.rs @@ -181,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))) } diff --git a/subxt/src/backend/legacy/rpc_methods.rs b/subxt/src/backend/legacy/rpc_methods.rs index 982faf9a7e..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, diff --git a/subxt/src/backend/mod.rs b/subxt/src/backend/mod.rs index e816bc904c..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; @@ -277,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/unstable/mod.rs b/subxt/src/backend/unstable/mod.rs index 4fe70bc374..d126b8343b 100644 --- a/subxt/src/backend/unstable/mod.rs +++ b/subxt/src/backend/unstable/mod.rs @@ -361,7 +361,6 @@ impl Backend for UnstableBackend { for finalized_block in ev.finalized_block_hashes { runtimes.remove(&finalized_block.hash()); } - ev.finalized_block_runtime } FollowEvent::NewBlock(ev) => { @@ -417,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))) diff --git a/subxt/src/backend/unstable/rpc_methods.rs b/subxt/src/backend/unstable/rpc_methods.rs index fd2a1dcf9c..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, 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 32bdb057e9..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 { @@ -524,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 @@ -547,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 @@ -572,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. @@ -742,7 +722,7 @@ impl<'a, T: Config> ExtrinsicSignedExtension<'a, T> { } /// Signed Extension as a [`scale_value::Value`] - pub fn value(&self) -> Result { + pub fn value(&self) -> Result, Error> { let value = scale_value::scale::decode_as_type( &mut &self.bytes[..], &self.ty_id, @@ -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/client/mod.rs b/subxt/src/client/mod.rs index fe699c4a55..9eddcd961f 100644 --- a/subxt/src/client/mod.rs +++ b/subxt/src/client/mod.rs @@ -15,3 +15,4 @@ 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 1d38016e06..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, @@ -231,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(()) => { @@ -286,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. @@ -310,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(), ) } @@ -364,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 { @@ -525,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 @@ -540,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/mod.rs b/subxt/src/error/mod.rs index c2f5691b63..ecfb3c7207 100644 --- a/subxt/src/error/mod.rs +++ b/subxt/src/error/mod.rs @@ -14,13 +14,12 @@ crate::macros::cfg_unstable_light_client! { pub use dispatch_error::{ ArithmeticError, DispatchError, ModuleError, TokenError, TransactionalError, }; -use subxt_metadata::StorageHasher; // 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` @@ -81,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()) @@ -189,91 +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 lookup does not have the expected number of keys. - #[error("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. - #[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, - }, - /// We weren't given enough bytes to decode the storage address/key. - #[error("Not enough remaining bytes to decode the storage address/key")] - NotEnoughBytes, - /// We have leftover bytes after decoding the storage address. - #[error("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. - #[error("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. - #[error("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, - }, -} - -/// 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 bb389b828c..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,11 +64,7 @@ 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)) } } } 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 f8eb443eb3..250f470e8e 100644 --- a/subxt/src/lib.rs +++ b/subxt/src/lib.rs @@ -45,18 +45,44 @@ 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; @@ -84,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}; } } @@ -127,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 47362f18ca..8e5a8283df 100644 --- a/subxt/src/macros.rs +++ b/subxt/src/macros.rs @@ -56,7 +56,7 @@ macro_rules! cfg_jsonrpsee_web { macro_rules! cfg_reconnecting_rpc_client { ($($item:item)*) => { $( - #[cfg(all(feature = "unstable-reconnecting-rpc-client"))] + #[cfg(feature = "unstable-reconnecting-rpc-client")] #[cfg_attr(docsrs, doc(cfg(feature = "unstable-reconnecting-rpc-client")))] $item )* 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 98f8365274..a9837330f6 100644 --- a/subxt/src/storage/mod.rs +++ b/subxt/src/storage/mod.rs @@ -4,11 +4,8 @@ //! Types associated with accessing and working with storage items. -mod storage_address; mod storage_client; -mod storage_key; mod storage_type; -mod utils; pub use storage_client::StorageClient; @@ -17,12 +14,13 @@ 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, Address, DynamicAddress, StorageAddress, Yes}; - pub use super::storage_key::{StaticStorageKey, StorageKey}; + pub use subxt_core::storage::address::{ + dynamic, Address, DynamicAddress, StaticStorageKey, StorageAddress, StorageKey, + }; } -pub use storage_key::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_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 d072c1e40b..8e7dec790e 100644 --- a/subxt/src/storage/storage_type.rs +++ b/subxt/src/storage/storage_type.rs @@ -2,9 +2,8 @@ // 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 super::storage_key::StorageHashers; -use super::StorageKey; +use subxt_core::storage::address::{StorageAddress, StorageHashers, StorageKey}; +use subxt_core::utils::Yes; use crate::{ backend::{BackendExt, BlockRef}, @@ -14,7 +13,7 @@ use crate::{ Config, }; use codec::Decode; -use derivative::Derivative; +use derive_where::derive_where; use futures::StreamExt; use std::{future::Future, marker::PhantomData}; @@ -25,8 +24,7 @@ use subxt_metadata::{PalletMetadata, StorageEntryMetadata, StorageEntryType}; 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, @@ -136,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)?; @@ -237,7 +236,8 @@ where 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()) diff --git a/subxt/src/tx/mod.rs b/subxt/src/tx/mod.rs index c48cf1382b..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::{ diff --git a/subxt/src/tx/tx_client.rs b/subxt/src/tx/tx_client.rs index c4a5924c11..31969d58ea 100644 --- a/subxt/src/tx/tx_client.rs +++ b/subxt/src/tx/tx_client.rs @@ -16,12 +16,11 @@ use crate::{ utils::{Encoded, PhantomDataSendSync}, }; use codec::{Compact, Decode, Encode}; -use derivative::Derivative; +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, @@ -126,7 +125,7 @@ impl> TxClient { // 3. Construct our custom additional/extra params. let additional_and_extra_params = - >::new(self.client.clone(), params)?; + >::new(&self.client.client_state(), params)?; // Return these details, ready to construct a signed extrinsic from. Ok(PartialExtrinsic { 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/mod.rs b/subxt/src/utils/mod.rs index 7826ffcfad..0bf2c35689 100644 --- a/subxt/src/utils/mod.rs +++ b/subxt/src/utils/mod.rs @@ -4,58 +4,21 @@ //! 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::macros::cfg_jsonrpsee; -use crate::Error; -use codec::{Compact, Decode, Encode}; -use derivative::Derivative; +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, +}; cfg_jsonrpsee! { mod fetch_chain_spec; pub use fetch_chain_spec::{fetch_chainspec_from_rpc_node, FetchChainspecError}; } -// 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)) -} - /// A URL is considered secure if it uses a secure scheme ("https" or "wss") or is referring to localhost. /// /// Returns an error if the the string could not be parsed into a URL. @@ -80,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/integration-tests/src/full_client/client/unstable_rpcs.rs b/testing/integration-tests/src/full_client/client/unstable_rpcs.rs index ba46681433..bcf797c263 100644 --- a/testing/integration-tests/src/full_client/client/unstable_rpcs.rs +++ b/testing/integration-tests/src/full_client/client/unstable_rpcs.rs @@ -51,8 +51,8 @@ async fn chainhead_unstable_follow() { FollowEvent::Initialized(init) => { 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); } diff --git a/testing/integration-tests/src/full_client/codegen/polkadot.rs b/testing/integration-tests/src/full_client/codegen/polkadot.rs index f07877742b..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; 66usize] = [ + pub static PALLETS: [&str; 64usize] = [ "System", "Babe", "Timestamp", @@ -16,15 +16,18 @@ pub mod api { "Authorship", "Offences", "Historical", + "Beefy", + "Mmr", + "MmrLeaf", "Session", "Grandpa", + "ImOnline", "AuthorityDiscovery", "Treasury", "ConvictionVoting", "Referenda", "FellowshipCollective", "FellowshipReferenda", - "Origins", "Whitelist", "Claims", "Utility", @@ -55,23 +58,18 @@ pub mod api { "ParasDisputes", "ParasSlashing", "MessageQueue", + "ParaAssignmentProvider", "OnDemandAssignmentProvider", - "CoretimeAssignmentProvider", + "ParachainsAssignmentProvider", "Registrar", "Slots", "Auctions", "Crowdloan", - "Coretime", "XcmPallet", - "Beefy", - "Mmr", - "MmrLeaf", - "IdentityMigrator", "ParasSudoWrapper", "AssignedSlots", "ValidatorManager", "StateTrieMigration", - "RootTesting", "Sudo", ]; pub static RUNTIME_APIS: [&str; 16usize] = [ @@ -115,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 { @@ -182,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 {}, @@ -200,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 }, @@ -215,22 +215,22 @@ pub mod api { ], ) } - #[doc = " Initialize a block with the given header and return the runtime executive mode."] + #[doc = " Initialize a block with the given header."] 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 }, [ - 132u8, 169u8, 113u8, 112u8, 80u8, 139u8, 113u8, 35u8, 41u8, 81u8, 36u8, - 35u8, 37u8, 202u8, 29u8, 207u8, 205u8, 229u8, 145u8, 7u8, 133u8, 94u8, - 25u8, 108u8, 233u8, 86u8, 234u8, 29u8, 236u8, 57u8, 56u8, 186u8, + 146u8, 138u8, 72u8, 240u8, 63u8, 96u8, 110u8, 189u8, 77u8, 92u8, 96u8, + 232u8, 41u8, 217u8, 105u8, 148u8, 83u8, 190u8, 152u8, 219u8, 19u8, + 87u8, 163u8, 1u8, 232u8, 25u8, 221u8, 74u8, 224u8, 67u8, 223u8, 34u8, ], ) } @@ -245,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, } @@ -282,19 +290,23 @@ pub mod api { runtime_types::sp_runtime::generic::header::Header<::core::primitive::u32>; pub mod output { use super::runtime_types; - pub type Output = runtime_types::sp_runtime::ExtrinsicInclusionMode; + 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 InitializeBlock { pub header: initialize_block::Header, } @@ -309,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 {}, @@ -329,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 }, @@ -350,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 {}, @@ -377,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; @@ -397,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, } @@ -413,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 {} } } @@ -442,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 }, @@ -460,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 {}, @@ -479,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 }, @@ -500,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 }, @@ -521,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, } @@ -550,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; @@ -591,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, @@ -626,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 { @@ -652,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, @@ -686,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 }, @@ -714,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, } @@ -737,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 {}, @@ -758,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 {}, @@ -778,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 {}, @@ -802,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 { @@ -827,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 { @@ -850,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 }, @@ -871,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 {}, @@ -894,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 { @@ -918,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 }, @@ -937,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 {}, @@ -957,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 }, @@ -977,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 }, @@ -996,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 }, @@ -1015,19 +1066,18 @@ 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 {}, [ - 158u8, 98u8, 68u8, 85u8, 65u8, 186u8, 211u8, 5u8, 16u8, 63u8, 34u8, - 85u8, 16u8, 114u8, 115u8, 174u8, 154u8, 127u8, 176u8, 205u8, 12u8, - 231u8, 3u8, 170u8, 102u8, 223u8, 25u8, 130u8, 225u8, 214u8, 98u8, - 255u8, + 8u8, 253u8, 248u8, 13u8, 221u8, 83u8, 199u8, 65u8, 180u8, 193u8, 232u8, + 179u8, 56u8, 186u8, 72u8, 128u8, 27u8, 168u8, 177u8, 82u8, 194u8, + 139u8, 78u8, 32u8, 147u8, 67u8, 27u8, 252u8, 118u8, 60u8, 74u8, 31u8, ], ) } @@ -1037,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 }, @@ -1060,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 }, @@ -1081,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 {}, @@ -1103,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 { @@ -1125,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 {}, @@ -1142,18 +1194,18 @@ 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 }, [ - 94u8, 35u8, 29u8, 188u8, 247u8, 116u8, 165u8, 43u8, 248u8, 76u8, 21u8, - 237u8, 26u8, 25u8, 105u8, 27u8, 24u8, 245u8, 97u8, 25u8, 47u8, 118u8, - 98u8, 231u8, 27u8, 76u8, 172u8, 207u8, 90u8, 103u8, 52u8, 168u8, + 207u8, 66u8, 10u8, 104u8, 146u8, 219u8, 75u8, 157u8, 93u8, 224u8, + 215u8, 13u8, 255u8, 62u8, 134u8, 168u8, 185u8, 101u8, 39u8, 78u8, 98u8, + 44u8, 129u8, 38u8, 48u8, 244u8, 103u8, 205u8, 66u8, 121u8, 18u8, 247u8, ], ) } @@ -1161,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 {}, @@ -1181,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 }, @@ -1203,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 { @@ -1225,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 {}, @@ -1245,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 }, @@ -1263,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 {}, @@ -1282,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 {}, @@ -1298,44 +1350,6 @@ pub mod api { ], ) } - #[doc = " Get node features."] - #[doc = " This is a staging method! Do not use on production runtimes!"] - pub fn node_features( - &self, - ) -> ::subxt::runtime_api::Payload< - types::NodeFeatures, - types::node_features::output::Output, - > { - ::subxt::runtime_api::Payload::new_static( - "ParachainHost", - "node_features", - types::NodeFeatures {}, - [ - 94u8, 110u8, 38u8, 62u8, 66u8, 234u8, 216u8, 228u8, 36u8, 17u8, 33u8, - 56u8, 184u8, 122u8, 34u8, 254u8, 46u8, 62u8, 107u8, 227u8, 3u8, 126u8, - 220u8, 142u8, 92u8, 226u8, 123u8, 236u8, 34u8, 234u8, 82u8, 80u8, - ], - ) - } - #[doc = " Approval voting configuration parameters"] - pub fn approval_voting_params( - &self, - ) -> ::subxt::runtime_api::Payload< - types::ApprovalVotingParams, - types::approval_voting_params::output::Output, - > { - ::subxt::runtime_api::Payload::new_static( - "ParachainHost", - "approval_voting_params", - types::ApprovalVotingParams {}, - [ - 89u8, 130u8, 95u8, 58u8, 124u8, 176u8, 43u8, 109u8, 222u8, 178u8, - 241u8, 177u8, 242u8, 32u8, 84u8, 22u8, 252u8, 178u8, 168u8, 17u8, 38u8, - 249u8, 25u8, 229u8, 75u8, 119u8, 150u8, 112u8, 144u8, 118u8, 189u8, - 253u8, - ], - ) - } } pub mod types { use super::runtime_types; @@ -1343,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, >, >, @@ -1376,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; @@ -1418,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, @@ -1441,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: @@ -1474,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, @@ -1495,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; @@ -1516,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, @@ -1536,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, } @@ -1558,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; @@ -1582,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, >, @@ -1590,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, } @@ -1608,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, >, @@ -1619,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, } @@ -1640,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, } @@ -1658,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; @@ -1685,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, } @@ -1708,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, @@ -1725,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; @@ -1750,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, @@ -1767,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< @@ -1777,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; @@ -1798,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, } @@ -1814,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, @@ -1822,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; @@ -1842,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, } @@ -1866,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, @@ -1887,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; @@ -1904,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, } @@ -1931,75 +2046,44 @@ 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; - } - } - #[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 DisabledValidators {} - pub mod node_features { - use super::runtime_types; - pub mod output { - use super::runtime_types; - pub type Output = ::subxt::utils::bits::DecodedBits< - ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + 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")] - pub struct NodeFeatures {} - pub mod approval_voting_params { - use super::runtime_types; - pub mod output { - use super::runtime_types; - pub type Output = - runtime_types::polkadot_primitives::vstaging::ApprovalVotingParams; - } - } - #[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" )] - # [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 ApprovalVotingParams {} + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct DisabledValidators {} } } pub mod beefy_api { @@ -2011,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 {}, @@ -2030,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 {}, @@ -2057,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 { @@ -2091,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 { @@ -2120,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; @@ -2142,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; @@ -2168,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, @@ -2195,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, @@ -2219,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 {}, @@ -2235,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 {}, @@ -2257,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 { @@ -2285,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 }, @@ -2313,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 { @@ -2340,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; @@ -2367,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 = @@ -2420,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 = @@ -2446,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, @@ -2484,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 {}, @@ -2512,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 { @@ -2546,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 { @@ -2568,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 {}, @@ -2591,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 = @@ -2623,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, @@ -2650,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, @@ -2671,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 {} } } @@ -2692,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 {}, @@ -2710,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 {}, @@ -2729,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 {}, @@ -2748,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 {}, @@ -2779,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 }, @@ -2807,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 { @@ -2836,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; @@ -2854,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; @@ -2872,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; @@ -2890,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; @@ -2912,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, @@ -2942,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, @@ -2971,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 {}, @@ -2993,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 {} } } @@ -3026,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 }, @@ -3047,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 }, @@ -3068,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, } @@ -3125,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 }, @@ -3146,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, } @@ -3176,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 }, @@ -3195,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 }, @@ -3214,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 }, @@ -3233,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 }, @@ -3253,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; @@ -3265,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; @@ -3291,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, @@ -3313,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, } @@ -3334,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, } @@ -3357,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 {}, @@ -3376,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 {}, @@ -3399,60 +3607,68 @@ 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 {} } } pub mod genesis_builder { use super::root_mod; use super::runtime_types; - #[doc = " API to interact with RuntimeGenesisConfig for the runtime"] + #[doc = " API to interact with GenesisConfig for the runtime"] pub struct GenesisBuilder; impl GenesisBuilder { - #[doc = " Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob."] + #[doc = " Creates the default `GenesisConfig` and returns it as a JSON blob."] #[doc = ""] - #[doc = " This function instantiates the default `RuntimeGenesisConfig` struct for the runtime and serializes it into a JSON"] - #[doc = " blob. It returns a `Vec` containing the JSON representation of the default `RuntimeGenesisConfig`."] + #[doc = " This function instantiates the default `GenesisConfig` struct for the runtime and serializes it into a JSON"] + #[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 {}, @@ -3463,21 +3679,21 @@ pub mod api { ], ) } - #[doc = " Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage."] + #[doc = " Build `GenesisConfig` from a JSON blob not using any defaults and store it in the storage."] #[doc = ""] - #[doc = " This function deserializes the full `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage."] + #[doc = " This function deserializes the full `GenesisConfig` from the given JSON blob and puts it into the storage."] #[doc = " If the provided JSON blob is incorrect or incomplete or the deserialization fails, an error is returned."] #[doc = " It is recommended to log any errors encountered during the process."] #[doc = ""] - #[doc = " Please note that provided json blob must contain all `RuntimeGenesisConfig` fields, no defaults will be used."] + #[doc = " Please note that provided json blob must contain all `GenesisConfig` fields, no defaults will be used."] 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 }, @@ -3496,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, } @@ -3559,9 +3788,15 @@ pub mod api { pub fn transaction_payment(&self) -> transaction_payment::constants::ConstantsApi { transaction_payment::constants::ConstantsApi } + pub fn beefy(&self) -> beefy::constants::ConstantsApi { + beefy::constants::ConstantsApi + } pub fn grandpa(&self) -> grandpa::constants::ConstantsApi { grandpa::constants::ConstantsApi } + pub fn im_online(&self) -> im_online::constants::ConstantsApi { + im_online::constants::ConstantsApi + } pub fn treasury(&self) -> treasury::constants::ConstantsApi { treasury::constants::ConstantsApi } @@ -3638,12 +3873,6 @@ pub mod api { pub fn crowdloan(&self) -> crowdloan::constants::ConstantsApi { crowdloan::constants::ConstantsApi } - pub fn coretime(&self) -> coretime::constants::ConstantsApi { - coretime::constants::ConstantsApi - } - pub fn beefy(&self) -> beefy::constants::ConstantsApi { - beefy::constants::ConstantsApi - } pub fn assigned_slots(&self) -> assigned_slots::constants::ConstantsApi { assigned_slots::constants::ConstantsApi } @@ -3677,8 +3906,14 @@ pub mod api { pub fn offences(&self) -> offences::storage::StorageApi { offences::storage::StorageApi } - pub fn historical(&self) -> historical::storage::StorageApi { - historical::storage::StorageApi + pub fn beefy(&self) -> beefy::storage::StorageApi { + beefy::storage::StorageApi + } + pub fn mmr(&self) -> mmr::storage::StorageApi { + mmr::storage::StorageApi + } + pub fn mmr_leaf(&self) -> mmr_leaf::storage::StorageApi { + mmr_leaf::storage::StorageApi } pub fn session(&self) -> session::storage::StorageApi { session::storage::StorageApi @@ -3686,8 +3921,8 @@ pub mod api { pub fn grandpa(&self) -> grandpa::storage::StorageApi { grandpa::storage::StorageApi } - pub fn authority_discovery(&self) -> authority_discovery::storage::StorageApi { - authority_discovery::storage::StorageApi + pub fn im_online(&self) -> im_online::storage::StorageApi { + im_online::storage::StorageApi } pub fn treasury(&self) -> treasury::storage::StorageApi { treasury::storage::StorageApi @@ -3788,16 +4023,14 @@ pub mod api { pub fn message_queue(&self) -> message_queue::storage::StorageApi { message_queue::storage::StorageApi } + pub fn para_assignment_provider(&self) -> para_assignment_provider::storage::StorageApi { + para_assignment_provider::storage::StorageApi + } pub fn on_demand_assignment_provider( &self, ) -> on_demand_assignment_provider::storage::StorageApi { on_demand_assignment_provider::storage::StorageApi } - pub fn coretime_assignment_provider( - &self, - ) -> coretime_assignment_provider::storage::StorageApi { - coretime_assignment_provider::storage::StorageApi - } pub fn registrar(&self) -> registrar::storage::StorageApi { registrar::storage::StorageApi } @@ -3813,15 +4046,6 @@ pub mod api { pub fn xcm_pallet(&self) -> xcm_pallet::storage::StorageApi { xcm_pallet::storage::StorageApi } - pub fn beefy(&self) -> beefy::storage::StorageApi { - beefy::storage::StorageApi - } - pub fn mmr(&self) -> mmr::storage::StorageApi { - mmr::storage::StorageApi - } - pub fn mmr_leaf(&self) -> mmr_leaf::storage::StorageApi { - mmr_leaf::storage::StorageApi - } pub fn assigned_slots(&self) -> assigned_slots::storage::StorageApi { assigned_slots::storage::StorageApi } @@ -3852,12 +4076,18 @@ pub mod api { pub fn balances(&self) -> balances::calls::TransactionApi { balances::calls::TransactionApi } + pub fn beefy(&self) -> beefy::calls::TransactionApi { + beefy::calls::TransactionApi + } pub fn session(&self) -> session::calls::TransactionApi { session::calls::TransactionApi } pub fn grandpa(&self) -> grandpa::calls::TransactionApi { grandpa::calls::TransactionApi } + pub fn im_online(&self) -> im_online::calls::TransactionApi { + im_online::calls::TransactionApi + } pub fn treasury(&self) -> treasury::calls::TransactionApi { treasury::calls::TransactionApi } @@ -3968,18 +4198,9 @@ pub mod api { pub fn crowdloan(&self) -> crowdloan::calls::TransactionApi { crowdloan::calls::TransactionApi } - pub fn coretime(&self) -> coretime::calls::TransactionApi { - coretime::calls::TransactionApi - } pub fn xcm_pallet(&self) -> xcm_pallet::calls::TransactionApi { xcm_pallet::calls::TransactionApi } - pub fn beefy(&self) -> beefy::calls::TransactionApi { - beefy::calls::TransactionApi - } - pub fn identity_migrator(&self) -> identity_migrator::calls::TransactionApi { - identity_migrator::calls::TransactionApi - } pub fn paras_sudo_wrapper(&self) -> paras_sudo_wrapper::calls::TransactionApi { paras_sudo_wrapper::calls::TransactionApi } @@ -3992,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) @@ -4008,9 +4226,9 @@ pub mod api { .hash(); runtime_metadata_hash == [ - 156u8, 238u8, 89u8, 253u8, 131u8, 142u8, 74u8, 227u8, 39u8, 8u8, 168u8, 223u8, - 105u8, 129u8, 225u8, 253u8, 181u8, 1u8, 91u8, 107u8, 103u8, 177u8, 147u8, 165u8, - 10u8, 219u8, 72u8, 215u8, 120u8, 62u8, 229u8, 179u8, + 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 { @@ -4027,40 +4245,47 @@ 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")] - #[doc = "Make some on-chain remark."] - #[doc = ""] - #[doc = "Can be executed by every `origin`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Set the number of pages in the WebAssembly environment's heap."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -4068,248 +4293,186 @@ 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")] - #[doc = "Set the new runtime code."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Set the new runtime code without doing any checks of the given `code`."] - #[doc = ""] - #[doc = "Note that runtime upgrades will not run if this is called with a not-increasing spec"] - #[doc = "version!"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Set some items of storage."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Kill some items from storage."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Kill all storage items with a key that starts with the given prefix."] - #[doc = ""] - #[doc = "**NOTE:** We rely on the Root origin to provide us the number of subkeys under"] - #[doc = "the prefix we are removing to accurately calculate the weight of this function."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub subkeys: kill_prefix::Subkeys, } 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")] - #[doc = "Make some on-chain remark and emit event."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } - #[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 = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] - #[doc = "later."] - #[doc = ""] - #[doc = "This call requires Root origin."] - pub struct AuthorizeUpgrade { - pub code_hash: authorize_upgrade::CodeHash, - } - pub mod authorize_upgrade { - use super::runtime_types; - pub type CodeHash = ::subxt::utils::H256; - } - impl ::subxt::blocks::StaticExtrinsic for AuthorizeUpgrade { - const PALLET: &'static str = "System"; - const CALL: &'static str = "authorize_upgrade"; - } - #[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 = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] - #[doc = "later."] - #[doc = ""] - #[doc = "WARNING: This authorizes an upgrade that will take place without any safety checks, for"] - #[doc = "example that the spec name remains the same and that the version number increases. Not"] - #[doc = "recommended for normal use. Use `authorize_upgrade` instead."] - #[doc = ""] - #[doc = "This call requires Root origin."] - pub struct AuthorizeUpgradeWithoutChecks { - pub code_hash: authorize_upgrade_without_checks::CodeHash, - } - pub mod authorize_upgrade_without_checks { - use super::runtime_types; - pub type CodeHash = ::subxt::utils::H256; - } - impl ::subxt::blocks::StaticExtrinsic for AuthorizeUpgradeWithoutChecks { - const PALLET: &'static str = "System"; - const CALL: &'static str = "authorize_upgrade_without_checks"; - } - #[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 = "Provide the preimage (runtime binary) `code` for an upgrade that has been authorized."] - #[doc = ""] - #[doc = "If the authorization required a version check, this call will ensure the spec name"] - #[doc = "remains unchanged and that the spec version has increased."] - #[doc = ""] - #[doc = "Depending on the runtime's `OnSetCode` configuration, this function may directly apply"] - #[doc = "the new `code` in the same block or attempt to schedule the upgrade."] - #[doc = ""] - #[doc = "All origins are allowed."] - pub struct ApplyAuthorizedUpgrade { - pub code: apply_authorized_upgrade::Code, - } - pub mod apply_authorized_upgrade { - use super::runtime_types; - pub type Code = ::std::vec::Vec<::core::primitive::u8>; - } - impl ::subxt::blocks::StaticExtrinsic for ApplyAuthorizedUpgrade { - const PALLET: &'static str = "System"; - const CALL: &'static str = "apply_authorized_upgrade"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Make some on-chain remark."] - #[doc = ""] - #[doc = "Can be executed by every `origin`."] + #[doc = "See [`Pallet::remark`]."] 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 }, @@ -4321,12 +4484,12 @@ pub mod api { ], ) } - #[doc = "Set the number of pages in the WebAssembly environment's heap."] + #[doc = "See [`Pallet::set_heap_pages`]."] 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 }, @@ -4338,12 +4501,12 @@ pub mod api { ], ) } - #[doc = "Set the new runtime code."] + #[doc = "See [`Pallet::set_code`]."] 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 }, @@ -4354,15 +4517,13 @@ pub mod api { ], ) } - #[doc = "Set the new runtime code without doing any checks of the given `code`."] - #[doc = ""] - #[doc = "Note that runtime upgrades will not run if this is called with a not-increasing spec"] - #[doc = "version!"] + #[doc = "See [`Pallet::set_code_without_checks`]."] 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 }, @@ -4374,12 +4535,12 @@ pub mod api { ], ) } - #[doc = "Set some items of storage."] + #[doc = "See [`Pallet::set_storage`]."] 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 }, @@ -4391,12 +4552,12 @@ pub mod api { ], ) } - #[doc = "Kill some items from storage."] + #[doc = "See [`Pallet::kill_storage`]."] 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 }, @@ -4408,16 +4569,13 @@ pub mod api { ], ) } - #[doc = "Kill all storage items with a key that starts with the given prefix."] - #[doc = ""] - #[doc = "**NOTE:** We rely on the Root origin to provide us the number of subkeys under"] - #[doc = "the prefix we are removing to accurately calculate the weight of this function."] + #[doc = "See [`Pallet::kill_prefix`]."] pub fn kill_prefix( &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 }, @@ -4429,12 +4587,12 @@ pub mod api { ], ) } - #[doc = "Make some on-chain remark and emit event."] + #[doc = "See [`Pallet::remark_with_event`]."] 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 }, @@ -4445,74 +4603,6 @@ pub mod api { ], ) } - #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] - #[doc = "later."] - #[doc = ""] - #[doc = "This call requires Root origin."] - pub fn authorize_upgrade( - &self, - code_hash: types::authorize_upgrade::CodeHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "System", - "authorize_upgrade", - types::AuthorizeUpgrade { code_hash }, - [ - 4u8, 14u8, 76u8, 107u8, 209u8, 129u8, 9u8, 39u8, 193u8, 17u8, 84u8, - 254u8, 170u8, 214u8, 24u8, 155u8, 29u8, 184u8, 249u8, 241u8, 109u8, - 58u8, 145u8, 131u8, 109u8, 63u8, 38u8, 165u8, 107u8, 215u8, 217u8, - 172u8, - ], - ) - } - #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] - #[doc = "later."] - #[doc = ""] - #[doc = "WARNING: This authorizes an upgrade that will take place without any safety checks, for"] - #[doc = "example that the spec name remains the same and that the version number increases. Not"] - #[doc = "recommended for normal use. Use `authorize_upgrade` instead."] - #[doc = ""] - #[doc = "This call requires Root origin."] - pub fn authorize_upgrade_without_checks( - &self, - code_hash: types::authorize_upgrade_without_checks::CodeHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "System", - "authorize_upgrade_without_checks", - types::AuthorizeUpgradeWithoutChecks { code_hash }, - [ - 126u8, 126u8, 55u8, 26u8, 47u8, 55u8, 66u8, 8u8, 167u8, 18u8, 29u8, - 136u8, 146u8, 14u8, 189u8, 117u8, 16u8, 227u8, 162u8, 61u8, 149u8, - 197u8, 104u8, 184u8, 185u8, 161u8, 99u8, 154u8, 80u8, 125u8, 181u8, - 233u8, - ], - ) - } - #[doc = "Provide the preimage (runtime binary) `code` for an upgrade that has been authorized."] - #[doc = ""] - #[doc = "If the authorization required a version check, this call will ensure the spec name"] - #[doc = "remains unchanged and that the spec version has increased."] - #[doc = ""] - #[doc = "Depending on the runtime's `OnSetCode` configuration, this function may directly apply"] - #[doc = "the new `code` in the same block or attempt to schedule the upgrade."] - #[doc = ""] - #[doc = "All origins are allowed."] - pub fn apply_authorized_upgrade( - &self, - code: types::apply_authorized_upgrade::Code, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "System", - "apply_authorized_upgrade", - types::ApplyAuthorizedUpgrade { code }, - [ - 232u8, 107u8, 127u8, 38u8, 230u8, 29u8, 97u8, 4u8, 160u8, 191u8, 222u8, - 156u8, 245u8, 102u8, 196u8, 141u8, 44u8, 163u8, 98u8, 68u8, 125u8, - 32u8, 124u8, 101u8, 108u8, 93u8, 211u8, 52u8, 0u8, 231u8, 33u8, 227u8, - ], - ) - } } } #[doc = "Event for the System pallet."] @@ -4520,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, @@ -4537,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, @@ -4561,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, @@ -4642,37 +4732,13 @@ 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"; } - #[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 = "An upgrade was authorized."] - pub struct UpgradeAuthorized { - pub code_hash: upgrade_authorized::CodeHash, - pub check_version: upgrade_authorized::CheckVersion, - } - pub mod upgrade_authorized { - use super::runtime_types; - pub type CodeHash = ::subxt::utils::H256; - pub type CheckVersion = ::core::primitive::bool; - } - impl ::subxt::events::StaticEvent for UpgradeAuthorized { - const PALLET: &'static str = "System"; - const EVENT: &'static str = "UpgradeAuthorized"; - } } pub mod storage { use super::runtime_types; @@ -4684,16 +4750,12 @@ 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; pub type ExtrinsicCount = ::core::primitive::u32; } - pub mod inherents_applied { - use super::runtime_types; - pub type InherentsApplied = ::core::primitive::bool; - } pub mod block_weight { use super::runtime_types; pub type BlockWeight = runtime_types::frame_support::dispatch::PerDispatchClass< @@ -4706,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 { @@ -4720,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; @@ -4728,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, >, >; } @@ -4741,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; @@ -4762,25 +4827,20 @@ pub mod api { use super::runtime_types; pub type ExecutionPhase = runtime_types::frame_system::Phase; } - pub mod authorized_upgrade { - use super::runtime_types; - pub type AuthorizedUpgrade = - runtime_types::frame_system::CodeUpgradeAuthorization; - } } pub struct StorageApi; impl StorageApi { #[doc = " The full account information for a particular account ID."] pub fn account_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -4794,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -4816,14 +4880,14 @@ pub mod api { #[doc = " Total extrinsics count for the current block."] pub fn extrinsic_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -4835,38 +4899,17 @@ pub mod api { ], ) } - #[doc = " Whether all inherents have been applied."] - pub fn inherents_applied( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::inherents_applied::InherentsApplied, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "System", - "InherentsApplied", - (), - [ - 132u8, 249u8, 142u8, 252u8, 8u8, 103u8, 80u8, 120u8, 50u8, 6u8, 188u8, - 223u8, 101u8, 55u8, 165u8, 189u8, 172u8, 249u8, 165u8, 230u8, 183u8, - 109u8, 34u8, 65u8, 185u8, 150u8, 29u8, 8u8, 186u8, 129u8, 135u8, 239u8, - ], - ) - } #[doc = " The current weight for the block."] pub fn block_weight( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -4880,14 +4923,14 @@ 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::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", (), @@ -4902,14 +4945,14 @@ pub mod api { #[doc = " Map of block numbers to block hashes."] pub fn block_hash_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -4924,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -4947,14 +4994,14 @@ 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::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", (), @@ -4968,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -4990,14 +5041,14 @@ pub mod api { #[doc = " The current block number being processed. Set by `execute_block`."] pub fn number( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5011,14 +5062,14 @@ pub mod api { #[doc = " Hash of the previous block."] pub fn parent_hash( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5032,14 +5083,14 @@ pub mod api { #[doc = " Digest of the current block, also part of the block header."] pub fn digest( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5059,36 +5110,36 @@ pub mod api { #[doc = " just in case someone still reads them from within the runtime."] pub fn events( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 45u8, 244u8, 178u8, 49u8, 95u8, 31u8, 121u8, 90u8, 24u8, 201u8, 101u8, - 147u8, 242u8, 227u8, 121u8, 238u8, 126u8, 20u8, 227u8, 97u8, 123u8, - 195u8, 229u8, 245u8, 27u8, 158u8, 50u8, 231u8, 219u8, 54u8, 168u8, - 30u8, + 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::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", (), @@ -5112,14 +5163,14 @@ 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::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", (), @@ -5142,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -5164,14 +5219,14 @@ 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::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", (), @@ -5185,14 +5240,14 @@ 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::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", (), @@ -5207,14 +5262,14 @@ pub mod api { #[doc = " (default) if not."] pub fn upgraded_to_triple_ref_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5229,14 +5284,14 @@ pub mod api { #[doc = " The execution phase of the block."] pub fn execution_phase( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5247,27 +5302,6 @@ pub mod api { ], ) } - #[doc = " `Some` if a code upgrade has been authorized."] - pub fn authorized_upgrade( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::authorized_upgrade::AuthorizedUpgrade, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "System", - "AuthorizedUpgrade", - (), - [ - 165u8, 97u8, 27u8, 138u8, 2u8, 28u8, 55u8, 92u8, 96u8, 96u8, 168u8, - 169u8, 55u8, 178u8, 44u8, 127u8, 58u8, 140u8, 206u8, 178u8, 1u8, 37u8, - 214u8, 213u8, 251u8, 123u8, 5u8, 111u8, 90u8, 148u8, 217u8, 135u8, - ], - ) - } } } pub mod constants { @@ -5277,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", [ @@ -5292,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", [ @@ -5307,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", [ @@ -5322,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", [ @@ -5335,12 +5373,13 @@ pub mod api { ], ) } - #[doc = " Get the chain's in-code version."] + #[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", [ @@ -5356,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", [ @@ -5384,22 +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")] - #[doc = "Report authority equivocation/misbehavior. This method will verify"] - #[doc = "the equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence will"] - #[doc = "be reported."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { @@ -5413,31 +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")] - #[doc = "Report authority equivocation/misbehavior. This method will verify"] - #[doc = "the equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence will"] - #[doc = "be reported."] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { @@ -5451,24 +5493,25 @@ 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")] - #[doc = "Plan an epoch config change. The epoch config change is recorded and will be enacted on"] - #[doc = "the next call to `enact_epoch_change`. The config will be activated one epoch after."] - #[doc = "Multiple calls to this method will replace any existing planned config change that had"] - #[doc = "not been enacted yet."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -5477,27 +5520,27 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Report authority equivocation/misbehavior. This method will verify"] - #[doc = "the equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence will"] - #[doc = "be reported."] + #[doc = "See [`Pallet::report_equivocation`]."] pub fn report_equivocation( &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, }, [ @@ -5508,24 +5551,20 @@ pub mod api { ], ) } - #[doc = "Report authority equivocation/misbehavior. This method will verify"] - #[doc = "the equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence will"] - #[doc = "be reported."] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] + #[doc = "See [`Pallet::report_equivocation_unsigned`]."] pub fn report_equivocation_unsigned( &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, }, [ @@ -5535,15 +5574,13 @@ pub mod api { ], ) } - #[doc = "Plan an epoch config change. The epoch config change is recorded and will be enacted on"] - #[doc = "the next call to `enact_epoch_change`. The config will be activated one epoch after."] - #[doc = "Multiple calls to this method will replace any existing planned config change that had"] - #[doc = "not been enacted yet."] + #[doc = "See [`Pallet::plan_config_change`]."] 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 }, @@ -5568,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, )>; @@ -5597,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, )>; @@ -5609,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; @@ -5645,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, )>; @@ -5656,14 +5693,14 @@ pub mod api { #[doc = " Current epoch index."] pub fn epoch_index( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5678,14 +5715,14 @@ pub mod api { #[doc = " Current epoch authorities."] pub fn authorities( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5701,14 +5738,14 @@ pub mod api { #[doc = " until the first block of the chain."] pub fn genesis_slot( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5723,14 +5760,14 @@ pub mod api { #[doc = " Current slot number."] pub fn current_slot( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5754,14 +5791,14 @@ pub mod api { #[doc = " adversary, for purposes such as public-coin zero-knowledge proofs."] pub fn randomness( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5776,14 +5813,14 @@ 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::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", (), @@ -5797,14 +5834,14 @@ pub mod api { #[doc = " Next epoch randomness."] pub fn next_randomness( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5818,14 +5855,14 @@ pub mod api { #[doc = " Next epoch authorities."] pub fn next_authorities( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5848,14 +5885,14 @@ pub mod api { #[doc = " epoch."] pub fn segment_index( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -5870,14 +5907,14 @@ 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::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", (), @@ -5891,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -5914,22 +5955,21 @@ pub mod api { #[doc = " if per-block initialization has already been called for current block."] pub fn initialized( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 169u8, 217u8, 237u8, 78u8, 186u8, 202u8, 206u8, 213u8, 54u8, 85u8, - 206u8, 166u8, 22u8, 138u8, 236u8, 60u8, 211u8, 169u8, 12u8, 183u8, - 23u8, 69u8, 194u8, 236u8, 112u8, 21u8, 62u8, 219u8, 92u8, 131u8, 134u8, - 145u8, + 137u8, 31u8, 4u8, 130u8, 35u8, 232u8, 67u8, 108u8, 17u8, 123u8, 26u8, + 96u8, 238u8, 95u8, 138u8, 208u8, 163u8, 83u8, 218u8, 143u8, 8u8, 119u8, + 138u8, 130u8, 9u8, 194u8, 92u8, 40u8, 7u8, 89u8, 53u8, 237u8, ], ) } @@ -5939,14 +5979,14 @@ 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::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", (), @@ -5965,14 +6005,14 @@ 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::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", (), @@ -5991,14 +6031,14 @@ pub mod api { #[doc = " execution context should always yield zero."] pub fn lateness( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -6014,14 +6054,14 @@ pub mod api { #[doc = " genesis."] pub fn epoch_config( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -6037,14 +6077,14 @@ pub mod api { #[doc = " (you can fallback to `EpochConfig` instead in that case)."] pub fn next_epoch_config( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -6066,14 +6106,14 @@ pub mod api { #[doc = " active epoch index was during that session."] pub fn skipped_epochs( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -6095,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", [ @@ -6114,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", [ @@ -6129,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", [ @@ -6144,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", [ @@ -6171,34 +6215,20 @@ 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")] - #[doc = "Set the current time."] - #[doc = ""] - #[doc = "This call should be invoked exactly once per block. It will panic at the finalization"] - #[doc = "phase, if this call hasn't been invoked by that time."] - #[doc = ""] - #[doc = "The timestamp should be greater than the previous one by the amount specified by"] - #[doc = "[`Config::MinimumPeriod`]."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware"] - #[doc = "that changing the complexity of this call could result exhausting the resources in a"] - #[doc = "block to execute any other calls."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)"] - #[doc = "- 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in"] - #[doc = " `on_finalize`)"] - #[doc = "- 1 event handler `on_timestamp_set`. Must be `O(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" + )] + #[doc = "See [`Pallet::set`]."] pub struct Set { #[codec(compact)] pub now: set::Now, @@ -6207,34 +6237,19 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Set the current time."] - #[doc = ""] - #[doc = "This call should be invoked exactly once per block. It will panic at the finalization"] - #[doc = "phase, if this call hasn't been invoked by that time."] - #[doc = ""] - #[doc = "The timestamp should be greater than the previous one by the amount specified by"] - #[doc = "[`Config::MinimumPeriod`]."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware"] - #[doc = "that changing the complexity of this call could result exhausting the resources in a"] - #[doc = "block to execute any other calls."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)"] - #[doc = "- 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in"] - #[doc = " `on_finalize`)"] - #[doc = "- 1 event handler `on_timestamp_set`. Must be `O(1)`."] - pub fn set(&self, now: types::set::Now) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::set`]."] + 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 }, @@ -6265,14 +6280,14 @@ pub mod api { #[doc = " The current time for the current block."] pub fn now( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -6289,14 +6304,14 @@ 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::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", (), @@ -6322,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", [ @@ -6351,27 +6367,20 @@ 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")] - #[doc = "Assign an previously unassigned index."] - #[doc = ""] - #[doc = "Payment: `Deposit` is reserved from the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `index`: the index to be claimed. This must not be in use."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[doc = "See [`Pallet::claim`]."] pub struct Claim { pub index: claim::Index, } @@ -6379,67 +6388,56 @@ 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")] - #[doc = "Assign an index already owned by the sender to another account. The balance reservation"] - #[doc = "is effectively transferred to the new account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `index`: the index to be re-assigned. This must be owned by the sender."] - #[doc = "- `new`: the new owner of the index. This function is a no-op if it is equal to sender."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[doc = "See [`Pallet::transfer`]."] pub struct Transfer { pub new: transfer::New, pub index: transfer::Index, } 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")] - #[doc = "Free up an index owned by the sender."] - #[doc = ""] - #[doc = "Payment: Any previous deposit placed for the index is unreserved in the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must own the index."] - #[doc = ""] - #[doc = "- `index`: the index to be freed. This must be owned by the sender."] - #[doc = ""] - #[doc = "Emits `IndexFreed` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[doc = "See [`Pallet::free`]."] pub struct Free { pub index: free::Index, } @@ -6447,33 +6445,25 @@ 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")] - #[doc = "Force an index to an account. This doesn't require a deposit. If the index is already"] - #[doc = "held, then any deposit is reimbursed to its current owner."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `index`: the index to be (re-)assigned."] - #[doc = "- `new`: the new owner of the index. This function is a no-op if it is equal to sender."] - #[doc = "- `freeze`: if set to `true`, will freeze the index so it cannot be transferred."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[doc = "See [`Pallet::force_transfer`]."] pub struct ForceTransfer { pub new: force_transfer::New, pub index: force_transfer::Index, @@ -6481,36 +6471,32 @@ 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")] - #[doc = "Freeze an index so it will always point to the sender account. This consumes the"] - #[doc = "deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the signing account must have a"] - #[doc = "non-frozen account `index`."] - #[doc = ""] - #[doc = "- `index`: the index to be frozen in place."] - #[doc = ""] - #[doc = "Emits `IndexFrozen` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[doc = "See [`Pallet::freeze`]."] pub struct Freeze { pub index: freeze::Index, } @@ -6518,30 +6504,19 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Assign an previously unassigned index."] - #[doc = ""] - #[doc = "Payment: `Deposit` is reserved from the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `index`: the index to be claimed. This must not be in use."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::claim`]."] 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 }, @@ -6552,24 +6527,13 @@ pub mod api { ], ) } - #[doc = "Assign an index already owned by the sender to another account. The balance reservation"] - #[doc = "is effectively transferred to the new account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `index`: the index to be re-assigned. This must be owned by the sender."] - #[doc = "- `new`: the new owner of the index. This function is a no-op if it is equal to sender."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::transfer`]."] pub fn transfer( &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 }, @@ -6581,20 +6545,12 @@ pub mod api { ], ) } - #[doc = "Free up an index owned by the sender."] - #[doc = ""] - #[doc = "Payment: Any previous deposit placed for the index is unreserved in the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must own the index."] - #[doc = ""] - #[doc = "- `index`: the index to be freed. This must be owned by the sender."] - #[doc = ""] - #[doc = "Emits `IndexFreed` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] - pub fn free(&self, index: types::free::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::free`]."] + 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 }, @@ -6606,26 +6562,14 @@ pub mod api { ], ) } - #[doc = "Force an index to an account. This doesn't require a deposit. If the index is already"] - #[doc = "held, then any deposit is reimbursed to its current owner."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `index`: the index to be (re-)assigned."] - #[doc = "- `new`: the new owner of the index. This function is a no-op if it is equal to sender."] - #[doc = "- `freeze`: if set to `true`, will freeze the index so it cannot be transferred."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::force_transfer`]."] pub fn force_transfer( &self, 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 }, @@ -6637,23 +6581,12 @@ pub mod api { ], ) } - #[doc = "Freeze an index so it will always point to the sender account. This consumes the"] - #[doc = "deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the signing account must have a"] - #[doc = "non-frozen account `index`."] - #[doc = ""] - #[doc = "- `index`: the index to be frozen in place."] - #[doc = ""] - #[doc = "Emits `IndexFrozen` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::freeze`]."] 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 }, @@ -6672,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, @@ -6688,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, @@ -6713,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, @@ -6735,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"; } @@ -6749,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, ); @@ -6761,14 +6694,14 @@ pub mod api { #[doc = " The lookup from index to account."] pub fn accounts_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -6783,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -6810,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", [ @@ -6838,22 +6778,20 @@ 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")] - #[doc = "Transfer some liquid free balance to another account."] - #[doc = ""] - #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] - #[doc = "If the sender's account is below the existential deposit as a result"] - #[doc = "of the transfer, the account will be reaped."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, #[codec(compact)] @@ -6861,25 +6799,31 @@ 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")] - #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] - #[doc = "may be specified."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub dest: force_transfer::Dest, @@ -6888,30 +6832,35 @@ 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")] - #[doc = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] - #[doc = "kill the origin account."] - #[doc = ""] - #[doc = "99% of the time you want [`transfer_allow_death`] instead."] - #[doc = ""] - #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, #[codec(compact)] @@ -6919,119 +6868,121 @@ 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")] - #[doc = "Transfer the entire transferable balance from the caller account."] - #[doc = ""] - #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] - #[doc = "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be"] - #[doc = "transferred by this function. To ensure that this function results in a killed account,"] - #[doc = "you might need to prepare the account by removing any reference counters, storage"] - #[doc = "deposits, etc..."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be Signed."] - #[doc = ""] - #[doc = "- `dest`: The recipient of the transfer."] - #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] - #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] - #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] - #[doc = " keep the sender account alive (true)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub keep_alive: transfer_all::KeepAlive, } 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")] - #[doc = "Unreserve some balance from a user by force."] - #[doc = ""] - #[doc = "Can only be called by ROOT."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub amount: force_unreserve::Amount, } 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")] - #[doc = "Upgrade a specified account."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `who`: The account to be upgraded."] - #[doc = ""] - #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] - #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] - #[doc = "possibililty of churn)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Set the regular balance of a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call is `root`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, #[codec(compact)] @@ -7039,58 +6990,27 @@ 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"; } - #[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 = "Adjust the total issuance in a saturating way."] - #[doc = ""] - #[doc = "Can only be called by root and always needs a positive `delta`."] - #[doc = ""] - #[doc = "# Example"] - pub struct ForceAdjustTotalIssuance { - pub direction: force_adjust_total_issuance::Direction, - #[codec(compact)] - pub delta: force_adjust_total_issuance::Delta, - } - pub mod force_adjust_total_issuance { - use super::runtime_types; - pub type Direction = runtime_types::pallet_balances::types::AdjustmentDirection; - pub type Delta = ::core::primitive::u128; - } - impl ::subxt::blocks::StaticExtrinsic for ForceAdjustTotalIssuance { - const PALLET: &'static str = "Balances"; - const CALL: &'static str = "force_adjust_total_issuance"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Transfer some liquid free balance to another account."] - #[doc = ""] - #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] - #[doc = "If the sender's account is below the existential deposit as a result"] - #[doc = "of the transfer, the account will be reaped."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] + #[doc = "See [`Pallet::transfer_allow_death`]."] pub fn transfer_allow_death( &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 }, @@ -7102,15 +7022,14 @@ pub mod api { ], ) } - #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] - #[doc = "may be specified."] + #[doc = "See [`Pallet::force_transfer`]."] pub fn force_transfer( &self, 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 { @@ -7125,18 +7044,14 @@ pub mod api { ], ) } - #[doc = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] - #[doc = "kill the origin account."] - #[doc = ""] - #[doc = "99% of the time you want [`transfer_allow_death`] instead."] - #[doc = ""] - #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] + #[doc = "See [`Pallet::transfer_keep_alive`]."] pub fn transfer_keep_alive( &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 }, @@ -7147,27 +7062,13 @@ pub mod api { ], ) } - #[doc = "Transfer the entire transferable balance from the caller account."] - #[doc = ""] - #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] - #[doc = "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be"] - #[doc = "transferred by this function. To ensure that this function results in a killed account,"] - #[doc = "you might need to prepare the account by removing any reference counters, storage"] - #[doc = "deposits, etc..."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be Signed."] - #[doc = ""] - #[doc = "- `dest`: The recipient of the transfer."] - #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] - #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] - #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] - #[doc = " keep the sender account alive (true)."] + #[doc = "See [`Pallet::transfer_all`]."] pub fn transfer_all( &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 }, @@ -7178,15 +7079,13 @@ pub mod api { ], ) } - #[doc = "Unreserve some balance from a user by force."] - #[doc = ""] - #[doc = "Can only be called by ROOT."] + #[doc = "See [`Pallet::force_unreserve`]."] pub fn force_unreserve( &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 }, @@ -7198,19 +7097,12 @@ pub mod api { ], ) } - #[doc = "Upgrade a specified account."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `who`: The account to be upgraded."] - #[doc = ""] - #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] - #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] - #[doc = "possibililty of churn)."] + #[doc = "See [`Pallet::upgrade_accounts`]."] 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 }, @@ -7221,15 +7113,13 @@ pub mod api { ], ) } - #[doc = "Set the regular balance of a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call is `root`."] + #[doc = "See [`Pallet::force_set_balance`]."] pub fn force_set_balance( &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 }, @@ -7240,28 +7130,6 @@ pub mod api { ], ) } - #[doc = "Adjust the total issuance in a saturating way."] - #[doc = ""] - #[doc = "Can only be called by root and always needs a positive `delta`."] - #[doc = ""] - #[doc = "# Example"] - pub fn force_adjust_total_issuance( - &self, - direction: types::force_adjust_total_issuance::Direction, - delta: types::force_adjust_total_issuance::Delta, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Balances", - "force_adjust_total_issuance", - types::ForceAdjustTotalIssuance { direction, delta }, - [ - 208u8, 134u8, 56u8, 133u8, 232u8, 164u8, 10u8, 213u8, 53u8, 193u8, - 190u8, 63u8, 236u8, 186u8, 96u8, 122u8, 104u8, 87u8, 173u8, 38u8, 58u8, - 176u8, 21u8, 78u8, 42u8, 106u8, 46u8, 248u8, 251u8, 190u8, 150u8, - 202u8, - ], - ) - } } } #[doc = "The `Event` enum of this pallet"] @@ -7269,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, @@ -7285,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 { @@ -7310,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, @@ -7335,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, @@ -7360,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, @@ -7384,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, @@ -7408,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 { @@ -7435,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, @@ -7462,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, @@ -7486,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, @@ -7510,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, @@ -7534,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, @@ -7558,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, @@ -7582,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, @@ -7606,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, @@ -7653,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, @@ -7675,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, @@ -7696,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, @@ -7720,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, @@ -7744,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, @@ -7768,37 +7636,13 @@ 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"; } - #[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 `TotalIssuance` was forcefully changed."] - pub struct TotalIssuanceForced { - pub old: total_issuance_forced::Old, - pub new: total_issuance_forced::New, - } - pub mod total_issuance_forced { - use super::runtime_types; - pub type Old = ::core::primitive::u128; - pub type New = ::core::primitive::u128; - } - impl ::subxt::events::StaticEvent for TotalIssuanceForced { - const PALLET: &'static str = "Balances"; - const EVENT: &'static str = "TotalIssuanceForced"; - } } pub mod storage { use super::runtime_types; @@ -7816,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; @@ -7864,14 +7710,14 @@ pub mod api { #[doc = " The total units issued in the system."] pub fn total_issuance( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -7886,14 +7732,14 @@ pub mod api { #[doc = " The total units of outstanding deactivated balance in the system."] pub fn inactive_issuance( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -7930,14 +7776,14 @@ 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::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", (), @@ -7974,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -7997,14 +7847,14 @@ 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::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", (), @@ -8019,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -8041,14 +7895,14 @@ pub mod api { #[doc = " Named reserves on some account balances."] pub fn reserves_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8062,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -8084,59 +7942,63 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 181u8, 39u8, 29u8, 45u8, 45u8, 198u8, 129u8, 210u8, 189u8, 183u8, - 121u8, 125u8, 57u8, 90u8, 95u8, 107u8, 51u8, 13u8, 22u8, 105u8, 191u8, - 61u8, 54u8, 182u8, 50u8, 200u8, 137u8, 247u8, 180u8, 158u8, 16u8, - 193u8, + 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, + 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, + 165u8, 226u8, 233u8, 12u8, 227u8, 23u8, 17u8, 237u8, 179u8, 193u8, + 166u8, ], ) } #[doc = " Holds on account balances."] pub fn holds( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 181u8, 39u8, 29u8, 45u8, 45u8, 198u8, 129u8, 210u8, 189u8, 183u8, - 121u8, 125u8, 57u8, 90u8, 95u8, 107u8, 51u8, 13u8, 22u8, 105u8, 191u8, - 61u8, 54u8, 182u8, 50u8, 200u8, 137u8, 247u8, 180u8, 158u8, 16u8, - 193u8, + 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, + 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, + 165u8, 226u8, 233u8, 12u8, 227u8, 23u8, 17u8, 237u8, 179u8, 193u8, + 166u8, ], ) } #[doc = " Freeze locks on account balances."] pub fn freezes_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8150,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -8185,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", [ @@ -8198,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", [ @@ -8211,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", [ @@ -8223,9 +8096,28 @@ pub mod api { ], ) } + #[doc = " The maximum number of holds that can exist on an account at any time."] + pub fn max_holds( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( + "Balances", + "MaxHolds", + [ + 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 = " 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", [ @@ -8247,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 { @@ -8265,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"; } @@ -8292,14 +8184,14 @@ pub mod api { impl StorageApi { pub fn next_fee_multiplier( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8313,14 +8205,14 @@ pub mod api { } pub fn storage_version( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8338,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."] @@ -8361,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", [ @@ -8385,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; @@ -8393,14 +8286,14 @@ pub mod api { #[doc = " Author of current block."] pub fn author( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8423,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\\]."] @@ -8442,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"; } @@ -8456,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]; } @@ -8473,14 +8369,14 @@ 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::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", (), @@ -8495,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -8518,14 +8418,14 @@ 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::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", (), @@ -8540,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -8565,28 +8467,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::concurrent_reports_index::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -8602,85 +8508,620 @@ pub mod api { pub mod historical { use super::root_mod; use super::runtime_types; + } + pub mod beefy { + use super::root_mod; + use super::runtime_types; + #[doc = "The `Error` enum of this pallet."] + pub type Error = runtime_types::pallet_beefy::pallet::Error; + #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] + pub type Call = runtime_types::pallet_beefy::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 :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: 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" + )] + #[doc = "See [`Pallet::report_equivocation`]."] + pub struct ReportEquivocation { + 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_beefy::EquivocationProof< + ::core::primitive::u32, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, + >; + pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { + const PALLET: &'static str = "Beefy"; + const CALL: &'static str = "report_equivocation"; + } + #[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" + )] + #[doc = "See [`Pallet::report_equivocation_unsigned`]."] + pub struct ReportEquivocationUnsigned { + 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_beefy::EquivocationProof< + ::core::primitive::u32, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, + >; + pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + const PALLET: &'static str = "Beefy"; + const CALL: &'static str = "report_equivocation_unsigned"; + } + #[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" + )] + #[doc = "See [`Pallet::set_new_genesis`]."] + pub struct SetNewGenesis { + pub delay_in_blocks: set_new_genesis::DelayInBlocks, + } + pub mod set_new_genesis { + use super::runtime_types; + pub type DelayInBlocks = ::core::primitive::u32; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetNewGenesis { + const PALLET: &'static str = "Beefy"; + const CALL: &'static str = "set_new_genesis"; + } + } + pub struct TransactionApi; + impl TransactionApi { + #[doc = "See [`Pallet::report_equivocation`]."] + pub fn report_equivocation( + &self, + equivocation_proof: types::report_equivocation::EquivocationProof, + key_owner_proof: types::report_equivocation::KeyOwnerProof, + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( + "Beefy", + "report_equivocation", + types::ReportEquivocation { + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), + key_owner_proof, + }, + [ + 156u8, 32u8, 92u8, 179u8, 165u8, 93u8, 216u8, 130u8, 121u8, 225u8, + 33u8, 141u8, 255u8, 12u8, 101u8, 136u8, 177u8, 25u8, 23u8, 239u8, 12u8, + 142u8, 88u8, 228u8, 85u8, 171u8, 218u8, 185u8, 146u8, 245u8, 149u8, + 85u8, + ], + ) + } + #[doc = "See [`Pallet::report_equivocation_unsigned`]."] + pub fn report_equivocation_unsigned( + &self, + equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, + key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( + "Beefy", + "report_equivocation_unsigned", + types::ReportEquivocationUnsigned { + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), + key_owner_proof, + }, + [ + 126u8, 201u8, 236u8, 234u8, 107u8, 52u8, 37u8, 115u8, 228u8, 232u8, + 103u8, 193u8, 143u8, 224u8, 79u8, 192u8, 207u8, 204u8, 161u8, 103u8, + 210u8, 131u8, 64u8, 251u8, 48u8, 196u8, 249u8, 148u8, 2u8, 179u8, + 135u8, 121u8, + ], + ) + } + #[doc = "See [`Pallet::set_new_genesis`]."] + pub fn set_new_genesis( + &self, + delay_in_blocks: types::set_new_genesis::DelayInBlocks, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( + "Beefy", + "set_new_genesis", + types::SetNewGenesis { delay_in_blocks }, + [ + 147u8, 6u8, 252u8, 43u8, 77u8, 91u8, 170u8, 45u8, 112u8, 155u8, 158u8, + 79u8, 1u8, 116u8, 162u8, 146u8, 181u8, 9u8, 171u8, 48u8, 198u8, 210u8, + 243u8, 64u8, 229u8, 35u8, 28u8, 177u8, 144u8, 22u8, 165u8, 163u8, + ], + ) + } + } + } pub mod storage { use super::runtime_types; pub mod types { use super::runtime_types; - pub mod historical_sessions { + pub mod authorities { use super::runtime_types; - pub type HistoricalSessions = (::subxt::utils::H256, ::core::primitive::u32); - pub type Param0 = ::core::primitive::u32; + pub type Authorities = + runtime_types::bounded_collections::bounded_vec::BoundedVec11< + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + >; } - pub mod stored_range { + pub mod validator_set_id { use super::runtime_types; - pub type StoredRange = (::core::primitive::u32, ::core::primitive::u32); + pub type ValidatorSetId = ::core::primitive::u64; + } + pub mod next_authorities { + use super::runtime_types; + pub type NextAuthorities = + runtime_types::bounded_collections::bounded_vec::BoundedVec11< + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + >; + } + pub mod set_id_session { + use super::runtime_types; + pub type SetIdSession = ::core::primitive::u32; + pub type Param0 = ::core::primitive::u64; + } + pub mod genesis_block { + use super::runtime_types; + pub type GenesisBlock = ::core::option::Option<::core::primitive::u32>; } } pub struct StorageApi; impl StorageApi { - #[doc = " Mapping from historical session indices to session-data root hash and validator count."] - pub fn historical_sessions_iter( + #[doc = " The current authorities set"] + pub fn authorities( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::subxt::ext::subxt_core::storage::address::Address< (), - types::historical_sessions::HistoricalSessions, + types::authorities::Authorities, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), - (), - ::subxt::storage::address::Yes, > { - ::subxt::storage::address::Address::new_static( - "Historical", - "HistoricalSessions", + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Beefy", + "Authorities", (), [ - 9u8, 138u8, 247u8, 141u8, 178u8, 146u8, 124u8, 81u8, 162u8, 211u8, - 205u8, 149u8, 222u8, 254u8, 253u8, 188u8, 170u8, 242u8, 218u8, 41u8, - 124u8, 178u8, 109u8, 209u8, 163u8, 125u8, 225u8, 206u8, 249u8, 175u8, - 117u8, 75u8, + 53u8, 171u8, 94u8, 33u8, 46u8, 83u8, 105u8, 120u8, 123u8, 201u8, 141u8, + 71u8, 131u8, 150u8, 51u8, 121u8, 67u8, 45u8, 249u8, 146u8, 85u8, 113u8, + 23u8, 59u8, 59u8, 41u8, 0u8, 226u8, 98u8, 166u8, 253u8, 59u8, ], ) } - #[doc = " Mapping from historical session indices to session-data root hash and validator count."] - pub fn historical_sessions( + #[doc = " The current validator set id"] + pub fn validator_set_id( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, - types::historical_sessions::HistoricalSessions, - ::subxt::storage::address::Yes, + ) -> ::subxt::ext::subxt_core::storage::address::Address< (), + types::validator_set_id::ValidatorSetId, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( - "Historical", - "HistoricalSessions", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Beefy", + "ValidatorSetId", + (), [ - 9u8, 138u8, 247u8, 141u8, 178u8, 146u8, 124u8, 81u8, 162u8, 211u8, - 205u8, 149u8, 222u8, 254u8, 253u8, 188u8, 170u8, 242u8, 218u8, 41u8, - 124u8, 178u8, 109u8, 209u8, 163u8, 125u8, 225u8, 206u8, 249u8, 175u8, - 117u8, 75u8, + 168u8, 84u8, 23u8, 134u8, 153u8, 30u8, 183u8, 176u8, 206u8, 100u8, + 109u8, 86u8, 109u8, 126u8, 146u8, 175u8, 173u8, 1u8, 253u8, 42u8, + 122u8, 207u8, 71u8, 4u8, 145u8, 83u8, 148u8, 29u8, 243u8, 52u8, 29u8, + 78u8, ], ) } - #[doc = " The range of historical sessions we store. [first, last)"] - pub fn stored_range( + #[doc = " Authorities set scheduled to be used with the next session"] + pub fn next_authorities( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::subxt::ext::subxt_core::storage::address::Address< (), - types::stored_range::StoredRange, - ::subxt::storage::address::Yes, + types::next_authorities::NextAuthorities, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Beefy", + "NextAuthorities", + (), + [ + 87u8, 180u8, 0u8, 85u8, 209u8, 13u8, 131u8, 103u8, 8u8, 226u8, 42u8, + 72u8, 38u8, 47u8, 190u8, 78u8, 62u8, 4u8, 161u8, 130u8, 87u8, 196u8, + 13u8, 209u8, 205u8, 98u8, 104u8, 91u8, 3u8, 47u8, 82u8, 11u8, + ], + ) + } + #[doc = " A mapping from BEEFY set ID to the index of the *most recent* session for which its"] + #[doc = " members were responsible."] + #[doc = ""] + #[doc = " This is only used for validating equivocation proofs. An equivocation proof must"] + #[doc = " contains a key-ownership proof for a given session, therefore we need a way to tie"] + #[doc = " together sessions and BEEFY set ids, i.e. we need to validate that a validator"] + #[doc = " was the owner of a given key on a given session, and what the active set ID was"] + #[doc = " during that session."] + #[doc = ""] + #[doc = " TWOX-NOTE: `ValidatorSetId` is not under user control."] + pub fn set_id_session_iter( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::set_id_session::SetIdSession, + (), + (), + ::subxt::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Beefy", + "SetIdSession", + (), + [ + 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, + 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, + 238u8, 18u8, 209u8, 203u8, 38u8, 148u8, 16u8, 105u8, 72u8, 169u8, + ], + ) + } + #[doc = " A mapping from BEEFY set ID to the index of the *most recent* session for which its"] + #[doc = " members were responsible."] + #[doc = ""] + #[doc = " This is only used for validating equivocation proofs. An equivocation proof must"] + #[doc = " contains a key-ownership proof for a given session, therefore we need a way to tie"] + #[doc = " together sessions and BEEFY set ids, i.e. we need to validate that a validator"] + #[doc = " was the owner of a given key on a given session, and what the active set ID was"] + #[doc = " during that session."] + #[doc = ""] + #[doc = " TWOX-NOTE: `ValidatorSetId` is not under user control."] + pub fn set_id_session( + &self, + _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::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( - "Historical", - "StoredRange", + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Beefy", + "SetIdSession", + ::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, + 238u8, 18u8, 209u8, 203u8, 38u8, 148u8, 16u8, 105u8, 72u8, 169u8, + ], + ) + } + #[doc = " Block number where BEEFY consensus is enabled/started."] + #[doc = " By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively"] + #[doc = " restarted from the newly set block number."] + pub fn genesis_block( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::genesis_block::GenesisBlock, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Beefy", + "GenesisBlock", (), [ - 134u8, 32u8, 250u8, 13u8, 201u8, 25u8, 54u8, 243u8, 231u8, 81u8, 252u8, - 231u8, 68u8, 217u8, 235u8, 43u8, 22u8, 223u8, 220u8, 133u8, 198u8, - 218u8, 95u8, 152u8, 189u8, 87u8, 6u8, 228u8, 242u8, 59u8, 232u8, 59u8, + 198u8, 155u8, 11u8, 240u8, 189u8, 245u8, 159u8, 127u8, 55u8, 33u8, + 48u8, 29u8, 209u8, 119u8, 163u8, 24u8, 28u8, 22u8, 163u8, 163u8, 124u8, + 88u8, 126u8, 4u8, 193u8, 158u8, 29u8, 243u8, 212u8, 4u8, 41u8, 22u8, + ], + ) + } + } + } + pub mod constants { + use super::runtime_types; + pub struct ConstantsApi; + impl ConstantsApi { + #[doc = " The maximum number of authorities that can be added."] + pub fn max_authorities( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( + "Beefy", + "MaxAuthorities", + [ + 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 = " The maximum number of nominators for each validator."] + pub fn max_nominators( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( + "Beefy", + "MaxNominators", + [ + 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 = " The maximum number of entries to keep in the set id to session index mapping."] + #[doc = ""] + #[doc = " Since the `SetIdSession` map is only used for validating equivocations this"] + #[doc = " value should relate to the bonding duration of whatever staking system is"] + #[doc = " being used (if any). If equivocation handling is not enabled then this value"] + #[doc = " can be zero."] + pub fn max_set_id_session_entries( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( + "Beefy", + "MaxSetIdSessionEntries", + [ + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, + ], + ) + } + } + } + } + pub mod mmr { + use super::root_mod; + use super::runtime_types; + pub mod storage { + use super::runtime_types; + pub mod types { + use super::runtime_types; + pub mod root_hash { + use super::runtime_types; + pub type RootHash = ::subxt::ext::subxt_core::utils::H256; + } + pub mod number_of_leaves { + use super::runtime_types; + pub type NumberOfLeaves = ::core::primitive::u64; + } + pub mod nodes { + use super::runtime_types; + pub type Nodes = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::core::primitive::u64; + } + } + pub struct StorageApi; + impl StorageApi { + #[doc = " Latest MMR Root hash."] + pub fn root_hash( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::root_hash::RootHash, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Mmr", + "RootHash", + (), + [ + 111u8, 206u8, 173u8, 92u8, 67u8, 49u8, 150u8, 113u8, 90u8, 245u8, 38u8, + 254u8, 76u8, 250u8, 167u8, 66u8, 130u8, 129u8, 251u8, 220u8, 172u8, + 229u8, 162u8, 251u8, 36u8, 227u8, 43u8, 189u8, 7u8, 106u8, 23u8, 13u8, + ], + ) + } + #[doc = " Current size of the MMR (number of leaves)."] + pub fn number_of_leaves( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::number_of_leaves::NumberOfLeaves, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Mmr", + "NumberOfLeaves", + (), + [ + 123u8, 58u8, 149u8, 174u8, 85u8, 45u8, 20u8, 115u8, 241u8, 0u8, 51u8, + 174u8, 234u8, 60u8, 230u8, 59u8, 237u8, 144u8, 170u8, 32u8, 4u8, 0u8, + 34u8, 163u8, 238u8, 205u8, 93u8, 208u8, 53u8, 38u8, 141u8, 195u8, + ], + ) + } + #[doc = " Hashes of the nodes in the MMR."] + #[doc = ""] + #[doc = " Note this collection only contains MMR peaks, the inner nodes (and leaves)"] + #[doc = " are pruned and only stored in the Offchain DB."] + pub fn nodes_iter( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::nodes::Nodes, + (), + (), + ::subxt::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Mmr", + "Nodes", + (), + [ + 27u8, 84u8, 41u8, 195u8, 146u8, 81u8, 211u8, 189u8, 63u8, 125u8, 173u8, + 206u8, 69u8, 198u8, 202u8, 213u8, 89u8, 31u8, 89u8, 177u8, 76u8, 154u8, + 249u8, 197u8, 133u8, 78u8, 142u8, 71u8, 183u8, 3u8, 132u8, 25u8, + ], + ) + } + #[doc = " Hashes of the nodes in the MMR."] + #[doc = ""] + #[doc = " Note this collection only contains MMR peaks, the inner nodes (and leaves)"] + #[doc = " are pruned and only stored in the Offchain DB."] + pub fn nodes( + &self, + _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::ext::subxt_core::utils::Yes, + (), + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "Mmr", + "Nodes", + ::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, + 249u8, 197u8, 133u8, 78u8, 142u8, 71u8, 183u8, 3u8, 132u8, 25u8, + ], + ) + } + } + } + } + pub mod mmr_leaf { + use super::root_mod; + use super::runtime_types; + pub mod storage { + use super::runtime_types; + pub mod types { + use super::runtime_types; + pub mod beefy_authorities { + use super::runtime_types; + pub type BeefyAuthorities = + runtime_types::sp_consensus_beefy::mmr::BeefyAuthoritySet< + ::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::ext::subxt_core::utils::H256, + >; + } + } + pub struct StorageApi; + impl StorageApi { + #[doc = " Details of current BEEFY authority set."] + pub fn beefy_authorities( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::beefy_authorities::BeefyAuthorities, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "MmrLeaf", + "BeefyAuthorities", + (), + [ + 128u8, 35u8, 176u8, 79u8, 224u8, 58u8, 214u8, 234u8, 231u8, 71u8, + 227u8, 153u8, 180u8, 189u8, 66u8, 44u8, 47u8, 174u8, 0u8, 83u8, 121u8, + 182u8, 226u8, 44u8, 224u8, 173u8, 237u8, 102u8, 231u8, 146u8, 110u8, + 7u8, + ], + ) + } + #[doc = " Details of next BEEFY authority set."] + #[doc = ""] + #[doc = " This storage entry is used as cache for calls to `update_beefy_next_authority_set`."] + pub fn beefy_next_authorities( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::beefy_next_authorities::BeefyNextAuthorities, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "MmrLeaf", + "BeefyNextAuthorities", + (), + [ + 97u8, 71u8, 52u8, 111u8, 120u8, 251u8, 183u8, 155u8, 177u8, 100u8, + 236u8, 142u8, 204u8, 117u8, 95u8, 40u8, 201u8, 36u8, 32u8, 82u8, 38u8, + 234u8, 135u8, 39u8, 224u8, 69u8, 94u8, 85u8, 12u8, 89u8, 97u8, 218u8, ], ) } @@ -8701,24 +9142,20 @@ 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")] - #[doc = "Sets the session key(s) of the function caller to `keys`."] - #[doc = "Allows an account to set its session key prior to becoming a validator."] - #[doc = "This doesn't take effect until the next session."] - #[doc = ""] - #[doc = "The dispatch origin of this function must be signed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is"] - #[doc = " fixed."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub proof: set_keys::Proof, @@ -8726,82 +9163,58 @@ 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")] - #[doc = "Removes any session key(s) of the function caller."] - #[doc = ""] - #[doc = "This doesn't take effect until the next session."] - #[doc = ""] - #[doc = "The dispatch origin of this function must be Signed and the account must be either be"] - #[doc = "convertible to a validator ID using the chain's typical addressing system (this usually"] - #[doc = "means being a controller account) or directly convertible into a validator ID (which"] - #[doc = "usually means being a stash account)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)` in number of key types. Actual cost depends on the number of length of"] - #[doc = " `T::Keys::key_ids()` which is fixed."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Sets the session key(s) of the function caller to `keys`."] - #[doc = "Allows an account to set its session key prior to becoming a validator."] - #[doc = "This doesn't take effect until the next session."] - #[doc = ""] - #[doc = "The dispatch origin of this function must be signed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is"] - #[doc = " fixed."] + #[doc = "See [`Pallet::set_keys`]."] pub fn set_keys( &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 }, [ - 160u8, 137u8, 167u8, 56u8, 165u8, 202u8, 149u8, 39u8, 16u8, 52u8, - 173u8, 215u8, 250u8, 158u8, 78u8, 126u8, 236u8, 153u8, 173u8, 68u8, - 237u8, 8u8, 47u8, 77u8, 119u8, 226u8, 248u8, 220u8, 139u8, 68u8, 145u8, - 207u8, + 50u8, 154u8, 235u8, 252u8, 160u8, 25u8, 233u8, 90u8, 76u8, 227u8, 22u8, + 129u8, 221u8, 129u8, 95u8, 124u8, 117u8, 117u8, 43u8, 17u8, 109u8, + 252u8, 39u8, 115u8, 150u8, 80u8, 38u8, 34u8, 62u8, 237u8, 248u8, 246u8, ], ) } - #[doc = "Removes any session key(s) of the function caller."] - #[doc = ""] - #[doc = "This doesn't take effect until the next session."] - #[doc = ""] - #[doc = "The dispatch origin of this function must be Signed and the account must be either be"] - #[doc = "convertible to a validator ID using the chain's typical addressing system (this usually"] - #[doc = "means being a controller account) or directly convertible into a validator ID (which"] - #[doc = "usually means being a stash account)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)` in number of key types. Actual cost depends on the number of length of"] - #[doc = " `T::Keys::key_ids()` which is fixed."] - pub fn purge_keys(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::purge_keys`]."] + pub fn purge_keys( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Session", "purge_keys", types::PurgeKeys {}, @@ -8820,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 { @@ -8838,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"; } @@ -8849,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; @@ -8861,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]; } @@ -8887,14 +9303,14 @@ pub mod api { #[doc = " The current set of validators."] pub fn validators( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8909,14 +9325,14 @@ pub mod api { #[doc = " Current index of the session."] pub fn current_index( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8932,14 +9348,14 @@ pub mod api { #[doc = " has changed in the queued validator set."] pub fn queued_changed( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -8955,22 +9371,21 @@ pub mod api { #[doc = " will be used to determine the validator's session keys."] pub fn queued_keys( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 123u8, 8u8, 241u8, 219u8, 141u8, 50u8, 254u8, 247u8, 130u8, 71u8, - 105u8, 18u8, 149u8, 204u8, 28u8, 104u8, 184u8, 6u8, 165u8, 31u8, 153u8, - 54u8, 235u8, 78u8, 48u8, 182u8, 83u8, 221u8, 243u8, 110u8, 249u8, - 212u8, + 251u8, 240u8, 64u8, 86u8, 241u8, 74u8, 141u8, 38u8, 46u8, 18u8, 92u8, + 101u8, 227u8, 161u8, 58u8, 222u8, 17u8, 29u8, 248u8, 237u8, 74u8, 69u8, + 18u8, 16u8, 129u8, 187u8, 172u8, 249u8, 162u8, 96u8, 218u8, 186u8, ], ) } @@ -8981,14 +9396,14 @@ pub mod api { #[doc = " a new set of identities."] pub fn disabled_validators( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -9002,59 +9417,61 @@ pub mod api { #[doc = " The next session keys for a validator."] pub fn next_keys_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 13u8, 219u8, 184u8, 220u8, 199u8, 150u8, 34u8, 166u8, 125u8, 46u8, - 26u8, 160u8, 113u8, 243u8, 227u8, 6u8, 121u8, 176u8, 222u8, 250u8, - 108u8, 240u8, 0u8, 15u8, 177u8, 220u8, 206u8, 94u8, 179u8, 41u8, 209u8, - 23u8, + 87u8, 61u8, 243u8, 159u8, 164u8, 196u8, 130u8, 218u8, 136u8, 189u8, + 253u8, 151u8, 230u8, 9u8, 214u8, 58u8, 102u8, 67u8, 61u8, 138u8, 242u8, + 214u8, 80u8, 166u8, 130u8, 47u8, 141u8, 197u8, 11u8, 73u8, 100u8, 16u8, ], ) } #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 13u8, 219u8, 184u8, 220u8, 199u8, 150u8, 34u8, 166u8, 125u8, 46u8, - 26u8, 160u8, 113u8, 243u8, 227u8, 6u8, 121u8, 176u8, 222u8, 250u8, - 108u8, 240u8, 0u8, 15u8, 177u8, 220u8, 206u8, 94u8, 179u8, 41u8, 209u8, - 23u8, + 87u8, 61u8, 243u8, 159u8, 164u8, 196u8, 130u8, 218u8, 136u8, 189u8, + 253u8, 151u8, 230u8, 9u8, 214u8, 58u8, 102u8, 67u8, 61u8, 138u8, 242u8, + 214u8, 80u8, 166u8, 130u8, 47u8, 141u8, 197u8, 11u8, 73u8, 100u8, 16u8, ], ) } #[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::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", (), @@ -9069,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -9092,24 +9513,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -9136,96 +9565,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")] - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - #[doc = ""] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Note that the current authority set of the GRANDPA finality gadget has stalled."] - #[doc = ""] - #[doc = "This will trigger a forced authority set change at the beginning of the next session, to"] - #[doc = "be enacted `delay` blocks after that. The `delay` should be high enough to safely assume"] - #[doc = "that the block signalling the forced change will not be re-orged e.g. 1000 blocks."] - #[doc = "The block production rate (which may be slowed down because of finality lagging) should"] - #[doc = "be taken into account when choosing the `delay`. The GRANDPA voters based on the new"] - #[doc = "authority will start voting on top of `best_finalized_block_number` for new finalized"] - #[doc = "blocks. `best_finalized_block_number` should be the highest of the latest finalized"] - #[doc = "block of all validators of the new authority set."] - #[doc = ""] - #[doc = "Only callable by root."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub best_finalized_block_number: note_stalled::BestFinalizedBlockNumber, @@ -9235,27 +9656,27 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] + #[doc = "See [`Pallet::report_equivocation`]."] pub fn report_equivocation( &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, }, [ @@ -9265,25 +9686,20 @@ pub mod api { ], ) } - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - #[doc = ""] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] + #[doc = "See [`Pallet::report_equivocation_unsigned`]."] pub fn report_equivocation_unsigned( &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, }, [ @@ -9293,24 +9709,13 @@ pub mod api { ], ) } - #[doc = "Note that the current authority set of the GRANDPA finality gadget has stalled."] - #[doc = ""] - #[doc = "This will trigger a forced authority set change at the beginning of the next session, to"] - #[doc = "be enacted `delay` blocks after that. The `delay` should be high enough to safely assume"] - #[doc = "that the block signalling the forced change will not be re-orged e.g. 1000 blocks."] - #[doc = "The block production rate (which may be slowed down because of finality lagging) should"] - #[doc = "be taken into account when choosing the `delay`. The GRANDPA voters based on the new"] - #[doc = "authority will start voting on top of `best_finalized_block_number` for new finalized"] - #[doc = "blocks. `best_finalized_block_number` should be the highest of the latest finalized"] - #[doc = "block of all validators of the new authority set."] - #[doc = ""] - #[doc = "Only callable by root."] + #[doc = "See [`Pallet::note_stalled`]."] pub fn note_stalled( &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 { @@ -9331,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"; } @@ -9419,28 +9824,20 @@ pub mod api { pub type SetIdSession = ::core::primitive::u32; pub type Param0 = ::core::primitive::u64; } - pub mod authorities { - use super::runtime_types; - pub type Authorities = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec<( - runtime_types::sp_consensus_grandpa::app::Public, - ::core::primitive::u64, - )>; - } } pub struct StorageApi; impl StorageApi { #[doc = " State of the current authority set."] pub fn state( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -9454,14 +9851,14 @@ pub mod api { #[doc = " Pending change: (signaled at, scheduled change)."] pub fn pending_change( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -9476,14 +9873,14 @@ pub mod api { #[doc = " next block number where we can force a change."] pub fn next_forced( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -9497,14 +9894,14 @@ pub mod api { #[doc = " `true` if we are currently stalled."] pub fn stalled( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -9519,14 +9916,14 @@ pub mod api { #[doc = " in the \"set\" of Grandpa validators from genesis."] pub fn current_set_id( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -9550,14 +9947,14 @@ pub mod api { #[doc = " TWOX-NOTE: `SetId` is not under user control."] pub fn set_id_session_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -9580,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -9599,28 +10000,6 @@ pub mod api { ], ) } - #[doc = " The current list of authorities."] - pub fn authorities( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::authorities::Authorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "Grandpa", - "Authorities", - (), - [ - 67u8, 196u8, 244u8, 13u8, 246u8, 245u8, 198u8, 98u8, 81u8, 55u8, 182u8, - 187u8, 214u8, 5u8, 181u8, 76u8, 251u8, 213u8, 144u8, 166u8, 36u8, - 153u8, 234u8, 181u8, 252u8, 55u8, 198u8, 175u8, 55u8, 211u8, 105u8, - 85u8, - ], - ) - } } } pub mod constants { @@ -9630,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", [ @@ -9645,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", [ @@ -9665,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", [ @@ -9680,75 +10062,431 @@ pub mod api { } } } + pub mod im_online { + use super::root_mod; + use super::runtime_types; + #[doc = "The `Error` enum of this pallet."] + pub type Error = runtime_types::pallet_im_online::pallet::Error; + #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] + pub type Call = runtime_types::pallet_im_online::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 :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: 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" + )] + #[doc = "See [`Pallet::heartbeat`]."] + pub struct Heartbeat { + pub heartbeat: heartbeat::Heartbeat, + pub signature: heartbeat::Signature, + } + pub mod heartbeat { + use super::runtime_types; + pub type Heartbeat = + runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>; + pub type Signature = + runtime_types::pallet_im_online::sr25519::app_sr25519::Signature; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Heartbeat { + const PALLET: &'static str = "ImOnline"; + const CALL: &'static str = "heartbeat"; + } + } + pub struct TransactionApi; + impl TransactionApi { + #[doc = "See [`Pallet::heartbeat`]."] + pub fn heartbeat( + &self, + heartbeat: types::heartbeat::Heartbeat, + signature: types::heartbeat::Signature, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( + "ImOnline", + "heartbeat", + types::Heartbeat { + heartbeat, + signature, + }, + [ + 41u8, 78u8, 115u8, 250u8, 94u8, 34u8, 215u8, 28u8, 33u8, 175u8, 203u8, + 205u8, 14u8, 40u8, 197u8, 51u8, 24u8, 198u8, 173u8, 32u8, 119u8, 154u8, + 213u8, 125u8, 219u8, 3u8, 128u8, 52u8, 166u8, 223u8, 241u8, 129u8, + ], + ) + } + } + } + #[doc = "The `Event` enum of this pallet"] + pub type Event = runtime_types::pallet_im_online::pallet::Event; + pub mod events { + use super::runtime_types; + #[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")] + #[doc = "A new heartbeat was received from `AuthorityId`."] + pub struct HeartbeatReceived { + pub authority_id: heartbeat_received::AuthorityId, + } + pub mod heartbeat_received { + use super::runtime_types; + pub type AuthorityId = + runtime_types::pallet_im_online::sr25519::app_sr25519::Public; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for HeartbeatReceived { + const PALLET: &'static str = "ImOnline"; + const EVENT: &'static str = "HeartbeatReceived"; + } + #[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")] + #[doc = "At the end of the session, no offence was committed."] + pub struct AllGood; + impl ::subxt::ext::subxt_core::events::StaticEvent for AllGood { + const PALLET: &'static str = "ImOnline"; + const EVENT: &'static str = "AllGood"; + } + #[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")] + #[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 = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, + (), + )>; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for SomeOffline { + const PALLET: &'static str = "ImOnline"; + const EVENT: &'static str = "SomeOffline"; + } + } + pub mod storage { + use super::runtime_types; + pub mod types { + use super::runtime_types; + pub mod heartbeat_after { + use super::runtime_types; + pub type HeartbeatAfter = ::core::primitive::u32; + } + pub mod keys { + use super::runtime_types; + pub type Keys = + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec5< + runtime_types::pallet_im_online::sr25519::app_sr25519::Public, + >; + } + pub mod received_heartbeats { + use super::runtime_types; + pub type ReceivedHeartbeats = ::core::primitive::bool; + pub type Param0 = ::core::primitive::u32; + pub type Param1 = ::core::primitive::u32; + } + pub mod authored_blocks { + use super::runtime_types; + pub type AuthoredBlocks = ::core::primitive::u32; + pub type Param0 = ::core::primitive::u32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + } + } + pub struct StorageApi; + impl StorageApi { + #[doc = " The block number after which it's ok to send heartbeats in the current"] + #[doc = " session."] + #[doc = ""] + #[doc = " At the beginning of each session we set this to a value that should fall"] + #[doc = " roughly in the middle of the session duration. The idea is to first wait for"] + #[doc = " the validators to produce a block in the current session, so that the"] + #[doc = " heartbeat later on will not be necessary."] + #[doc = ""] + #[doc = " This value will only be used as a fallback if we fail to get a proper session"] + #[doc = " progress estimate from `NextSessionRotation`, as those estimates should be"] + #[doc = " more accurate then the value we calculate for `HeartbeatAfter`."] + pub fn heartbeat_after( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::heartbeat_after::HeartbeatAfter, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "HeartbeatAfter", + (), + [ + 36u8, 179u8, 76u8, 254u8, 3u8, 184u8, 154u8, 142u8, 70u8, 104u8, 44u8, + 244u8, 39u8, 97u8, 31u8, 31u8, 93u8, 228u8, 185u8, 224u8, 13u8, 160u8, + 231u8, 210u8, 110u8, 143u8, 116u8, 29u8, 0u8, 215u8, 217u8, 137u8, + ], + ) + } + #[doc = " The current set of keys that may issue a heartbeat."] + pub fn keys( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::keys::Keys, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "Keys", + (), + [ + 111u8, 104u8, 188u8, 46u8, 152u8, 140u8, 137u8, 244u8, 52u8, 214u8, + 115u8, 156u8, 39u8, 239u8, 15u8, 168u8, 193u8, 125u8, 57u8, 195u8, + 250u8, 156u8, 234u8, 222u8, 222u8, 253u8, 135u8, 232u8, 196u8, 163u8, + 29u8, 218u8, + ], + ) + } + #[doc = " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`."] + pub fn received_heartbeats_iter( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::received_heartbeats::ReceivedHeartbeats, + (), + (), + ::subxt::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "ReceivedHeartbeats", + (), + [ + 30u8, 155u8, 42u8, 200u8, 223u8, 48u8, 127u8, 31u8, 253u8, 195u8, + 234u8, 108u8, 64u8, 27u8, 247u8, 17u8, 187u8, 199u8, 41u8, 138u8, 55u8, + 163u8, 94u8, 226u8, 10u8, 3u8, 132u8, 129u8, 8u8, 138u8, 137u8, 171u8, + ], + ) + } + #[doc = " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`."] + pub fn received_heartbeats_iter1( + &self, + _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::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "ReceivedHeartbeats", + ::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, + 163u8, 94u8, 226u8, 10u8, 3u8, 132u8, 129u8, 8u8, 138u8, 137u8, 171u8, + ], + ) + } + #[doc = " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`."] + pub fn received_heartbeats( + &self, + _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::ext::subxt_core::utils::Yes, + (), + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "ReceivedHeartbeats", + ( + ::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, + 163u8, 94u8, 226u8, 10u8, 3u8, 132u8, 129u8, 8u8, 138u8, 137u8, 171u8, + ], + ) + } + #[doc = " For each session index, we keep a mapping of `ValidatorId` to the"] + #[doc = " number of blocks authored by the given authority."] + pub fn authored_blocks_iter( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), + types::authored_blocks::AuthoredBlocks, + (), + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "AuthoredBlocks", + (), + [ + 123u8, 76u8, 230u8, 113u8, 65u8, 255u8, 99u8, 79u8, 131u8, 139u8, + 218u8, 20u8, 174u8, 191u8, 224u8, 67u8, 137u8, 48u8, 146u8, 209u8, + 148u8, 69u8, 130u8, 9u8, 173u8, 253u8, 206u8, 196u8, 68u8, 160u8, + 233u8, 126u8, + ], + ) + } + #[doc = " For each session index, we keep a mapping of `ValidatorId` to the"] + #[doc = " number of blocks authored by the given authority."] + pub fn authored_blocks_iter1( + &self, + _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::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "AuthoredBlocks", + ::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, + 148u8, 69u8, 130u8, 9u8, 173u8, 253u8, 206u8, 196u8, 68u8, 160u8, + 233u8, 126u8, + ], + ) + } + #[doc = " For each session index, we keep a mapping of `ValidatorId` to the"] + #[doc = " number of blocks authored by the given authority."] + pub fn authored_blocks( + &self, + _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::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + (), + > { + ::subxt::ext::subxt_core::storage::address::Address::new_static( + "ImOnline", + "AuthoredBlocks", + ( + ::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, + 148u8, 69u8, 130u8, 9u8, 173u8, 253u8, 206u8, 196u8, 68u8, 160u8, + 233u8, 126u8, + ], + ) + } + } + } + pub mod constants { + use super::runtime_types; + pub struct ConstantsApi; + impl ConstantsApi { + #[doc = " A configuration for base priority of unsigned transactions."] + #[doc = ""] + #[doc = " This is exposed so that it can be tuned for particular runtime, when"] + #[doc = " multiple pallets send unsigned transactions."] + pub fn unsigned_priority( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( + "ImOnline", + "UnsignedPriority", + [ + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, + ], + ) + } + } + } + } pub mod authority_discovery { use super::root_mod; use super::runtime_types; - pub mod storage { - use super::runtime_types; - pub mod types { - use super::runtime_types; - pub mod keys { - use super::runtime_types; - pub type Keys = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - runtime_types::sp_authority_discovery::app::Public, - >; - } - pub mod next_keys { - use super::runtime_types; - pub type NextKeys = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - runtime_types::sp_authority_discovery::app::Public, - >; - } - } - pub struct StorageApi; - impl StorageApi { - #[doc = " Keys of the current authority set."] - pub fn keys( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::keys::Keys, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "AuthorityDiscovery", - "Keys", - (), - [ - 111u8, 104u8, 188u8, 46u8, 152u8, 140u8, 137u8, 244u8, 52u8, 214u8, - 115u8, 156u8, 39u8, 239u8, 15u8, 168u8, 193u8, 125u8, 57u8, 195u8, - 250u8, 156u8, 234u8, 222u8, 222u8, 253u8, 135u8, 232u8, 196u8, 163u8, - 29u8, 218u8, - ], - ) - } - #[doc = " Keys of the next authority set."] - pub fn next_keys( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::next_keys::NextKeys, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "AuthorityDiscovery", - "NextKeys", - (), - [ - 171u8, 107u8, 15u8, 108u8, 125u8, 102u8, 193u8, 240u8, 127u8, 160u8, - 53u8, 1u8, 208u8, 36u8, 134u8, 4u8, 216u8, 26u8, 156u8, 143u8, 154u8, - 194u8, 153u8, 199u8, 46u8, 211u8, 153u8, 222u8, 244u8, 4u8, 165u8, 2u8, - ], - ) - } - } - } } pub mod treasury { use super::root_mod; @@ -9764,31 +10502,20 @@ 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")] - #[doc = "Put forward a suggestion for spending."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = "A deposit proportional to the value is reserved and slashed if the proposal is rejected."] - #[doc = "It is returned once the proposal is awarded."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(1)"] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Proposed`] if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub value: propose_spend::Value, @@ -9797,38 +10524,30 @@ 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")] - #[doc = "Reject a proposed spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = "The original deposit will be slashed."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(1)"] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Rejected`] if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub proposal_id: reject_proposal::ProposalId, @@ -9837,37 +10556,25 @@ 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")] - #[doc = "Approve a proposal."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::ApproveOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "At a later time, the proposal will be allocated to the beneficiary and the original"] - #[doc = "deposit will be returned."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = " - O(1)."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "No events are emitted from this dispatch."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub proposal_id: approve_proposal::ProposalId, @@ -9876,37 +10583,25 @@ 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")] - #[doc = "Propose and approve a spend of treasury funds."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`."] - #[doc = ""] - #[doc = "### Details"] - #[doc = "NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the"] - #[doc = "beneficiary."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] - #[doc = "- `beneficiary`: The destination account for the transfer."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::SpendApproved`] if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub amount: spend_local::Amount, @@ -9915,44 +10610,30 @@ 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")] - #[doc = "Force a previously approved proposal to be removed from the approval queue."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "The original deposit will no longer be returned."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `proposal_id`: The index of a proposal"] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(A) where `A` is the number of approvals"] - #[doc = ""] - #[doc = "### Errors"] - #[doc = "- [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the"] - #[doc = " approval queue, i.e., the proposal has not been approved. This could also mean the"] - #[doc = " proposal does not exist altogether, thus there is no way it would have been approved"] - #[doc = " in the first place."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub proposal_id: remove_approval::ProposalId, @@ -9961,51 +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")] - #[doc = "Propose and approve a spend of treasury funds."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least"] - #[doc = "`amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted"] - #[doc = "for assertion using the [`Config::BalanceConverter`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "Create an approved spend for transferring a specific `amount` of `asset_kind` to a"] - #[doc = "designated beneficiary. The spend must be claimed using the `payout` dispatchable within"] - #[doc = "the [`Config::PayoutPeriod`]."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `asset_kind`: An indicator of the specific asset class to be spent."] - #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] - #[doc = "- `beneficiary`: The beneficiary of the spend."] - #[doc = "- `valid_from`: The block number from which the spend can be claimed. It can refer to"] - #[doc = " the past if the resulting spend has not yet expired according to the"] - #[doc = " [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after"] - #[doc = " approval."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { @@ -10013,42 +10674,28 @@ pub mod api { pub type AssetKind = runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; + 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")] - #[doc = "Claim a spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "Spends must be claimed within some temporal bounds. A spend may be claimed within one"] - #[doc = "[`Config::PayoutPeriod`] from the `valid_from` block."] - #[doc = "In case of a payout failure, the spend status must be updated with the `check_status`"] - #[doc = "dispatchable before retrying with the current function."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Paid`] if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -10056,39 +10703,25 @@ 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")] - #[doc = "Check the status of the spend and remove it from the storage if processed."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "The status check is a prerequisite for retrying a failed payout."] - #[doc = "If a spend has either succeeded or expired, it is removed from the storage by this"] - #[doc = "function. In such instances, transaction fees are refunded."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::PaymentFailed`] if the spend payout has failed."] - #[doc = "Emits [`Event::SpendProcessed`] if the spend payout has succeed."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -10096,36 +10729,25 @@ 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")] - #[doc = "Void previously approved spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "A spend void is only possible if the payout has not been attempted yet."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::AssetSpendVoided`] if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -10133,35 +10755,20 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Put forward a suggestion for spending."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = "A deposit proportional to the value is reserved and slashed if the proposal is rejected."] - #[doc = "It is returned once the proposal is awarded."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(1)"] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Proposed`] if successful."] + #[doc = "See [`Pallet::propose_spend`]."] pub fn propose_spend( &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 }, @@ -10172,26 +10779,12 @@ pub mod api { ], ) } - #[doc = "Reject a proposed spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = "The original deposit will be slashed."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(1)"] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Rejected`] if successful."] + #[doc = "See [`Pallet::reject_proposal`]."] 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 }, @@ -10202,28 +10795,12 @@ pub mod api { ], ) } - #[doc = "Approve a proposal."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::ApproveOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "At a later time, the proposal will be allocated to the beneficiary and the original"] - #[doc = "deposit will be returned."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = " - O(1)."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "No events are emitted from this dispatch."] + #[doc = "See [`Pallet::approve_proposal`]."] 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 }, @@ -10234,29 +10811,13 @@ pub mod api { ], ) } - #[doc = "Propose and approve a spend of treasury funds."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`."] - #[doc = ""] - #[doc = "### Details"] - #[doc = "NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the"] - #[doc = "beneficiary."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] - #[doc = "- `beneficiary`: The destination account for the transfer."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::SpendApproved`] if successful."] + #[doc = "See [`Pallet::spend_local`]."] pub fn spend_local( &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 { @@ -10270,32 +10831,12 @@ pub mod api { ], ) } - #[doc = "Force a previously approved proposal to be removed from the approval queue."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "The original deposit will no longer be returned."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `proposal_id`: The index of a proposal"] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(A) where `A` is the number of approvals"] - #[doc = ""] - #[doc = "### Errors"] - #[doc = "- [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the"] - #[doc = " approval queue, i.e., the proposal has not been approved. This could also mean the"] - #[doc = " proposal does not exist altogether, thus there is no way it would have been approved"] - #[doc = " in the first place."] + #[doc = "See [`Pallet::remove_approval`]."] 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 }, @@ -10307,80 +10848,41 @@ pub mod api { ], ) } - #[doc = "Propose and approve a spend of treasury funds."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least"] - #[doc = "`amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted"] - #[doc = "for assertion using the [`Config::BalanceConverter`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "Create an approved spend for transferring a specific `amount` of `asset_kind` to a"] - #[doc = "designated beneficiary. The spend must be claimed using the `payout` dispatchable within"] - #[doc = "the [`Config::PayoutPeriod`]."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `asset_kind`: An indicator of the specific asset class to be spent."] - #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] - #[doc = "- `beneficiary`: The beneficiary of the spend."] - #[doc = "- `valid_from`: The block number from which the spend can be claimed. It can refer to"] - #[doc = " the past if the resulting spend has not yet expired according to the"] - #[doc = " [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after"] - #[doc = " approval."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] + #[doc = "See [`Pallet::spend`]."] pub fn spend( &self, asset_kind: types::spend::AssetKind, 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, }, [ - 127u8, 68u8, 115u8, 140u8, 122u8, 90u8, 253u8, 105u8, 230u8, 137u8, - 104u8, 130u8, 221u8, 123u8, 49u8, 126u8, 247u8, 80u8, 12u8, 4u8, 223u8, - 218u8, 187u8, 192u8, 61u8, 221u8, 46u8, 211u8, 71u8, 196u8, 55u8, - 237u8, + 124u8, 75u8, 215u8, 13u8, 48u8, 105u8, 201u8, 35u8, 199u8, 228u8, 38u8, + 229u8, 147u8, 255u8, 237u8, 249u8, 114u8, 154u8, 129u8, 209u8, 177u8, + 17u8, 70u8, 107u8, 74u8, 175u8, 244u8, 132u8, 206u8, 24u8, 224u8, + 156u8, ], ) } - #[doc = "Claim a spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "Spends must be claimed within some temporal bounds. A spend may be claimed within one"] - #[doc = "[`Config::PayoutPeriod`] from the `valid_from` block."] - #[doc = "In case of a payout failure, the spend status must be updated with the `check_status`"] - #[doc = "dispatchable before retrying with the current function."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Paid`] if successful."] + #[doc = "See [`Pallet::payout`]."] 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 }, @@ -10391,30 +10893,12 @@ pub mod api { ], ) } - #[doc = "Check the status of the spend and remove it from the storage if processed."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "The status check is a prerequisite for retrying a failed payout."] - #[doc = "If a spend has either succeeded or expired, it is removed from the storage by this"] - #[doc = "function. In such instances, transaction fees are refunded."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::PaymentFailed`] if the spend payout has failed."] - #[doc = "Emits [`Event::SpendProcessed`] if the spend payout has succeed."] + #[doc = "See [`Pallet::check_status`]."] 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 }, @@ -10425,27 +10909,12 @@ pub mod api { ], ) } - #[doc = "Void previously approved spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "A spend void is only possible if the payout has not been attempted yet."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::AssetSpendVoided`] if successful."] + #[doc = "See [`Pallet::void_spend`]."] 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 }, @@ -10463,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, @@ -10480,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, @@ -10502,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, @@ -10526,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, @@ -10552,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, @@ -10574,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, @@ -10596,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, @@ -10618,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, @@ -10642,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, @@ -10668,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, @@ -10697,24 +11166,24 @@ pub mod api { pub type AssetKind = runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; + pub type Beneficiary = runtime_types::xcm::VersionedMultiLocation; 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, @@ -10723,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, @@ -10747,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, @@ -10771,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 { @@ -10794,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"; } @@ -10810,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; @@ -10822,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, >; } @@ -10835,7 +11304,7 @@ pub mod api { pub type Spends = runtime_types::pallet_treasury::SpendStatus< runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, ::core::primitive::u128, - runtime_types::xcm::VersionedLocation, + runtime_types::xcm::VersionedMultiLocation, ::core::primitive::u32, ::core::primitive::u64, >; @@ -10847,14 +11316,14 @@ pub mod api { #[doc = " Number of proposals that have been made."] pub fn proposal_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -10868,14 +11337,14 @@ pub mod api { #[doc = " Proposals that have been made."] pub fn proposals_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -10890,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -10913,14 +11386,14 @@ pub mod api { #[doc = " The amount which has been reported as inactive to Currency."] pub fn deactivated( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -10935,14 +11408,14 @@ pub mod api { #[doc = " Proposal indices that have been approved but not yet awarded."] pub fn approvals( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -10956,14 +11429,14 @@ pub mod api { #[doc = " The count of spends that have been made."] pub fn spend_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -10978,45 +11451,49 @@ pub mod api { #[doc = " Spends that have been approved and being processed."] pub fn spends_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 207u8, 104u8, 63u8, 103u8, 177u8, 66u8, 236u8, 100u8, 122u8, 213u8, - 125u8, 153u8, 180u8, 219u8, 124u8, 22u8, 88u8, 161u8, 188u8, 197u8, - 70u8, 46u8, 72u8, 170u8, 146u8, 4u8, 127u8, 160u8, 204u8, 2u8, 89u8, - 95u8, + 231u8, 192u8, 40u8, 149u8, 163u8, 98u8, 111u8, 136u8, 44u8, 162u8, + 87u8, 181u8, 233u8, 204u8, 87u8, 111u8, 210u8, 225u8, 235u8, 73u8, + 217u8, 8u8, 129u8, 51u8, 54u8, 85u8, 33u8, 103u8, 186u8, 128u8, 61u8, + 5u8, ], ) } #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 207u8, 104u8, 63u8, 103u8, 177u8, 66u8, 236u8, 100u8, 122u8, 213u8, - 125u8, 153u8, 180u8, 219u8, 124u8, 22u8, 88u8, 161u8, 188u8, 197u8, - 70u8, 46u8, 72u8, 170u8, 146u8, 4u8, 127u8, 160u8, 204u8, 2u8, 89u8, - 95u8, + 231u8, 192u8, 40u8, 149u8, 163u8, 98u8, 111u8, 136u8, 44u8, 162u8, + 87u8, 181u8, 233u8, 204u8, 87u8, 111u8, 210u8, 225u8, 235u8, 73u8, + 217u8, 8u8, 129u8, 51u8, 54u8, 85u8, 33u8, 103u8, 186u8, 128u8, 61u8, + 5u8, ], ) } @@ -11030,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", [ @@ -11045,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", [ @@ -11059,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", [ @@ -11073,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", [ @@ -11088,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", [ @@ -11103,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", [ @@ -11118,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", [ @@ -11131,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", [ @@ -11160,24 +11651,20 @@ 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")] - #[doc = "Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;"] - #[doc = "otherwise it is a vote to keep the status quo."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `poll_index`: The index of the poll to vote for."] - #[doc = "- `vote`: The vote configuration."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter has voted on."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub poll_index: vote::PollIndex, @@ -11190,43 +11677,25 @@ 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")] - #[doc = "Delegate the voting power (with some given conviction) of the sending account for a"] - #[doc = "particular class of polls."] - #[doc = ""] - #[doc = "The balance delegated is locked for as long as it's delegated, and thereafter for the"] - #[doc = "time appropriate for the conviction's lock period."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_, and the signing account must either:"] - #[doc = " - be delegating already; or"] - #[doc = " - have no voting activity (if there is, then it will need to be removed through"] - #[doc = " `remove_vote`)."] - #[doc = ""] - #[doc = "- `to`: The account whose voting the `target` account's voting power will follow."] - #[doc = "- `class`: The class of polls to delegate. To delegate multiple classes, multiple calls"] - #[doc = " to this function are required."] - #[doc = "- `conviction`: The conviction that will be attached to the delegated votes. When the"] - #[doc = " account is undelegated, the funds will be locked for the corresponding period."] - #[doc = "- `balance`: The amount of the account's balance to be used in delegating. This must not"] - #[doc = " be more than the account's current balance."] - #[doc = ""] - #[doc = "Emits `Delegated`."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] - #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub to: delegate::To, @@ -11236,39 +11705,33 @@ 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")] - #[doc = "Undelegate the voting power of the sending account for a particular class of polls."] - #[doc = ""] - #[doc = "Tokens may be unlocked following once an amount of time consistent with the lock period"] - #[doc = "of the conviction with which the delegation was issued has passed."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_ and the signing account must be"] - #[doc = "currently delegating."] - #[doc = ""] - #[doc = "- `class`: The class of polls to remove the delegation from."] - #[doc = ""] - #[doc = "Emits `Undelegated`."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] - #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -11276,29 +11739,25 @@ 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")] - #[doc = "Remove the lock caused by prior voting/delegating which has expired within a particular"] - #[doc = "class."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `class`: The class of polls to unlock."] - #[doc = "- `target`: The account to remove the lock on."] - #[doc = ""] - #[doc = "Weight: `O(R)` with R number of vote of target."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub target: unlock::Target, @@ -11306,51 +11765,30 @@ 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")] - #[doc = "Remove a vote for a poll."] - #[doc = ""] - #[doc = "If:"] - #[doc = "- the poll was cancelled, or"] - #[doc = "- the poll is ongoing, or"] - #[doc = "- the poll has ended such that"] - #[doc = " - the vote of the account was in opposition to the result; or"] - #[doc = " - there was no conviction to the account's vote; or"] - #[doc = " - the account made a split vote"] - #[doc = "...then the vote is removed cleanly and a following call to `unlock` may result in more"] - #[doc = "funds being available."] - #[doc = ""] - #[doc = "If, however, the poll has ended and:"] - #[doc = "- it finished corresponding to the vote of the account, and"] - #[doc = "- the account made a standard vote with conviction, and"] - #[doc = "- the lock period of the conviction is not over"] - #[doc = "...then the lock will be aggregated into the overall account's lock, which may involve"] - #[doc = "*overlocking* (where the two locks are combined into a single lock that is the maximum"] - #[doc = "of both the amount locked and the time is it locked for)."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_, and the signer must have a vote"] - #[doc = "registered for poll `index`."] - #[doc = ""] - #[doc = "- `index`: The index of poll of the vote to be removed."] - #[doc = "- `class`: Optional parameter, if given it indicates the class of the poll. For polls"] - #[doc = " which have finished or are cancelled, this must be `Some`."] - #[doc = ""] - #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] - #[doc = " Weight is calculated for the maximum number of vote."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub index: remove_vote::Index, @@ -11360,36 +11798,25 @@ 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")] - #[doc = "Remove a vote for a poll."] - #[doc = ""] - #[doc = "If the `target` is equal to the signer, then this function is exactly equivalent to"] - #[doc = "`remove_vote`. If not equal to the signer, then the vote must have expired,"] - #[doc = "either because the poll was cancelled, because the voter lost the poll or"] - #[doc = "because the conviction period is over."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account of the vote to be removed; this account must have voted for poll"] - #[doc = " `index`."] - #[doc = "- `index`: The index of poll of the vote to be removed."] - #[doc = "- `class`: The class of the poll."] - #[doc = ""] - #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] - #[doc = " Weight is calculated for the maximum number of vote."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub class: remove_other_vote::Class, @@ -11397,32 +11824,27 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;"] - #[doc = "otherwise it is a vote to keep the status quo."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `poll_index`: The index of the poll to vote for."] - #[doc = "- `vote`: The vote configuration."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter has voted on."] + #[doc = "See [`Pallet::vote`]."] pub fn vote( &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 }, @@ -11434,37 +11856,15 @@ pub mod api { ], ) } - #[doc = "Delegate the voting power (with some given conviction) of the sending account for a"] - #[doc = "particular class of polls."] - #[doc = ""] - #[doc = "The balance delegated is locked for as long as it's delegated, and thereafter for the"] - #[doc = "time appropriate for the conviction's lock period."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_, and the signing account must either:"] - #[doc = " - be delegating already; or"] - #[doc = " - have no voting activity (if there is, then it will need to be removed through"] - #[doc = " `remove_vote`)."] - #[doc = ""] - #[doc = "- `to`: The account whose voting the `target` account's voting power will follow."] - #[doc = "- `class`: The class of polls to delegate. To delegate multiple classes, multiple calls"] - #[doc = " to this function are required."] - #[doc = "- `conviction`: The conviction that will be attached to the delegated votes. When the"] - #[doc = " account is undelegated, the funds will be locked for the corresponding period."] - #[doc = "- `balance`: The amount of the account's balance to be used in delegating. This must not"] - #[doc = " be more than the account's current balance."] - #[doc = ""] - #[doc = "Emits `Delegated`."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] - #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] + #[doc = "See [`Pallet::delegate`]."] pub fn delegate( &self, class: types::delegate::Class, 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 { @@ -11480,25 +11880,12 @@ pub mod api { ], ) } - #[doc = "Undelegate the voting power of the sending account for a particular class of polls."] - #[doc = ""] - #[doc = "Tokens may be unlocked following once an amount of time consistent with the lock period"] - #[doc = "of the conviction with which the delegation was issued has passed."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_ and the signing account must be"] - #[doc = "currently delegating."] - #[doc = ""] - #[doc = "- `class`: The class of polls to remove the delegation from."] - #[doc = ""] - #[doc = "Emits `Undelegated`."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] - #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] + #[doc = "See [`Pallet::undelegate`]."] 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 }, @@ -11510,21 +11897,13 @@ pub mod api { ], ) } - #[doc = "Remove the lock caused by prior voting/delegating which has expired within a particular"] - #[doc = "class."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `class`: The class of polls to unlock."] - #[doc = "- `target`: The account to remove the lock on."] - #[doc = ""] - #[doc = "Weight: `O(R)` with R number of vote of target."] + #[doc = "See [`Pallet::unlock`]."] pub fn unlock( &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 }, @@ -11536,41 +11915,13 @@ pub mod api { ], ) } - #[doc = "Remove a vote for a poll."] - #[doc = ""] - #[doc = "If:"] - #[doc = "- the poll was cancelled, or"] - #[doc = "- the poll is ongoing, or"] - #[doc = "- the poll has ended such that"] - #[doc = " - the vote of the account was in opposition to the result; or"] - #[doc = " - there was no conviction to the account's vote; or"] - #[doc = " - the account made a split vote"] - #[doc = "...then the vote is removed cleanly and a following call to `unlock` may result in more"] - #[doc = "funds being available."] - #[doc = ""] - #[doc = "If, however, the poll has ended and:"] - #[doc = "- it finished corresponding to the vote of the account, and"] - #[doc = "- the account made a standard vote with conviction, and"] - #[doc = "- the lock period of the conviction is not over"] - #[doc = "...then the lock will be aggregated into the overall account's lock, which may involve"] - #[doc = "*overlocking* (where the two locks are combined into a single lock that is the maximum"] - #[doc = "of both the amount locked and the time is it locked for)."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_, and the signer must have a vote"] - #[doc = "registered for poll `index`."] - #[doc = ""] - #[doc = "- `index`: The index of poll of the vote to be removed."] - #[doc = "- `class`: Optional parameter, if given it indicates the class of the poll. For polls"] - #[doc = " which have finished or are cancelled, this must be `Some`."] - #[doc = ""] - #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] - #[doc = " Weight is calculated for the maximum number of vote."] + #[doc = "See [`Pallet::remove_vote`]."] pub fn remove_vote( &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 }, @@ -11582,29 +11933,14 @@ pub mod api { ], ) } - #[doc = "Remove a vote for a poll."] - #[doc = ""] - #[doc = "If the `target` is equal to the signer, then this function is exactly equivalent to"] - #[doc = "`remove_vote`. If not equal to the signer, then the vote must have expired,"] - #[doc = "either because the poll was cancelled, because the voter lost the poll or"] - #[doc = "because the conviction period is over."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account of the vote to be removed; this account must have voted for poll"] - #[doc = " `index`."] - #[doc = "- `index`: The index of poll of the vote to be removed."] - #[doc = "- `class`: The class of the poll."] - #[doc = ""] - #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] - #[doc = " Weight is calculated for the maximum number of vote."] + #[doc = "See [`Pallet::remove_other_vote`]."] pub fn remove_other_vote( &self, 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 { @@ -11626,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"; } @@ -11675,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; @@ -11698,14 +12034,14 @@ pub mod api { #[doc = " number of votes that we have recorded."] pub fn voting_for_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -11720,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -11743,24 +12083,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -11774,14 +12122,14 @@ pub mod api { #[doc = " this list."] pub fn class_locks_for_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -11797,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -11826,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", [ @@ -11844,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", [ @@ -11873,26 +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")] - #[doc = "Propose a referendum on a privileged action."] - #[doc = ""] - #[doc = "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds"] - #[doc = " available."] - #[doc = "- `proposal_origin`: The origin from which the proposal should be executed."] - #[doc = "- `proposal`: The proposal."] - #[doc = "- `enactment_moment`: The moment that the proposal should be enacted."] - #[doc = ""] - #[doc = "Emits `Submitted`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -11908,28 +12261,25 @@ 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")] - #[doc = "Post the Decision Deposit for a referendum."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` and the account must have funds available for the"] - #[doc = " referendum's track's Decision Deposit."] - #[doc = "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be"] - #[doc = " posted."] - #[doc = ""] - #[doc = "Emits `DecisionDepositPlaced`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -11937,27 +12287,25 @@ 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")] - #[doc = "Refund the Decision Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Decision Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `DecisionDepositRefunded`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -11965,26 +12313,25 @@ 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")] - #[doc = "Cancel an ongoing referendum."] - #[doc = ""] - #[doc = "- `origin`: must be the `CancelOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Cancelled`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -11992,26 +12339,25 @@ 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")] - #[doc = "Cancel an ongoing referendum and slash the deposits."] - #[doc = ""] - #[doc = "- `origin`: must be the `KillOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Killed` and `DepositSlashed`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -12019,24 +12365,25 @@ 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")] - #[doc = "Advance a referendum onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `index`: the referendum to be advanced."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -12044,29 +12391,25 @@ 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")] - #[doc = "Advance a track onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `track`: the track to be advanced."] - #[doc = ""] - #[doc = "Action item for when there is now one fewer referendum in the deciding phase and the"] - #[doc = "`DecidingCount` is not yet updated. This means that we should either:"] - #[doc = "- begin deciding another referendum (and leave `DecidingCount` alone); or"] - #[doc = "- decrement `DecidingCount`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -12074,27 +12417,25 @@ 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")] - #[doc = "Refund the Submission Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Submission Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `SubmissionDepositRefunded`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -12102,27 +12443,25 @@ 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")] - #[doc = "Set or clear metadata of a referendum."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a"] - #[doc = " metadata of a finished referendum."] - #[doc = "- `index`: The index of a referendum to set or clear metadata for."] - #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub maybe_hash: set_metadata::MaybeHash, @@ -12130,58 +12469,48 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Propose a referendum on a privileged action."] - #[doc = ""] - #[doc = "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds"] - #[doc = " available."] - #[doc = "- `proposal_origin`: The origin from which the proposal should be executed."] - #[doc = "- `proposal`: The proposal."] - #[doc = "- `enactment_moment`: The moment that the proposal should be enacted."] - #[doc = ""] - #[doc = "Emits `Submitted`."] + #[doc = "See [`Pallet::submit`]."] pub fn submit( &self, 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, }, [ - 252u8, 72u8, 60u8, 208u8, 214u8, 81u8, 179u8, 80u8, 7u8, 215u8, 54u8, - 7u8, 214u8, 49u8, 72u8, 70u8, 213u8, 143u8, 217u8, 190u8, 47u8, 3u8, - 191u8, 110u8, 67u8, 139u8, 137u8, 215u8, 14u8, 225u8, 124u8, 117u8, + 116u8, 212u8, 158u8, 18u8, 89u8, 136u8, 153u8, 97u8, 43u8, 197u8, + 200u8, 161u8, 145u8, 102u8, 19u8, 25u8, 135u8, 13u8, 199u8, 101u8, + 107u8, 221u8, 244u8, 15u8, 192u8, 176u8, 3u8, 154u8, 248u8, 70u8, + 113u8, 69u8, ], ) } - #[doc = "Post the Decision Deposit for a referendum."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` and the account must have funds available for the"] - #[doc = " referendum's track's Decision Deposit."] - #[doc = "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be"] - #[doc = " posted."] - #[doc = ""] - #[doc = "Emits `DecisionDepositPlaced`."] + #[doc = "See [`Pallet::place_decision_deposit`]."] 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 }, @@ -12192,18 +12521,13 @@ pub mod api { ], ) } - #[doc = "Refund the Decision Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Decision Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `DecisionDepositRefunded`."] + #[doc = "See [`Pallet::refund_decision_deposit`]."] 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 }, @@ -12214,17 +12538,12 @@ pub mod api { ], ) } - #[doc = "Cancel an ongoing referendum."] - #[doc = ""] - #[doc = "- `origin`: must be the `CancelOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Cancelled`."] + #[doc = "See [`Pallet::cancel`]."] 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 }, @@ -12236,14 +12555,12 @@ pub mod api { ], ) } - #[doc = "Cancel an ongoing referendum and slash the deposits."] - #[doc = ""] - #[doc = "- `origin`: must be the `KillOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Killed` and `DepositSlashed`."] - pub fn kill(&self, index: types::kill::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::kill`]."] + 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 }, @@ -12255,15 +12572,12 @@ pub mod api { ], ) } - #[doc = "Advance a referendum onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `index`: the referendum to be advanced."] + #[doc = "See [`Pallet::nudge_referendum`]."] 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 }, @@ -12275,20 +12589,13 @@ pub mod api { ], ) } - #[doc = "Advance a track onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `track`: the track to be advanced."] - #[doc = ""] - #[doc = "Action item for when there is now one fewer referendum in the deciding phase and the"] - #[doc = "`DecidingCount` is not yet updated. This means that we should either:"] - #[doc = "- begin deciding another referendum (and leave `DecidingCount` alone); or"] - #[doc = "- decrement `DecidingCount`."] + #[doc = "See [`Pallet::one_fewer_deciding`]."] 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 }, @@ -12300,18 +12607,13 @@ pub mod api { ], ) } - #[doc = "Refund the Submission Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Submission Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `SubmissionDepositRefunded`."] + #[doc = "See [`Pallet::refund_submission_deposit`]."] 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 }, @@ -12322,19 +12624,13 @@ pub mod api { ], ) } - #[doc = "Set or clear metadata of a referendum."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a"] - #[doc = " metadata of a finished referendum."] - #[doc = "- `index`: The index of a referendum to set or clear metadata for."] - #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] + #[doc = "See [`Pallet::set_metadata`]."] pub fn set_metadata( &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 }, @@ -12349,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, @@ -12377,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, @@ -12400,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, @@ -12426,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, @@ -12485,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, } @@ -12506,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, } @@ -12527,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, @@ -12552,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, @@ -12574,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, @@ -12599,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, @@ -12624,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, @@ -12649,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, @@ -12674,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, @@ -12697,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, @@ -12722,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, @@ -12746,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"; } @@ -12764,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, @@ -12776,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; @@ -12784,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, )>; @@ -12797,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; } } @@ -12806,14 +13102,14 @@ 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::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", (), @@ -12828,45 +13124,47 @@ pub mod api { #[doc = " Information concerning any given referendum."] pub fn referendum_info_for_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 244u8, 215u8, 156u8, 181u8, 105u8, 12u8, 138u8, 249u8, 173u8, 158u8, - 171u8, 67u8, 107u8, 228u8, 45u8, 180u8, 252u8, 244u8, 186u8, 78u8, - 226u8, 223u8, 168u8, 137u8, 6u8, 232u8, 169u8, 108u8, 104u8, 211u8, - 1u8, 157u8, + 82u8, 199u8, 121u8, 36u8, 81u8, 129u8, 79u8, 226u8, 19u8, 57u8, 26u8, + 76u8, 195u8, 60u8, 78u8, 91u8, 198u8, 250u8, 105u8, 111u8, 235u8, 11u8, + 195u8, 4u8, 39u8, 92u8, 156u8, 53u8, 248u8, 89u8, 26u8, 112u8, ], ) } #[doc = " Information concerning any given referendum."] pub fn referendum_info_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 244u8, 215u8, 156u8, 181u8, 105u8, 12u8, 138u8, 249u8, 173u8, 158u8, - 171u8, 67u8, 107u8, 228u8, 45u8, 180u8, 252u8, 244u8, 186u8, 78u8, - 226u8, 223u8, 168u8, 137u8, 6u8, 232u8, 169u8, 108u8, 104u8, 211u8, - 1u8, 157u8, + 82u8, 199u8, 121u8, 36u8, 81u8, 129u8, 79u8, 226u8, 19u8, 57u8, 26u8, + 76u8, 195u8, 60u8, 78u8, 91u8, 198u8, 250u8, 105u8, 111u8, 235u8, 11u8, + 195u8, 4u8, 39u8, 92u8, 156u8, 53u8, 248u8, 89u8, 26u8, 112u8, ], ) } @@ -12876,14 +13174,14 @@ 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::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", (), @@ -12900,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -12922,14 +13224,14 @@ pub mod api { #[doc = " The number of referenda being decided currently."] pub fn deciding_count_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -12944,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -12972,14 +13278,14 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -12999,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -13028,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", [ @@ -13040,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", [ @@ -13056,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", [ @@ -13073,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", [ @@ -13088,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, @@ -13097,7 +13413,7 @@ pub mod api { >, )>, > { - ::subxt::constants::Address::new_static( + ::subxt::ext::subxt_core::constants::Address::new_static( "Referenda", "Tracks", [ @@ -13125,138 +13441,138 @@ 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")] - #[doc = "Introduce a new member."] - #[doc = ""] - #[doc = "- `origin`: Must be the `AddOrigin`."] - #[doc = "- `who`: Account of non-member which will become a member."] - #[doc = ""] - #[doc = "Weight: `O(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" + )] + #[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")] - #[doc = "Increment the rank of an existing member by one."] - #[doc = ""] - #[doc = "- `origin`: Must be the `PromoteOrigin`."] - #[doc = "- `who`: Account of existing member."] - #[doc = ""] - #[doc = "Weight: `O(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" + )] + #[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")] - #[doc = "Decrement the rank of an existing member by one. If the member is already at rank zero,"] - #[doc = "then they are removed entirely."] - #[doc = ""] - #[doc = "- `origin`: Must be the `DemoteOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero."] - #[doc = ""] - #[doc = "Weight: `O(1)`, less if the member's index is highest in its rank."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Remove the member entirely."] - #[doc = ""] - #[doc = "- `origin`: Must be the `RemoveOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero."] - #[doc = "- `min_rank`: The rank of the member or greater."] - #[doc = ""] - #[doc = "Weight: `O(min_rank)`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub min_rank: remove_member::MinRank, } 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")] - #[doc = "Add an aye or nay vote for the sender to the given proposal."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed` by a member account."] - #[doc = "- `poll`: Index of a poll which is ongoing."] - #[doc = "- `aye`: `true` if the vote is to approve the proposal, `false` otherwise."] - #[doc = ""] - #[doc = "Transaction fees are be waived if the member is voting on any particular proposal"] - #[doc = "for the first time and the call is successful. Subsequent vote changes will charge a"] - #[doc = "fee."] - #[doc = ""] - #[doc = "Weight: `O(1)`, less if there was no previous vote on the poll by the member."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub aye: vote::Aye, @@ -13266,30 +13582,25 @@ 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")] - #[doc = "Remove votes from the given poll. It must have ended."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed` by any account."] - #[doc = "- `poll_index`: Index of a poll which is completed and for which votes continue to"] - #[doc = " exist."] - #[doc = "- `max`: Maximum number of vote items from remove in this call."] - #[doc = ""] - #[doc = "Transaction fees are waived if the operation is successful."] - #[doc = ""] - #[doc = "Weight `O(max)` (less if there are fewer items to remove than `max`)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub max: cleanup_poll::Max, @@ -13299,52 +13610,19 @@ 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"; } - #[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 = "Exchanges a member with a new account and the same existing rank."] - #[doc = ""] - #[doc = "- `origin`: Must be the `ExchangeOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero to be exchanged."] - #[doc = "- `new_who`: New Account of existing member of rank greater than zero to exchanged to."] - pub struct ExchangeMember { - pub who: exchange_member::Who, - pub new_who: exchange_member::NewWho, - } - pub mod exchange_member { - use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type NewWho = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - } - impl ::subxt::blocks::StaticExtrinsic for ExchangeMember { - const PALLET: &'static str = "FellowshipCollective"; - const CALL: &'static str = "exchange_member"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Introduce a new member."] - #[doc = ""] - #[doc = "- `origin`: Must be the `AddOrigin`."] - #[doc = "- `who`: Account of non-member which will become a member."] - #[doc = ""] - #[doc = "Weight: `O(1)`"] + #[doc = "See [`Pallet::add_member`]."] 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 }, @@ -13355,17 +13633,12 @@ pub mod api { ], ) } - #[doc = "Increment the rank of an existing member by one."] - #[doc = ""] - #[doc = "- `origin`: Must be the `PromoteOrigin`."] - #[doc = "- `who`: Account of existing member."] - #[doc = ""] - #[doc = "Weight: `O(1)`"] + #[doc = "See [`Pallet::promote_member`]."] 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 }, @@ -13377,18 +13650,12 @@ pub mod api { ], ) } - #[doc = "Decrement the rank of an existing member by one. If the member is already at rank zero,"] - #[doc = "then they are removed entirely."] - #[doc = ""] - #[doc = "- `origin`: Must be the `DemoteOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero."] - #[doc = ""] - #[doc = "Weight: `O(1)`, less if the member's index is highest in its rank."] + #[doc = "See [`Pallet::demote_member`]."] 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 }, @@ -13400,19 +13667,13 @@ pub mod api { ], ) } - #[doc = "Remove the member entirely."] - #[doc = ""] - #[doc = "- `origin`: Must be the `RemoveOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero."] - #[doc = "- `min_rank`: The rank of the member or greater."] - #[doc = ""] - #[doc = "Weight: `O(min_rank)`."] + #[doc = "See [`Pallet::remove_member`]."] pub fn remove_member( &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 }, @@ -13424,23 +13685,13 @@ pub mod api { ], ) } - #[doc = "Add an aye or nay vote for the sender to the given proposal."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed` by a member account."] - #[doc = "- `poll`: Index of a poll which is ongoing."] - #[doc = "- `aye`: `true` if the vote is to approve the proposal, `false` otherwise."] - #[doc = ""] - #[doc = "Transaction fees are be waived if the member is voting on any particular proposal"] - #[doc = "for the first time and the call is successful. Subsequent vote changes will charge a"] - #[doc = "fee."] - #[doc = ""] - #[doc = "Weight: `O(1)`, less if there was no previous vote on the poll by the member."] + #[doc = "See [`Pallet::vote`]."] pub fn vote( &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 }, @@ -13451,22 +13702,13 @@ pub mod api { ], ) } - #[doc = "Remove votes from the given poll. It must have ended."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed` by any account."] - #[doc = "- `poll_index`: Index of a poll which is completed and for which votes continue to"] - #[doc = " exist."] - #[doc = "- `max`: Maximum number of vote items from remove in this call."] - #[doc = ""] - #[doc = "Transaction fees are waived if the operation is successful."] - #[doc = ""] - #[doc = "Weight `O(max)` (less if there are fewer items to remove than `max`)."] + #[doc = "See [`Pallet::cleanup_poll`]."] pub fn cleanup_poll( &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 }, @@ -13478,28 +13720,6 @@ pub mod api { ], ) } - #[doc = "Exchanges a member with a new account and the same existing rank."] - #[doc = ""] - #[doc = "- `origin`: Must be the `ExchangeOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero to be exchanged."] - #[doc = "- `new_who`: New Account of existing member of rank greater than zero to exchanged to."] - pub fn exchange_member( - &self, - who: types::exchange_member::Who, - new_who: types::exchange_member::NewWho, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "FellowshipCollective", - "exchange_member", - types::ExchangeMember { who, new_who }, - [ - 240u8, 208u8, 76u8, 147u8, 117u8, 23u8, 91u8, 37u8, 22u8, 101u8, 53u8, - 247u8, 161u8, 94u8, 109u8, 233u8, 104u8, 129u8, 67u8, 31u8, 223u8, - 182u8, 50u8, 233u8, 120u8, 129u8, 224u8, 135u8, 52u8, 162u8, 26u8, - 189u8, - ], - ) - } } } #[doc = "The `Event` enum of this pallet"] @@ -13507,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, @@ -13545,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, @@ -13569,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 { @@ -13596,39 +13816,15 @@ 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"; } - #[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 member `who` had their `AccountId` changed to `new_who`."] - pub struct MemberExchanged { - pub who: member_exchanged::Who, - pub new_who: member_exchanged::NewWho, - } - pub mod member_exchanged { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - pub type NewWho = ::subxt::utils::AccountId32; - } - impl ::subxt::events::StaticEvent for MemberExchanged { - const PALLET: &'static str = "FellowshipCollective"; - const EVENT: &'static str = "MemberExchanged"; - } } pub mod storage { use super::runtime_types; @@ -13642,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; } @@ -13660,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; @@ -13677,14 +13873,14 @@ pub mod api { #[doc = " of the vec."] pub fn member_count_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -13699,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -13721,14 +13921,14 @@ pub mod api { #[doc = " The current members of the collective."] pub fn members_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -13743,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -13766,14 +13970,14 @@ 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::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", (), @@ -13787,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -13809,24 +14017,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -13839,14 +14055,14 @@ 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::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", (), @@ -13862,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -13886,24 +14106,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -13916,14 +14144,14 @@ pub mod api { #[doc = " Votes on a given proposal, if it is ongoing."] pub fn voting_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -13938,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -13961,24 +14193,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -13990,14 +14230,14 @@ pub mod api { } pub fn voting_cleanup_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -14010,18 +14250,22 @@ pub mod api { } pub fn voting_cleanup( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -14036,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; @@ -14046,26 +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")] - #[doc = "Propose a referendum on a privileged action."] - #[doc = ""] - #[doc = "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds"] - #[doc = " available."] - #[doc = "- `proposal_origin`: The origin from which the proposal should be executed."] - #[doc = "- `proposal`: The proposal."] - #[doc = "- `enactment_moment`: The moment that the proposal should be enacted."] - #[doc = ""] - #[doc = "Emits `Submitted`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14081,28 +14322,25 @@ 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")] - #[doc = "Post the Decision Deposit for a referendum."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` and the account must have funds available for the"] - #[doc = " referendum's track's Decision Deposit."] - #[doc = "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be"] - #[doc = " posted."] - #[doc = ""] - #[doc = "Emits `DecisionDepositPlaced`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14110,27 +14348,25 @@ 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")] - #[doc = "Refund the Decision Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Decision Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `DecisionDepositRefunded`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14138,26 +14374,25 @@ 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")] - #[doc = "Cancel an ongoing referendum."] - #[doc = ""] - #[doc = "- `origin`: must be the `CancelOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Cancelled`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14165,26 +14400,25 @@ 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")] - #[doc = "Cancel an ongoing referendum and slash the deposits."] - #[doc = ""] - #[doc = "- `origin`: must be the `KillOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Killed` and `DepositSlashed`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14192,24 +14426,25 @@ 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")] - #[doc = "Advance a referendum onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `index`: the referendum to be advanced."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14217,29 +14452,25 @@ 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")] - #[doc = "Advance a track onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `track`: the track to be advanced."] - #[doc = ""] - #[doc = "Action item for when there is now one fewer referendum in the deciding phase and the"] - #[doc = "`DecidingCount` is not yet updated. This means that we should either:"] - #[doc = "- begin deciding another referendum (and leave `DecidingCount` alone); or"] - #[doc = "- decrement `DecidingCount`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14247,27 +14478,25 @@ 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")] - #[doc = "Refund the Submission Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Submission Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `SubmissionDepositRefunded`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -14275,27 +14504,25 @@ 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")] - #[doc = "Set or clear metadata of a referendum."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a"] - #[doc = " metadata of a finished referendum."] - #[doc = "- `index`: The index of a referendum to set or clear metadata for."] - #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub maybe_hash: set_metadata::MaybeHash, @@ -14303,58 +14530,48 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Propose a referendum on a privileged action."] - #[doc = ""] - #[doc = "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds"] - #[doc = " available."] - #[doc = "- `proposal_origin`: The origin from which the proposal should be executed."] - #[doc = "- `proposal`: The proposal."] - #[doc = "- `enactment_moment`: The moment that the proposal should be enacted."] - #[doc = ""] - #[doc = "Emits `Submitted`."] + #[doc = "See [`Pallet::submit`]."] pub fn submit( &self, 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, }, [ - 252u8, 72u8, 60u8, 208u8, 214u8, 81u8, 179u8, 80u8, 7u8, 215u8, 54u8, - 7u8, 214u8, 49u8, 72u8, 70u8, 213u8, 143u8, 217u8, 190u8, 47u8, 3u8, - 191u8, 110u8, 67u8, 139u8, 137u8, 215u8, 14u8, 225u8, 124u8, 117u8, + 116u8, 212u8, 158u8, 18u8, 89u8, 136u8, 153u8, 97u8, 43u8, 197u8, + 200u8, 161u8, 145u8, 102u8, 19u8, 25u8, 135u8, 13u8, 199u8, 101u8, + 107u8, 221u8, 244u8, 15u8, 192u8, 176u8, 3u8, 154u8, 248u8, 70u8, + 113u8, 69u8, ], ) } - #[doc = "Post the Decision Deposit for a referendum."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` and the account must have funds available for the"] - #[doc = " referendum's track's Decision Deposit."] - #[doc = "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be"] - #[doc = " posted."] - #[doc = ""] - #[doc = "Emits `DecisionDepositPlaced`."] + #[doc = "See [`Pallet::place_decision_deposit`]."] 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 }, @@ -14365,18 +14582,13 @@ pub mod api { ], ) } - #[doc = "Refund the Decision Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Decision Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `DecisionDepositRefunded`."] + #[doc = "See [`Pallet::refund_decision_deposit`]."] 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 }, @@ -14387,17 +14599,12 @@ pub mod api { ], ) } - #[doc = "Cancel an ongoing referendum."] - #[doc = ""] - #[doc = "- `origin`: must be the `CancelOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Cancelled`."] + #[doc = "See [`Pallet::cancel`]."] 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 }, @@ -14409,14 +14616,12 @@ pub mod api { ], ) } - #[doc = "Cancel an ongoing referendum and slash the deposits."] - #[doc = ""] - #[doc = "- `origin`: must be the `KillOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Killed` and `DepositSlashed`."] - pub fn kill(&self, index: types::kill::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::kill`]."] + 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 }, @@ -14428,15 +14633,12 @@ pub mod api { ], ) } - #[doc = "Advance a referendum onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `index`: the referendum to be advanced."] + #[doc = "See [`Pallet::nudge_referendum`]."] 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 }, @@ -14448,20 +14650,13 @@ pub mod api { ], ) } - #[doc = "Advance a track onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `track`: the track to be advanced."] - #[doc = ""] - #[doc = "Action item for when there is now one fewer referendum in the deciding phase and the"] - #[doc = "`DecidingCount` is not yet updated. This means that we should either:"] - #[doc = "- begin deciding another referendum (and leave `DecidingCount` alone); or"] - #[doc = "- decrement `DecidingCount`."] + #[doc = "See [`Pallet::one_fewer_deciding`]."] 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 }, @@ -14473,18 +14668,13 @@ pub mod api { ], ) } - #[doc = "Refund the Submission Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Submission Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `SubmissionDepositRefunded`."] + #[doc = "See [`Pallet::refund_submission_deposit`]."] 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 }, @@ -14495,19 +14685,13 @@ pub mod api { ], ) } - #[doc = "Set or clear metadata of a referendum."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a"] - #[doc = " metadata of a finished referendum."] - #[doc = "- `index`: The index of a referendum to set or clear metadata for."] - #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] + #[doc = "See [`Pallet::set_metadata`]."] pub fn set_metadata( &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 }, @@ -14526,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, @@ -14550,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, @@ -14573,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, @@ -14599,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, @@ -14657,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, } @@ -14678,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, } @@ -14699,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, @@ -14723,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, @@ -14745,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, @@ -14769,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, @@ -14793,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, @@ -14817,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, @@ -14841,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, @@ -14864,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, @@ -14889,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, @@ -14913,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"; } @@ -14931,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, @@ -14941,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; @@ -14949,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, )>; @@ -14962,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; } } @@ -14971,14 +15155,14 @@ 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::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", (), @@ -14993,45 +15177,47 @@ pub mod api { #[doc = " Information concerning any given referendum."] pub fn referendum_info_for_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 64u8, 146u8, 31u8, 207u8, 209u8, 86u8, 44u8, 53u8, 78u8, 240u8, 222u8, - 131u8, 225u8, 83u8, 114u8, 205u8, 225u8, 20u8, 128u8, 183u8, 19u8, - 204u8, 67u8, 31u8, 154u8, 115u8, 183u8, 218u8, 34u8, 134u8, 222u8, - 32u8, + 154u8, 115u8, 139u8, 27u8, 56u8, 76u8, 212u8, 73u8, 155u8, 177u8, 26u8, + 156u8, 1u8, 163u8, 243u8, 143u8, 10u8, 188u8, 63u8, 63u8, 190u8, 158u8, + 142u8, 61u8, 245u8, 254u8, 11u8, 109u8, 170u8, 98u8, 77u8, 95u8, ], ) } #[doc = " Information concerning any given referendum."] pub fn referendum_info_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 64u8, 146u8, 31u8, 207u8, 209u8, 86u8, 44u8, 53u8, 78u8, 240u8, 222u8, - 131u8, 225u8, 83u8, 114u8, 205u8, 225u8, 20u8, 128u8, 183u8, 19u8, - 204u8, 67u8, 31u8, 154u8, 115u8, 183u8, 218u8, 34u8, 134u8, 222u8, - 32u8, + 154u8, 115u8, 139u8, 27u8, 56u8, 76u8, 212u8, 73u8, 155u8, 177u8, 26u8, + 156u8, 1u8, 163u8, 243u8, 143u8, 10u8, 188u8, 63u8, 63u8, 190u8, 158u8, + 142u8, 61u8, 245u8, 254u8, 11u8, 109u8, 170u8, 98u8, 77u8, 95u8, ], ) } @@ -15041,14 +15227,14 @@ 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::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", (), @@ -15066,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -15089,14 +15279,14 @@ pub mod api { #[doc = " The number of referenda being decided currently."] pub fn deciding_count_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -15111,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -15139,14 +15333,14 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -15166,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -15195,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", [ @@ -15207,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", [ @@ -15223,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", [ @@ -15240,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", [ @@ -15255,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, @@ -15264,7 +15468,7 @@ pub mod api { >, )>, > { - ::subxt::constants::Address::new_static( + ::subxt::ext::subxt_core::constants::Address::new_static( "FellowshipReferenda", "Tracks", [ @@ -15278,10 +15482,6 @@ pub mod api { } } } - pub mod origins { - use super::root_mod; - use super::runtime_types; - } pub mod whitelist { use super::root_mod; use super::runtime_types; @@ -15296,57 +15496,72 @@ 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, pub call_encoded_len: dispatch_whitelisted_call::CallEncodedLen, @@ -15354,43 +15569,51 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { + #[doc = "See [`Pallet::whitelist_call`]."] 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 }, @@ -15402,11 +15625,13 @@ pub mod api { ], ) } + #[doc = "See [`Pallet::remove_whitelisted_call`]."] 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 }, @@ -15418,13 +15643,15 @@ pub mod api { ], ) } + #[doc = "See [`Pallet::dispatch_whitelisted_call`]."] pub fn dispatch_whitelisted_call( &self, 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 { @@ -15440,21 +15667,23 @@ pub mod api { ], ) } + #[doc = "See [`Pallet::dispatch_whitelisted_call_with_preimage`]."] 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), }, [ - 5u8, 34u8, 158u8, 60u8, 245u8, 185u8, 170u8, 44u8, 214u8, 208u8, 88u8, - 254u8, 35u8, 136u8, 207u8, 220u8, 73u8, 73u8, 39u8, 5u8, 118u8, 197u8, - 197u8, 222u8, 123u8, 52u8, 213u8, 237u8, 129u8, 4u8, 50u8, 143u8, + 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, ], ) } @@ -15465,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< @@ -15530,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"; } @@ -15542,21 +15771,21 @@ 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::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", (), @@ -15569,18 +15798,22 @@ pub mod api { } pub fn whitelisted_call( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -15605,78 +15838,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")] - #[doc = "Make a claim to collect your DOTs."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to claim is deemed valid if the signature provided matches"] - #[doc = "the expected signed message of:"] - #[doc = ""] - #[doc = "> Ethereum Signed Message:"] - #[doc = "> (configured prefix string)(address)"] - #[doc = ""] - #[doc = "and `address` matches the `dest` account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `dest`: The destination account to payout the claim."] - #[doc = "- `ethereum_signature`: The signature of an ethereum signed message matching the format"] - #[doc = " described above."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to validate unsigned `claim` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub ethereum_signature: claim::EthereumSignature, } 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")] - #[doc = "Mint a new claim to collect DOTs."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who`: The Ethereum address allowed to collect this claim."] - #[doc = "- `value`: The number of DOTs that will be claimed."] - #[doc = "- `vesting_schedule`: An optional vesting schedule for these DOTs."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "We assume worst case that both vesting and statement is being inserted."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub value: mint_claim::Value, @@ -15696,47 +15900,25 @@ 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")] - #[doc = "Make a claim to collect your DOTs by signing a statement."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to `claim_attest` is deemed valid if the signature provided matches"] - #[doc = "the expected signed message of:"] - #[doc = ""] - #[doc = "> Ethereum Signed Message:"] - #[doc = "> (configured prefix string)(address)(statement)"] - #[doc = ""] - #[doc = "and `address` matches the `dest` account; the `statement` must match that which is"] - #[doc = "expected according to your purchase arrangement."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `dest`: The destination account to payout the claim."] - #[doc = "- `ethereum_signature`: The signature of an ethereum signed message matching the format"] - #[doc = " described above."] - #[doc = "- `statement`: The identity of the statement which is being attested to in the"] - #[doc = " signature."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to validate unsigned `claim_attest` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub ethereum_signature: claim_attest::EthereumSignature, @@ -15744,65 +15926,58 @@ 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")] - #[doc = "Attest to a statement, needed to finalize the claims process."] - #[doc = ""] - #[doc = "WARNING: Insecure unless your chain includes `PrevalidateAttests` as a"] - #[doc = "`SignedExtension`."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to attest is deemed valid if the sender has a `Preclaim` registered"] - #[doc = "and provides a `statement` which is expected for the account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `statement`: The identity of the statement which is being attested to in the"] - #[doc = " signature."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to do pre-validation on `attest` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub new: move_claim::New, @@ -15812,45 +15987,23 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Make a claim to collect your DOTs."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to claim is deemed valid if the signature provided matches"] - #[doc = "the expected signed message of:"] - #[doc = ""] - #[doc = "> Ethereum Signed Message:"] - #[doc = "> (configured prefix string)(address)"] - #[doc = ""] - #[doc = "and `address` matches the `dest` account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `dest`: The destination account to payout the claim."] - #[doc = "- `ethereum_signature`: The signature of an ethereum signed message matching the format"] - #[doc = " described above."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to validate unsigned `claim` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[doc = "See [`Pallet::claim`]."] pub fn claim( &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 { @@ -15865,29 +16018,15 @@ pub mod api { ], ) } - #[doc = "Mint a new claim to collect DOTs."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who`: The Ethereum address allowed to collect this claim."] - #[doc = "- `value`: The number of DOTs that will be claimed."] - #[doc = "- `vesting_schedule`: An optional vesting schedule for these DOTs."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "We assume worst case that both vesting and statement is being inserted."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[doc = "See [`Pallet::mint_claim`]."] pub fn mint_claim( &self, who: types::mint_claim::Who, 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 { @@ -15903,40 +16042,14 @@ pub mod api { ], ) } - #[doc = "Make a claim to collect your DOTs by signing a statement."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to `claim_attest` is deemed valid if the signature provided matches"] - #[doc = "the expected signed message of:"] - #[doc = ""] - #[doc = "> Ethereum Signed Message:"] - #[doc = "> (configured prefix string)(address)(statement)"] - #[doc = ""] - #[doc = "and `address` matches the `dest` account; the `statement` must match that which is"] - #[doc = "expected according to your purchase arrangement."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `dest`: The destination account to payout the claim."] - #[doc = "- `ethereum_signature`: The signature of an ethereum signed message matching the format"] - #[doc = " described above."] - #[doc = "- `statement`: The identity of the statement which is being attested to in the"] - #[doc = " signature."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to validate unsigned `claim_attest` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[doc = "See [`Pallet::claim_attest`]."] pub fn claim_attest( &self, 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 { @@ -15951,30 +16064,12 @@ pub mod api { ], ) } - #[doc = "Attest to a statement, needed to finalize the claims process."] - #[doc = ""] - #[doc = "WARNING: Insecure unless your chain includes `PrevalidateAttests` as a"] - #[doc = "`SignedExtension`."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to attest is deemed valid if the sender has a `Preclaim` registered"] - #[doc = "and provides a `statement` which is expected for the account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `statement`: The identity of the statement which is being attested to in the"] - #[doc = " signature."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to do pre-validation on `attest` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[doc = "See [`Pallet::attest`]."] 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 }, @@ -15986,13 +16081,14 @@ pub mod api { ], ) } + #[doc = "See [`Pallet::move_claim`]."] pub fn move_claim( &self, 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 { @@ -16015,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, @@ -16032,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"; } @@ -16077,21 +16173,21 @@ 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::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", (), @@ -16105,18 +16201,22 @@ pub mod api { } pub fn claims( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -16127,14 +16227,14 @@ pub mod api { } pub fn total( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -16152,14 +16252,14 @@ pub mod api { #[doc = " The block number is when the vesting should start."] pub fn vesting_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -16177,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -16200,14 +16304,14 @@ pub mod api { #[doc = " The statement kind that must be signed, if any."] pub fn signing_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -16221,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -16243,14 +16351,14 @@ 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::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", (), @@ -16265,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -16293,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", [ @@ -16323,195 +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")] - #[doc = "Send a batch of dispatch calls."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] - #[doc = ""] - #[doc = "This will return `Ok` in all circumstances. To determine the success of the batch, an"] - #[doc = "event is deposited. If a call failed and the batch was interrupted, then the"] - #[doc = "`BatchInterrupted` event is deposited, along with the number of successful calls made"] - #[doc = "and the error of the failed call. If all were successful, then the `BatchCompleted`"] - #[doc = "event is deposited."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Send a call through an indexed pseudonym of the sender."] - #[doc = ""] - #[doc = "Filter from origin are passed along. The call will be dispatched with an origin which"] - #[doc = "use the same filter as the origin of this call."] - #[doc = ""] - #[doc = "NOTE: If you need to ensure that any account-based filtering is not honored (i.e."] - #[doc = "because you expect `proxy` to have been used prior in the call stack and you do not want"] - #[doc = "the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`"] - #[doc = "in the Multisig pallet instead."] - #[doc = ""] - #[doc = "NOTE: Prior to version *12, this was called `as_limited_sub`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Send a batch of dispatch calls and atomically execute them."] - #[doc = "The whole transaction will rollback and fail if any of the calls failed."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Dispatches a function call with a provided origin."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[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")] - #[doc = "Send a batch of dispatch calls."] - #[doc = "Unlike `batch`, it allows errors and won't interrupt."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatch without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Dispatch a function call with a specified weight."] - #[doc = ""] - #[doc = "This function does not check the weight of the call, and instead allows the"] - #[doc = "Root origin to specify the weight of the call."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { @@ -16519,183 +16600,123 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Send a batch of dispatch calls."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] - #[doc = ""] - #[doc = "This will return `Ok` in all circumstances. To determine the success of the batch, an"] - #[doc = "event is deposited. If a call failed and the batch was interrupted, then the"] - #[doc = "`BatchInterrupted` event is deposited, along with the number of successful calls made"] - #[doc = "and the error of the failed call. If all were successful, then the `BatchCompleted`"] - #[doc = "event is deposited."] + #[doc = "See [`Pallet::batch`]."] 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 }, [ - 181u8, 127u8, 72u8, 3u8, 201u8, 66u8, 147u8, 14u8, 125u8, 58u8, 181u8, - 213u8, 122u8, 17u8, 115u8, 25u8, 62u8, 173u8, 182u8, 189u8, 10u8, - 112u8, 100u8, 66u8, 223u8, 190u8, 42u8, 175u8, 130u8, 137u8, 91u8, 0u8, + 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, ], ) } - #[doc = "Send a call through an indexed pseudonym of the sender."] - #[doc = ""] - #[doc = "Filter from origin are passed along. The call will be dispatched with an origin which"] - #[doc = "use the same filter as the origin of this call."] - #[doc = ""] - #[doc = "NOTE: If you need to ensure that any account-based filtering is not honored (i.e."] - #[doc = "because you expect `proxy` to have been used prior in the call stack and you do not want"] - #[doc = "the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`"] - #[doc = "in the Multisig pallet instead."] - #[doc = ""] - #[doc = "NOTE: Prior to version *12, this was called `as_limited_sub`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = "See [`Pallet::as_derivative`]."] pub fn as_derivative( &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), }, [ - 42u8, 102u8, 244u8, 61u8, 176u8, 104u8, 53u8, 138u8, 130u8, 222u8, 2u8, - 120u8, 213u8, 145u8, 61u8, 190u8, 37u8, 201u8, 161u8, 231u8, 221u8, - 184u8, 164u8, 221u8, 246u8, 15u8, 180u8, 105u8, 174u8, 105u8, 202u8, - 204u8, + 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, ], ) } - #[doc = "Send a batch of dispatch calls and atomically execute them."] - #[doc = "The whole transaction will rollback and fail if any of the calls failed."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] + #[doc = "See [`Pallet::batch_all`]."] 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 }, [ - 17u8, 73u8, 73u8, 197u8, 80u8, 151u8, 37u8, 8u8, 65u8, 201u8, 153u8, - 61u8, 81u8, 56u8, 220u8, 29u8, 176u8, 237u8, 55u8, 226u8, 209u8, 137u8, - 176u8, 146u8, 195u8, 175u8, 171u8, 69u8, 58u8, 189u8, 126u8, 120u8, + 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, ], ) } - #[doc = "Dispatches a function call with a provided origin."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::dispatch_as`]."] pub fn dispatch_as( &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), }, [ - 26u8, 137u8, 228u8, 222u8, 250u8, 111u8, 29u8, 31u8, 210u8, 156u8, 9u8, - 151u8, 164u8, 71u8, 51u8, 228u8, 23u8, 121u8, 55u8, 27u8, 20u8, 41u8, - 198u8, 98u8, 174u8, 148u8, 124u8, 149u8, 141u8, 26u8, 17u8, 147u8, + 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, ], ) } - #[doc = "Send a batch of dispatch calls."] - #[doc = "Unlike `batch`, it allows errors and won't interrupt."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatch without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] + #[doc = "See [`Pallet::force_batch`]."] 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 }, [ - 78u8, 200u8, 135u8, 14u8, 33u8, 152u8, 237u8, 126u8, 69u8, 160u8, 60u8, - 167u8, 206u8, 212u8, 121u8, 164u8, 192u8, 236u8, 58u8, 174u8, 37u8, - 63u8, 254u8, 178u8, 210u8, 68u8, 207u8, 154u8, 127u8, 173u8, 79u8, - 30u8, + 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, ], ) } - #[doc = "Dispatch a function call with a specified weight."] - #[doc = ""] - #[doc = "This function does not check the weight of the call, and instead allows the"] - #[doc = "Root origin to specify the weight of the call."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] + #[doc = "See [`Pallet::with_weight`]."] pub fn with_weight( &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, }, [ - 204u8, 3u8, 114u8, 23u8, 35u8, 43u8, 87u8, 118u8, 150u8, 70u8, 167u8, - 234u8, 87u8, 65u8, 39u8, 146u8, 138u8, 69u8, 125u8, 77u8, 84u8, 131u8, - 103u8, 92u8, 130u8, 48u8, 53u8, 170u8, 194u8, 103u8, 54u8, 184u8, + 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, ], ) } @@ -16706,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 { @@ -16726,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, @@ -16796,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, @@ -16819,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"; } @@ -16831,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", [ @@ -16860,147 +16882,124 @@ 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")] - #[doc = "Add a registrar to the system."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `T::RegistrarOrigin`."] - #[doc = ""] - #[doc = "- `account`: the account of the registrar."] - #[doc = ""] - #[doc = "Emits `RegistrarAdded` if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Set an account's identity information and reserve the appropriate deposit."] - #[doc = ""] - #[doc = "If the account already has identity information, the deposit is taken as part payment"] - #[doc = "for the new deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `info`: The identity information."] - #[doc = ""] - #[doc = "Emits `IdentitySet` if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Set the sub-accounts of the sender."] - #[doc = ""] - #[doc = "Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned"] - #[doc = "and an amount `SubAccountDeposit` will be reserved for each item in `subs`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "identity."] - #[doc = ""] - #[doc = "- `subs`: The identity's (new) sub-accounts."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Clear an account's identity info and all sub-accounts and return all deposits."] - #[doc = ""] - #[doc = "Payment: All reserved balances on the account are returned."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "identity."] - #[doc = ""] - #[doc = "Emits `IdentityCleared` if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Request a judgement from a registrar."] - #[doc = ""] - #[doc = "Payment: At most `max_fee` will be reserved for payment to the registrar if judgement"] - #[doc = "given."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] - #[doc = "registered identity."] - #[doc = ""] - #[doc = "- `reg_index`: The index of the registrar whose judgement is requested."] - #[doc = "- `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:"] - #[doc = ""] - #[doc = "```nocompile"] - #[doc = "Self::registrars().get(reg_index).unwrap().fee"] - #[doc = "```"] - #[doc = ""] - #[doc = "Emits `JudgementRequested` if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub reg_index: request_judgement::RegIndex, @@ -17012,30 +17011,25 @@ 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")] - #[doc = "Cancel a previous request."] - #[doc = ""] - #[doc = "Payment: A previously reserved deposit is returned on success."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] - #[doc = "registered identity."] - #[doc = ""] - #[doc = "- `reg_index`: The index of the registrar whose judgement is no longer requested."] - #[doc = ""] - #[doc = "Emits `JudgementUnrequested` if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -17043,27 +17037,25 @@ 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")] - #[doc = "Set the fee required for a judgement to be requested from a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `fee`: the new fee."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: set_fee::Index, @@ -17075,27 +17067,25 @@ 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")] - #[doc = "Change the account associated with a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `new`: the new account ID."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: set_account_id::Index, @@ -17104,29 +17094,30 @@ 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")] - #[doc = "Set the field information for a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `fields`: the fields that the registrar concerns themselves with."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: set_fields::Index, @@ -17135,37 +17126,29 @@ 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")] - #[doc = "Provide a judgement for an account's identity."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `reg_index`."] - #[doc = ""] - #[doc = "- `reg_index`: the index of the registrar whose judgement is being made."] - #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] - #[doc = " with a registered identity."] - #[doc = "- `judgement`: the judgement of the registrar of index `reg_index` about `target`."] - #[doc = "- `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is"] - #[doc = " provided."] - #[doc = ""] - #[doc = "Note: Judgements do not apply to a username."] - #[doc = ""] - #[doc = "Emits `JudgementGiven` if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub reg_index: provide_judgement::RegIndex, @@ -17176,361 +17159,167 @@ 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")] - #[doc = "Remove an account's identity and sub-account information and slash the deposits."] - #[doc = ""] - #[doc = "Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by"] - #[doc = "`Slash`. Verification request deposits are not returned; they should be cancelled"] - #[doc = "manually using `cancel_request`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] - #[doc = ""] - #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] - #[doc = " with a registered identity."] - #[doc = ""] - #[doc = "Emits `IdentityKilled` if successful."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Add the given account to the sender's subs."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub data: add_sub::Data, } 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")] - #[doc = "Alter the associated name of the given sub-account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub data: rename_sub::Data, } 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")] - #[doc = "Remove the given account from the sender's subs."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Remove the sender as a sub-account."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender (*not* the original depositor)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "super-identity."] - #[doc = ""] - #[doc = "NOTE: This should not normally be used, but is provided in the case that the non-"] - #[doc = "controller of an account is maliciously registered as a sub-account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } - #[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 = "Add an `AccountId` with permission to grant usernames with a given `suffix` appended."] - #[doc = ""] - #[doc = "The authority can grant up to `allocation` usernames. To top up their allocation, they"] - #[doc = "should just issue (or request via governance) a new `add_username_authority` call."] - pub struct AddUsernameAuthority { - pub authority: add_username_authority::Authority, - pub suffix: add_username_authority::Suffix, - pub allocation: add_username_authority::Allocation, - } - pub mod add_username_authority { - use super::runtime_types; - pub type Authority = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Suffix = ::std::vec::Vec<::core::primitive::u8>; - pub type Allocation = ::core::primitive::u32; - } - impl ::subxt::blocks::StaticExtrinsic for AddUsernameAuthority { - const PALLET: &'static str = "Identity"; - const CALL: &'static str = "add_username_authority"; - } - #[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 = "Remove `authority` from the username authorities."] - pub struct RemoveUsernameAuthority { - pub authority: remove_username_authority::Authority, - } - pub mod remove_username_authority { - use super::runtime_types; - pub type Authority = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - } - impl ::subxt::blocks::StaticExtrinsic for RemoveUsernameAuthority { - const PALLET: &'static str = "Identity"; - const CALL: &'static str = "remove_username_authority"; - } - #[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 = "Set the username for `who`. Must be called by a username authority."] - #[doc = ""] - #[doc = "The authority must have an `allocation`. Users can either pre-sign their usernames or"] - #[doc = "accept them later."] - #[doc = ""] - #[doc = "Usernames must:"] - #[doc = " - Only contain lowercase ASCII characters or digits."] - #[doc = " - When combined with the suffix of the issuing authority be _less than_ the"] - #[doc = " `MaxUsernameLength`."] - pub struct SetUsernameFor { - pub who: set_username_for::Who, - pub username: set_username_for::Username, - pub signature: set_username_for::Signature, - } - pub mod set_username_for { - use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Username = ::std::vec::Vec<::core::primitive::u8>; - pub type Signature = - ::core::option::Option; - } - impl ::subxt::blocks::StaticExtrinsic for SetUsernameFor { - const PALLET: &'static str = "Identity"; - const CALL: &'static str = "set_username_for"; - } - #[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 = "Accept a given username that an `authority` granted. The call must include the full"] - #[doc = "username, as in `username.suffix`."] - pub struct AcceptUsername { - pub username: accept_username::Username, - } - pub mod accept_username { - use super::runtime_types; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - impl ::subxt::blocks::StaticExtrinsic for AcceptUsername { - const PALLET: &'static str = "Identity"; - const CALL: &'static str = "accept_username"; - } - #[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 = "Remove an expired username approval. The username was approved by an authority but never"] - #[doc = "accepted by the user and must now be beyond its expiration. The call must include the"] - #[doc = "full username, as in `username.suffix`."] - pub struct RemoveExpiredApproval { - pub username: remove_expired_approval::Username, - } - pub mod remove_expired_approval { - use super::runtime_types; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - impl ::subxt::blocks::StaticExtrinsic for RemoveExpiredApproval { - const PALLET: &'static str = "Identity"; - const CALL: &'static str = "remove_expired_approval"; - } - #[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 = "Set a given username as the primary. The username should include the suffix."] - pub struct SetPrimaryUsername { - pub username: set_primary_username::Username, - } - pub mod set_primary_username { - use super::runtime_types; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - impl ::subxt::blocks::StaticExtrinsic for SetPrimaryUsername { - const PALLET: &'static str = "Identity"; - const CALL: &'static str = "set_primary_username"; - } - #[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 = "Remove a username that corresponds to an account with no identity. Exists when a user"] - #[doc = "gets a username but then calls `clear_identity`."] - pub struct RemoveDanglingUsername { - pub username: remove_dangling_username::Username, - } - pub mod remove_dangling_username { - use super::runtime_types; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - impl ::subxt::blocks::StaticExtrinsic for RemoveDanglingUsername { - const PALLET: &'static str = "Identity"; - const CALL: &'static str = "remove_dangling_username"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Add a registrar to the system."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `T::RegistrarOrigin`."] - #[doc = ""] - #[doc = "- `account`: the account of the registrar."] - #[doc = ""] - #[doc = "Emits `RegistrarAdded` if successful."] + #[doc = "See [`Pallet::add_registrar`]."] 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 }, @@ -17541,25 +17330,16 @@ pub mod api { ], ) } - #[doc = "Set an account's identity information and reserve the appropriate deposit."] - #[doc = ""] - #[doc = "If the account already has identity information, the deposit is taken as part payment"] - #[doc = "for the new deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `info`: The identity information."] - #[doc = ""] - #[doc = "Emits `IdentitySet` if successful."] + #[doc = "See [`Pallet::set_identity`]."] 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, @@ -17569,20 +17349,12 @@ pub mod api { ], ) } - #[doc = "Set the sub-accounts of the sender."] - #[doc = ""] - #[doc = "Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned"] - #[doc = "and an amount `SubAccountDeposit` will be reserved for each item in `subs`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "identity."] - #[doc = ""] - #[doc = "- `subs`: The identity's (new) sub-accounts."] + #[doc = "See [`Pallet::set_subs`]."] 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 }, @@ -17594,16 +17366,11 @@ pub mod api { ], ) } - #[doc = "Clear an account's identity info and all sub-accounts and return all deposits."] - #[doc = ""] - #[doc = "Payment: All reserved balances on the account are returned."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "identity."] - #[doc = ""] - #[doc = "Emits `IdentityCleared` if successful."] - pub fn clear_identity(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::clear_identity`]."] + pub fn clear_identity( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "clear_identity", types::ClearIdentity {}, @@ -17615,28 +17382,14 @@ pub mod api { ], ) } - #[doc = "Request a judgement from a registrar."] - #[doc = ""] - #[doc = "Payment: At most `max_fee` will be reserved for payment to the registrar if judgement"] - #[doc = "given."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] - #[doc = "registered identity."] - #[doc = ""] - #[doc = "- `reg_index`: The index of the registrar whose judgement is requested."] - #[doc = "- `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:"] - #[doc = ""] - #[doc = "```nocompile"] - #[doc = "Self::registrars().get(reg_index).unwrap().fee"] - #[doc = "```"] - #[doc = ""] - #[doc = "Emits `JudgementRequested` if successful."] + #[doc = "See [`Pallet::request_judgement`]."] pub fn request_judgement( &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 }, @@ -17647,21 +17400,12 @@ pub mod api { ], ) } - #[doc = "Cancel a previous request."] - #[doc = ""] - #[doc = "Payment: A previously reserved deposit is returned on success."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] - #[doc = "registered identity."] - #[doc = ""] - #[doc = "- `reg_index`: The index of the registrar whose judgement is no longer requested."] - #[doc = ""] - #[doc = "Emits `JudgementUnrequested` if successful."] + #[doc = "See [`Pallet::cancel_request`]."] 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 }, @@ -17673,19 +17417,13 @@ pub mod api { ], ) } - #[doc = "Set the fee required for a judgement to be requested from a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `fee`: the new fee."] + #[doc = "See [`Pallet::set_fee`]."] pub fn set_fee( &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 }, @@ -17697,19 +17435,13 @@ pub mod api { ], ) } - #[doc = "Change the account associated with a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `new`: the new account ID."] + #[doc = "See [`Pallet::set_account_id`]."] pub fn set_account_id( &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 }, @@ -17721,53 +17453,33 @@ pub mod api { ], ) } - #[doc = "Set the field information for a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `fields`: the fields that the registrar concerns themselves with."] + #[doc = "See [`Pallet::set_fields`]."] pub fn set_fields( &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, ], ) } - #[doc = "Provide a judgement for an account's identity."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `reg_index`."] - #[doc = ""] - #[doc = "- `reg_index`: the index of the registrar whose judgement is being made."] - #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] - #[doc = " with a registered identity."] - #[doc = "- `judgement`: the judgement of the registrar of index `reg_index` about `target`."] - #[doc = "- `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is"] - #[doc = " provided."] - #[doc = ""] - #[doc = "Note: Judgements do not apply to a username."] - #[doc = ""] - #[doc = "Emits `JudgementGiven` if successful."] + #[doc = "See [`Pallet::provide_judgement`]."] pub fn provide_judgement( &self, reg_index: types::provide_judgement::RegIndex, 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 { @@ -17784,23 +17496,12 @@ pub mod api { ], ) } - #[doc = "Remove an account's identity and sub-account information and slash the deposits."] - #[doc = ""] - #[doc = "Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by"] - #[doc = "`Slash`. Verification request deposits are not returned; they should be cancelled"] - #[doc = "manually using `cancel_request`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] - #[doc = ""] - #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] - #[doc = " with a registered identity."] - #[doc = ""] - #[doc = "Emits `IdentityKilled` if successful."] + #[doc = "See [`Pallet::kill_identity`]."] 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 }, @@ -17812,19 +17513,13 @@ pub mod api { ], ) } - #[doc = "Add the given account to the sender's subs."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + #[doc = "See [`Pallet::add_sub`]."] pub fn add_sub( &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 }, @@ -17835,16 +17530,13 @@ pub mod api { ], ) } - #[doc = "Alter the associated name of the given sub-account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + #[doc = "See [`Pallet::rename_sub`]."] pub fn rename_sub( &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 }, @@ -17856,18 +17548,12 @@ pub mod api { ], ) } - #[doc = "Remove the given account from the sender's subs."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + #[doc = "See [`Pallet::remove_sub`]."] 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 }, @@ -17878,18 +17564,9 @@ pub mod api { ], ) } - #[doc = "Remove the sender as a sub-account."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender (*not* the original depositor)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "super-identity."] - #[doc = ""] - #[doc = "NOTE: This should not normally be used, but is provided in the case that the non-"] - #[doc = "controller of an account is maliciously registered as a sub-account."] - pub fn quit_sub(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::quit_sub`]."] + pub fn quit_sub(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "quit_sub", types::QuitSub {}, @@ -17901,147 +17578,6 @@ pub mod api { ], ) } - #[doc = "Add an `AccountId` with permission to grant usernames with a given `suffix` appended."] - #[doc = ""] - #[doc = "The authority can grant up to `allocation` usernames. To top up their allocation, they"] - #[doc = "should just issue (or request via governance) a new `add_username_authority` call."] - pub fn add_username_authority( - &self, - authority: types::add_username_authority::Authority, - suffix: types::add_username_authority::Suffix, - allocation: types::add_username_authority::Allocation, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Identity", - "add_username_authority", - types::AddUsernameAuthority { - authority, - suffix, - allocation, - }, - [ - 225u8, 197u8, 122u8, 209u8, 206u8, 241u8, 247u8, 232u8, 196u8, 110u8, - 75u8, 157u8, 44u8, 181u8, 35u8, 75u8, 182u8, 219u8, 100u8, 64u8, 208u8, - 112u8, 120u8, 229u8, 211u8, 69u8, 193u8, 214u8, 195u8, 98u8, 10u8, - 25u8, - ], - ) - } - #[doc = "Remove `authority` from the username authorities."] - pub fn remove_username_authority( - &self, - authority: types::remove_username_authority::Authority, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Identity", - "remove_username_authority", - types::RemoveUsernameAuthority { authority }, - [ - 4u8, 182u8, 89u8, 1u8, 183u8, 15u8, 215u8, 48u8, 165u8, 97u8, 252u8, - 54u8, 223u8, 18u8, 211u8, 227u8, 226u8, 230u8, 185u8, 71u8, 202u8, - 95u8, 191u8, 6u8, 118u8, 144u8, 92u8, 98u8, 64u8, 243u8, 2u8, 137u8, - ], - ) - } - #[doc = "Set the username for `who`. Must be called by a username authority."] - #[doc = ""] - #[doc = "The authority must have an `allocation`. Users can either pre-sign their usernames or"] - #[doc = "accept them later."] - #[doc = ""] - #[doc = "Usernames must:"] - #[doc = " - Only contain lowercase ASCII characters or digits."] - #[doc = " - When combined with the suffix of the issuing authority be _less than_ the"] - #[doc = " `MaxUsernameLength`."] - pub fn set_username_for( - &self, - who: types::set_username_for::Who, - username: types::set_username_for::Username, - signature: types::set_username_for::Signature, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Identity", - "set_username_for", - types::SetUsernameFor { - who, - username, - signature, - }, - [ - 109u8, 128u8, 201u8, 28u8, 164u8, 222u8, 234u8, 197u8, 202u8, 156u8, - 53u8, 83u8, 51u8, 211u8, 222u8, 126u8, 227u8, 105u8, 72u8, 29u8, 25u8, - 188u8, 134u8, 247u8, 210u8, 183u8, 69u8, 94u8, 238u8, 91u8, 176u8, - 158u8, - ], - ) - } - #[doc = "Accept a given username that an `authority` granted. The call must include the full"] - #[doc = "username, as in `username.suffix`."] - pub fn accept_username( - &self, - username: types::accept_username::Username, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Identity", - "accept_username", - types::AcceptUsername { username }, - [ - 247u8, 162u8, 83u8, 250u8, 214u8, 7u8, 12u8, 253u8, 227u8, 4u8, 95u8, - 71u8, 150u8, 218u8, 216u8, 86u8, 137u8, 37u8, 114u8, 188u8, 18u8, - 232u8, 229u8, 179u8, 172u8, 251u8, 70u8, 29u8, 18u8, 86u8, 33u8, 129u8, - ], - ) - } - #[doc = "Remove an expired username approval. The username was approved by an authority but never"] - #[doc = "accepted by the user and must now be beyond its expiration. The call must include the"] - #[doc = "full username, as in `username.suffix`."] - pub fn remove_expired_approval( - &self, - username: types::remove_expired_approval::Username, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Identity", - "remove_expired_approval", - types::RemoveExpiredApproval { username }, - [ - 159u8, 171u8, 27u8, 97u8, 224u8, 171u8, 14u8, 89u8, 65u8, 213u8, 208u8, - 67u8, 118u8, 146u8, 0u8, 131u8, 82u8, 186u8, 142u8, 52u8, 173u8, 90u8, - 104u8, 107u8, 114u8, 202u8, 123u8, 222u8, 49u8, 53u8, 59u8, 61u8, - ], - ) - } - #[doc = "Set a given username as the primary. The username should include the suffix."] - pub fn set_primary_username( - &self, - username: types::set_primary_username::Username, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Identity", - "set_primary_username", - types::SetPrimaryUsername { username }, - [ - 3u8, 25u8, 56u8, 26u8, 108u8, 165u8, 84u8, 231u8, 16u8, 4u8, 6u8, - 232u8, 141u8, 7u8, 254u8, 50u8, 26u8, 230u8, 66u8, 245u8, 255u8, 101u8, - 183u8, 234u8, 197u8, 186u8, 132u8, 197u8, 251u8, 84u8, 212u8, 162u8, - ], - ) - } - #[doc = "Remove a username that corresponds to an account with no identity. Exists when a user"] - #[doc = "gets a username but then calls `clear_identity`."] - pub fn remove_dangling_username( - &self, - username: types::remove_dangling_username::Username, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Identity", - "remove_dangling_username", - types::RemoveDanglingUsername { username }, - [ - 220u8, 67u8, 52u8, 223u8, 169u8, 81u8, 202u8, 74u8, 199u8, 169u8, 89u8, - 60u8, 57u8, 153u8, 240u8, 105u8, 188u8, 222u8, 250u8, 247u8, 91u8, - 137u8, 37u8, 212u8, 10u8, 51u8, 9u8, 202u8, 165u8, 155u8, 222u8, 29u8, - ], - ) - } } } #[doc = "The `Event` enum of this pallet"] @@ -18049,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, @@ -18087,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, @@ -18111,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, @@ -18135,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, @@ -18159,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, @@ -18183,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, @@ -18208,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, @@ -18230,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, @@ -18256,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 { @@ -18283,187 +17819,14 @@ 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"; } - #[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 = "A username authority was added."] - pub struct AuthorityAdded { - pub authority: authority_added::Authority, - } - pub mod authority_added { - use super::runtime_types; - pub type Authority = ::subxt::utils::AccountId32; - } - impl ::subxt::events::StaticEvent for AuthorityAdded { - const PALLET: &'static str = "Identity"; - const EVENT: &'static str = "AuthorityAdded"; - } - #[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 = "A username authority was removed."] - pub struct AuthorityRemoved { - pub authority: authority_removed::Authority, - } - pub mod authority_removed { - use super::runtime_types; - pub type Authority = ::subxt::utils::AccountId32; - } - impl ::subxt::events::StaticEvent for AuthorityRemoved { - const PALLET: &'static str = "Identity"; - const EVENT: &'static str = "AuthorityRemoved"; - } - #[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 = "A username was set for `who`."] - pub struct UsernameSet { - pub who: username_set::Who, - pub username: username_set::Username, - } - pub mod username_set { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - impl ::subxt::events::StaticEvent for UsernameSet { - const PALLET: &'static str = "Identity"; - const EVENT: &'static str = "UsernameSet"; - } - #[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 = "A username was queued, but `who` must accept it prior to `expiration`."] - pub struct UsernameQueued { - pub who: username_queued::Who, - pub username: username_queued::Username, - pub expiration: username_queued::Expiration, - } - pub mod username_queued { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - pub type Expiration = ::core::primitive::u32; - } - impl ::subxt::events::StaticEvent for UsernameQueued { - const PALLET: &'static str = "Identity"; - const EVENT: &'static str = "UsernameQueued"; - } - #[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 = "A queued username passed its expiration without being claimed and was removed."] - pub struct PreapprovalExpired { - pub whose: preapproval_expired::Whose, - } - pub mod preapproval_expired { - use super::runtime_types; - pub type Whose = ::subxt::utils::AccountId32; - } - impl ::subxt::events::StaticEvent for PreapprovalExpired { - const PALLET: &'static str = "Identity"; - const EVENT: &'static str = "PreapprovalExpired"; - } - #[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 = "A username was set as a primary and can be looked up from `who`."] - pub struct PrimaryUsernameSet { - pub who: primary_username_set::Who, - pub username: primary_username_set::Username, - } - pub mod primary_username_set { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - impl ::subxt::events::StaticEvent for PrimaryUsernameSet { - const PALLET: &'static str = "Identity"; - const EVENT: &'static str = "PrimaryUsernameSet"; - } - #[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 = "A dangling username (as in, a username corresponding to an account that has removed its"] - #[doc = "identity) has been removed."] - pub struct DanglingUsernameRemoved { - pub who: dangling_username_removed::Who, - pub username: dangling_username_removed::Username, - } - pub mod dangling_username_removed { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - impl ::subxt::events::StaticEvent for DanglingUsernameRemoved { - const PALLET: &'static str = "Identity"; - const EVENT: &'static str = "DanglingUsernameRemoved"; - } } pub mod storage { use super::runtime_types; @@ -18471,124 +17834,92 @@ pub mod api { use super::runtime_types; pub mod identity_of { use super::runtime_types; - pub type IdentityOf = ( - runtime_types::pallet_identity::types::Registration< - ::core::primitive::u128, - runtime_types::pallet_identity::legacy::IdentityInfo, - >, - ::core::option::Option< - runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - >, - ); - pub type Param0 = ::subxt::utils::AccountId32; + pub type IdentityOf = runtime_types::pallet_identity::types::Registration< + ::core::primitive::u128, + >; + 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, >, >, >; } - pub mod username_authorities { - use super::runtime_types; - pub type UsernameAuthorities = - runtime_types::pallet_identity::types::AuthorityProperties< - runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - >; - pub type Param0 = ::subxt::utils::AccountId32; - } - pub mod account_of_username { - use super::runtime_types; - pub type AccountOfUsername = ::subxt::utils::AccountId32; - pub type Param0 = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } - pub mod pending_usernames { - use super::runtime_types; - pub type PendingUsernames = - (::subxt::utils::AccountId32, ::core::primitive::u32); - pub type Param0 = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >; - } } pub struct StorageApi; impl StorageApi { - #[doc = " Information that is pertinent to identify the entity behind an account. First item is the"] - #[doc = " registration, second is the account's primary username."] + #[doc = " Information that is pertinent to identify the entity behind an account."] #[doc = ""] #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn identity_of_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 0u8, 73u8, 213u8, 52u8, 49u8, 235u8, 238u8, 43u8, 119u8, 12u8, 35u8, - 162u8, 230u8, 24u8, 246u8, 200u8, 44u8, 254u8, 13u8, 84u8, 10u8, 27u8, - 159u8, 6u8, 176u8, 125u8, 24u8, 212u8, 250u8, 154u8, 181u8, 12u8, + 112u8, 2u8, 209u8, 123u8, 138u8, 171u8, 80u8, 243u8, 226u8, 88u8, 81u8, + 49u8, 59u8, 172u8, 88u8, 180u8, 255u8, 119u8, 57u8, 16u8, 169u8, 149u8, + 77u8, 239u8, 73u8, 182u8, 28u8, 112u8, 150u8, 110u8, 65u8, 139u8, ], ) } - #[doc = " Information that is pertinent to identify the entity behind an account. First item is the"] - #[doc = " registration, second is the account's primary username."] + #[doc = " Information that is pertinent to identify the entity behind an account."] #[doc = ""] #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 0u8, 73u8, 213u8, 52u8, 49u8, 235u8, 238u8, 43u8, 119u8, 12u8, 35u8, - 162u8, 230u8, 24u8, 246u8, 200u8, 44u8, 254u8, 13u8, 84u8, 10u8, 27u8, - 159u8, 6u8, 176u8, 125u8, 24u8, 212u8, 250u8, 154u8, 181u8, 12u8, + 112u8, 2u8, 209u8, 123u8, 138u8, 171u8, 80u8, 243u8, 226u8, 88u8, 81u8, + 49u8, 59u8, 172u8, 88u8, 180u8, 255u8, 119u8, 57u8, 16u8, 169u8, 149u8, + 77u8, 239u8, 73u8, 182u8, 28u8, 112u8, 150u8, 110u8, 65u8, 139u8, ], ) } @@ -18596,14 +17927,14 @@ 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::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", (), @@ -18618,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -18644,14 +17979,14 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn subs_of_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -18670,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -18696,175 +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::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", (), [ - 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, - ], - ) - } - #[doc = " A map of the accounts who are authorized to grant usernames."] - pub fn username_authorities_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::username_authorities::UsernameAuthorities, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "Identity", - "UsernameAuthorities", - (), - [ - 89u8, 102u8, 60u8, 184u8, 127u8, 244u8, 3u8, 61u8, 209u8, 78u8, 178u8, - 44u8, 159u8, 27u8, 7u8, 0u8, 22u8, 116u8, 42u8, 240u8, 130u8, 93u8, - 214u8, 182u8, 79u8, 222u8, 19u8, 20u8, 34u8, 198u8, 164u8, 146u8, - ], - ) - } - #[doc = " A map of the accounts who are authorized to grant usernames."] - pub fn username_authorities( - &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey< - types::username_authorities::Param0, - >, - types::username_authorities::UsernameAuthorities, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "Identity", - "UsernameAuthorities", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - [ - 89u8, 102u8, 60u8, 184u8, 127u8, 244u8, 3u8, 61u8, 209u8, 78u8, 178u8, - 44u8, 159u8, 27u8, 7u8, 0u8, 22u8, 116u8, 42u8, 240u8, 130u8, 93u8, - 214u8, 182u8, 79u8, 222u8, 19u8, 20u8, 34u8, 198u8, 164u8, 146u8, - ], - ) - } - #[doc = " Reverse lookup from `username` to the `AccountId` that has registered it. The value should"] - #[doc = " be a key in the `IdentityOf` map, but it may not if the user has cleared their identity."] - #[doc = ""] - #[doc = " Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one"] - #[doc = " primary username."] - pub fn account_of_username_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::account_of_username::AccountOfUsername, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "Identity", - "AccountOfUsername", - (), - [ - 131u8, 96u8, 207u8, 217u8, 223u8, 54u8, 51u8, 156u8, 8u8, 238u8, 134u8, - 57u8, 42u8, 110u8, 180u8, 107u8, 30u8, 109u8, 162u8, 110u8, 178u8, - 127u8, 151u8, 163u8, 89u8, 127u8, 181u8, 213u8, 74u8, 129u8, 207u8, - 15u8, - ], - ) - } - #[doc = " Reverse lookup from `username` to the `AccountId` that has registered it. The value should"] - #[doc = " be a key in the `IdentityOf` map, but it may not if the user has cleared their identity."] - #[doc = ""] - #[doc = " Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one"] - #[doc = " primary username."] - pub fn account_of_username( - &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, - types::account_of_username::AccountOfUsername, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "Identity", - "AccountOfUsername", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - [ - 131u8, 96u8, 207u8, 217u8, 223u8, 54u8, 51u8, 156u8, 8u8, 238u8, 134u8, - 57u8, 42u8, 110u8, 180u8, 107u8, 30u8, 109u8, 162u8, 110u8, 178u8, - 127u8, 151u8, 163u8, 89u8, 127u8, 181u8, 213u8, 74u8, 129u8, 207u8, - 15u8, - ], - ) - } - #[doc = " Usernames that an authority has granted, but that the account controller has not confirmed"] - #[doc = " that they want it. Used primarily in cases where the `AccountId` cannot provide a signature"] - #[doc = " because they are a pure proxy, multisig, etc. In order to confirm it, they should call"] - #[doc = " [`Call::accept_username`]."] - #[doc = ""] - #[doc = " First tuple item is the account and second is the acceptance deadline."] - pub fn pending_usernames_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::pending_usernames::PendingUsernames, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "Identity", - "PendingUsernames", - (), - [ - 237u8, 213u8, 92u8, 249u8, 11u8, 169u8, 104u8, 7u8, 201u8, 133u8, - 164u8, 64u8, 191u8, 172u8, 169u8, 229u8, 206u8, 105u8, 190u8, 113u8, - 21u8, 13u8, 70u8, 74u8, 140u8, 125u8, 123u8, 48u8, 183u8, 181u8, 170u8, - 147u8, - ], - ) - } - #[doc = " Usernames that an authority has granted, but that the account controller has not confirmed"] - #[doc = " that they want it. Used primarily in cases where the `AccountId` cannot provide a signature"] - #[doc = " because they are a pure proxy, multisig, etc. In order to confirm it, they should call"] - #[doc = " [`Call::accept_username`]."] - #[doc = ""] - #[doc = " First tuple item is the account and second is the acceptance deadline."] - pub fn pending_usernames( - &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, - types::pending_usernames::PendingUsernames, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "Identity", - "PendingUsernames", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - [ - 237u8, 213u8, 92u8, 249u8, 11u8, 169u8, 104u8, 7u8, 201u8, 133u8, - 164u8, 64u8, 191u8, 172u8, 169u8, 229u8, 206u8, 105u8, 190u8, 113u8, - 21u8, 13u8, 70u8, 74u8, 140u8, 125u8, 123u8, 48u8, 183u8, 181u8, 170u8, - 147u8, + 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, ], ) } @@ -18874,11 +18060,12 @@ pub mod api { use super::runtime_types; pub struct ConstantsApi; impl ConstantsApi { - #[doc = " The amount held on deposit for a registered identity."] + #[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", [ @@ -18888,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, @@ -18905,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", [ @@ -18919,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", [ @@ -18931,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", [ @@ -18947,51 +18157,6 @@ pub mod api { ], ) } - #[doc = " The number of blocks within which a username grant must be accepted."] - pub fn pending_username_expiration( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( - "Identity", - "PendingUsernameExpiration", - [ - 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 = " The maximum length of a suffix."] - pub fn max_suffix_length( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( - "Identity", - "MaxSuffixLength", - [ - 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 = " The maximum length of a username, including its suffix and any system-added delimiters."] - pub fn max_username_length( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( - "Identity", - "MaxUsernameLength", - [ - 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, - ], - ) - } } } } @@ -19009,24 +18174,20 @@ 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")] - #[doc = "A user outside of the society can make a bid for entry."] - #[doc = ""] - #[doc = "Payment: The group's Candidate Deposit will be reserved for making a bid. It is returned"] - #[doc = "when the bid becomes a member, or if the bid calls `unbid`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `value`: A one time payment the bid would like to receive when joining the society."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -19034,59 +18195,45 @@ 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")] - #[doc = "A bidder can remove their bid for entry into society."] - #[doc = "By doing so, they will have their candidate deposit returned or"] - #[doc = "they will unvouch their voucher."] - #[doc = ""] - #[doc = "Payment: The bid deposit is unreserved if the user made a bid."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a bidder."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "As a member, vouch for someone to join society by placing a bid on their behalf."] - #[doc = ""] - #[doc = "There is no deposit required to vouch for a new bid, but a member can only vouch for"] - #[doc = "one bid at a time. If the bid becomes a suspended candidate and ultimately rejected by"] - #[doc = "the suspension judgement origin, the member will be banned from vouching again."] - #[doc = ""] - #[doc = "As a vouching member, you can claim a tip if the candidate is accepted. This tip will"] - #[doc = "be paid as a portion of the reward the member will receive for joining the society."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who`: The user who you would like to vouch for."] - #[doc = "- `value`: The total reward to be paid between you and the candidate if they become"] - #[doc = "a member in the society."] - #[doc = "- `tip`: Your cut of the total `value` payout when the candidate is inducted into"] - #[doc = "the society. Tips larger than `value` will be saturated upon payout."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub value: vouch::Value, @@ -19094,85 +18241,83 @@ 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")] - #[doc = "As a vouching member, unvouch a bid. This only works while vouched user is"] - #[doc = "only a bidder (and not a candidate)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a vouching member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `pos`: Position in the `Bids` vector of the bid who should be unvouched."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "As a member, vote on a candidate."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `candidate`: The candidate that the member would like to bid on."] - #[doc = "- `approve`: A boolean which says if the candidate should be approved (`true`) or"] - #[doc = " rejected (`false`)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub approve: vote::Approve, } 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")] - #[doc = "As a member, vote on the defender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `approve`: A boolean which says if the candidate should be"] - #[doc = "approved (`true`) or rejected (`false`)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -19180,47 +18325,45 @@ 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")] - #[doc = "Transfer the first matured payout for the sender and remove it from the records."] - #[doc = ""] - #[doc = "NOTE: This extrinsic needs to be called multiple times to claim multiple matured"] - #[doc = "payouts."] - #[doc = ""] - #[doc = "Payment: The member will receive a payment equal to their first matured"] - #[doc = "payout to their free balance."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member with"] - #[doc = "payouts remaining."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Repay the payment previously given to the member with the signed origin, remove any"] - #[doc = "pending payments, and elevate them from rank 0 to rank 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" + )] + #[doc = "See [`Pallet::waive_repay`]."] pub struct WaiveRepay { pub amount: waive_repay::Amount, } @@ -19228,37 +18371,25 @@ 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")] - #[doc = "Found the society."] - #[doc = ""] - #[doc = "This is done as a discrete action in order to allow for the"] - #[doc = "pallet to be included into a running chain and can only be done once."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be from the _FounderSetOrigin_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `founder` - The first member and head of the newly founded society."] - #[doc = "- `max_members` - The initial max number of members for the society."] - #[doc = "- `max_intake` - The maximum number of candidates per intake period."] - #[doc = "- `max_strikes`: The maximum number of strikes a member may get before they become"] - #[doc = " suspended and may only be reinstated by the founder."] - #[doc = "- `candidate_deposit`: The deposit required to make a bid for membership of the group."] - #[doc = "- `rules` - The rules of this society concerning membership."] - #[doc = ""] - #[doc = "Complexity: O(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" + )] + #[doc = "See [`Pallet::found_society`]."] pub struct FoundSociety { pub founder: found_society::Founder, pub max_members: found_society::MaxMembers, @@ -19269,97 +18400,87 @@ 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")] - #[doc = "Dissolve the society and remove all members."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed, and the signing account must be both"] - #[doc = "the `Founder` and the `Head`. This implies that it may only be done when there is one"] - #[doc = "member."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Allow suspension judgement origin to make judgement on a suspended member."] - #[doc = ""] - #[doc = "If a suspended member is forgiven, we simply add them back as a member, not affecting"] - #[doc = "any of the existing storage items for that member."] - #[doc = ""] - #[doc = "If a suspended member is rejected, remove all associated storage items, including"] - #[doc = "their payouts, and remove any vouched bids they currently have."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed from the Founder."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who` - The suspended member to be judged."] - #[doc = "- `forgive` - A boolean representing whether the suspension judgement origin forgives"] - #[doc = " (`true`) or rejects (`false`) a suspended member."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub forgive: judge_suspended_member::Forgive, } 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")] - #[doc = "Change the maximum number of members in society and the maximum number of new candidates"] - #[doc = "in a single intake period."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed by the Founder."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `max_members` - The maximum number of members for the society. This must be no less"] - #[doc = " than the current number of members."] - #[doc = "- `max_intake` - The maximum number of candidates per intake period."] - #[doc = "- `max_strikes`: The maximum number of strikes a member may get before they become"] - #[doc = " suspended and may only be reinstated by the founder."] - #[doc = "- `candidate_deposit`: The deposit required to make a bid for membership of the group."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub max_intake: set_parameters::MaxIntake, @@ -19373,177 +18494,191 @@ 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")] - #[doc = "Punish the skeptic with a strike if they did not vote on a candidate. Callable by the"] - #[doc = "candidate."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Transform an approved candidate into a member. Callable only by the"] - #[doc = "the candidate, and only after the period for voting has ended."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Transform an approved candidate into a member. Callable only by the Signed origin of the"] - #[doc = "Founder, only after the period for voting has ended and only when the candidate is not"] - #[doc = "clearly rejected."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Remove the candidate's application from the society. Callable only by the Signed origin"] - #[doc = "of the Founder, only after the period for voting has ended, and only when they do not"] - #[doc = "have a clear approval."] - #[doc = ""] - #[doc = "Any bid deposit is lost and voucher is banned."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Remove the candidate's application from the society. Callable only by the candidate."] - #[doc = ""] - #[doc = "Any bid deposit is lost and voucher is banned."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Remove a `candidate`'s failed application from the society. Callable by any"] - #[doc = "signed origin but only at the end of the subsequent round and only for"] - #[doc = "a candidate with more rejections than approvals."] - #[doc = ""] - #[doc = "The bid deposit is lost and the voucher is banned."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Remove up to `max` stale votes for the given `candidate`."] - #[doc = ""] - #[doc = "May be called by any Signed origin, but only after the candidate's candidacy is ended."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub max: cleanup_candidacy::Max, } 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")] - #[doc = "Remove up to `max` stale votes for the defender in the given `challenge_round`."] - #[doc = ""] - #[doc = "May be called by any Signed origin, but only after the challenge round is ended."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub max: cleanup_challenge::Max, @@ -19553,24 +18688,19 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "A user outside of the society can make a bid for entry."] - #[doc = ""] - #[doc = "Payment: The group's Candidate Deposit will be reserved for making a bid. It is returned"] - #[doc = "when the bid becomes a member, or if the bid calls `unbid`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `value`: A one time payment the bid would like to receive when joining the society."] - pub fn bid(&self, value: types::bid::Value) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::bid`]."] + 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 }, @@ -19581,15 +18711,9 @@ pub mod api { ], ) } - #[doc = "A bidder can remove their bid for entry into society."] - #[doc = "By doing so, they will have their candidate deposit returned or"] - #[doc = "they will unvouch their voucher."] - #[doc = ""] - #[doc = "Payment: The bid deposit is unreserved if the user made a bid."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a bidder."] - pub fn unbid(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::unbid`]."] + pub fn unbid(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "unbid", types::Unbid {}, @@ -19601,30 +18725,14 @@ pub mod api { ], ) } - #[doc = "As a member, vouch for someone to join society by placing a bid on their behalf."] - #[doc = ""] - #[doc = "There is no deposit required to vouch for a new bid, but a member can only vouch for"] - #[doc = "one bid at a time. If the bid becomes a suspended candidate and ultimately rejected by"] - #[doc = "the suspension judgement origin, the member will be banned from vouching again."] - #[doc = ""] - #[doc = "As a vouching member, you can claim a tip if the candidate is accepted. This tip will"] - #[doc = "be paid as a portion of the reward the member will receive for joining the society."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who`: The user who you would like to vouch for."] - #[doc = "- `value`: The total reward to be paid between you and the candidate if they become"] - #[doc = "a member in the society."] - #[doc = "- `tip`: Your cut of the total `value` payout when the candidate is inducted into"] - #[doc = "the society. Tips larger than `value` will be saturated upon payout."] + #[doc = "See [`Pallet::vouch`]."] pub fn vouch( &self, 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 }, @@ -19635,15 +18743,9 @@ pub mod api { ], ) } - #[doc = "As a vouching member, unvouch a bid. This only works while vouched user is"] - #[doc = "only a bidder (and not a candidate)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a vouching member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `pos`: Position in the `Bids` vector of the bid who should be unvouched."] - pub fn unvouch(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::unvouch`]."] + pub fn unvouch(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "unvouch", types::Unvouch {}, @@ -19655,20 +18757,13 @@ pub mod api { ], ) } - #[doc = "As a member, vote on a candidate."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `candidate`: The candidate that the member would like to bid on."] - #[doc = "- `approve`: A boolean which says if the candidate should be approved (`true`) or"] - #[doc = " rejected (`false`)."] + #[doc = "See [`Pallet::vote`]."] pub fn vote( &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 }, @@ -19679,18 +18774,12 @@ pub mod api { ], ) } - #[doc = "As a member, vote on the defender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `approve`: A boolean which says if the candidate should be"] - #[doc = "approved (`true`) or rejected (`false`)."] + #[doc = "See [`Pallet::defender_vote`]."] 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 }, @@ -19702,18 +18791,9 @@ pub mod api { ], ) } - #[doc = "Transfer the first matured payout for the sender and remove it from the records."] - #[doc = ""] - #[doc = "NOTE: This extrinsic needs to be called multiple times to claim multiple matured"] - #[doc = "payouts."] - #[doc = ""] - #[doc = "Payment: The member will receive a payment equal to their first matured"] - #[doc = "payout to their free balance."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member with"] - #[doc = "payouts remaining."] - pub fn payout(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::payout`]."] + pub fn payout(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "payout", types::Payout {}, @@ -19724,13 +18804,12 @@ pub mod api { ], ) } - #[doc = "Repay the payment previously given to the member with the signed origin, remove any"] - #[doc = "pending payments, and elevate them from rank 0 to rank 1."] + #[doc = "See [`Pallet::waive_repay`]."] 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 }, @@ -19741,23 +18820,7 @@ pub mod api { ], ) } - #[doc = "Found the society."] - #[doc = ""] - #[doc = "This is done as a discrete action in order to allow for the"] - #[doc = "pallet to be included into a running chain and can only be done once."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be from the _FounderSetOrigin_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `founder` - The first member and head of the newly founded society."] - #[doc = "- `max_members` - The initial max number of members for the society."] - #[doc = "- `max_intake` - The maximum number of candidates per intake period."] - #[doc = "- `max_strikes`: The maximum number of strikes a member may get before they become"] - #[doc = " suspended and may only be reinstated by the founder."] - #[doc = "- `candidate_deposit`: The deposit required to make a bid for membership of the group."] - #[doc = "- `rules` - The rules of this society concerning membership."] - #[doc = ""] - #[doc = "Complexity: O(1)"] + #[doc = "See [`Pallet::found_society`]."] pub fn found_society( &self, founder: types::found_society::Founder, @@ -19766,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 { @@ -19786,13 +18849,9 @@ pub mod api { ], ) } - #[doc = "Dissolve the society and remove all members."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed, and the signing account must be both"] - #[doc = "the `Founder` and the `Head`. This implies that it may only be done when there is one"] - #[doc = "member."] - pub fn dissolve(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::dissolve`]."] + pub fn dissolve(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "dissolve", types::Dissolve {}, @@ -19804,26 +18863,14 @@ pub mod api { ], ) } - #[doc = "Allow suspension judgement origin to make judgement on a suspended member."] - #[doc = ""] - #[doc = "If a suspended member is forgiven, we simply add them back as a member, not affecting"] - #[doc = "any of the existing storage items for that member."] - #[doc = ""] - #[doc = "If a suspended member is rejected, remove all associated storage items, including"] - #[doc = "their payouts, and remove any vouched bids they currently have."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed from the Founder."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who` - The suspended member to be judged."] - #[doc = "- `forgive` - A boolean representing whether the suspension judgement origin forgives"] - #[doc = " (`true`) or rejects (`false`) a suspended member."] + #[doc = "See [`Pallet::judge_suspended_member`]."] pub fn judge_suspended_member( &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 }, @@ -19834,26 +18881,15 @@ pub mod api { ], ) } - #[doc = "Change the maximum number of members in society and the maximum number of new candidates"] - #[doc = "in a single intake period."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed by the Founder."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `max_members` - The maximum number of members for the society. This must be no less"] - #[doc = " than the current number of members."] - #[doc = "- `max_intake` - The maximum number of candidates per intake period."] - #[doc = "- `max_strikes`: The maximum number of strikes a member may get before they become"] - #[doc = " suspended and may only be reinstated by the founder."] - #[doc = "- `candidate_deposit`: The deposit required to make a bid for membership of the group."] + #[doc = "See [`Pallet::set_parameters`]."] pub fn set_parameters( &self, max_members: types::set_parameters::MaxMembers, 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 { @@ -19870,10 +18906,11 @@ pub mod api { ], ) } - #[doc = "Punish the skeptic with a strike if they did not vote on a candidate. Callable by the"] - #[doc = "candidate."] - pub fn punish_skeptic(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::punish_skeptic`]."] + pub fn punish_skeptic( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "punish_skeptic", types::PunishSkeptic {}, @@ -19885,10 +18922,11 @@ pub mod api { ], ) } - #[doc = "Transform an approved candidate into a member. Callable only by the"] - #[doc = "the candidate, and only after the period for voting has ended."] - pub fn claim_membership(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::claim_membership`]."] + pub fn claim_membership( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "claim_membership", types::ClaimMembership {}, @@ -19899,14 +18937,13 @@ pub mod api { ], ) } - #[doc = "Transform an approved candidate into a member. Callable only by the Signed origin of the"] - #[doc = "Founder, only after the period for voting has ended and only when the candidate is not"] - #[doc = "clearly rejected."] + #[doc = "See [`Pallet::bestow_membership`]."] 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 }, @@ -19917,16 +18954,12 @@ pub mod api { ], ) } - #[doc = "Remove the candidate's application from the society. Callable only by the Signed origin"] - #[doc = "of the Founder, only after the period for voting has ended, and only when they do not"] - #[doc = "have a clear approval."] - #[doc = ""] - #[doc = "Any bid deposit is lost and voucher is banned."] + #[doc = "See [`Pallet::kick_candidate`]."] 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 }, @@ -19937,11 +18970,11 @@ pub mod api { ], ) } - #[doc = "Remove the candidate's application from the society. Callable only by the candidate."] - #[doc = ""] - #[doc = "Any bid deposit is lost and voucher is banned."] - pub fn resign_candidacy(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::resign_candidacy`]."] + pub fn resign_candidacy( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "resign_candidacy", types::ResignCandidacy {}, @@ -19953,16 +18986,12 @@ pub mod api { ], ) } - #[doc = "Remove a `candidate`'s failed application from the society. Callable by any"] - #[doc = "signed origin but only at the end of the subsequent round and only for"] - #[doc = "a candidate with more rejections than approvals."] - #[doc = ""] - #[doc = "The bid deposit is lost and the voucher is banned."] + #[doc = "See [`Pallet::drop_candidate`]."] 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 }, @@ -19973,15 +19002,14 @@ pub mod api { ], ) } - #[doc = "Remove up to `max` stale votes for the given `candidate`."] - #[doc = ""] - #[doc = "May be called by any Signed origin, but only after the candidate's candidacy is ended."] + #[doc = "See [`Pallet::cleanup_candidacy`]."] pub fn cleanup_candidacy( &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 }, @@ -19993,15 +19021,14 @@ pub mod api { ], ) } - #[doc = "Remove up to `max` stale votes for the defender in the given `challenge_round`."] - #[doc = ""] - #[doc = "May be called by any Signed origin, but only after the challenge round is ended."] + #[doc = "See [`Pallet::cleanup_challenge`]."] pub fn cleanup_challenge( &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 { @@ -20023,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 { @@ -20062,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 { @@ -20088,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 { @@ -20180,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, @@ -20204,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, @@ -20295,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, @@ -20320,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, @@ -20346,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, @@ -20390,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, @@ -20411,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"; } @@ -20434,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; @@ -20466,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; @@ -20480,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, >, >; @@ -20490,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, >; } @@ -20527,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, ); } @@ -20536,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; @@ -20544,14 +19573,14 @@ pub mod api { #[doc = " The max number of members for the society at one time."] pub fn parameters( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20566,14 +19595,14 @@ 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::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", (), @@ -20587,14 +19616,14 @@ pub mod api { #[doc = " The first member."] pub fn founder( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20608,14 +19637,14 @@ 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::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", (), @@ -20630,14 +19659,14 @@ pub mod api { #[doc = " only by the founder."] pub fn rules( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20652,14 +19681,14 @@ pub mod api { #[doc = " The current members and their rank. Doesn't include `SuspendedMembers`."] pub fn members_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20673,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -20695,14 +19728,14 @@ pub mod api { #[doc = " Information regarding rank-0 payouts, past and future."] pub fn payouts_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20716,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -20738,14 +19775,14 @@ 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::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", (), @@ -20761,14 +19798,14 @@ pub mod api { #[doc = " `0..MemberCount` (does not include `MemberCount`)."] pub fn member_by_index_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20784,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -20807,14 +19848,14 @@ 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::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", (), @@ -20829,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -20852,14 +19897,14 @@ pub mod api { #[doc = " The number of rounds which have passed."] pub fn round_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20874,14 +19919,14 @@ pub mod api { #[doc = " The current bids, stored ordered by the value of the bid."] pub fn bids( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20894,14 +19939,14 @@ pub mod api { } pub fn candidates_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20914,18 +19959,22 @@ pub mod api { } pub fn candidates( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -20936,14 +19985,14 @@ pub mod api { #[doc = " The current skeptic."] pub fn skeptic( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20958,14 +20007,14 @@ pub mod api { #[doc = " Double map from Candidate -> Voter -> (Maybe) Vote."] pub fn votes_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -20980,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -21003,24 +20056,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -21033,14 +20094,14 @@ 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::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", (), @@ -21055,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -21080,14 +20145,14 @@ pub mod api { #[doc = " become the new `Head`."] pub fn next_head( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -21101,14 +20166,14 @@ 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::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", (), @@ -21122,14 +20187,14 @@ 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::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", (), @@ -21143,14 +20208,14 @@ pub mod api { #[doc = " Votes for the defender, keyed by challenge round."] pub fn defender_votes_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -21165,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -21188,24 +20257,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -21224,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", [ @@ -21237,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", [ @@ -21250,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", [ @@ -21263,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", [ @@ -21277,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", [ @@ -21292,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", [ @@ -21307,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", [ @@ -21320,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", [ @@ -21333,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", [ @@ -21362,95 +20460,85 @@ 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")] - #[doc = "Send a call through a recovered account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and registered to"] - #[doc = "be able to make calls on behalf of the recovered account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The recovered account you want to make a call on-behalf-of."] - #[doc = "- `call`: The call you want to make with the recovered account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Allow ROOT to bypass the recovery process and set an a rescuer account"] - #[doc = "for a lost account directly."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _ROOT_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `lost`: The \"lost account\" to be recovered."] - #[doc = "- `rescuer`: The \"rescuer account\" which can call as the lost account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub rescuer: set_recovered::Rescuer, } 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")] - #[doc = "Create a recovery configuration for your account. This makes your account recoverable."] - #[doc = ""] - #[doc = "Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance"] - #[doc = "will be reserved for storing the recovery configuration. This deposit is returned"] - #[doc = "in full when the user calls `remove_recovery`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `friends`: A list of friends you trust to vouch for recovery attempts. Should be"] - #[doc = " ordered and contain no duplicate values."] - #[doc = "- `threshold`: The number of friends that must vouch for a recovery attempt before the"] - #[doc = " account can be recovered. Should be less than or equal to the length of the list of"] - #[doc = " friends."] - #[doc = "- `delay_period`: The number of blocks after a recovery attempt is initialized that"] - #[doc = " needs to pass before the account can be recovered."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub threshold: create_recovery::Threshold, @@ -21458,247 +20546,217 @@ 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")] - #[doc = "Initiate the process for recovering a recoverable account."] - #[doc = ""] - #[doc = "Payment: `RecoveryDeposit` balance will be reserved for initiating the"] - #[doc = "recovery process. This deposit will always be repatriated to the account"] - #[doc = "trying to be recovered. See `close_recovery`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The lost account that you want to recover. This account needs to be"] - #[doc = " recoverable (i.e. have a recovery configuration)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Allow a \"friend\" of a recoverable account to vouch for an active recovery"] - #[doc = "process for that account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a \"friend\""] - #[doc = "for the recoverable account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `lost`: The lost account that you want to recover."] - #[doc = "- `rescuer`: The account trying to rescue the lost account that you want to vouch for."] - #[doc = ""] - #[doc = "The combination of these two parameters must point to an active recovery"] - #[doc = "process."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub rescuer: vouch_recovery::Rescuer, } 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")] - #[doc = "Allow a successful rescuer to claim their recovered account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a \"rescuer\""] - #[doc = "who has successfully completed the account recovery process: collected"] - #[doc = "`threshold` or more vouches, waited `delay_period` blocks since initiation."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The lost account that you want to claim has been successfully recovered by"] - #[doc = " you."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "As the controller of a recoverable account, close an active recovery"] - #[doc = "process for your account."] - #[doc = ""] - #[doc = "Payment: By calling this function, the recoverable account will receive"] - #[doc = "the recovery deposit `RecoveryDeposit` placed by the rescuer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a"] - #[doc = "recoverable account with an active recovery process for it."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `rescuer`: The account trying to rescue this recoverable account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Remove the recovery process for your account. Recovered accounts are still accessible."] - #[doc = ""] - #[doc = "NOTE: The user must make sure to call `close_recovery` on all active"] - #[doc = "recovery attempts before calling this function else it will fail."] - #[doc = ""] - #[doc = "Payment: By calling this function the recoverable account will unreserve"] - #[doc = "their recovery configuration deposit."] - #[doc = "(`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)"] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a"] - #[doc = "recoverable account (i.e. has a recovery configuration)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Cancel the ability to use `as_recovered` for `account`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and registered to"] - #[doc = "be able to make calls on behalf of the recovered account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The recovered account you are able to call on-behalf-of."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Send a call through a recovered account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and registered to"] - #[doc = "be able to make calls on behalf of the recovered account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The recovered account you want to make a call on-behalf-of."] - #[doc = "- `call`: The call you want to make with the recovered account."] + #[doc = "See [`Pallet::as_recovered`]."] pub fn as_recovered( &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), }, [ - 135u8, 12u8, 48u8, 186u8, 171u8, 82u8, 254u8, 243u8, 245u8, 181u8, - 120u8, 28u8, 237u8, 197u8, 36u8, 204u8, 118u8, 98u8, 112u8, 129u8, - 95u8, 226u8, 68u8, 252u8, 55u8, 72u8, 164u8, 40u8, 121u8, 195u8, 128u8, - 12u8, + 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, ], ) } - #[doc = "Allow ROOT to bypass the recovery process and set an a rescuer account"] - #[doc = "for a lost account directly."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _ROOT_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `lost`: The \"lost account\" to be recovered."] - #[doc = "- `rescuer`: The \"rescuer account\" which can call as the lost account."] + #[doc = "See [`Pallet::set_recovered`]."] pub fn set_recovered( &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 }, @@ -21709,29 +20767,14 @@ pub mod api { ], ) } - #[doc = "Create a recovery configuration for your account. This makes your account recoverable."] - #[doc = ""] - #[doc = "Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance"] - #[doc = "will be reserved for storing the recovery configuration. This deposit is returned"] - #[doc = "in full when the user calls `remove_recovery`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `friends`: A list of friends you trust to vouch for recovery attempts. Should be"] - #[doc = " ordered and contain no duplicate values."] - #[doc = "- `threshold`: The number of friends that must vouch for a recovery attempt before the"] - #[doc = " account can be recovered. Should be less than or equal to the length of the list of"] - #[doc = " friends."] - #[doc = "- `delay_period`: The number of blocks after a recovery attempt is initialized that"] - #[doc = " needs to pass before the account can be recovered."] + #[doc = "See [`Pallet::create_recovery`]."] pub fn create_recovery( &self, 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 { @@ -21746,22 +20789,13 @@ pub mod api { ], ) } - #[doc = "Initiate the process for recovering a recoverable account."] - #[doc = ""] - #[doc = "Payment: `RecoveryDeposit` balance will be reserved for initiating the"] - #[doc = "recovery process. This deposit will always be repatriated to the account"] - #[doc = "trying to be recovered. See `close_recovery`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The lost account that you want to recover. This account needs to be"] - #[doc = " recoverable (i.e. have a recovery configuration)."] + #[doc = "See [`Pallet::initiate_recovery`]."] 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 }, @@ -21772,24 +20806,13 @@ pub mod api { ], ) } - #[doc = "Allow a \"friend\" of a recoverable account to vouch for an active recovery"] - #[doc = "process for that account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a \"friend\""] - #[doc = "for the recoverable account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `lost`: The lost account that you want to recover."] - #[doc = "- `rescuer`: The account trying to rescue the lost account that you want to vouch for."] - #[doc = ""] - #[doc = "The combination of these two parameters must point to an active recovery"] - #[doc = "process."] + #[doc = "See [`Pallet::vouch_recovery`]."] pub fn vouch_recovery( &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 }, @@ -21800,20 +20823,12 @@ pub mod api { ], ) } - #[doc = "Allow a successful rescuer to claim their recovered account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a \"rescuer\""] - #[doc = "who has successfully completed the account recovery process: collected"] - #[doc = "`threshold` or more vouches, waited `delay_period` blocks since initiation."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The lost account that you want to claim has been successfully recovered by"] - #[doc = " you."] + #[doc = "See [`Pallet::claim_recovery`]."] 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 }, @@ -21825,22 +20840,12 @@ pub mod api { ], ) } - #[doc = "As the controller of a recoverable account, close an active recovery"] - #[doc = "process for your account."] - #[doc = ""] - #[doc = "Payment: By calling this function, the recoverable account will receive"] - #[doc = "the recovery deposit `RecoveryDeposit` placed by the rescuer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a"] - #[doc = "recoverable account with an active recovery process for it."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `rescuer`: The account trying to rescue this recoverable account."] + #[doc = "See [`Pallet::close_recovery`]."] 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 }, @@ -21852,19 +20857,11 @@ pub mod api { ], ) } - #[doc = "Remove the recovery process for your account. Recovered accounts are still accessible."] - #[doc = ""] - #[doc = "NOTE: The user must make sure to call `close_recovery` on all active"] - #[doc = "recovery attempts before calling this function else it will fail."] - #[doc = ""] - #[doc = "Payment: By calling this function the recoverable account will unreserve"] - #[doc = "their recovery configuration deposit."] - #[doc = "(`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)"] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a"] - #[doc = "recoverable account (i.e. has a recovery configuration)."] - pub fn remove_recovery(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::remove_recovery`]."] + pub fn remove_recovery( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "remove_recovery", types::RemoveRecovery {}, @@ -21876,18 +20873,12 @@ pub mod api { ], ) } - #[doc = "Cancel the ability to use `as_recovered` for `account`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and registered to"] - #[doc = "be able to make calls on behalf of the recovered account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The recovered account you are able to call on-behalf-of."] + #[doc = "See [`Pallet::cancel_recovered`]."] 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 }, @@ -21906,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, @@ -21944,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, @@ -21969,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, @@ -21994,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, @@ -22018,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"; } @@ -22057,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; @@ -22086,14 +21077,14 @@ pub mod api { #[doc = " The set of recoverable accounts and their recovery configuration."] pub fn recoverable_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -22107,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -22132,14 +21127,14 @@ pub mod api { #[doc = " is the user trying to recover the account."] pub fn active_recoveries_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -22157,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -22183,28 +21182,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::active_recoveries::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -22219,14 +21222,14 @@ 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::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", (), @@ -22242,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -22273,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", [ @@ -22291,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", [ @@ -22308,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", [ @@ -22329,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", [ @@ -22357,124 +21370,103 @@ 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")] - #[doc = "Unlock any vested funds of the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have funds still"] - #[doc = "locked under this pallet."] - #[doc = ""] - #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[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")] - #[doc = "Unlock any vested funds of a `target` account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account whose vested funds should be unlocked. Must have funds still"] - #[doc = "locked under this pallet."] - #[doc = ""] - #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[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")] - #[doc = "Create a vested transfer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account receiving the vested funds."] - #[doc = "- `schedule`: The vesting schedule attached to the transfer."] - #[doc = ""] - #[doc = "Emits `VestingCreated`."] - #[doc = ""] - #[doc = "NOTE: This will unlock all schedules through the current block."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[doc = "See [`Pallet::vested_transfer`]."] pub struct VestedTransfer { pub target: vested_transfer::Target, pub schedule: vested_transfer::Schedule, } 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")] - #[doc = "Force a vested transfer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `source`: The account whose funds should be transferred."] - #[doc = "- `target`: The account that should be transferred the vested funds."] - #[doc = "- `schedule`: The vesting schedule attached to the transfer."] - #[doc = ""] - #[doc = "Emits `VestingCreated`."] - #[doc = ""] - #[doc = "NOTE: This will unlock all schedules through the current block."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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" + )] + #[doc = "See [`Pallet::force_vested_transfer`]."] pub struct ForceVestedTransfer { pub source: force_vested_transfer::Source, pub target: force_vested_transfer::Target, @@ -22482,48 +21474,38 @@ 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")] - #[doc = "Merge two vesting schedules together, creating a new vesting schedule that unlocks over"] - #[doc = "the highest possible start and end blocks. If both schedules have already started the"] - #[doc = "current block will be used as the schedule start; with the caveat that if one schedule"] - #[doc = "is finished by the current block, the other will be treated as the new merged schedule,"] - #[doc = "unmodified."] - #[doc = ""] - #[doc = "NOTE: If `schedule1_index == schedule2_index` this is a no-op."] - #[doc = "NOTE: This will unlock all schedules through the current block prior to merging."] - #[doc = "NOTE: If both schedules have ended by the current block, no new schedule will be created"] - #[doc = "and both will be removed."] - #[doc = ""] - #[doc = "Merged schedule attributes:"] - #[doc = "- `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,"] - #[doc = " current_block)`."] - #[doc = "- `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`."] - #[doc = "- `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `schedule1_index`: index of the first schedule to merge."] - #[doc = "- `schedule2_index`: index of the second schedule to merge."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub schedule2_index: merge_schedules::Schedule2Index, @@ -22533,53 +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 = "Force remove a vesting schedule"] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `target`: An account that has a vesting schedule"] - #[doc = "- `schedule_index`: The vesting schedule index that should be removed"] - 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 = "Unlock any vested funds of the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have funds still"] - #[doc = "locked under this pallet."] - #[doc = ""] - #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] - pub fn vest(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::vest`]."] + pub fn vest(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Vesting", "vest", types::Vest {}, @@ -22591,22 +21536,12 @@ pub mod api { ], ) } - #[doc = "Unlock any vested funds of a `target` account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account whose vested funds should be unlocked. Must have funds still"] - #[doc = "locked under this pallet."] - #[doc = ""] - #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::vest_other`]."] 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 }, @@ -22617,25 +21552,13 @@ pub mod api { ], ) } - #[doc = "Create a vested transfer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account receiving the vested funds."] - #[doc = "- `schedule`: The vesting schedule attached to the transfer."] - #[doc = ""] - #[doc = "Emits `VestingCreated`."] - #[doc = ""] - #[doc = "NOTE: This will unlock all schedules through the current block."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::vested_transfer`]."] pub fn vested_transfer( &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 }, @@ -22646,27 +21569,15 @@ pub mod api { ], ) } - #[doc = "Force a vested transfer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `source`: The account whose funds should be transferred."] - #[doc = "- `target`: The account that should be transferred the vested funds."] - #[doc = "- `schedule`: The vesting schedule attached to the transfer."] - #[doc = ""] - #[doc = "Emits `VestingCreated`."] - #[doc = ""] - #[doc = "NOTE: This will unlock all schedules through the current block."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::force_vested_transfer`]."] pub fn force_vested_transfer( &self, 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 { @@ -22682,33 +21593,13 @@ pub mod api { ], ) } - #[doc = "Merge two vesting schedules together, creating a new vesting schedule that unlocks over"] - #[doc = "the highest possible start and end blocks. If both schedules have already started the"] - #[doc = "current block will be used as the schedule start; with the caveat that if one schedule"] - #[doc = "is finished by the current block, the other will be treated as the new merged schedule,"] - #[doc = "unmodified."] - #[doc = ""] - #[doc = "NOTE: If `schedule1_index == schedule2_index` this is a no-op."] - #[doc = "NOTE: This will unlock all schedules through the current block prior to merging."] - #[doc = "NOTE: If both schedules have ended by the current block, no new schedule will be created"] - #[doc = "and both will be removed."] - #[doc = ""] - #[doc = "Merged schedule attributes:"] - #[doc = "- `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,"] - #[doc = " current_block)`."] - #[doc = "- `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`."] - #[doc = "- `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `schedule1_index`: index of the first schedule to merge."] - #[doc = "- `schedule2_index`: index of the second schedule to merge."] + #[doc = "See [`Pallet::merge_schedules`]."] pub fn merge_schedules( &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 { @@ -22722,31 +21613,6 @@ pub mod api { ], ) } - #[doc = "Force remove a vesting schedule"] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `target`: An account that has a vesting schedule"] - #[doc = "- `schedule_index`: The vesting schedule index that should be removed"] - 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"] @@ -22754,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 { @@ -22771,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"; } @@ -22807,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; @@ -22825,14 +21692,14 @@ pub mod api { #[doc = " Information regarding the vesting of a given account."] pub fn vesting_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -22847,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -22872,14 +21743,14 @@ 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::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", (), @@ -22899,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", [ @@ -22912,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", [ @@ -22941,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")] - #[doc = "Anonymously schedule a task."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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; @@ -22965,21 +21842,25 @@ 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")] - #[doc = "Cancel an anonymously scheduled task."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub index: cancel::Index, @@ -22989,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")] - #[doc = "Schedule a named task."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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; @@ -23020,21 +21905,25 @@ 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")] - #[doc = "Cancel a named scheduled task."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -23042,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")] - #[doc = "Anonymously schedule a task after a delay."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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; @@ -23071,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")] - #[doc = "Schedule a named task after a delay."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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; @@ -23102,163 +22000,45 @@ 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"; } - #[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 = "Set a retry configuration for a task so that, in case its scheduled run fails, it will"] - #[doc = "be retried after `period` blocks, for a total amount of `retries` retries or until it"] - #[doc = "succeeds."] - #[doc = ""] - #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] - #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] - #[doc = "normally while the task is retrying."] - #[doc = ""] - #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] - #[doc = "clones of the original task. Their retry configuration will be derived from the"] - #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] - #[doc = "original `total_retries`."] - pub struct SetRetry { - pub task: set_retry::Task, - pub retries: set_retry::Retries, - pub period: set_retry::Period, - } - pub mod set_retry { - use super::runtime_types; - pub type Task = (::core::primitive::u32, ::core::primitive::u32); - pub type Retries = ::core::primitive::u8; - pub type Period = ::core::primitive::u32; - } - impl ::subxt::blocks::StaticExtrinsic for SetRetry { - const PALLET: &'static str = "Scheduler"; - const CALL: &'static str = "set_retry"; - } - #[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 = "Set a retry configuration for a named task so that, in case its scheduled run fails, it"] - #[doc = "will be retried after `period` blocks, for a total amount of `retries` retries or until"] - #[doc = "it succeeds."] - #[doc = ""] - #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] - #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] - #[doc = "normally while the task is retrying."] - #[doc = ""] - #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] - #[doc = "clones of the original task. Their retry configuration will be derived from the"] - #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] - #[doc = "original `total_retries`."] - pub struct SetRetryNamed { - pub id: set_retry_named::Id, - pub retries: set_retry_named::Retries, - pub period: set_retry_named::Period, - } - pub mod set_retry_named { - use super::runtime_types; - pub type Id = [::core::primitive::u8; 32usize]; - pub type Retries = ::core::primitive::u8; - pub type Period = ::core::primitive::u32; - } - impl ::subxt::blocks::StaticExtrinsic for SetRetryNamed { - const PALLET: &'static str = "Scheduler"; - const CALL: &'static str = "set_retry_named"; - } - #[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 = "Removes the retry configuration of a task."] - pub struct CancelRetry { - pub task: cancel_retry::Task, - } - pub mod cancel_retry { - use super::runtime_types; - pub type Task = (::core::primitive::u32, ::core::primitive::u32); - } - impl ::subxt::blocks::StaticExtrinsic for CancelRetry { - const PALLET: &'static str = "Scheduler"; - const CALL: &'static str = "cancel_retry"; - } - #[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 = "Cancel the retry configuration of a named task."] - pub struct CancelRetryNamed { - pub id: cancel_retry_named::Id, - } - pub mod cancel_retry_named { - use super::runtime_types; - pub type Id = [::core::primitive::u8; 32usize]; - } - impl ::subxt::blocks::StaticExtrinsic for CancelRetryNamed { - const PALLET: &'static str = "Scheduler"; - const CALL: &'static str = "cancel_retry_named"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Anonymously schedule a task."] + #[doc = "See [`Pallet::schedule`]."] pub fn schedule( &self, when: types::schedule::When, 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), }, [ - 177u8, 175u8, 49u8, 206u8, 0u8, 101u8, 223u8, 105u8, 237u8, 222u8, - 54u8, 201u8, 142u8, 85u8, 208u8, 239u8, 149u8, 209u8, 97u8, 72u8, - 126u8, 225u8, 10u8, 235u8, 26u8, 223u8, 197u8, 153u8, 19u8, 254u8, - 251u8, 181u8, + 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, ], ) } - #[doc = "Cancel an anonymously scheduled task."] + #[doc = "See [`Pallet::cancel`]."] pub fn cancel( &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 }, @@ -23270,7 +22050,7 @@ pub mod api { ], ) } - #[doc = "Schedule a named task."] + #[doc = "See [`Pallet::schedule_named`]."] pub fn schedule_named( &self, id: types::schedule_named::Id, @@ -23278,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 { @@ -23287,21 +22067,22 @@ pub mod api { when, maybe_periodic, priority, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 164u8, 136u8, 103u8, 178u8, 45u8, 181u8, 133u8, 195u8, 92u8, 93u8, - 198u8, 193u8, 65u8, 15u8, 156u8, 206u8, 69u8, 50u8, 50u8, 34u8, 150u8, - 94u8, 181u8, 111u8, 219u8, 127u8, 86u8, 122u8, 36u8, 186u8, 21u8, 35u8, + 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, ], ) } - #[doc = "Cancel a named scheduled task."] + #[doc = "See [`Pallet::cancel_named`]."] 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 }, @@ -23312,32 +22093,31 @@ pub mod api { ], ) } - #[doc = "Anonymously schedule a task after a delay."] + #[doc = "See [`Pallet::schedule_after`]."] pub fn schedule_after( &self, after: types::schedule_after::After, 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), }, [ - 236u8, 195u8, 150u8, 165u8, 194u8, 42u8, 187u8, 43u8, 80u8, 229u8, - 221u8, 146u8, 56u8, 125u8, 199u8, 212u8, 10u8, 2u8, 2u8, 207u8, 195u8, - 54u8, 38u8, 59u8, 193u8, 239u8, 195u8, 150u8, 161u8, 29u8, 113u8, - 225u8, + 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, ], ) } - #[doc = "Schedule a named task after a delay."] + #[doc = "See [`Pallet::schedule_named_after`]."] pub fn schedule_named_after( &self, id: types::schedule_named_after::Id, @@ -23345,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 { @@ -23354,113 +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), }, [ - 28u8, 81u8, 177u8, 155u8, 39u8, 10u8, 188u8, 144u8, 52u8, 208u8, 6u8, - 205u8, 122u8, 255u8, 38u8, 105u8, 171u8, 234u8, 58u8, 224u8, 86u8, - 188u8, 53u8, 177u8, 113u8, 155u8, 54u8, 237u8, 214u8, 10u8, 140u8, - 245u8, - ], - ) - } - #[doc = "Set a retry configuration for a task so that, in case its scheduled run fails, it will"] - #[doc = "be retried after `period` blocks, for a total amount of `retries` retries or until it"] - #[doc = "succeeds."] - #[doc = ""] - #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] - #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] - #[doc = "normally while the task is retrying."] - #[doc = ""] - #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] - #[doc = "clones of the original task. Their retry configuration will be derived from the"] - #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] - #[doc = "original `total_retries`."] - pub fn set_retry( - &self, - task: types::set_retry::Task, - retries: types::set_retry::Retries, - period: types::set_retry::Period, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Scheduler", - "set_retry", - types::SetRetry { - task, - retries, - period, - }, - [ - 2u8, 242u8, 180u8, 69u8, 237u8, 168u8, 243u8, 93u8, 47u8, 222u8, 189u8, - 74u8, 233u8, 106u8, 54u8, 40u8, 160u8, 61u8, 78u8, 138u8, 232u8, 20u8, - 243u8, 17u8, 151u8, 194u8, 67u8, 200u8, 186u8, 192u8, 210u8, 214u8, - ], - ) - } - #[doc = "Set a retry configuration for a named task so that, in case its scheduled run fails, it"] - #[doc = "will be retried after `period` blocks, for a total amount of `retries` retries or until"] - #[doc = "it succeeds."] - #[doc = ""] - #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] - #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] - #[doc = "normally while the task is retrying."] - #[doc = ""] - #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] - #[doc = "clones of the original task. Their retry configuration will be derived from the"] - #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] - #[doc = "original `total_retries`."] - pub fn set_retry_named( - &self, - id: types::set_retry_named::Id, - retries: types::set_retry_named::Retries, - period: types::set_retry_named::Period, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Scheduler", - "set_retry_named", - types::SetRetryNamed { - id, - retries, - period, - }, - [ - 240u8, 102u8, 255u8, 253u8, 52u8, 81u8, 164u8, 170u8, 184u8, 178u8, - 254u8, 126u8, 41u8, 247u8, 121u8, 22u8, 254u8, 136u8, 237u8, 37u8, - 11u8, 42u8, 227u8, 234u8, 132u8, 83u8, 109u8, 168u8, 31u8, 44u8, 231u8, - 70u8, - ], - ) - } - #[doc = "Removes the retry configuration of a task."] - pub fn cancel_retry( - &self, - task: types::cancel_retry::Task, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Scheduler", - "cancel_retry", - types::CancelRetry { task }, - [ - 142u8, 126u8, 127u8, 216u8, 64u8, 189u8, 42u8, 126u8, 63u8, 249u8, - 211u8, 202u8, 224u8, 197u8, 199u8, 240u8, 58u8, 94u8, 219u8, 177u8, - 20u8, 210u8, 153u8, 0u8, 127u8, 255u8, 235u8, 238u8, 170u8, 240u8, - 44u8, 49u8, - ], - ) - } - #[doc = "Cancel the retry configuration of a named task."] - pub fn cancel_retry_named( - &self, - id: types::cancel_retry_named::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Scheduler", - "cancel_retry_named", - types::CancelRetryNamed { id }, - [ - 76u8, 157u8, 253u8, 113u8, 162u8, 54u8, 98u8, 21u8, 62u8, 44u8, 155u8, - 202u8, 2u8, 28u8, 153u8, 219u8, 67u8, 166u8, 206u8, 79u8, 139u8, 3u8, - 119u8, 182u8, 254u8, 134u8, 143u8, 121u8, 155u8, 220u8, 192u8, 209u8, + 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, ], ) } @@ -23471,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, @@ -23490,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, @@ -23514,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, @@ -23541,72 +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")] - #[doc = "Set a retry configuration for some task."] - pub struct RetrySet { - pub task: retry_set::Task, - pub id: retry_set::Id, - pub period: retry_set::Period, - pub retries: retry_set::Retries, - } - pub mod retry_set { - use super::runtime_types; - pub type Task = (::core::primitive::u32, ::core::primitive::u32); - pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; - pub type Period = ::core::primitive::u32; - pub type Retries = ::core::primitive::u8; - } - impl ::subxt::events::StaticEvent for RetrySet { - const PALLET: &'static str = "Scheduler"; - const EVENT: &'static str = "RetrySet"; - } - #[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 = "Cancel a retry configuration for some task."] - pub struct RetryCancelled { - pub task: retry_cancelled::Task, - pub id: retry_cancelled::Id, - } - pub mod retry_cancelled { - use super::runtime_types; - pub type Task = (::core::primitive::u32, ::core::primitive::u32); - pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; - } - impl ::subxt::events::StaticEvent for RetryCancelled { - const PALLET: &'static str = "Scheduler"; - const EVENT: &'static str = "RetryCancelled"; - } - #[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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -23617,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, @@ -23641,45 +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")] - #[doc = "The given task was unable to be retried since the agenda is full at that block or there"] - #[doc = "was not enough weight to reschedule it."] - pub struct RetryFailed { - pub task: retry_failed::Task, - pub id: retry_failed::Id, - } - pub mod retry_failed { - use super::runtime_types; - pub type Task = (::core::primitive::u32, ::core::primitive::u32); - pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; - } - impl ::subxt::events::StaticEvent for RetryFailed { - const PALLET: &'static str = "Scheduler"; - const EVENT: &'static str = "RetryFailed"; - } - #[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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -23690,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"; } @@ -23705,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], @@ -23715,19 +22318,12 @@ pub mod api { >, ::core::primitive::u32, runtime_types::rococo_runtime::OriginCaller, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, >; pub type Param0 = ::core::primitive::u32; } - pub mod retries { - use super::runtime_types; - pub type Retries = - runtime_types::pallet_scheduler::RetryConfig<::core::primitive::u32>; - pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::core::primitive::u32; - } pub mod lookup { use super::runtime_types; pub type Lookup = (::core::primitive::u32, ::core::primitive::u32); @@ -23738,14 +22334,14 @@ pub mod api { impl StorageApi { pub fn incomplete_since( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -23759,118 +22355,47 @@ 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::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", (), [ - 10u8, 123u8, 252u8, 106u8, 154u8, 9u8, 245u8, 203u8, 188u8, 254u8, - 20u8, 41u8, 6u8, 226u8, 78u8, 188u8, 0u8, 173u8, 143u8, 44u8, 117u8, - 249u8, 180u8, 13u8, 236u8, 224u8, 170u8, 202u8, 24u8, 3u8, 163u8, 37u8, + 247u8, 226u8, 115u8, 70u8, 172u8, 69u8, 26u8, 24u8, 46u8, 202u8, 118u8, + 250u8, 111u8, 236u8, 77u8, 255u8, 26u8, 125u8, 18u8, 8u8, 24u8, 230u8, + 222u8, 140u8, 179u8, 235u8, 19u8, 161u8, 40u8, 78u8, 26u8, 173u8, ], ) } #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - [ - 10u8, 123u8, 252u8, 106u8, 154u8, 9u8, 245u8, 203u8, 188u8, 254u8, - 20u8, 41u8, 6u8, 226u8, 78u8, 188u8, 0u8, 173u8, 143u8, 44u8, 117u8, - 249u8, 180u8, 13u8, 236u8, 224u8, 170u8, 202u8, 24u8, 3u8, 163u8, 37u8, - ], - ) - } - #[doc = " Retry configurations for items to be executed, indexed by task address."] - pub fn retries_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::retries::Retries, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "Scheduler", - "Retries", - (), - [ - 164u8, 27u8, 208u8, 185u8, 19u8, 232u8, 190u8, 97u8, 137u8, 73u8, - 146u8, 10u8, 241u8, 176u8, 251u8, 140u8, 133u8, 65u8, 190u8, 162u8, - 59u8, 32u8, 77u8, 201u8, 27u8, 78u8, 183u8, 164u8, 74u8, 46u8, 139u8, - 145u8, - ], - ) - } - #[doc = " Retry configurations for items to be executed, indexed by task address."] - pub fn retries_iter1( - &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, - types::retries::Retries, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "Scheduler", - "Retries", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - [ - 164u8, 27u8, 208u8, 185u8, 19u8, 232u8, 190u8, 97u8, 137u8, 73u8, - 146u8, 10u8, 241u8, 176u8, 251u8, 140u8, 133u8, 65u8, 190u8, 162u8, - 59u8, 32u8, 77u8, 201u8, 27u8, 78u8, 183u8, 164u8, 74u8, 46u8, 139u8, - 145u8, - ], - ) - } - #[doc = " Retry configurations for items to be executed, indexed by task address."] - pub fn retries( - &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, - ), - types::retries::Retries, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "Scheduler", - "Retries", - ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), ), [ - 164u8, 27u8, 208u8, 185u8, 19u8, 232u8, 190u8, 97u8, 137u8, 73u8, - 146u8, 10u8, 241u8, 176u8, 251u8, 140u8, 133u8, 65u8, 190u8, 162u8, - 59u8, 32u8, 77u8, 201u8, 27u8, 78u8, 183u8, 164u8, 74u8, 46u8, 139u8, - 145u8, + 247u8, 226u8, 115u8, 70u8, 172u8, 69u8, 26u8, 24u8, 46u8, 202u8, 118u8, + 250u8, 111u8, 236u8, 77u8, 255u8, 26u8, 125u8, 18u8, 8u8, 24u8, 230u8, + 222u8, 140u8, 179u8, 235u8, 19u8, 161u8, 40u8, 78u8, 26u8, 173u8, ], ) } @@ -23880,14 +22405,14 @@ pub mod api { #[doc = " identities."] pub fn lookup_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -23904,18 +22429,22 @@ pub mod api { #[doc = " identities."] pub fn lookup( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -23932,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", [ @@ -23952,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", [ @@ -23981,59 +22512,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")] - #[doc = "Dispatch the given `call` from an account that the sender is authorised for through"] - #[doc = "`add_proxy`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] - #[doc = "- `call`: The call to be made by the `real` account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Register a proxy account for the sender that is able to make calls on its behalf."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `proxy`: The account that the `caller` would like to make a proxy."] - #[doc = "- `proxy_type`: The permissions allowed for this proxy account."] - #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] - #[doc = "zero."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub proxy_type: add_proxy::ProxyType, @@ -24041,32 +22567,32 @@ 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")] - #[doc = "Unregister a proxy account for the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `proxy`: The account that the `caller` would like to remove as a proxy."] - #[doc = "- `proxy_type`: The permissions currently enabled for the removed proxy account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub proxy_type: remove_proxy::ProxyType, @@ -24074,64 +22600,52 @@ 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")] - #[doc = "Unregister all proxy accounts for the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "WARNING: This may be called on accounts created by `pure`, however if done, then"] - #[doc = "the unreserved fees will be inaccessible. **All access to this account will be lost.**"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and"] - #[doc = "initialize it with a proxy of `proxy_type` for `origin` sender."] - #[doc = ""] - #[doc = "Requires a `Signed` origin."] - #[doc = ""] - #[doc = "- `proxy_type`: The type of the proxy that the sender will be registered as over the"] - #[doc = "new account. This will almost always be the most permissive `ProxyType` possible to"] - #[doc = "allow for maximum flexibility."] - #[doc = "- `index`: A disambiguation index, in case this is called multiple times in the same"] - #[doc = "transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just"] - #[doc = "want to use `0`."] - #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] - #[doc = "zero."] - #[doc = ""] - #[doc = "Fails with `Duplicate` if this has already been called in this transaction, from the"] - #[doc = "same sender, with the same parameters."] - #[doc = ""] - #[doc = "Fails if there are insufficient funds to pay for deposit."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub delay: create_pure::Delay, @@ -24143,36 +22657,25 @@ 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")] - #[doc = "Removes a previously spawned pure proxy."] - #[doc = ""] - #[doc = "WARNING: **All access to this account will be lost.** Any funds held in it will be"] - #[doc = "inaccessible."] - #[doc = ""] - #[doc = "Requires a `Signed` origin, and the sender account must have been created by a call to"] - #[doc = "`pure` with corresponding parameters."] - #[doc = ""] - #[doc = "- `spawner`: The account that originally called `pure` to create this account."] - #[doc = "- `index`: The disambiguation index originally passed to `pure`. Probably `0`."] - #[doc = "- `proxy_type`: The proxy type originally passed to `pure`."] - #[doc = "- `height`: The height of the chain when the call to `pure` was processed."] - #[doc = "- `ext_index`: The extrinsic index in which the call to `pure` was processed."] - #[doc = ""] - #[doc = "Fails with `NoPermission` in case the caller is not a previously created pure"] - #[doc = "account whose `pure` call has corresponding parameters."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub proxy_type: kill_pure::ProxyType, @@ -24184,212 +22687,184 @@ 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")] - #[doc = "Publish the hash of a proxy-call that will be made in the future."] - #[doc = ""] - #[doc = "This must be called some number of blocks before the corresponding `proxy` is attempted"] - #[doc = "if the delay associated with the proxy relationship is greater than zero."] - #[doc = ""] - #[doc = "No more than `MaxPending` announcements may be made at any one time."] - #[doc = ""] - #[doc = "This will take a deposit of `AnnouncementDepositFactor` as well as"] - #[doc = "`AnnouncementDepositBase` if there are no other pending announcements."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a proxy of `real`."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub call_hash: announce::CallHash, } 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")] - #[doc = "Remove a given announcement."] - #[doc = ""] - #[doc = "May be called by a proxy account to remove a call they previously announced and return"] - #[doc = "the deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub call_hash: remove_announcement::CallHash, } 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")] - #[doc = "Remove the given announcement of a delegate."] - #[doc = ""] - #[doc = "May be called by a target (proxied) account to remove a call that one of their delegates"] - #[doc = "(`delegate`) has announced they want to execute. The deposit is returned."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `delegate`: The account that previously announced the call."] - #[doc = "- `call_hash`: The hash of the call to be made."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub call_hash: reject_announcement::CallHash, } 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")] - #[doc = "Dispatch the given `call` from an account that the sender is authorized for through"] - #[doc = "`add_proxy`."] - #[doc = ""] - #[doc = "Removes any corresponding announcement(s)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] - #[doc = "- `call`: The call to be made by the `real` account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Dispatch the given `call` from an account that the sender is authorised for through"] - #[doc = "`add_proxy`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] - #[doc = "- `call`: The call to be made by the `real` account."] + #[doc = "See [`Pallet::proxy`]."] pub fn proxy( &self, 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), }, [ - 253u8, 236u8, 54u8, 144u8, 19u8, 103u8, 190u8, 174u8, 231u8, 154u8, - 133u8, 175u8, 56u8, 44u8, 172u8, 25u8, 73u8, 196u8, 76u8, 61u8, 12u8, - 48u8, 245u8, 85u8, 187u8, 15u8, 111u8, 121u8, 91u8, 157u8, 111u8, - 141u8, + 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, ], ) } - #[doc = "Register a proxy account for the sender that is able to make calls on its behalf."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `proxy`: The account that the `caller` would like to make a proxy."] - #[doc = "- `proxy_type`: The permissions allowed for this proxy account."] - #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] - #[doc = "zero."] + #[doc = "See [`Pallet::add_proxy`]."] pub fn add_proxy( &self, 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 { @@ -24405,20 +22880,14 @@ pub mod api { ], ) } - #[doc = "Unregister a proxy account for the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `proxy`: The account that the `caller` would like to remove as a proxy."] - #[doc = "- `proxy_type`: The permissions currently enabled for the removed proxy account."] + #[doc = "See [`Pallet::remove_proxy`]."] pub fn remove_proxy( &self, 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 { @@ -24433,14 +22902,11 @@ pub mod api { ], ) } - #[doc = "Unregister all proxy accounts for the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "WARNING: This may be called on accounts created by `pure`, however if done, then"] - #[doc = "the unreserved fees will be inaccessible. **All access to this account will be lost.**"] - pub fn remove_proxies(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::remove_proxies`]."] + pub fn remove_proxies( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "remove_proxies", types::RemoveProxies {}, @@ -24452,31 +22918,14 @@ pub mod api { ], ) } - #[doc = "Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and"] - #[doc = "initialize it with a proxy of `proxy_type` for `origin` sender."] - #[doc = ""] - #[doc = "Requires a `Signed` origin."] - #[doc = ""] - #[doc = "- `proxy_type`: The type of the proxy that the sender will be registered as over the"] - #[doc = "new account. This will almost always be the most permissive `ProxyType` possible to"] - #[doc = "allow for maximum flexibility."] - #[doc = "- `index`: A disambiguation index, in case this is called multiple times in the same"] - #[doc = "transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just"] - #[doc = "want to use `0`."] - #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] - #[doc = "zero."] - #[doc = ""] - #[doc = "Fails with `Duplicate` if this has already been called in this transaction, from the"] - #[doc = "same sender, with the same parameters."] - #[doc = ""] - #[doc = "Fails if there are insufficient funds to pay for deposit."] + #[doc = "See [`Pallet::create_pure`]."] pub fn create_pure( &self, 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 { @@ -24491,22 +22940,7 @@ pub mod api { ], ) } - #[doc = "Removes a previously spawned pure proxy."] - #[doc = ""] - #[doc = "WARNING: **All access to this account will be lost.** Any funds held in it will be"] - #[doc = "inaccessible."] - #[doc = ""] - #[doc = "Requires a `Signed` origin, and the sender account must have been created by a call to"] - #[doc = "`pure` with corresponding parameters."] - #[doc = ""] - #[doc = "- `spawner`: The account that originally called `pure` to create this account."] - #[doc = "- `index`: The disambiguation index originally passed to `pure`. Probably `0`."] - #[doc = "- `proxy_type`: The proxy type originally passed to `pure`."] - #[doc = "- `height`: The height of the chain when the call to `pure` was processed."] - #[doc = "- `ext_index`: The extrinsic index in which the call to `pure` was processed."] - #[doc = ""] - #[doc = "Fails with `NoPermission` in case the caller is not a previously created pure"] - #[doc = "account whose `pure` call has corresponding parameters."] + #[doc = "See [`Pallet::kill_pure`]."] pub fn kill_pure( &self, spawner: types::kill_pure::Spawner, @@ -24514,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 { @@ -24532,27 +22966,13 @@ pub mod api { ], ) } - #[doc = "Publish the hash of a proxy-call that will be made in the future."] - #[doc = ""] - #[doc = "This must be called some number of blocks before the corresponding `proxy` is attempted"] - #[doc = "if the delay associated with the proxy relationship is greater than zero."] - #[doc = ""] - #[doc = "No more than `MaxPending` announcements may be made at any one time."] - #[doc = ""] - #[doc = "This will take a deposit of `AnnouncementDepositFactor` as well as"] - #[doc = "`AnnouncementDepositBase` if there are no other pending announcements."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a proxy of `real`."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] + #[doc = "See [`Pallet::announce`]."] pub fn announce( &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 }, @@ -24564,22 +22984,14 @@ pub mod api { ], ) } - #[doc = "Remove a given announcement."] - #[doc = ""] - #[doc = "May be called by a proxy account to remove a call they previously announced and return"] - #[doc = "the deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] + #[doc = "See [`Pallet::remove_announcement`]."] pub fn remove_announcement( &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 }, @@ -24590,22 +23002,14 @@ pub mod api { ], ) } - #[doc = "Remove the given announcement of a delegate."] - #[doc = ""] - #[doc = "May be called by a target (proxied) account to remove a call that one of their delegates"] - #[doc = "(`delegate`) has announced they want to execute. The deposit is returned."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `delegate`: The account that previously announced the call."] - #[doc = "- `call_hash`: The hash of the call to be made."] + #[doc = "See [`Pallet::reject_announcement`]."] pub fn reject_announcement( &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 { @@ -24619,37 +23023,27 @@ pub mod api { ], ) } - #[doc = "Dispatch the given `call` from an account that the sender is authorized for through"] - #[doc = "`add_proxy`."] - #[doc = ""] - #[doc = "Removes any corresponding announcement(s)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] - #[doc = "- `call`: The call to be made by the `real` account."] + #[doc = "See [`Pallet::proxy_announced`]."] pub fn proxy_announced( &self, delegate: types::proxy_announced::Delegate, 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), }, [ - 5u8, 32u8, 80u8, 204u8, 70u8, 82u8, 22u8, 142u8, 13u8, 189u8, 204u8, - 167u8, 157u8, 48u8, 49u8, 23u8, 27u8, 143u8, 159u8, 19u8, 22u8, 218u8, - 37u8, 32u8, 67u8, 24u8, 132u8, 157u8, 10u8, 176u8, 94u8, 69u8, + 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, ], ) } @@ -24660,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, @@ -24678,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 { @@ -24702,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, @@ -24729,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, @@ -24756,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, @@ -24784,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"; } @@ -24801,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; @@ -24833,14 +23227,14 @@ 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::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", (), @@ -24855,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -24877,14 +23275,14 @@ pub mod api { #[doc = " The announcements made by the proxy (key)."] pub fn announcements_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -24899,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -24931,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", [ @@ -24949,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", [ @@ -24961,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", [ @@ -24974,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", [ @@ -24992,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", [ @@ -25009,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", [ @@ -25037,150 +23449,89 @@ 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")] - #[doc = "Immediately dispatch a multi-signature call using a single approval from the caller."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `other_signatories`: The accounts (other than the sender) who are part of the"] - #[doc = "multi-signature, but do not participate in the approval process."] - #[doc = "- `call`: The call to be executed."] - #[doc = ""] - #[doc = "Result is equivalent to the dispatched result."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] - #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] - #[doc = ""] - #[doc = "If there are enough, then dispatch the call."] - #[doc = ""] - #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] - #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] - #[doc = "is cancelled."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] - #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] - #[doc = "transaction index) of the first approval transaction."] - #[doc = "- `call`: The call to be executed."] - #[doc = ""] - #[doc = "NOTE: Unless this is the final approval, you will generally want to use"] - #[doc = "`approve_as_multi` instead, since it only requires a hash of the call."] - #[doc = ""] - #[doc = "Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise"] - #[doc = "on success, result is `Ok` and the result from the interior call, if it was executed,"] - #[doc = "may be found in the deposited `MultisigExecuted` event."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S + Z + Call)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] - #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] - #[doc = "- One event."] - #[doc = "- The weight of the `call`."] - #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] - #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] - #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] - #[doc = ""] - #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] - #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] - #[doc = "is cancelled."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] - #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] - #[doc = "transaction index) of the first approval transaction."] - #[doc = "- `call_hash`: The hash of the call to be executed."] - #[doc = ""] - #[doc = "NOTE: If this is the final approval, you will want to use `as_multi` instead."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] - #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] - #[doc = "- One event."] - #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] - #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub other_signatories: approve_as_multi::OtherSignatories, @@ -25191,48 +23542,34 @@ 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")] - #[doc = "Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously"] - #[doc = "for this operation will be unreserved on success."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `timepoint`: The timepoint (block number and transaction index) of the first approval"] - #[doc = "transaction for this dispatch."] - #[doc = "- `call_hash`: The hash of the call to be executed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- One event."] - #[doc = "- I/O: 1 read `O(S)`, one remove."] - #[doc = "- Storage: removes one item."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub other_signatories: cancel_as_multi::OtherSignatories, @@ -25242,89 +23579,43 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Immediately dispatch a multi-signature call using a single approval from the caller."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `other_signatories`: The accounts (other than the sender) who are part of the"] - #[doc = "multi-signature, but do not participate in the approval process."] - #[doc = "- `call`: The call to be executed."] - #[doc = ""] - #[doc = "Result is equivalent to the dispatched result."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] + #[doc = "See [`Pallet::as_multi_threshold_1`]."] pub fn as_multi_threshold_1( &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), }, [ - 223u8, 197u8, 77u8, 59u8, 210u8, 4u8, 228u8, 221u8, 213u8, 150u8, - 108u8, 151u8, 213u8, 147u8, 174u8, 207u8, 142u8, 149u8, 68u8, 126u8, - 75u8, 188u8, 206u8, 13u8, 103u8, 43u8, 249u8, 8u8, 172u8, 151u8, 212u8, - 57u8, + 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, ], ) } - #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] - #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] - #[doc = ""] - #[doc = "If there are enough, then dispatch the call."] - #[doc = ""] - #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] - #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] - #[doc = "is cancelled."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] - #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] - #[doc = "transaction index) of the first approval transaction."] - #[doc = "- `call`: The call to be executed."] - #[doc = ""] - #[doc = "NOTE: Unless this is the final approval, you will generally want to use"] - #[doc = "`approve_as_multi` instead, since it only requires a hash of the call."] - #[doc = ""] - #[doc = "Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise"] - #[doc = "on success, result is `Ok` and the result from the interior call, if it was executed,"] - #[doc = "may be found in the deposited `MultisigExecuted` event."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S + Z + Call)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] - #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] - #[doc = "- One event."] - #[doc = "- The weight of the `call`."] - #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] - #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] + #[doc = "See [`Pallet::as_multi`]."] pub fn as_multi( &self, threshold: types::as_multi::Threshold, @@ -25332,55 +23623,26 @@ 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, }, [ - 185u8, 170u8, 191u8, 214u8, 209u8, 18u8, 122u8, 101u8, 51u8, 109u8, - 11u8, 192u8, 57u8, 170u8, 232u8, 162u8, 225u8, 99u8, 91u8, 218u8, 60u8, - 85u8, 159u8, 103u8, 150u8, 185u8, 158u8, 203u8, 228u8, 218u8, 164u8, - 63u8, + 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, ], ) } - #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] - #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] - #[doc = ""] - #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] - #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] - #[doc = "is cancelled."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] - #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] - #[doc = "transaction index) of the first approval transaction."] - #[doc = "- `call_hash`: The hash of the call to be executed."] - #[doc = ""] - #[doc = "NOTE: If this is the final approval, you will want to use `as_multi` instead."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] - #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] - #[doc = "- One event."] - #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] - #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] + #[doc = "See [`Pallet::approve_as_multi`]."] pub fn approve_as_multi( &self, threshold: types::approve_as_multi::Threshold, @@ -25388,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 { @@ -25406,35 +23668,15 @@ pub mod api { ], ) } - #[doc = "Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously"] - #[doc = "for this operation will be unreserved on success."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `timepoint`: The timepoint (block number and transaction index) of the first approval"] - #[doc = "transaction for this dispatch."] - #[doc = "- `call_hash`: The hash of the call to be executed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- One event."] - #[doc = "- I/O: 1 read `O(S)`, one remove."] - #[doc = "- Storage: removes one item."] + #[doc = "See [`Pallet::cancel_as_multi`]."] pub fn cancel_as_multi( &self, threshold: types::cancel_as_multi::Threshold, 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 { @@ -25457,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, @@ -25474,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, @@ -25501,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, @@ -25531,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, @@ -25562,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"; } @@ -25582,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]; } } @@ -25593,14 +23835,14 @@ pub mod api { #[doc = " The set of open multisig operations."] pub fn multisigs_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -25614,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -25636,24 +23882,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -25674,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", [ @@ -25690,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", [ @@ -25704,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", [ @@ -25733,142 +23992,147 @@ 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")] - #[doc = "Register a preimage on-chain."] - #[doc = ""] - #[doc = "If the preimage was previously requested, no fees or deposits are taken for providing"] - #[doc = "the preimage. Otherwise, a deposit is taken proportional to the size of the preimage."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Clear an unrequested preimage from the runtime storage."] - #[doc = ""] - #[doc = "If `len` is provided, then it will be a much cheaper operation."] - #[doc = ""] - #[doc = "- `hash`: The hash of the preimage to be removed from the store."] - #[doc = "- `len`: The length of the preimage of `hash`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Request a preimage be uploaded to the chain without paying any fees or deposits."] - #[doc = ""] - #[doc = "If the preimage requests has already been provided on-chain, we unreserve any deposit"] - #[doc = "a user may have paid, and take the control of the preimage out of their hands."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Clear a previously made request for a preimage."] - #[doc = ""] - #[doc = "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Ensure that the a bulk of pre-images is upgraded."] - #[doc = ""] - #[doc = "The caller pays no fee if at least 90% of pre-images were successfully updated."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Register a preimage on-chain."] - #[doc = ""] - #[doc = "If the preimage was previously requested, no fees or deposits are taken for providing"] - #[doc = "the preimage. Otherwise, a deposit is taken proportional to the size of the preimage."] + #[doc = "See [`Pallet::note_preimage`]."] 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 }, @@ -25879,17 +24143,12 @@ pub mod api { ], ) } - #[doc = "Clear an unrequested preimage from the runtime storage."] - #[doc = ""] - #[doc = "If `len` is provided, then it will be a much cheaper operation."] - #[doc = ""] - #[doc = "- `hash`: The hash of the preimage to be removed from the store."] - #[doc = "- `len`: The length of the preimage of `hash`."] + #[doc = "See [`Pallet::unnote_preimage`]."] 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 }, @@ -25901,15 +24160,12 @@ pub mod api { ], ) } - #[doc = "Request a preimage be uploaded to the chain without paying any fees or deposits."] - #[doc = ""] - #[doc = "If the preimage requests has already been provided on-chain, we unreserve any deposit"] - #[doc = "a user may have paid, and take the control of the preimage out of their hands."] + #[doc = "See [`Pallet::request_preimage`]."] 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 }, @@ -25920,14 +24176,13 @@ pub mod api { ], ) } - #[doc = "Clear a previously made request for a preimage."] - #[doc = ""] - #[doc = "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."] + #[doc = "See [`Pallet::unrequest_preimage`]."] 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 }, @@ -25939,14 +24194,12 @@ pub mod api { ], ) } - #[doc = "Ensure that the a bulk of pre-images is upgraded."] - #[doc = ""] - #[doc = "The caller pays no fee if at least 90% of pre-images were successfully updated."] + #[doc = "See [`Pallet::ensure_updated`]."] 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 }, @@ -25965,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"; } @@ -26038,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; } } @@ -26066,14 +24319,14 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn status_for_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -26088,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -26111,14 +24368,14 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn request_status_for_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -26132,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -26153,14 +24414,14 @@ pub mod api { } pub fn preimage_for_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -26174,18 +24435,22 @@ pub mod api { } pub fn preimage_for_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -26196,24 +24461,32 @@ pub mod api { } pub fn preimage_for( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -26240,21 +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")] - #[doc = "Initialize a conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[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 { @@ -26263,26 +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")] - #[doc = "Update the conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[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 { @@ -26291,104 +24566,104 @@ 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")] - #[doc = "Remove an existing conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Initialize a conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)"] + #[doc = "See [`Pallet::create`]."] pub fn create( &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, }, [ - 163u8, 173u8, 223u8, 197u8, 42u8, 251u8, 151u8, 159u8, 252u8, 132u8, - 225u8, 224u8, 207u8, 127u8, 38u8, 0u8, 101u8, 46u8, 29u8, 65u8, 2u8, - 241u8, 3u8, 79u8, 218u8, 10u8, 159u8, 122u8, 48u8, 7u8, 225u8, 103u8, + 154u8, 152u8, 38u8, 160u8, 110u8, 48u8, 11u8, 80u8, 92u8, 50u8, 177u8, + 170u8, 43u8, 6u8, 192u8, 234u8, 105u8, 114u8, 165u8, 178u8, 173u8, + 134u8, 92u8, 233u8, 123u8, 191u8, 176u8, 154u8, 222u8, 224u8, 32u8, + 183u8, ], ) } - #[doc = "Update the conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)"] + #[doc = "See [`Pallet::update`]."] pub fn update( &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, }, [ - 21u8, 51u8, 198u8, 111u8, 185u8, 155u8, 215u8, 34u8, 5u8, 135u8, 138u8, - 77u8, 76u8, 158u8, 63u8, 240u8, 117u8, 39u8, 83u8, 146u8, 70u8, 136u8, - 61u8, 159u8, 30u8, 66u8, 85u8, 41u8, 122u8, 174u8, 25u8, 49u8, + 188u8, 71u8, 197u8, 156u8, 105u8, 63u8, 11u8, 90u8, 124u8, 227u8, + 146u8, 78u8, 93u8, 216u8, 100u8, 41u8, 128u8, 115u8, 66u8, 243u8, + 198u8, 61u8, 115u8, 30u8, 170u8, 218u8, 254u8, 203u8, 37u8, 141u8, + 67u8, 179u8, ], ) } - #[doc = "Remove an existing conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)"] + #[doc = "See [`Pallet::remove`]."] 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, + ), }, [ - 205u8, 34u8, 63u8, 131u8, 204u8, 76u8, 186u8, 233u8, 160u8, 45u8, - 231u8, 159u8, 186u8, 60u8, 97u8, 218u8, 174u8, 144u8, 106u8, 58u8, - 69u8, 23u8, 244u8, 129u8, 19u8, 250u8, 16u8, 99u8, 165u8, 165u8, 101u8, - 18u8, + 229u8, 203u8, 96u8, 158u8, 162u8, 236u8, 80u8, 239u8, 106u8, 193u8, + 85u8, 234u8, 99u8, 87u8, 214u8, 214u8, 157u8, 55u8, 70u8, 91u8, 9u8, + 187u8, 105u8, 99u8, 134u8, 181u8, 56u8, 212u8, 152u8, 136u8, 100u8, + 32u8, ], ) } @@ -26399,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, @@ -26418,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, } @@ -26440,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, @@ -26466,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"; } @@ -26490,22 +24765,21 @@ 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::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", (), [ - 230u8, 127u8, 110u8, 126u8, 79u8, 168u8, 134u8, 97u8, 195u8, 105u8, - 16u8, 57u8, 197u8, 104u8, 87u8, 144u8, 83u8, 188u8, 85u8, 253u8, 230u8, - 194u8, 183u8, 235u8, 152u8, 222u8, 40u8, 20u8, 135u8, 98u8, 140u8, - 108u8, + 211u8, 210u8, 178u8, 27u8, 157u8, 1u8, 68u8, 252u8, 84u8, 174u8, 141u8, + 185u8, 177u8, 39u8, 49u8, 35u8, 65u8, 254u8, 204u8, 246u8, 132u8, 59u8, + 190u8, 228u8, 135u8, 237u8, 161u8, 35u8, 21u8, 114u8, 88u8, 174u8, ], ) } @@ -26514,25 +24788,26 @@ 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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 230u8, 127u8, 110u8, 126u8, 79u8, 168u8, 134u8, 97u8, 195u8, 105u8, - 16u8, 57u8, 197u8, 104u8, 87u8, 144u8, 83u8, 188u8, 85u8, 253u8, 230u8, - 194u8, 183u8, 235u8, 152u8, 222u8, 40u8, 20u8, 135u8, 98u8, 140u8, - 108u8, + 211u8, 210u8, 178u8, 27u8, 157u8, 1u8, 68u8, 252u8, 84u8, 174u8, 141u8, + 185u8, 177u8, 39u8, 49u8, 35u8, 65u8, 254u8, 204u8, 246u8, 132u8, 59u8, + 190u8, 228u8, 135u8, 237u8, 161u8, 35u8, 21u8, 114u8, 88u8, 174u8, ], ) } @@ -26553,27 +24828,20 @@ 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")] - #[doc = "Propose a new bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Payment: `TipReportDepositBase` will be reserved from the origin account, as well as"] - #[doc = "`DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,"] - #[doc = "or slashed when rejected."] - #[doc = ""] - #[doc = "- `curator`: The curator account whom will manage this bounty."] - #[doc = "- `fee`: The curator fee."] - #[doc = "- `value`: The total payment amount of this bounty, curator fee included."] - #[doc = "- `description`: The description of this bounty."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub value: propose_bounty::Value, @@ -26582,29 +24850,28 @@ 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")] - #[doc = "Approve a bounty proposal. At a later time, the bounty will be funded and become active"] - #[doc = "and the original deposit will be returned."] - #[doc = ""] - #[doc = "May only be called from `T::SpendOrigin`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::approve_bounty`]."] pub struct ApproveBounty { #[codec(compact)] pub bounty_id: approve_bounty::BountyId, @@ -26613,26 +24880,25 @@ 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")] - #[doc = "Propose a curator to a funded bounty."] - #[doc = ""] - #[doc = "May only be called from `T::SpendOrigin`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::propose_curator`]."] pub struct ProposeCurator { #[codec(compact)] pub bounty_id: propose_curator::BountyId, @@ -26643,41 +24909,31 @@ 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")] - #[doc = "Unassign curator from a bounty."] - #[doc = ""] - #[doc = "This function can only be called by the `RejectOrigin` a signed origin."] - #[doc = ""] - #[doc = "If this function is called by the `RejectOrigin`, we assume that the curator is"] - #[doc = "malicious or inactive. As a result, we will slash the curator when possible."] - #[doc = ""] - #[doc = "If the origin is the curator, we take this as a sign they are unable to do their job and"] - #[doc = "they willingly give up. We could slash them, but for now we allow them to recover their"] - #[doc = "deposit and exit without issue. (We may want to change this if it is abused.)"] - #[doc = ""] - #[doc = "Finally, the origin can be anyone if and only if the curator is \"inactive\". This allows"] - #[doc = "anyone in the community to call out that a curator is not doing their due diligence, and"] - #[doc = "we should pick a new curator. In this case the curator should also be slashed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::unassign_curator`]."] pub struct UnassignCurator { #[codec(compact)] pub bounty_id: unassign_curator::BountyId, @@ -26686,27 +24942,25 @@ 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")] - #[doc = "Accept the curator role for a bounty."] - #[doc = "A deposit will be reserved from curator and refund upon successful payout."] - #[doc = ""] - #[doc = "May only be called from the curator."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::accept_curator`]."] pub struct AcceptCurator { #[codec(compact)] pub bounty_id: accept_curator::BountyId, @@ -26715,30 +24969,25 @@ 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")] - #[doc = "Award bounty to a beneficiary account. The beneficiary will be able to claim the funds"] - #[doc = "after a delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to award."] - #[doc = "- `beneficiary`: The beneficiary account whom will receive the payout."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::award_bounty`]."] pub struct AwardBounty { #[codec(compact)] pub bounty_id: award_bounty::BountyId, @@ -26747,31 +24996,30 @@ 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")] - #[doc = "Claim the payout from an awarded bounty after payout delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the beneficiary of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to claim."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::claim_bounty`]."] pub struct ClaimBounty { #[codec(compact)] pub bounty_id: claim_bounty::BountyId, @@ -26780,29 +25028,25 @@ 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")] - #[doc = "Cancel a proposed or active bounty. All the funds will be sent to treasury and"] - #[doc = "the curator deposit will be unreserved if possible."] - #[doc = ""] - #[doc = "Only `T::RejectOrigin` is able to cancel a bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to cancel."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::close_bounty`]."] pub struct CloseBounty { #[codec(compact)] pub bounty_id: close_bounty::BountyId, @@ -26811,29 +25055,25 @@ 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")] - #[doc = "Extend the expiry time of an active bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to extend."] - #[doc = "- `remark`: additional information."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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" + )] + #[doc = "See [`Pallet::extend_bounty_expiry`]."] pub struct ExtendBountyExpiry { #[codec(compact)] pub bounty_id: extend_bounty_expiry::BountyId, @@ -26842,33 +25082,23 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Propose a new bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Payment: `TipReportDepositBase` will be reserved from the origin account, as well as"] - #[doc = "`DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,"] - #[doc = "or slashed when rejected."] - #[doc = ""] - #[doc = "- `curator`: The curator account whom will manage this bounty."] - #[doc = "- `fee`: The curator fee."] - #[doc = "- `value`: The total payment amount of this bounty, curator fee included."] - #[doc = "- `description`: The description of this bounty."] + #[doc = "See [`Pallet::propose_bounty`]."] pub fn propose_bounty( &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 }, @@ -26879,18 +25109,12 @@ pub mod api { ], ) } - #[doc = "Approve a bounty proposal. At a later time, the bounty will be funded and become active"] - #[doc = "and the original deposit will be returned."] - #[doc = ""] - #[doc = "May only be called from `T::SpendOrigin`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::approve_bounty`]."] 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 }, @@ -26902,19 +25126,14 @@ pub mod api { ], ) } - #[doc = "Propose a curator to a funded bounty."] - #[doc = ""] - #[doc = "May only be called from `T::SpendOrigin`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::propose_curator`]."] pub fn propose_curator( &self, 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 { @@ -26929,28 +25148,12 @@ pub mod api { ], ) } - #[doc = "Unassign curator from a bounty."] - #[doc = ""] - #[doc = "This function can only be called by the `RejectOrigin` a signed origin."] - #[doc = ""] - #[doc = "If this function is called by the `RejectOrigin`, we assume that the curator is"] - #[doc = "malicious or inactive. As a result, we will slash the curator when possible."] - #[doc = ""] - #[doc = "If the origin is the curator, we take this as a sign they are unable to do their job and"] - #[doc = "they willingly give up. We could slash them, but for now we allow them to recover their"] - #[doc = "deposit and exit without issue. (We may want to change this if it is abused.)"] - #[doc = ""] - #[doc = "Finally, the origin can be anyone if and only if the curator is \"inactive\". This allows"] - #[doc = "anyone in the community to call out that a curator is not doing their due diligence, and"] - #[doc = "we should pick a new curator. In this case the curator should also be slashed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::unassign_curator`]."] 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 }, @@ -26962,18 +25165,12 @@ pub mod api { ], ) } - #[doc = "Accept the curator role for a bounty."] - #[doc = "A deposit will be reserved from curator and refund upon successful payout."] - #[doc = ""] - #[doc = "May only be called from the curator."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::accept_curator`]."] 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 }, @@ -26984,22 +25181,13 @@ pub mod api { ], ) } - #[doc = "Award bounty to a beneficiary account. The beneficiary will be able to claim the funds"] - #[doc = "after a delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to award."] - #[doc = "- `beneficiary`: The beneficiary account whom will receive the payout."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::award_bounty`]."] pub fn award_bounty( &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 { @@ -27013,19 +25201,12 @@ pub mod api { ], ) } - #[doc = "Claim the payout from an awarded bounty after payout delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the beneficiary of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to claim."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::claim_bounty`]."] 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 }, @@ -27037,20 +25218,12 @@ pub mod api { ], ) } - #[doc = "Cancel a proposed or active bounty. All the funds will be sent to treasury and"] - #[doc = "the curator deposit will be unreserved if possible."] - #[doc = ""] - #[doc = "Only `T::RejectOrigin` is able to cancel a bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to cancel."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::close_bounty`]."] 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 }, @@ -27062,21 +25235,14 @@ pub mod api { ], ) } - #[doc = "Extend the expiry time of an active bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to extend."] - #[doc = "- `remark`: additional information."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::extend_bounty_expiry`]."] pub fn extend_bounty_expiry( &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 }, @@ -27095,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, @@ -27112,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, @@ -27136,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, @@ -27158,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, @@ -27180,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, @@ -27206,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, @@ -27230,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, @@ -27252,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, @@ -27274,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, @@ -27296,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, @@ -27320,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, @@ -27342,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"; } @@ -27360,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, >; @@ -27369,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; @@ -27377,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, >; } @@ -27387,14 +25553,14 @@ pub mod api { #[doc = " Number of bounty proposals that have been made."] pub fn bounty_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -27409,14 +25575,14 @@ pub mod api { #[doc = " Bounties that have been made."] pub fn bounties_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -27431,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -27454,14 +25624,14 @@ pub mod api { #[doc = " The description of each bounty."] pub fn bounty_descriptions_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -27475,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -27497,14 +25671,14 @@ pub mod api { #[doc = " Bounty indices that have been approved but not yet funded."] pub fn bounty_approvals( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -27524,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", [ @@ -27538,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", [ @@ -27553,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", [ @@ -27571,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", [ @@ -27586,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", [ @@ -27602,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", [ @@ -27618,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", [ @@ -27632,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", [ @@ -27648,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", [ @@ -27677,34 +25860,20 @@ 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")] - #[doc = "Add a new child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of parent"] - #[doc = "bounty and the parent bounty must be in \"active\" state."] - #[doc = ""] - #[doc = "Child-bounty gets added successfully & fund gets transferred from"] - #[doc = "parent bounty to child-bounty account, if parent bounty has enough"] - #[doc = "funds, else the call fails."] - #[doc = ""] - #[doc = "Upper bound to maximum number of active child bounties that can be"] - #[doc = "added are managed via runtime trait config"] - #[doc = "[`Config::MaxActiveChildBountyCount`]."] - #[doc = ""] - #[doc = "If the call is success, the status of child-bounty is updated to"] - #[doc = "\"Added\"."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty for which child-bounty is being added."] - #[doc = "- `value`: Value for executing the proposal."] - #[doc = "- `description`: Text description for the child-bounty."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub parent_bounty_id: add_child_bounty::ParentBountyId, @@ -27716,37 +25885,28 @@ 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")] - #[doc = "Propose curator for funded child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be curator of parent bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in \"Added\" state, for processing the call. And"] - #[doc = "state of child-bounty is moved to \"CuratorProposed\" on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] - #[doc = "- `curator`: Address of child-bounty curator."] - #[doc = "- `fee`: payment fee to child-bounty curator for execution."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub parent_bounty_id: propose_curator::ParentBountyId, @@ -27760,43 +25920,31 @@ 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")] - #[doc = "Accept the curator role for the child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this"] - #[doc = "child-bounty."] - #[doc = ""] - #[doc = "A deposit will be reserved from the curator and refund upon"] - #[doc = "successful payout or cancellation."] - #[doc = ""] - #[doc = "Fee for curator is deducted from curator fee of parent bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in \"CuratorProposed\" state, for processing the"] - #[doc = "call. And state of child-bounty is moved to \"Active\" on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub parent_bounty_id: accept_curator::ParentBountyId, @@ -27808,54 +25956,25 @@ 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")] - #[doc = "Unassign curator from a child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call can be either `RejectOrigin`, or"] - #[doc = "the curator of the parent bounty, or any signed origin."] - #[doc = ""] - #[doc = "For the origin other than T::RejectOrigin and the child-bounty"] - #[doc = "curator, parent bounty must be in active state, for this call to"] - #[doc = "work. We allow child-bounty curator and T::RejectOrigin to execute"] - #[doc = "this call irrespective of the parent bounty state."] - #[doc = ""] - #[doc = "If this function is called by the `RejectOrigin` or the"] - #[doc = "parent bounty curator, we assume that the child-bounty curator is"] - #[doc = "malicious or inactive. As a result, child-bounty curator deposit is"] - #[doc = "slashed."] - #[doc = ""] - #[doc = "If the origin is the child-bounty curator, we take this as a sign"] - #[doc = "that they are unable to do their job, and are willingly giving up."] - #[doc = "We could slash the deposit, but for now we allow them to unreserve"] - #[doc = "their deposit and exit without issue. (We may want to change this if"] - #[doc = "it is abused.)"] - #[doc = ""] - #[doc = "Finally, the origin can be anyone iff the child-bounty curator is"] - #[doc = "\"inactive\". Expiry update due of parent bounty is used to estimate"] - #[doc = "inactive state of child-bounty curator."] - #[doc = ""] - #[doc = "This allows anyone in the community to call out that a child-bounty"] - #[doc = "curator is not doing their due diligence, and we should pick a new"] - #[doc = "one. In this case the child-bounty curator deposit is slashed."] - #[doc = ""] - #[doc = "State of child-bounty is moved to Added state on successful call"] - #[doc = "completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub parent_bounty_id: unassign_curator::ParentBountyId, @@ -27867,37 +25986,25 @@ 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")] - #[doc = "Award child-bounty to a beneficiary."] - #[doc = ""] - #[doc = "The beneficiary will be able to claim the funds after a delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the parent curator or"] - #[doc = "curator of this child-bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in active state, for processing the call. And"] - #[doc = "state of child-bounty is moved to \"PendingPayout\" on successful call"] - #[doc = "completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] - #[doc = "- `beneficiary`: Beneficiary account."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub parent_bounty_id: award_child_bounty::ParentBountyId, @@ -27909,39 +26016,30 @@ 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")] - #[doc = "Claim the payout from an awarded child-bounty after payout delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call may be any signed origin."] - #[doc = ""] - #[doc = "Call works independent of parent bounty state, No need for parent"] - #[doc = "bounty to be in active state."] - #[doc = ""] - #[doc = "The Beneficiary is paid out with agreed bounty value. Curator fee is"] - #[doc = "paid & curator deposit is unreserved."] - #[doc = ""] - #[doc = "Child-bounty must be in \"PendingPayout\" state, for processing the"] - #[doc = "call. And instance of child-bounty is removed from the state on"] - #[doc = "successful call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub parent_bounty_id: claim_child_bounty::ParentBountyId, @@ -27953,42 +26051,25 @@ 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")] - #[doc = "Cancel a proposed or active child-bounty. Child-bounty account funds"] - #[doc = "are transferred to parent bounty account. The child-bounty curator"] - #[doc = "deposit may be unreserved if possible."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be either parent curator or"] - #[doc = "`T::RejectOrigin`."] - #[doc = ""] - #[doc = "If the state of child-bounty is `Active`, curator deposit is"] - #[doc = "unreserved."] - #[doc = ""] - #[doc = "If the state of child-bounty is `PendingPayout`, call fails &"] - #[doc = "returns `PendingPayout` error."] - #[doc = ""] - #[doc = "For the origin other than T::RejectOrigin, parent bounty must be in"] - #[doc = "active state, for this child-bounty call to work. For origin"] - #[doc = "T::RejectOrigin execution is forced."] - #[doc = ""] - #[doc = "Instance of child-bounty is removed from the state on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub parent_bounty_id: close_child_bounty::ParentBountyId, @@ -28000,39 +26081,21 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Add a new child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of parent"] - #[doc = "bounty and the parent bounty must be in \"active\" state."] - #[doc = ""] - #[doc = "Child-bounty gets added successfully & fund gets transferred from"] - #[doc = "parent bounty to child-bounty account, if parent bounty has enough"] - #[doc = "funds, else the call fails."] - #[doc = ""] - #[doc = "Upper bound to maximum number of active child bounties that can be"] - #[doc = "added are managed via runtime trait config"] - #[doc = "[`Config::MaxActiveChildBountyCount`]."] - #[doc = ""] - #[doc = "If the call is success, the status of child-bounty is updated to"] - #[doc = "\"Added\"."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty for which child-bounty is being added."] - #[doc = "- `value`: Value for executing the proposal."] - #[doc = "- `description`: Text description for the child-bounty."] + #[doc = "See [`Pallet::add_child_bounty`]."] pub fn add_child_bounty( &self, 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 { @@ -28048,29 +26111,15 @@ pub mod api { ], ) } - #[doc = "Propose curator for funded child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be curator of parent bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in \"Added\" state, for processing the call. And"] - #[doc = "state of child-bounty is moved to \"CuratorProposed\" on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] - #[doc = "- `curator`: Address of child-bounty curator."] - #[doc = "- `fee`: payment fee to child-bounty curator for execution."] + #[doc = "See [`Pallet::propose_curator`]."] pub fn propose_curator( &self, parent_bounty_id: types::propose_curator::ParentBountyId, 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 { @@ -28086,31 +26135,13 @@ pub mod api { ], ) } - #[doc = "Accept the curator role for the child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this"] - #[doc = "child-bounty."] - #[doc = ""] - #[doc = "A deposit will be reserved from the curator and refund upon"] - #[doc = "successful payout or cancellation."] - #[doc = ""] - #[doc = "Fee for curator is deducted from curator fee of parent bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in \"CuratorProposed\" state, for processing the"] - #[doc = "call. And state of child-bounty is moved to \"Active\" on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::accept_curator`]."] pub fn accept_curator( &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 { @@ -28125,46 +26156,13 @@ pub mod api { ], ) } - #[doc = "Unassign curator from a child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call can be either `RejectOrigin`, or"] - #[doc = "the curator of the parent bounty, or any signed origin."] - #[doc = ""] - #[doc = "For the origin other than T::RejectOrigin and the child-bounty"] - #[doc = "curator, parent bounty must be in active state, for this call to"] - #[doc = "work. We allow child-bounty curator and T::RejectOrigin to execute"] - #[doc = "this call irrespective of the parent bounty state."] - #[doc = ""] - #[doc = "If this function is called by the `RejectOrigin` or the"] - #[doc = "parent bounty curator, we assume that the child-bounty curator is"] - #[doc = "malicious or inactive. As a result, child-bounty curator deposit is"] - #[doc = "slashed."] - #[doc = ""] - #[doc = "If the origin is the child-bounty curator, we take this as a sign"] - #[doc = "that they are unable to do their job, and are willingly giving up."] - #[doc = "We could slash the deposit, but for now we allow them to unreserve"] - #[doc = "their deposit and exit without issue. (We may want to change this if"] - #[doc = "it is abused.)"] - #[doc = ""] - #[doc = "Finally, the origin can be anyone iff the child-bounty curator is"] - #[doc = "\"inactive\". Expiry update due of parent bounty is used to estimate"] - #[doc = "inactive state of child-bounty curator."] - #[doc = ""] - #[doc = "This allows anyone in the community to call out that a child-bounty"] - #[doc = "curator is not doing their due diligence, and we should pick a new"] - #[doc = "one. In this case the child-bounty curator deposit is slashed."] - #[doc = ""] - #[doc = "State of child-bounty is moved to Added state on successful call"] - #[doc = "completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::unassign_curator`]."] pub fn unassign_curator( &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 { @@ -28179,30 +26177,15 @@ pub mod api { ], ) } - #[doc = "Award child-bounty to a beneficiary."] - #[doc = ""] - #[doc = "The beneficiary will be able to claim the funds after a delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the parent curator or"] - #[doc = "curator of this child-bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in active state, for processing the call. And"] - #[doc = "state of child-bounty is moved to \"PendingPayout\" on successful call"] - #[doc = "completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] - #[doc = "- `beneficiary`: Beneficiary account."] + #[doc = "See [`Pallet::award_child_bounty`]."] pub fn award_child_bounty( &self, 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 { @@ -28217,28 +26200,14 @@ pub mod api { ], ) } - #[doc = "Claim the payout from an awarded child-bounty after payout delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call may be any signed origin."] - #[doc = ""] - #[doc = "Call works independent of parent bounty state, No need for parent"] - #[doc = "bounty to be in active state."] - #[doc = ""] - #[doc = "The Beneficiary is paid out with agreed bounty value. Curator fee is"] - #[doc = "paid & curator deposit is unreserved."] - #[doc = ""] - #[doc = "Child-bounty must be in \"PendingPayout\" state, for processing the"] - #[doc = "call. And instance of child-bounty is removed from the state on"] - #[doc = "successful call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::claim_child_bounty`]."] pub fn claim_child_bounty( &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 { @@ -28252,34 +26221,14 @@ pub mod api { ], ) } - #[doc = "Cancel a proposed or active child-bounty. Child-bounty account funds"] - #[doc = "are transferred to parent bounty account. The child-bounty curator"] - #[doc = "deposit may be unreserved if possible."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be either parent curator or"] - #[doc = "`T::RejectOrigin`."] - #[doc = ""] - #[doc = "If the state of child-bounty is `Active`, curator deposit is"] - #[doc = "unreserved."] - #[doc = ""] - #[doc = "If the state of child-bounty is `PendingPayout`, call fails &"] - #[doc = "returns `PendingPayout` error."] - #[doc = ""] - #[doc = "For the origin other than T::RejectOrigin, parent bounty must be in"] - #[doc = "active state, for this child-bounty call to work. For origin"] - #[doc = "T::RejectOrigin execution is forced."] - #[doc = ""] - #[doc = "Instance of child-bounty is removed from the state on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::close_child_bounty`]."] pub fn close_child_bounty( &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 { @@ -28300,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, @@ -28319,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, @@ -28343,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, @@ -28371,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, @@ -28397,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"; } @@ -28418,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, >; @@ -28428,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; @@ -28444,14 +26393,14 @@ pub mod api { #[doc = " Number of total child bounties."] pub fn child_bounty_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -28466,14 +26415,14 @@ 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::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", (), @@ -28488,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -28512,14 +26463,14 @@ pub mod api { #[doc = " Child bounties that have been added."] pub fn child_bounties_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -28534,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -28557,24 +26512,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -28587,14 +26550,14 @@ pub mod api { #[doc = " The description of each child-bounty."] pub fn child_bounty_descriptions_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -28608,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -28632,14 +26597,14 @@ 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::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", (), @@ -28653,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -28683,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", [ @@ -28698,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", [ @@ -28726,26 +26695,20 @@ 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")] - #[doc = "Place a bid."] - #[doc = ""] - #[doc = "Origin must be Signed, and account must have at least `amount` in free balance."] - #[doc = ""] - #[doc = "- `amount`: The amount of the bid; these funds will be reserved, and if/when"] - #[doc = " consolidated, removed. Must be at least `MinBid`."] - #[doc = "- `duration`: The number of periods before which the newly consolidated bid may be"] - #[doc = " thawed. Must be greater than 1 and no more than `QueueCount`."] - #[doc = ""] - #[doc = "Complexities:"] - #[doc = "- `Queues[duration].len()` (just take max)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub amount: place_bid::Amount, @@ -28756,27 +26719,25 @@ 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")] - #[doc = "Retract a previously placed bid."] - #[doc = ""] - #[doc = "Origin must be Signed, and the account should have previously issued a still-active bid"] - #[doc = "of `amount` for `duration`."] - #[doc = ""] - #[doc = "- `amount`: The amount of the previous bid."] - #[doc = "- `duration`: The duration of the previous bid."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub amount: retract_bid::Amount, @@ -28787,46 +26748,45 @@ 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")] - #[doc = "Ensure we have sufficient funding for all potential payouts."] - #[doc = ""] - #[doc = "- `origin`: Must be accepted by `FundOrigin`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Reduce or remove an outstanding receipt, placing the according proportion of funds into"] - #[doc = "the account of the owner."] - #[doc = ""] - #[doc = "- `origin`: Must be Signed and the account must be the owner of the receipt `index` as"] - #[doc = " well as any fungible counterpart."] - #[doc = "- `index`: The index of the receipt."] - #[doc = "- `portion`: If `Some`, then only the given portion of the receipt should be thawed. If"] - #[doc = " `None`, then all of it should be."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: thaw_private::Index, @@ -28839,26 +26799,25 @@ 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")] - #[doc = "Reduce or remove an outstanding receipt, placing the according proportion of funds into"] - #[doc = "the account of the owner."] - #[doc = ""] - #[doc = "- `origin`: Must be Signed and the account must be the owner of the fungible counterpart"] - #[doc = " for receipt `index`."] - #[doc = "- `index`: The index of the receipt."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: thaw_communal::Index, @@ -28867,21 +26826,25 @@ 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")] - #[doc = "Make a private receipt communal and create fungible counterparts for its owner."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: communify::Index, @@ -28890,21 +26853,25 @@ 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")] - #[doc = "Make a communal receipt private and burn fungible counterparts from its owner."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: privatize::Index, @@ -28913,30 +26880,20 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Place a bid."] - #[doc = ""] - #[doc = "Origin must be Signed, and account must have at least `amount` in free balance."] - #[doc = ""] - #[doc = "- `amount`: The amount of the bid; these funds will be reserved, and if/when"] - #[doc = " consolidated, removed. Must be at least `MinBid`."] - #[doc = "- `duration`: The number of periods before which the newly consolidated bid may be"] - #[doc = " thawed. Must be greater than 1 and no more than `QueueCount`."] - #[doc = ""] - #[doc = "Complexities:"] - #[doc = "- `Queues[duration].len()` (just take max)."] + #[doc = "See [`Pallet::place_bid`]."] pub fn place_bid( &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 }, @@ -28948,19 +26905,13 @@ pub mod api { ], ) } - #[doc = "Retract a previously placed bid."] - #[doc = ""] - #[doc = "Origin must be Signed, and the account should have previously issued a still-active bid"] - #[doc = "of `amount` for `duration`."] - #[doc = ""] - #[doc = "- `amount`: The amount of the previous bid."] - #[doc = "- `duration`: The duration of the previous bid."] + #[doc = "See [`Pallet::retract_bid`]."] pub fn retract_bid( &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 }, @@ -28971,11 +26922,11 @@ pub mod api { ], ) } - #[doc = "Ensure we have sufficient funding for all potential payouts."] - #[doc = ""] - #[doc = "- `origin`: Must be accepted by `FundOrigin`."] - pub fn fund_deficit(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::fund_deficit`]."] + pub fn fund_deficit( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "fund_deficit", types::FundDeficit {}, @@ -28987,20 +26938,13 @@ pub mod api { ], ) } - #[doc = "Reduce or remove an outstanding receipt, placing the according proportion of funds into"] - #[doc = "the account of the owner."] - #[doc = ""] - #[doc = "- `origin`: Must be Signed and the account must be the owner of the receipt `index` as"] - #[doc = " well as any fungible counterpart."] - #[doc = "- `index`: The index of the receipt."] - #[doc = "- `portion`: If `Some`, then only the given portion of the receipt should be thawed. If"] - #[doc = " `None`, then all of it should be."] + #[doc = "See [`Pallet::thaw_private`]."] pub fn thaw_private( &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 { @@ -29014,17 +26958,12 @@ pub mod api { ], ) } - #[doc = "Reduce or remove an outstanding receipt, placing the according proportion of funds into"] - #[doc = "the account of the owner."] - #[doc = ""] - #[doc = "- `origin`: Must be Signed and the account must be the owner of the fungible counterpart"] - #[doc = " for receipt `index`."] - #[doc = "- `index`: The index of the receipt."] + #[doc = "See [`Pallet::thaw_communal`]."] 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 }, @@ -29036,12 +26975,12 @@ pub mod api { ], ) } - #[doc = "Make a private receipt communal and create fungible counterparts for its owner."] + #[doc = "See [`Pallet::communify`]."] 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 }, @@ -29053,12 +26992,12 @@ pub mod api { ], ) } - #[doc = "Make a communal receipt private and burn fungible counterparts from its owner."] + #[doc = "See [`Pallet::privatize`]."] 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 }, @@ -29077,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, @@ -29094,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, @@ -29120,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, @@ -29146,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, @@ -29176,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, @@ -29205,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, @@ -29232,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, @@ -29254,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"; } @@ -29270,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; @@ -29295,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, >; @@ -29311,14 +27250,14 @@ pub mod api { #[doc = " whose duration is one `Period` would be storage `0`."] pub fn queue_totals( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -29332,14 +27271,14 @@ pub mod api { #[doc = " The queues of bids. Indexed by duration (in `Period`s)."] pub fn queues_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -29354,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -29377,14 +27320,14 @@ pub mod api { #[doc = " Summary information over the general state."] pub fn summary( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -29399,14 +27342,14 @@ 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::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", (), @@ -29420,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -29448,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", [ @@ -29462,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", [ @@ -29477,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", [ @@ -29494,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", [ @@ -29508,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", [ @@ -29526,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", [ @@ -29541,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", [ @@ -29559,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", [ @@ -29576,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", [ @@ -29592,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", [ @@ -29614,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; @@ -29624,22 +27589,20 @@ 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")] - #[doc = "Transfer some liquid free balance to another account."] - #[doc = ""] - #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] - #[doc = "If the sender's account is below the existential deposit as a result"] - #[doc = "of the transfer, the account will be reaped."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, #[codec(compact)] @@ -29647,25 +27610,31 @@ 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")] - #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] - #[doc = "may be specified."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub dest: force_transfer::Dest, @@ -29674,30 +27643,35 @@ 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")] - #[doc = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] - #[doc = "kill the origin account."] - #[doc = ""] - #[doc = "99% of the time you want [`transfer_allow_death`] instead."] - #[doc = ""] - #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, #[codec(compact)] @@ -29705,119 +27679,121 @@ 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")] - #[doc = "Transfer the entire transferable balance from the caller account."] - #[doc = ""] - #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] - #[doc = "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be"] - #[doc = "transferred by this function. To ensure that this function results in a killed account,"] - #[doc = "you might need to prepare the account by removing any reference counters, storage"] - #[doc = "deposits, etc..."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be Signed."] - #[doc = ""] - #[doc = "- `dest`: The recipient of the transfer."] - #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] - #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] - #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] - #[doc = " keep the sender account alive (true)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub keep_alive: transfer_all::KeepAlive, } 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")] - #[doc = "Unreserve some balance from a user by force."] - #[doc = ""] - #[doc = "Can only be called by ROOT."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub amount: force_unreserve::Amount, } 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")] - #[doc = "Upgrade a specified account."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `who`: The account to be upgraded."] - #[doc = ""] - #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] - #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] - #[doc = "possibililty of churn)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Set the regular balance of a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call is `root`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, #[codec(compact)] @@ -29825,58 +27801,27 @@ 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"; } - #[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 = "Adjust the total issuance in a saturating way."] - #[doc = ""] - #[doc = "Can only be called by root and always needs a positive `delta`."] - #[doc = ""] - #[doc = "# Example"] - pub struct ForceAdjustTotalIssuance { - pub direction: force_adjust_total_issuance::Direction, - #[codec(compact)] - pub delta: force_adjust_total_issuance::Delta, - } - pub mod force_adjust_total_issuance { - use super::runtime_types; - pub type Direction = runtime_types::pallet_balances::types::AdjustmentDirection; - pub type Delta = ::core::primitive::u128; - } - impl ::subxt::blocks::StaticExtrinsic for ForceAdjustTotalIssuance { - const PALLET: &'static str = "NisCounterpartBalances"; - const CALL: &'static str = "force_adjust_total_issuance"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Transfer some liquid free balance to another account."] - #[doc = ""] - #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] - #[doc = "If the sender's account is below the existential deposit as a result"] - #[doc = "of the transfer, the account will be reaped."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] + #[doc = "See [`Pallet::transfer_allow_death`]."] pub fn transfer_allow_death( &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 }, @@ -29888,15 +27833,14 @@ pub mod api { ], ) } - #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] - #[doc = "may be specified."] + #[doc = "See [`Pallet::force_transfer`]."] pub fn force_transfer( &self, 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 { @@ -29911,18 +27855,14 @@ pub mod api { ], ) } - #[doc = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] - #[doc = "kill the origin account."] - #[doc = ""] - #[doc = "99% of the time you want [`transfer_allow_death`] instead."] - #[doc = ""] - #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] + #[doc = "See [`Pallet::transfer_keep_alive`]."] pub fn transfer_keep_alive( &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 }, @@ -29933,27 +27873,13 @@ pub mod api { ], ) } - #[doc = "Transfer the entire transferable balance from the caller account."] - #[doc = ""] - #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] - #[doc = "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be"] - #[doc = "transferred by this function. To ensure that this function results in a killed account,"] - #[doc = "you might need to prepare the account by removing any reference counters, storage"] - #[doc = "deposits, etc..."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be Signed."] - #[doc = ""] - #[doc = "- `dest`: The recipient of the transfer."] - #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] - #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] - #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] - #[doc = " keep the sender account alive (true)."] + #[doc = "See [`Pallet::transfer_all`]."] pub fn transfer_all( &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 }, @@ -29964,15 +27890,13 @@ pub mod api { ], ) } - #[doc = "Unreserve some balance from a user by force."] - #[doc = ""] - #[doc = "Can only be called by ROOT."] + #[doc = "See [`Pallet::force_unreserve`]."] pub fn force_unreserve( &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 }, @@ -29984,19 +27908,12 @@ pub mod api { ], ) } - #[doc = "Upgrade a specified account."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `who`: The account to be upgraded."] - #[doc = ""] - #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] - #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] - #[doc = "possibililty of churn)."] + #[doc = "See [`Pallet::upgrade_accounts`]."] 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 }, @@ -30007,15 +27924,13 @@ pub mod api { ], ) } - #[doc = "Set the regular balance of a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call is `root`."] + #[doc = "See [`Pallet::force_set_balance`]."] pub fn force_set_balance( &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 }, @@ -30026,44 +27941,22 @@ pub mod api { ], ) } - #[doc = "Adjust the total issuance in a saturating way."] - #[doc = ""] - #[doc = "Can only be called by root and always needs a positive `delta`."] - #[doc = ""] - #[doc = "# Example"] - pub fn force_adjust_total_issuance( - &self, - direction: types::force_adjust_total_issuance::Direction, - delta: types::force_adjust_total_issuance::Delta, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "NisCounterpartBalances", - "force_adjust_total_issuance", - types::ForceAdjustTotalIssuance { direction, delta }, - [ - 208u8, 134u8, 56u8, 133u8, 232u8, 164u8, 10u8, 213u8, 53u8, 193u8, - 190u8, 63u8, 236u8, 186u8, 96u8, 122u8, 104u8, 87u8, 173u8, 38u8, 58u8, - 176u8, 21u8, 78u8, 42u8, 106u8, 46u8, 248u8, 251u8, 190u8, 150u8, - 202u8, - ], - ) - } } } #[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, @@ -30071,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 { @@ -30096,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, @@ -30121,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, @@ -30146,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, @@ -30170,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, @@ -30194,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 { @@ -30221,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, @@ -30248,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, @@ -30272,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, @@ -30296,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, @@ -30320,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, @@ -30344,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, @@ -30368,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, @@ -30392,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, @@ -30439,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, @@ -30461,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, @@ -30482,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, @@ -30506,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, @@ -30530,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, @@ -30554,37 +28447,13 @@ 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"; } - #[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 `TotalIssuance` was forcefully changed."] - pub struct TotalIssuanceForced { - pub old: total_issuance_forced::Old, - pub new: total_issuance_forced::New, - } - pub mod total_issuance_forced { - use super::runtime_types; - pub type Old = ::core::primitive::u128; - pub type New = ::core::primitive::u128; - } - impl ::subxt::events::StaticEvent for TotalIssuanceForced { - const PALLET: &'static str = "NisCounterpartBalances"; - const EVENT: &'static str = "TotalIssuanceForced"; - } } pub mod storage { use super::runtime_types; @@ -30602,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; @@ -30650,14 +28521,14 @@ pub mod api { #[doc = " The total units issued in the system."] pub fn total_issuance( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -30672,14 +28543,14 @@ pub mod api { #[doc = " The total units of outstanding deactivated balance in the system."] pub fn inactive_issuance( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -30716,14 +28587,14 @@ 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::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", (), @@ -30760,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -30783,14 +28658,14 @@ 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::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", (), @@ -30805,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -30827,14 +28706,14 @@ pub mod api { #[doc = " Named reserves on some account balances."] pub fn reserves_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -30848,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -30870,59 +28753,63 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 181u8, 39u8, 29u8, 45u8, 45u8, 198u8, 129u8, 210u8, 189u8, 183u8, - 121u8, 125u8, 57u8, 90u8, 95u8, 107u8, 51u8, 13u8, 22u8, 105u8, 191u8, - 61u8, 54u8, 182u8, 50u8, 200u8, 137u8, 247u8, 180u8, 158u8, 16u8, - 193u8, + 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, + 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, + 165u8, 226u8, 233u8, 12u8, 227u8, 23u8, 17u8, 237u8, 179u8, 193u8, + 166u8, ], ) } #[doc = " Holds on account balances."] pub fn holds( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 181u8, 39u8, 29u8, 45u8, 45u8, 198u8, 129u8, 210u8, 189u8, 183u8, - 121u8, 125u8, 57u8, 90u8, 95u8, 107u8, 51u8, 13u8, 22u8, 105u8, 191u8, - 61u8, 54u8, 182u8, 50u8, 200u8, 137u8, 247u8, 180u8, 158u8, 16u8, - 193u8, + 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, + 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, + 165u8, 226u8, 233u8, 12u8, 227u8, 23u8, 17u8, 237u8, 179u8, 193u8, + 166u8, ], ) } #[doc = " Freeze locks on account balances."] pub fn freezes_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -30936,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -30971,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", [ @@ -30984,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", [ @@ -30997,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", [ @@ -31009,9 +28907,28 @@ pub mod api { ], ) } + #[doc = " The maximum number of holds that can exist on an account at any time."] + pub fn max_holds( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( + "NisCounterpartBalances", + "MaxHolds", + [ + 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 = " 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", [ @@ -31043,16 +28960,20 @@ 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")] - #[doc = "Set the validation upgrade cooldown."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31060,21 +28981,25 @@ 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")] - #[doc = "Set the validation upgrade delay."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31082,21 +29007,25 @@ 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")] - #[doc = "Set the acceptance period for an included candidate."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31104,21 +29033,25 @@ 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")] - #[doc = "Set the max validation code size for incoming upgrades."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31126,21 +29059,25 @@ 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")] - #[doc = "Set the max POV block size for incoming upgrades."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31148,21 +29085,25 @@ 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")] - #[doc = "Set the max head data size for paras."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31170,68 +29111,77 @@ 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")] - #[doc = "Set the number of coretime execution cores."] - #[doc = ""] - #[doc = "Note that this configuration is managed by the coretime chain. Only manually change"] - #[doc = "this, if you really know what you are doing!"] - pub struct SetCoretimeCores { - pub new: set_coretime_cores::New, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } - pub mod set_coretime_cores { + pub mod set_on_demand_cores { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetCoretimeCores { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandCores { const PALLET: &'static str = "Configuration"; - const CALL: &'static str = "set_coretime_cores"; + 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")] - #[doc = "Set the max number of times a claim may timeout on a core before it is abandoned"] - pub struct SetMaxAvailabilityTimeouts { - pub new: set_max_availability_timeouts::New, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } - pub mod set_max_availability_timeouts { + pub mod set_on_demand_retries { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxAvailabilityTimeouts { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandRetries { const PALLET: &'static str = "Configuration"; - const CALL: &'static str = "set_max_availability_timeouts"; + 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")] - #[doc = "Set the parachain validator-group rotation frequency"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31239,21 +29189,25 @@ 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")] - #[doc = "Set the availability period for paras."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31261,21 +29215,25 @@ 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")] - #[doc = "Set the scheduling lookahead, in expected number of blocks at peak throughput."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31283,21 +29241,25 @@ 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")] - #[doc = "Set the maximum number of validators to assign to any core."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31305,21 +29267,25 @@ 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")] - #[doc = "Set the maximum number of validators to use in parachain consensus."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31327,21 +29293,25 @@ 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")] - #[doc = "Set the dispute period, in number of sessions to keep for disputes."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31349,21 +29319,25 @@ 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")] - #[doc = "Set the dispute post conclusion acceptance period."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31371,22 +29345,27 @@ 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")] - #[doc = "Set the no show slots, in number of number of consensus slots."] - #[doc = "Must be at least 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" + )] + #[doc = "See [`Pallet::set_no_show_slots`]."] pub struct SetNoShowSlots { pub new: set_no_show_slots::New, } @@ -31394,21 +29373,25 @@ 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")] - #[doc = "Set the total number of delay tranches."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31416,21 +29399,25 @@ 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")] - #[doc = "Set the zeroth delay tranche width."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31438,21 +29425,25 @@ 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")] - #[doc = "Set the number of validators needed to approve a block."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31460,21 +29451,25 @@ 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")] - #[doc = "Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31482,21 +29477,25 @@ 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")] - #[doc = "Sets the maximum items that can present in a upward dispatch queue at once."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31504,22 +29503,25 @@ 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")] - #[doc = "Sets the maximum total size of items that can present in a upward dispatch queue at"] - #[doc = "once."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31527,21 +29529,25 @@ 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")] - #[doc = "Set the critical downward message size."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31549,21 +29555,25 @@ 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")] - #[doc = "Sets the maximum size of an upward message that can be sent by a candidate."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31571,21 +29581,25 @@ 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")] - #[doc = "Sets the maximum number of messages that a candidate can contain."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31593,21 +29607,25 @@ 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")] - #[doc = "Sets the number of sessions after which an HRMP open channel request expires."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31615,21 +29633,25 @@ 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")] - #[doc = "Sets the amount of funds that the sender should provide for opening an HRMP channel."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31637,22 +29659,25 @@ 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")] - #[doc = "Sets the amount of funds that the recipient should provide for accepting opening an HRMP"] - #[doc = "channel."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31660,21 +29685,25 @@ 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")] - #[doc = "Sets the maximum number of messages allowed in an HRMP channel at once."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31682,21 +29711,25 @@ 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")] - #[doc = "Sets the maximum total size of messages in bytes allowed in an HRMP channel at once."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31704,21 +29737,25 @@ 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")] - #[doc = "Sets the maximum number of inbound HRMP channels a parachain is allowed to accept."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31726,21 +29763,25 @@ 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")] - #[doc = "Sets the maximum size of a message that could ever be put into an HRMP channel."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31748,21 +29789,25 @@ 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")] - #[doc = "Sets the maximum number of outbound HRMP channels a parachain is allowed to open."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31770,21 +29815,25 @@ 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")] - #[doc = "Sets the maximum number of outbound HRMP messages can be sent by a candidate."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31792,21 +29841,25 @@ 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")] - #[doc = "Set the number of session changes after which a PVF pre-checking voting is rejected."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31814,24 +29867,25 @@ 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")] - #[doc = "Sets the minimum delay between announcing the upgrade block for a parachain until the"] - #[doc = "upgrade taking place."] - #[doc = ""] - #[doc = "See the field documentation for information and constraints for the new value."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31839,22 +29893,25 @@ 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")] - #[doc = "Setting this to true will disable consistency checks for the configuration setters."] - #[doc = "Use with caution."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31862,21 +29919,25 @@ 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")] - #[doc = "Set the asynchronous backing parameters."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31885,21 +29946,25 @@ 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")] - #[doc = "Set PVF executor parameters."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31908,21 +29973,25 @@ 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")] - #[doc = "Set the on demand (parathreads) base fee."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31930,21 +29999,25 @@ 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")] - #[doc = "Set the on demand (parathreads) fee variability."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31952,21 +30025,25 @@ 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")] - #[doc = "Set the on demand (parathreads) queue max size."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31974,21 +30051,25 @@ 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")] - #[doc = "Set the on demand (parathreads) fee variability."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -31996,21 +30077,25 @@ 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")] - #[doc = "Set the on demand (parathreads) ttl in the claimqueue."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -32018,21 +30103,25 @@ 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")] - #[doc = "Set the minimum backing votes threshold."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -32040,90 +30129,20 @@ 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"; } - #[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 = "Set/Unset a node feature."] - pub struct SetNodeFeature { - pub index: set_node_feature::Index, - pub value: set_node_feature::Value, - } - pub mod set_node_feature { - use super::runtime_types; - pub type Index = ::core::primitive::u8; - pub type Value = ::core::primitive::bool; - } - impl ::subxt::blocks::StaticExtrinsic for SetNodeFeature { - const PALLET: &'static str = "Configuration"; - const CALL: &'static str = "set_node_feature"; - } - #[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 = "Set approval-voting-params."] - pub struct SetApprovalVotingParams { - pub new: set_approval_voting_params::New, - } - pub mod set_approval_voting_params { - use super::runtime_types; - pub type New = - runtime_types::polkadot_primitives::vstaging::ApprovalVotingParams; - } - impl ::subxt::blocks::StaticExtrinsic for SetApprovalVotingParams { - const PALLET: &'static str = "Configuration"; - const CALL: &'static str = "set_approval_voting_params"; - } - #[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 = "Set scheduler-params."] - pub struct SetSchedulerParams { - pub new: set_scheduler_params::New, - } - pub mod set_scheduler_params { - use super::runtime_types; - pub type New = runtime_types::polkadot_primitives::vstaging::SchedulerParams< - ::core::primitive::u32, - >; - } - impl ::subxt::blocks::StaticExtrinsic for SetSchedulerParams { - const PALLET: &'static str = "Configuration"; - const CALL: &'static str = "set_scheduler_params"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Set the validation upgrade cooldown."] + #[doc = "See [`Pallet::set_validation_upgrade_cooldown`]."] 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 }, @@ -32135,12 +30154,13 @@ pub mod api { ], ) } - #[doc = "Set the validation upgrade delay."] + #[doc = "See [`Pallet::set_validation_upgrade_delay`]."] 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 }, @@ -32151,12 +30171,13 @@ pub mod api { ], ) } - #[doc = "Set the acceptance period for an included candidate."] + #[doc = "See [`Pallet::set_code_retention_period`]."] 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 }, @@ -32168,12 +30189,12 @@ pub mod api { ], ) } - #[doc = "Set the max validation code size for incoming upgrades."] + #[doc = "See [`Pallet::set_max_code_size`]."] 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 }, @@ -32185,12 +30206,12 @@ pub mod api { ], ) } - #[doc = "Set the max POV block size for incoming upgrades."] + #[doc = "See [`Pallet::set_max_pov_size`]."] 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 }, @@ -32201,12 +30222,13 @@ pub mod api { ], ) } - #[doc = "Set the max head data size for paras."] + #[doc = "See [`Pallet::set_max_head_data_size`]."] 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 }, @@ -32218,47 +30240,49 @@ pub mod api { ], ) } - #[doc = "Set the number of coretime execution cores."] - #[doc = ""] - #[doc = "Note that this configuration is managed by the coretime chain. Only manually change"] - #[doc = "this, if you really know what you are doing!"] - pub fn set_coretime_cores( + #[doc = "See [`Pallet::set_on_demand_cores`]."] + pub fn set_on_demand_cores( &self, - new: types::set_coretime_cores::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + new: types::set_on_demand_cores::New, + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", - "set_coretime_cores", - types::SetCoretimeCores { new }, + "set_on_demand_cores", + types::SetOnDemandCores { new }, [ - 179u8, 131u8, 211u8, 152u8, 167u8, 6u8, 108u8, 94u8, 179u8, 97u8, 87u8, - 227u8, 57u8, 120u8, 133u8, 130u8, 59u8, 243u8, 224u8, 2u8, 11u8, 86u8, - 251u8, 77u8, 159u8, 177u8, 145u8, 34u8, 117u8, 93u8, 28u8, 52u8, + 157u8, 26u8, 82u8, 103u8, 83u8, 214u8, 92u8, 176u8, 93u8, 70u8, 32u8, + 217u8, 139u8, 30u8, 145u8, 237u8, 34u8, 121u8, 190u8, 17u8, 128u8, + 243u8, 241u8, 181u8, 85u8, 141u8, 107u8, 70u8, 121u8, 119u8, 20u8, + 104u8, ], ) } - #[doc = "Set the max number of times a claim may timeout on a core before it is abandoned"] - pub fn set_max_availability_timeouts( + #[doc = "See [`Pallet::set_on_demand_retries`]."] + pub fn set_on_demand_retries( &self, - new: types::set_max_availability_timeouts::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + new: types::set_on_demand_retries::New, + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", - "set_max_availability_timeouts", - types::SetMaxAvailabilityTimeouts { new }, + "set_on_demand_retries", + types::SetOnDemandRetries { new }, [ - 53u8, 141u8, 53u8, 9u8, 149u8, 145u8, 48u8, 165u8, 157u8, 2u8, 45u8, - 23u8, 128u8, 233u8, 27u8, 132u8, 189u8, 212u8, 45u8, 187u8, 2u8, 112u8, - 26u8, 88u8, 233u8, 84u8, 148u8, 73u8, 222u8, 208u8, 195u8, 153u8, + 228u8, 78u8, 216u8, 66u8, 17u8, 51u8, 84u8, 14u8, 80u8, 67u8, 24u8, + 138u8, 177u8, 108u8, 203u8, 87u8, 240u8, 125u8, 111u8, 223u8, 216u8, + 212u8, 69u8, 236u8, 216u8, 178u8, 166u8, 145u8, 115u8, 47u8, 147u8, + 235u8, ], ) } - #[doc = "Set the parachain validator-group rotation frequency"] + #[doc = "See [`Pallet::set_group_rotation_frequency`]."] 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 }, @@ -32269,12 +30293,13 @@ pub mod api { ], ) } - #[doc = "Set the availability period for paras."] + #[doc = "See [`Pallet::set_paras_availability_period`]."] 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 }, @@ -32285,12 +30310,13 @@ pub mod api { ], ) } - #[doc = "Set the scheduling lookahead, in expected number of blocks at peak throughput."] + #[doc = "See [`Pallet::set_scheduling_lookahead`]."] 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 }, @@ -32302,12 +30328,13 @@ pub mod api { ], ) } - #[doc = "Set the maximum number of validators to assign to any core."] + #[doc = "See [`Pallet::set_max_validators_per_core`]."] 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 }, @@ -32319,12 +30346,13 @@ pub mod api { ], ) } - #[doc = "Set the maximum number of validators to use in parachain consensus."] + #[doc = "See [`Pallet::set_max_validators`]."] 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 }, @@ -32336,12 +30364,13 @@ pub mod api { ], ) } - #[doc = "Set the dispute period, in number of sessions to keep for disputes."] + #[doc = "See [`Pallet::set_dispute_period`]."] 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 }, @@ -32353,13 +30382,14 @@ pub mod api { ], ) } - #[doc = "Set the dispute post conclusion acceptance period."] + #[doc = "See [`Pallet::set_dispute_post_conclusion_acceptance_period`]."] 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 }, @@ -32371,13 +30401,12 @@ pub mod api { ], ) } - #[doc = "Set the no show slots, in number of number of consensus slots."] - #[doc = "Must be at least 1."] + #[doc = "See [`Pallet::set_no_show_slots`]."] 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 }, @@ -32388,12 +30417,13 @@ pub mod api { ], ) } - #[doc = "Set the total number of delay tranches."] + #[doc = "See [`Pallet::set_n_delay_tranches`]."] 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 }, @@ -32405,12 +30435,13 @@ pub mod api { ], ) } - #[doc = "Set the zeroth delay tranche width."] + #[doc = "See [`Pallet::set_zeroth_delay_tranche_width`]."] 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 }, @@ -32421,12 +30452,13 @@ pub mod api { ], ) } - #[doc = "Set the number of validators needed to approve a block."] + #[doc = "See [`Pallet::set_needed_approvals`]."] 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 }, @@ -32437,12 +30469,13 @@ pub mod api { ], ) } - #[doc = "Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion."] + #[doc = "See [`Pallet::set_relay_vrf_modulo_samples`]."] 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 }, @@ -32454,12 +30487,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum items that can present in a upward dispatch queue at once."] + #[doc = "See [`Pallet::set_max_upward_queue_count`]."] 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 }, @@ -32471,13 +30505,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum total size of items that can present in a upward dispatch queue at"] - #[doc = "once."] + #[doc = "See [`Pallet::set_max_upward_queue_size`]."] 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 }, @@ -32489,12 +30523,13 @@ pub mod api { ], ) } - #[doc = "Set the critical downward message size."] + #[doc = "See [`Pallet::set_max_downward_message_size`]."] 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 }, @@ -32505,12 +30540,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum size of an upward message that can be sent by a candidate."] + #[doc = "See [`Pallet::set_max_upward_message_size`]."] 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 }, @@ -32522,13 +30558,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum number of messages that a candidate can contain."] + #[doc = "See [`Pallet::set_max_upward_message_num_per_candidate`]."] 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 }, @@ -32539,12 +30575,13 @@ pub mod api { ], ) } - #[doc = "Sets the number of sessions after which an HRMP open channel request expires."] + #[doc = "See [`Pallet::set_hrmp_open_request_ttl`]."] 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 }, @@ -32555,12 +30592,13 @@ pub mod api { ], ) } - #[doc = "Sets the amount of funds that the sender should provide for opening an HRMP channel."] + #[doc = "See [`Pallet::set_hrmp_sender_deposit`]."] 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 }, @@ -32571,13 +30609,13 @@ pub mod api { ], ) } - #[doc = "Sets the amount of funds that the recipient should provide for accepting opening an HRMP"] - #[doc = "channel."] + #[doc = "See [`Pallet::set_hrmp_recipient_deposit`]."] 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 }, @@ -32589,12 +30627,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum number of messages allowed in an HRMP channel at once."] + #[doc = "See [`Pallet::set_hrmp_channel_max_capacity`]."] 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 }, @@ -32606,12 +30645,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum total size of messages in bytes allowed in an HRMP channel at once."] + #[doc = "See [`Pallet::set_hrmp_channel_max_total_size`]."] 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 }, @@ -32622,13 +30662,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum number of inbound HRMP channels a parachain is allowed to accept."] + #[doc = "See [`Pallet::set_hrmp_max_parachain_inbound_channels`]."] 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 }, @@ -32639,12 +30679,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum size of a message that could ever be put into an HRMP channel."] + #[doc = "See [`Pallet::set_hrmp_channel_max_message_size`]."] 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 }, @@ -32656,13 +30697,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum number of outbound HRMP channels a parachain is allowed to open."] + #[doc = "See [`Pallet::set_hrmp_max_parachain_outbound_channels`]."] 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 }, @@ -32673,12 +30714,13 @@ pub mod api { ], ) } - #[doc = "Sets the maximum number of outbound HRMP messages can be sent by a candidate."] + #[doc = "See [`Pallet::set_hrmp_max_message_num_per_candidate`]."] 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 }, @@ -32689,12 +30731,12 @@ pub mod api { ], ) } - #[doc = "Set the number of session changes after which a PVF pre-checking voting is rejected."] + #[doc = "See [`Pallet::set_pvf_voting_ttl`]."] 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 }, @@ -32706,15 +30748,13 @@ pub mod api { ], ) } - #[doc = "Sets the minimum delay between announcing the upgrade block for a parachain until the"] - #[doc = "upgrade taking place."] - #[doc = ""] - #[doc = "See the field documentation for information and constraints for the new value."] + #[doc = "See [`Pallet::set_minimum_validation_upgrade_delay`]."] 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 }, @@ -32726,13 +30766,13 @@ pub mod api { ], ) } - #[doc = "Setting this to true will disable consistency checks for the configuration setters."] - #[doc = "Use with caution."] + #[doc = "See [`Pallet::set_bypass_consistency_check`]."] 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 }, @@ -32744,12 +30784,13 @@ pub mod api { ], ) } - #[doc = "Set the asynchronous backing parameters."] + #[doc = "See [`Pallet::set_async_backing_params`]."] 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 }, @@ -32761,28 +30802,30 @@ pub mod api { ], ) } - #[doc = "Set PVF executor parameters."] + #[doc = "See [`Pallet::set_executor_params`]."] 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 }, [ - 79u8, 167u8, 242u8, 14u8, 22u8, 177u8, 240u8, 134u8, 154u8, 77u8, - 233u8, 188u8, 110u8, 223u8, 25u8, 52u8, 58u8, 241u8, 226u8, 255u8, 2u8, - 26u8, 8u8, 241u8, 125u8, 33u8, 63u8, 204u8, 93u8, 31u8, 229u8, 0u8, + 219u8, 27u8, 25u8, 162u8, 61u8, 189u8, 61u8, 32u8, 101u8, 139u8, 89u8, + 51u8, 191u8, 223u8, 94u8, 145u8, 109u8, 247u8, 22u8, 64u8, 178u8, 97u8, + 239u8, 0u8, 125u8, 20u8, 62u8, 210u8, 110u8, 79u8, 225u8, 43u8, ], ) } - #[doc = "Set the on demand (parathreads) base fee."] + #[doc = "See [`Pallet::set_on_demand_base_fee`]."] 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 }, @@ -32793,12 +30836,13 @@ pub mod api { ], ) } - #[doc = "Set the on demand (parathreads) fee variability."] + #[doc = "See [`Pallet::set_on_demand_fee_variability`]."] 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 }, @@ -32810,12 +30854,13 @@ pub mod api { ], ) } - #[doc = "Set the on demand (parathreads) queue max size."] + #[doc = "See [`Pallet::set_on_demand_queue_max_size`]."] 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 }, @@ -32826,13 +30871,13 @@ pub mod api { ], ) } - #[doc = "Set the on demand (parathreads) fee variability."] + #[doc = "See [`Pallet::set_on_demand_target_queue_utilization`]."] 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 }, @@ -32844,12 +30889,12 @@ pub mod api { ], ) } - #[doc = "Set the on demand (parathreads) ttl in the claimqueue."] + #[doc = "See [`Pallet::set_on_demand_ttl`]."] 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 }, @@ -32861,12 +30906,13 @@ pub mod api { ], ) } - #[doc = "Set the minimum backing votes threshold."] + #[doc = "See [`Pallet::set_minimum_backing_votes`]."] 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 }, @@ -32877,56 +30923,6 @@ pub mod api { ], ) } - #[doc = "Set/Unset a node feature."] - pub fn set_node_feature( - &self, - index: types::set_node_feature::Index, - value: types::set_node_feature::Value, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Configuration", - "set_node_feature", - types::SetNodeFeature { index, value }, - [ - 255u8, 19u8, 208u8, 76u8, 122u8, 6u8, 42u8, 182u8, 118u8, 151u8, 245u8, - 80u8, 162u8, 243u8, 45u8, 57u8, 122u8, 148u8, 98u8, 170u8, 157u8, 40u8, - 92u8, 234u8, 12u8, 141u8, 54u8, 80u8, 97u8, 249u8, 115u8, 27u8, - ], - ) - } - #[doc = "Set approval-voting-params."] - pub fn set_approval_voting_params( - &self, - new: types::set_approval_voting_params::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Configuration", - "set_approval_voting_params", - types::SetApprovalVotingParams { new }, - [ - 248u8, 81u8, 74u8, 103u8, 28u8, 108u8, 190u8, 177u8, 201u8, 252u8, - 87u8, 236u8, 20u8, 189u8, 192u8, 173u8, 40u8, 160u8, 170u8, 187u8, - 42u8, 108u8, 184u8, 131u8, 120u8, 237u8, 229u8, 240u8, 128u8, 49u8, - 163u8, 11u8, - ], - ) - } - #[doc = "Set scheduler-params."] - pub fn set_scheduler_params( - &self, - new: types::set_scheduler_params::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Configuration", - "set_scheduler_params", - types::SetSchedulerParams { new }, - [ - 191u8, 87u8, 235u8, 71u8, 143u8, 46u8, 2u8, 88u8, 111u8, 15u8, 251u8, - 230u8, 241u8, 172u8, 183u8, 110u8, 33u8, 26u8, 43u8, 119u8, 74u8, 62u8, - 200u8, 226u8, 83u8, 180u8, 123u8, 132u8, 171u8, 65u8, 30u8, 13u8, - ], - ) - } } } pub mod storage { @@ -32939,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; @@ -32951,22 +30947,22 @@ pub mod api { #[doc = " The active configuration for the current session."] pub fn active_config( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 139u8, 211u8, 123u8, 64u8, 213u8, 119u8, 27u8, 145u8, 140u8, 101u8, - 90u8, 64u8, 218u8, 130u8, 96u8, 66u8, 107u8, 131u8, 85u8, 4u8, 136u8, - 199u8, 248u8, 106u8, 206u8, 16u8, 205u8, 244u8, 67u8, 105u8, 20u8, - 22u8, + 126u8, 223u8, 107u8, 199u8, 21u8, 114u8, 19u8, 172u8, 27u8, 108u8, + 189u8, 165u8, 33u8, 220u8, 57u8, 81u8, 137u8, 242u8, 204u8, 148u8, + 61u8, 161u8, 156u8, 36u8, 20u8, 172u8, 117u8, 30u8, 152u8, 210u8, + 207u8, 161u8, ], ) } @@ -32979,21 +30975,22 @@ 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::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", (), [ - 7u8, 170u8, 38u8, 177u8, 76u8, 75u8, 198u8, 192u8, 247u8, 137u8, 85u8, - 17u8, 74u8, 93u8, 170u8, 177u8, 198u8, 208u8, 183u8, 28u8, 178u8, 5u8, - 39u8, 246u8, 175u8, 78u8, 145u8, 37u8, 212u8, 20u8, 52u8, 110u8, + 105u8, 89u8, 53u8, 156u8, 60u8, 53u8, 196u8, 187u8, 5u8, 122u8, 186u8, + 196u8, 162u8, 133u8, 254u8, 178u8, 130u8, 143u8, 90u8, 23u8, 234u8, + 105u8, 9u8, 121u8, 142u8, 123u8, 136u8, 166u8, 95u8, 215u8, 176u8, + 46u8, ], ) } @@ -33001,14 +30998,14 @@ 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::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", (), @@ -33048,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; @@ -33067,14 +31065,14 @@ pub mod api { #[doc = " The current session index."] pub fn current_session_index( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -33090,14 +31088,14 @@ pub mod api { #[doc = " Indices are into the broader validator set."] pub fn active_validator_indices( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -33112,14 +31110,14 @@ pub mod api { #[doc = " consensus. This should be the same length as `ActiveValidatorIndices`."] pub fn active_validator_keys( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -33134,14 +31132,14 @@ pub mod api { #[doc = " All allowed relay-parents."] pub fn allowed_relay_parents( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -33178,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, @@ -33196,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, @@ -33226,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, @@ -33255,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, @@ -33285,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"; } @@ -33301,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 { @@ -33318,14 +31319,14 @@ 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::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", (), @@ -33339,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -33363,14 +31366,14 @@ pub mod api { #[doc = " Candidates pending availability by `ParaId`."] pub fn pending_availability_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -33384,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -33408,14 +31413,14 @@ pub mod api { #[doc = " The commitments of candidates pending availability, by `ParaId`."] pub fn pending_availability_commitments_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -33429,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -33467,16 +31474,20 @@ 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")] - #[doc = "Enter the paras inherent. This will process bitfields and backed candidates."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -33486,27 +31497,26 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Enter the paras inherent. This will process bitfields and backed candidates."] + #[doc = "See [`Pallet::enter`]."] 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 }, [ - 43u8, 145u8, 39u8, 208u8, 205u8, 120u8, 57u8, 196u8, 192u8, 128u8, - 144u8, 83u8, 121u8, 232u8, 191u8, 82u8, 200u8, 129u8, 139u8, 27u8, - 126u8, 177u8, 240u8, 158u8, 232u8, 180u8, 26u8, 180u8, 116u8, 148u8, - 168u8, 41u8, + 145u8, 120u8, 158u8, 39u8, 139u8, 223u8, 236u8, 209u8, 253u8, 108u8, + 188u8, 21u8, 23u8, 61u8, 25u8, 171u8, 30u8, 203u8, 161u8, 117u8, 90u8, + 55u8, 50u8, 107u8, 26u8, 52u8, 26u8, 158u8, 56u8, 218u8, 186u8, 142u8, ], ) } @@ -33524,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, >; } } @@ -33538,14 +31548,14 @@ 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::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", (), @@ -33559,22 +31569,22 @@ 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::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", (), [ - 65u8, 20u8, 36u8, 37u8, 239u8, 150u8, 32u8, 78u8, 226u8, 88u8, 80u8, - 240u8, 12u8, 156u8, 176u8, 75u8, 231u8, 204u8, 37u8, 24u8, 204u8, - 228u8, 75u8, 235u8, 43u8, 163u8, 174u8, 152u8, 166u8, 17u8, 232u8, - 33u8, + 200u8, 210u8, 42u8, 153u8, 85u8, 71u8, 171u8, 108u8, 148u8, 212u8, + 108u8, 61u8, 178u8, 77u8, 129u8, 90u8, 120u8, 218u8, 228u8, 152u8, + 120u8, 226u8, 29u8, 82u8, 239u8, 146u8, 41u8, 164u8, 193u8, 207u8, + 246u8, 115u8, ], ) } @@ -33590,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, >, @@ -33608,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 < 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; @@ -33622,14 +31634,14 @@ pub mod api { #[doc = " upper bound at 10k."] pub fn validator_groups( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -33640,30 +31652,31 @@ pub mod api { ], ) } - #[doc = " One entry for each availability core. The i'th parachain belongs to the i'th core, with the"] - #[doc = " remaining cores all being on demand parachain multiplexers."] + #[doc = " One entry for each availability core. Entries are `None` if the core is not currently"] + #[doc = " occupied. Can be temporarily `Some` if scheduled but not occupied."] + #[doc = " The i'th parachain belongs to the i'th core, with the remaining cores all being"] + #[doc = " parathread-multiplexers."] #[doc = ""] #[doc = " Bounded by the maximum of either of these two values:"] #[doc = " * The number of parachains and parathread multiplexers"] #[doc = " * The number of validators divided by `configuration.max_validators_per_core`."] pub fn availability_cores( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 250u8, 177u8, 44u8, 237u8, 5u8, 116u8, 135u8, 99u8, 136u8, 209u8, - 181u8, 145u8, 254u8, 57u8, 42u8, 92u8, 236u8, 67u8, 128u8, 171u8, - 200u8, 88u8, 40u8, 31u8, 163u8, 128u8, 15u8, 96u8, 181u8, 224u8, 162u8, - 188u8, + 134u8, 59u8, 206u8, 4u8, 69u8, 72u8, 73u8, 25u8, 139u8, 152u8, 202u8, + 43u8, 224u8, 77u8, 64u8, 57u8, 218u8, 245u8, 254u8, 222u8, 227u8, 95u8, + 119u8, 134u8, 218u8, 47u8, 154u8, 233u8, 229u8, 172u8, 100u8, 86u8, ], ) } @@ -33676,14 +31689,14 @@ 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::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", (), @@ -33695,26 +31708,27 @@ pub mod api { ) } #[doc = " One entry for each availability core. The `VecDeque` represents the assignments to be"] - #[doc = " scheduled on that core. The value contained here will not be valid after the end of"] - #[doc = " a block. Runtime APIs should be used to determine scheduled cores for the upcoming block."] + #[doc = " scheduled on that core. `None` is used to signal to not schedule the next para of the core"] + #[doc = " as there is one currently being scheduled. Not using `None` here would overwrite the"] + #[doc = " `CoreState` in the runtime API. The value contained here will not be valid after the end of"] + #[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::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", (), [ - 192u8, 65u8, 227u8, 114u8, 125u8, 169u8, 134u8, 70u8, 201u8, 99u8, - 246u8, 23u8, 0u8, 143u8, 163u8, 87u8, 216u8, 1u8, 184u8, 124u8, 23u8, - 180u8, 132u8, 143u8, 202u8, 81u8, 144u8, 242u8, 15u8, 141u8, 124u8, - 126u8, + 132u8, 78u8, 109u8, 225u8, 170u8, 78u8, 17u8, 53u8, 56u8, 218u8, 14u8, + 17u8, 230u8, 247u8, 11u8, 223u8, 18u8, 98u8, 92u8, 164u8, 223u8, 143u8, + 241u8, 64u8, 185u8, 108u8, 228u8, 137u8, 122u8, 100u8, 29u8, 239u8, ], ) } @@ -33735,16 +31749,20 @@ 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")] - #[doc = "Set the storage for the parachain validation code immediately."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub new_code: force_set_current_code::NewCode, @@ -33755,21 +31773,25 @@ 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")] - #[doc = "Set the storage for the current parachain head data immediately."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub new_head: force_set_current_head::NewHead, @@ -33780,21 +31802,25 @@ 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")] - #[doc = "Schedule an upgrade as if it was scheduled in the given relay parent block."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub new_code: force_schedule_code_upgrade::NewCode, @@ -33807,21 +31833,25 @@ 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")] - #[doc = "Note a new block head for para within the context of the current block."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub new_head: force_note_new_head::NewHead, @@ -33832,23 +31862,25 @@ 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")] - #[doc = "Put a parachain directly into the next session's action queue."] - #[doc = "We can't queue it any sooner than this without going into the"] - #[doc = "initializer..."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -33856,34 +31888,25 @@ 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")] - #[doc = "Adds the validation code to the storage."] - #[doc = ""] - #[doc = "The code will not be added if it is already present. Additionally, if PVF pre-checking"] - #[doc = "is running for that code, it will be instantly accepted."] - #[doc = ""] - #[doc = "Otherwise, the code will be added into the storage. Note that the code will be added"] - #[doc = "into storage with reference count 0. This is to account the fact that there are no users"] - #[doc = "for this code yet. The caller will have to make sure that this code eventually gets"] - #[doc = "used by some parachain or removed from the storage to avoid storage leaks. For the"] - #[doc = "latter prefer to use the `poke_unused_validation_code` dispatchable to raw storage"] - #[doc = "manipulation."] - #[doc = ""] - #[doc = "This function is mainly meant to be used for upgrading parachains that do not follow"] - #[doc = "the go-ahead signal while the PVF pre-checking feature is enabled."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -33892,25 +31915,25 @@ 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")] - #[doc = "Remove the validation code from the storage iff the reference count is 0."] - #[doc = ""] - #[doc = "This is better than removing the storage directly, because it will not remove the code"] - #[doc = "that was suddenly got used by some parachain while this dispatchable was pending"] - #[doc = "dispatching."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -33918,22 +31941,25 @@ 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")] - #[doc = "Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and"] - #[doc = "enacts the results if that was the last vote before achieving the supermajority."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub signature: include_pvf_check_statement::Signature, @@ -33944,21 +31970,25 @@ 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")] - #[doc = "Set the storage for the current parachain head data immediately."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub context: force_set_most_recent_context::Context, @@ -33968,20 +31998,21 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Set the storage for the parachain validation code immediately."] + #[doc = "See [`Pallet::force_set_current_code`]."] pub fn force_set_current_code( &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 }, @@ -33993,13 +32024,14 @@ pub mod api { ], ) } - #[doc = "Set the storage for the current parachain head data immediately."] + #[doc = "See [`Pallet::force_set_current_head`]."] pub fn force_set_current_head( &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 }, @@ -34011,14 +32043,15 @@ pub mod api { ], ) } - #[doc = "Schedule an upgrade as if it was scheduled in the given relay parent block."] + #[doc = "See [`Pallet::force_schedule_code_upgrade`]."] pub fn force_schedule_code_upgrade( &self, 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 { @@ -34034,13 +32067,14 @@ pub mod api { ], ) } - #[doc = "Note a new block head for para within the context of the current block."] + #[doc = "See [`Pallet::force_note_new_head`]."] pub fn force_note_new_head( &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 }, @@ -34051,14 +32085,13 @@ pub mod api { ], ) } - #[doc = "Put a parachain directly into the next session's action queue."] - #[doc = "We can't queue it any sooner than this without going into the"] - #[doc = "initializer..."] + #[doc = "See [`Pallet::force_queue_action`]."] 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 }, @@ -34070,25 +32103,13 @@ pub mod api { ], ) } - #[doc = "Adds the validation code to the storage."] - #[doc = ""] - #[doc = "The code will not be added if it is already present. Additionally, if PVF pre-checking"] - #[doc = "is running for that code, it will be instantly accepted."] - #[doc = ""] - #[doc = "Otherwise, the code will be added into the storage. Note that the code will be added"] - #[doc = "into storage with reference count 0. This is to account the fact that there are no users"] - #[doc = "for this code yet. The caller will have to make sure that this code eventually gets"] - #[doc = "used by some parachain or removed from the storage to avoid storage leaks. For the"] - #[doc = "latter prefer to use the `poke_unused_validation_code` dispatchable to raw storage"] - #[doc = "manipulation."] - #[doc = ""] - #[doc = "This function is mainly meant to be used for upgrading parachains that do not follow"] - #[doc = "the go-ahead signal while the PVF pre-checking feature is enabled."] + #[doc = "See [`Pallet::add_trusted_validation_code`]."] 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 }, @@ -34100,16 +32121,13 @@ pub mod api { ], ) } - #[doc = "Remove the validation code from the storage iff the reference count is 0."] - #[doc = ""] - #[doc = "This is better than removing the storage directly, because it will not remove the code"] - #[doc = "that was suddenly got used by some parachain while this dispatchable was pending"] - #[doc = "dispatching."] + #[doc = "See [`Pallet::poke_unused_validation_code`]."] 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 { @@ -34122,14 +32140,14 @@ pub mod api { ], ) } - #[doc = "Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and"] - #[doc = "enacts the results if that was the last vote before achieving the supermajority."] + #[doc = "See [`Pallet::include_pvf_check_statement`]."] pub fn include_pvf_check_statement( &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 }, @@ -34141,13 +32159,14 @@ pub mod api { ], ) } - #[doc = "Set the storage for the current parachain head data immediately."] + #[doc = "See [`Pallet::force_set_most_recent_context`]."] pub fn force_set_most_recent_context( &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 }, @@ -34165,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 { @@ -34261,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( @@ -34287,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( @@ -34313,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( @@ -34339,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"; } @@ -34358,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, >; } @@ -34404,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, )>; @@ -34433,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; @@ -34478,14 +32497,14 @@ 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::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", (), @@ -34502,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34524,14 +32547,14 @@ 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::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", (), @@ -34548,14 +32571,14 @@ pub mod api { #[doc = " Consider using the [`ParachainsCache`] type of modifying."] pub fn parachains( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -34570,14 +32593,14 @@ pub mod api { #[doc = " The current lifecycle of a all known Para IDs."] pub fn para_lifecycles_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -34592,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34615,14 +32642,14 @@ pub mod api { #[doc = " The head-data of every registered para."] pub fn heads_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -34636,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34658,14 +32689,14 @@ 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::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", (), @@ -34679,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34703,14 +32738,14 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn current_code_hash_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -34727,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34753,14 +32792,14 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn past_code_hash_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -34777,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34802,24 +32845,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -34833,14 +32884,14 @@ pub mod api { #[doc = " to keep it available for approval checkers."] pub fn past_code_meta_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -34856,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34883,14 +32938,14 @@ 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::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", (), @@ -34906,14 +32961,14 @@ 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::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", (), @@ -34929,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -34955,14 +33012,14 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn future_code_hash_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -34978,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35009,14 +33070,14 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_go_ahead_signal_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35040,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35073,14 +33136,14 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_restriction_signal_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35103,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35130,14 +33195,14 @@ pub mod api { #[doc = " Ordered ascending by block number."] pub fn upgrade_cooldowns( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35155,14 +33220,14 @@ pub mod api { #[doc = " Ordered ascending by block number."] pub fn upcoming_upgrades( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35176,14 +33241,14 @@ 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::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", (), @@ -35197,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35222,14 +33291,14 @@ 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::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", (), @@ -35247,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35272,14 +33343,14 @@ 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::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", (), @@ -35294,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35320,14 +33395,14 @@ pub mod api { #[doc = " [`PastCodeHash`]."] pub fn code_by_hash_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35344,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35371,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", [ @@ -35398,18 +33478,20 @@ 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")] - #[doc = "Issue a signal to the consensus engine to forcibly act as though all parachain"] - #[doc = "blocks in all relay chain blocks up to and including the given number in the current"] - #[doc = "chain are valid and should be finalized."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -35417,21 +33499,19 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Issue a signal to the consensus engine to forcibly act as though all parachain"] - #[doc = "blocks in all relay chain blocks up to and including the given number in the current"] - #[doc = "chain are valid and should be finalized."] + #[doc = "See [`Pallet::force_approve`]."] 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 }, @@ -35455,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; @@ -35470,14 +33550,14 @@ pub mod api { #[doc = " for the semantics of this variable."] pub fn has_initialized( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35497,14 +33577,14 @@ pub mod api { #[doc = " upgrade boundaries or if governance intervenes."] pub fn buffered_session_changes( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35527,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, >, @@ -35536,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 { @@ -35551,14 +33631,14 @@ pub mod api { #[doc = " The downward messages addressed for a certain para."] pub fn downward_message_queues_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -35573,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35604,14 +33686,14 @@ 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::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", (), @@ -35631,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35655,14 +33739,14 @@ 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::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", (), @@ -35676,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -35712,25 +33800,20 @@ 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")] - #[doc = "Initiate opening a channel from a parachain to a given recipient with given channel"] - #[doc = "parameters."] - #[doc = ""] - #[doc = "- `proposed_max_capacity` - specifies how many messages can be in the channel at once."] - #[doc = "- `proposed_max_message_size` - specifies the maximum size of the messages."] - #[doc = ""] - #[doc = "These numbers are a subject to the relay-chain configuration limits."] - #[doc = ""] - #[doc = "The channel can be opened only after the recipient confirms it and only on a session"] - #[doc = "change."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub proposed_max_capacity: hrmp_init_open_channel::ProposedMaxCapacity, @@ -35743,23 +33826,25 @@ 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")] - #[doc = "Accept a pending open channel request from the given sender."] - #[doc = ""] - #[doc = "The channel will be opened only on the next session boundary."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -35767,24 +33852,25 @@ 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")] - #[doc = "Initiate unilateral closing of a channel. The origin must be either the sender or the"] - #[doc = "recipient in the channel being closed."] - #[doc = ""] - #[doc = "The closure can only happen on a session change."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -35793,27 +33879,25 @@ 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")] - #[doc = "This extrinsic triggers the cleanup of all the HRMP storage items that a para may have."] - #[doc = "Normally this happens once per session, but this allows you to trigger the cleanup"] - #[doc = "immediately for a specific parachain."] - #[doc = ""] - #[doc = "Number of inbound and outbound channels for `para` must be provided as witness data."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub num_inbound: force_clean_hrmp::NumInbound, @@ -35825,28 +33909,25 @@ 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")] - #[doc = "Force process HRMP open channel requests."] - #[doc = ""] - #[doc = "If there are pending HRMP open channel requests, you can use this function to process"] - #[doc = "all of those requests immediately."] - #[doc = ""] - #[doc = "Total number of opening channels must be provided as witness data."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -35854,28 +33935,25 @@ 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")] - #[doc = "Force process HRMP close channel requests."] - #[doc = ""] - #[doc = "If there are pending HRMP close channel requests, you can use this function to process"] - #[doc = "all of those requests immediately."] - #[doc = ""] - #[doc = "Total number of closing channels must be provided as witness data."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -35883,28 +33961,25 @@ 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")] - #[doc = "This cancels a pending open channel request. It can be canceled by either of the sender"] - #[doc = "or the recipient for that request. The origin must be either of those."] - #[doc = ""] - #[doc = "The cancellation happens immediately. It is not possible to cancel the request if it is"] - #[doc = "already accepted."] - #[doc = ""] - #[doc = "Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as"] - #[doc = "witness data."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub open_requests: hrmp_cancel_open_request::OpenRequests, @@ -35915,28 +33990,25 @@ 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")] - #[doc = "Open a channel from a `sender` to a `recipient` `ParaId`. Although opened by governance,"] - #[doc = "the `max_capacity` and `max_message_size` are still subject to the Relay Chain's"] - #[doc = "configured limits."] - #[doc = ""] - #[doc = "Expected use is when one (and only one) of the `ParaId`s involved in the channel is"] - #[doc = "governed by the system, e.g. a system parachain."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub recipient: force_open_hrmp_channel::Recipient, @@ -35951,32 +34023,25 @@ 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")] - #[doc = "Establish an HRMP channel between two system chains. If the channel does not already"] - #[doc = "exist, the transaction fees will be refunded to the caller. The system does not take"] - #[doc = "deposits for channels between system chains, and automatically sets the message number"] - #[doc = "and size limits to the maximum allowed by the network's configuration."] - #[doc = ""] - #[doc = "Arguments:"] - #[doc = ""] - #[doc = "- `sender`: A system chain, `ParaId`."] - #[doc = "- `recipient`: A system chain, `ParaId`."] - #[doc = ""] - #[doc = "Any signed origin can call this function, but _both_ inputs MUST be system chains. If"] - #[doc = "the channel does not exist yet, there is no fee."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub recipient: establish_system_channel::Recipient, @@ -35987,29 +34052,25 @@ 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")] - #[doc = "Update the deposits held for an HRMP channel to the latest `Configuration`. Channels"] - #[doc = "with system chains do not require a deposit."] - #[doc = ""] - #[doc = "Arguments:"] - #[doc = ""] - #[doc = "- `sender`: A chain, `ParaId`."] - #[doc = "- `recipient`: A chain, `ParaId`."] - #[doc = ""] - #[doc = "Any signed origin can call this function."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub recipient: poke_channel_deposits::Recipient, @@ -36020,30 +34081,22 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Initiate opening a channel from a parachain to a given recipient with given channel"] - #[doc = "parameters."] - #[doc = ""] - #[doc = "- `proposed_max_capacity` - specifies how many messages can be in the channel at once."] - #[doc = "- `proposed_max_message_size` - specifies the maximum size of the messages."] - #[doc = ""] - #[doc = "These numbers are a subject to the relay-chain configuration limits."] - #[doc = ""] - #[doc = "The channel can be opened only after the recipient confirms it and only on a session"] - #[doc = "change."] + #[doc = "See [`Pallet::hrmp_init_open_channel`]."] pub fn hrmp_init_open_channel( &self, 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 { @@ -36059,14 +34112,13 @@ pub mod api { ], ) } - #[doc = "Accept a pending open channel request from the given sender."] - #[doc = ""] - #[doc = "The channel will be opened only on the next session boundary."] + #[doc = "See [`Pallet::hrmp_accept_open_channel`]."] 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 }, @@ -36077,15 +34129,13 @@ pub mod api { ], ) } - #[doc = "Initiate unilateral closing of a channel. The origin must be either the sender or the"] - #[doc = "recipient in the channel being closed."] - #[doc = ""] - #[doc = "The closure can only happen on a session change."] + #[doc = "See [`Pallet::hrmp_close_channel`]."] 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 }, @@ -36097,20 +34147,14 @@ pub mod api { ], ) } - #[doc = "This extrinsic triggers the cleanup of all the HRMP storage items that a para may have."] - #[doc = "Normally this happens once per session, but this allows you to trigger the cleanup"] - #[doc = "immediately for a specific parachain."] - #[doc = ""] - #[doc = "Number of inbound and outbound channels for `para` must be provided as witness data."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + #[doc = "See [`Pallet::force_clean_hrmp`]."] pub fn force_clean_hrmp( &self, 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 { @@ -36125,19 +34169,13 @@ pub mod api { ], ) } - #[doc = "Force process HRMP open channel requests."] - #[doc = ""] - #[doc = "If there are pending HRMP open channel requests, you can use this function to process"] - #[doc = "all of those requests immediately."] - #[doc = ""] - #[doc = "Total number of opening channels must be provided as witness data."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + #[doc = "See [`Pallet::force_process_hrmp_open`]."] 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 }, @@ -36149,19 +34187,13 @@ pub mod api { ], ) } - #[doc = "Force process HRMP close channel requests."] - #[doc = ""] - #[doc = "If there are pending HRMP close channel requests, you can use this function to process"] - #[doc = "all of those requests immediately."] - #[doc = ""] - #[doc = "Total number of closing channels must be provided as witness data."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + #[doc = "See [`Pallet::force_process_hrmp_close`]."] 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 }, @@ -36173,20 +34205,14 @@ pub mod api { ], ) } - #[doc = "This cancels a pending open channel request. It can be canceled by either of the sender"] - #[doc = "or the recipient for that request. The origin must be either of those."] - #[doc = ""] - #[doc = "The cancellation happens immediately. It is not possible to cancel the request if it is"] - #[doc = "already accepted."] - #[doc = ""] - #[doc = "Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as"] - #[doc = "witness data."] + #[doc = "See [`Pallet::hrmp_cancel_open_request`]."] pub fn hrmp_cancel_open_request( &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 { @@ -36200,22 +34226,16 @@ pub mod api { ], ) } - #[doc = "Open a channel from a `sender` to a `recipient` `ParaId`. Although opened by governance,"] - #[doc = "the `max_capacity` and `max_message_size` are still subject to the Relay Chain's"] - #[doc = "configured limits."] - #[doc = ""] - #[doc = "Expected use is when one (and only one) of the `ParaId`s involved in the channel is"] - #[doc = "governed by the system, e.g. a system parachain."] - #[doc = ""] - #[doc = "Origin must be the `ChannelManager`."] + #[doc = "See [`Pallet::force_open_hrmp_channel`]."] pub fn force_open_hrmp_channel( &self, sender: types::force_open_hrmp_channel::Sender, 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 { @@ -36231,24 +34251,14 @@ pub mod api { ], ) } - #[doc = "Establish an HRMP channel between two system chains. If the channel does not already"] - #[doc = "exist, the transaction fees will be refunded to the caller. The system does not take"] - #[doc = "deposits for channels between system chains, and automatically sets the message number"] - #[doc = "and size limits to the maximum allowed by the network's configuration."] - #[doc = ""] - #[doc = "Arguments:"] - #[doc = ""] - #[doc = "- `sender`: A system chain, `ParaId`."] - #[doc = "- `recipient`: A system chain, `ParaId`."] - #[doc = ""] - #[doc = "Any signed origin can call this function, but _both_ inputs MUST be system chains. If"] - #[doc = "the channel does not exist yet, there is no fee."] + #[doc = "See [`Pallet::establish_system_channel`]."] pub fn establish_system_channel( &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 }, @@ -36259,21 +34269,14 @@ pub mod api { ], ) } - #[doc = "Update the deposits held for an HRMP channel to the latest `Configuration`. Channels"] - #[doc = "with system chains do not require a deposit."] - #[doc = ""] - #[doc = "Arguments:"] - #[doc = ""] - #[doc = "- `sender`: A chain, `ParaId`."] - #[doc = "- `recipient`: A chain, `ParaId`."] - #[doc = ""] - #[doc = "Any signed origin can call this function."] + #[doc = "See [`Pallet::poke_channel_deposits`]."] pub fn poke_channel_deposits( &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 }, @@ -36291,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, @@ -36314,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, @@ -36339,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, @@ -36363,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, @@ -36388,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, @@ -36416,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, @@ -36444,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, @@ -36468,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"; } @@ -36486,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; @@ -36508,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; @@ -36526,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, >, @@ -36550,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, >, )>; @@ -36569,14 +34574,14 @@ 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::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", (), @@ -36596,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -36620,14 +34627,14 @@ pub mod api { } pub fn hrmp_open_channel_requests_list( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -36644,14 +34651,14 @@ 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::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", (), @@ -36668,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -36695,14 +34704,14 @@ 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::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", (), @@ -36719,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -36750,14 +34761,14 @@ 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::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", (), @@ -36778,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -36802,14 +34815,14 @@ pub mod api { } pub fn hrmp_close_channel_requests_list( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -36826,14 +34839,14 @@ pub mod api { #[doc = " session."] pub fn hrmp_watermarks_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -36850,18 +34863,22 @@ pub mod api { #[doc = " session."] pub fn hrmp_watermarks( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -36874,14 +34891,14 @@ 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::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", (), @@ -36898,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -36933,14 +34954,14 @@ pub mod api { #[doc = " - the vectors are sorted."] pub fn hrmp_ingress_channels_index_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -36967,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -36991,14 +35014,14 @@ pub mod api { } pub fn hrmp_egress_channels_index_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37011,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37036,14 +35061,14 @@ 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::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", (), @@ -37059,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37089,14 +35116,14 @@ pub mod api { #[doc = " same block number."] pub fn hrmp_channel_digests_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37115,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37148,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, >; } @@ -37163,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 { @@ -37180,14 +35211,14 @@ pub mod api { #[doc = " When in doubt, use `Sessions` API instead."] pub fn assignment_keys_unsafe( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37201,14 +35232,14 @@ 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::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", (), @@ -37224,14 +35255,14 @@ 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::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", (), @@ -37248,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37271,14 +35306,14 @@ 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::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", (), @@ -37293,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37316,45 +35355,49 @@ pub mod api { #[doc = " Executor parameter set for a given session index"] pub fn session_executor_params_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 38u8, 80u8, 118u8, 112u8, 189u8, 55u8, 95u8, 184u8, 19u8, 8u8, 114u8, - 6u8, 173u8, 80u8, 254u8, 98u8, 107u8, 202u8, 215u8, 107u8, 149u8, - 157u8, 145u8, 8u8, 249u8, 255u8, 83u8, 199u8, 47u8, 179u8, 208u8, 83u8, + 102u8, 51u8, 28u8, 199u8, 238u8, 229u8, 99u8, 38u8, 116u8, 154u8, + 250u8, 136u8, 240u8, 122u8, 82u8, 13u8, 139u8, 160u8, 149u8, 218u8, + 162u8, 130u8, 109u8, 251u8, 10u8, 109u8, 200u8, 158u8, 32u8, 157u8, + 84u8, 234u8, ], ) } #[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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 38u8, 80u8, 118u8, 112u8, 189u8, 55u8, 95u8, 184u8, 19u8, 8u8, 114u8, - 6u8, 173u8, 80u8, 254u8, 98u8, 107u8, 202u8, 215u8, 107u8, 149u8, - 157u8, 145u8, 8u8, 249u8, 255u8, 83u8, 199u8, 47u8, 179u8, 208u8, 83u8, + 102u8, 51u8, 28u8, 199u8, 238u8, 229u8, 99u8, 38u8, 116u8, 154u8, + 250u8, 136u8, 240u8, 122u8, 82u8, 13u8, 139u8, 160u8, 149u8, 218u8, + 162u8, 130u8, 109u8, 251u8, 10u8, 109u8, 200u8, 158u8, 32u8, 157u8, + 84u8, 234u8, ], ) } @@ -37375,25 +35418,33 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - pub fn force_unfreeze(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::force_unfreeze`]."] + pub fn force_unfreeze( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasDisputes", "force_unfreeze", types::ForceUnfreeze {}, @@ -37411,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, @@ -37431,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( @@ -37457,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"] @@ -37480,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"; } @@ -37503,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; } @@ -37525,14 +35577,14 @@ pub mod api { #[doc = " references sessions."] pub fn last_pruned_session( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37547,14 +35599,14 @@ pub mod api { #[doc = " All ongoing or concluded disputes for the last several sessions."] pub fn disputes_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37569,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37592,24 +35648,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -37623,14 +35687,14 @@ pub mod api { #[doc = " This storage is used for slashing."] pub fn backers_on_disputes_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37646,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37670,28 +35738,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::backers_on_disputes::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -37705,14 +35777,14 @@ 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::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", (), @@ -37728,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37752,24 +35828,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -37785,14 +35869,14 @@ pub mod api { #[doc = " It can only be set back to `None` by governance intervention."] pub fn frozen( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37822,18 +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 { @@ -37842,23 +35932,27 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { + #[doc = "See [`Pallet::report_dispute_lost_unsigned`]."] pub fn report_dispute_lost_unsigned( &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, }, [ @@ -37893,14 +35987,14 @@ pub mod api { #[doc = " Validators pending dispute slashes."] pub fn unapplied_slashes_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37915,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -37938,28 +36036,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -37972,14 +36074,14 @@ pub mod api { #[doc = " `ValidatorSetCount` per session."] pub fn validator_set_counts_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -37993,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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -38031,16 +36135,20 @@ 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")] - #[doc = "Remove a page which has no more messages remaining to be processed or is stale."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub page_index: reap_page::PageIndex, @@ -38050,33 +36158,25 @@ 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")] - #[doc = "Execute an overweight message."] - #[doc = ""] - #[doc = "Temporary processing errors will be propagated whereas permanent errors are treated"] - #[doc = "as success condition."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `message_origin`: The origin from which the message to be executed arrived."] - #[doc = "- `page`: The page in the queue in which the message to be executed is sitting."] - #[doc = "- `index`: The index into the queue of the message to be executed."] - #[doc = "- `weight_limit`: The maximum amount of weight allowed to be consumed in the execution"] - #[doc = " of the message."] - #[doc = ""] - #[doc = "Benchmark complexity considerations: O(index + weight_limit)."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub page: execute_overweight::Page, @@ -38090,20 +36190,20 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Remove a page which has no more messages remaining to be processed or is stale."] + #[doc = "See [`Pallet::reap_page`]."] pub fn reap_page( &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 { @@ -38117,27 +36217,16 @@ pub mod api { ], ) } - #[doc = "Execute an overweight message."] - #[doc = ""] - #[doc = "Temporary processing errors will be propagated whereas permanent errors are treated"] - #[doc = "as success condition."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `message_origin`: The origin from which the message to be executed arrived."] - #[doc = "- `page`: The page in the queue in which the message to be executed is sitting."] - #[doc = "- `index`: The index into the queue of the message to be executed."] - #[doc = "- `weight_limit`: The maximum amount of weight allowed to be consumed in the execution"] - #[doc = " of the message."] - #[doc = ""] - #[doc = "Benchmark complexity considerations: O(index + weight_limit)."] + #[doc = "See [`Pallet::execute_overweight`]."] pub fn execute_overweight( &self, message_origin: types::execute_overweight::MessageOrigin, 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 { @@ -38161,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, @@ -38178,26 +36267,26 @@ pub mod api { } pub mod processing_failed { use super::runtime_types; - pub type Id = ::subxt::utils::H256; + pub type Id = [::core::primitive::u8; 32usize]; pub type Origin = runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin; 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, @@ -38207,26 +36296,26 @@ pub mod api { } pub mod processed { use super::runtime_types; - pub type Id = ::subxt::utils::H256; + pub type Id = [::core::primitive::u8; 32usize]; pub type Origin = runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin; 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, @@ -38242,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, @@ -38267,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"; } @@ -38298,14 +36387,14 @@ 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::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", (), @@ -38320,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -38343,14 +36436,14 @@ pub mod api { #[doc = " The origin at which we should begin servicing."] pub fn service_head( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -38365,14 +36458,14 @@ pub mod api { #[doc = " The map of page indices to pages."] pub fn pages_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -38387,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -38410,24 +36507,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey, - ::subxt::storage::address::StaticStorageKey, + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -38448,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", [ @@ -38463,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", [ @@ -38482,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", [ @@ -38498,6 +36609,18 @@ pub mod api { } } } + pub mod para_assignment_provider { + use super::root_mod; + use super::runtime_types; + pub mod storage { + use super::runtime_types; + pub mod types { + use super::runtime_types; + } + pub struct StorageApi; + impl StorageApi {} + } + } pub mod on_demand_assignment_provider { use super::root_mod; use super::runtime_types; @@ -38514,31 +36637,20 @@ 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")] - #[doc = "Create a single on demand core order."] - #[doc = "Will use the spot price for the current block and will reap the account if needed."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: The sender of the call, funds will be withdrawn from this account."] - #[doc = "- `max_amount`: The maximum balance to withdraw from the origin to place an order."] - #[doc = "- `para_id`: A `ParaId` the origin wants to provide blockspace for."] - #[doc = ""] - #[doc = "Errors:"] - #[doc = "- `InsufficientBalance`: from the Currency implementation"] - #[doc = "- `InvalidParaId`"] - #[doc = "- `QueueFull`"] - #[doc = "- `SpotPriceHigherThanMaxAmount`"] - #[doc = ""] - #[doc = "Events:"] - #[doc = "- `SpotOrderPlaced`"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub para_id: place_order_allow_death::ParaId, @@ -38548,36 +36660,25 @@ 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")] - #[doc = "Same as the [`place_order_allow_death`](Self::place_order_allow_death) call , but with a"] - #[doc = "check that placing the order will not reap the account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: The sender of the call, funds will be withdrawn from this account."] - #[doc = "- `max_amount`: The maximum balance to withdraw from the origin to place an order."] - #[doc = "- `para_id`: A `ParaId` the origin wants to provide blockspace for."] - #[doc = ""] - #[doc = "Errors:"] - #[doc = "- `InsufficientBalance`: from the Currency implementation"] - #[doc = "- `InvalidParaId`"] - #[doc = "- `QueueFull`"] - #[doc = "- `SpotPriceHigherThanMaxAmount`"] - #[doc = ""] - #[doc = "Events:"] - #[doc = "- `SpotOrderPlaced`"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub para_id: place_order_keep_alive::ParaId, @@ -38587,35 +36688,21 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Create a single on demand core order."] - #[doc = "Will use the spot price for the current block and will reap the account if needed."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: The sender of the call, funds will be withdrawn from this account."] - #[doc = "- `max_amount`: The maximum balance to withdraw from the origin to place an order."] - #[doc = "- `para_id`: A `ParaId` the origin wants to provide blockspace for."] - #[doc = ""] - #[doc = "Errors:"] - #[doc = "- `InsufficientBalance`: from the Currency implementation"] - #[doc = "- `InvalidParaId`"] - #[doc = "- `QueueFull`"] - #[doc = "- `SpotPriceHigherThanMaxAmount`"] - #[doc = ""] - #[doc = "Events:"] - #[doc = "- `SpotOrderPlaced`"] + #[doc = "See [`Pallet::place_order_allow_death`]."] pub fn place_order_allow_death( &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 { @@ -38630,28 +36717,14 @@ pub mod api { ], ) } - #[doc = "Same as the [`place_order_allow_death`](Self::place_order_allow_death) call , but with a"] - #[doc = "check that placing the order will not reap the account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: The sender of the call, funds will be withdrawn from this account."] - #[doc = "- `max_amount`: The maximum balance to withdraw from the origin to place an order."] - #[doc = "- `para_id`: A `ParaId` the origin wants to provide blockspace for."] - #[doc = ""] - #[doc = "Errors:"] - #[doc = "- `InsufficientBalance`: from the Currency implementation"] - #[doc = "- `InvalidParaId`"] - #[doc = "- `QueueFull`"] - #[doc = "- `SpotPriceHigherThanMaxAmount`"] - #[doc = ""] - #[doc = "Events:"] - #[doc = "- `SpotOrderPlaced`"] + #[doc = "See [`Pallet::place_order_keep_alive`]."] pub fn place_order_keep_alive( &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 { @@ -38673,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, @@ -38692,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, @@ -38714,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"; } @@ -38729,7 +36802,9 @@ pub mod api { } pub mod on_demand_queue { use super::runtime_types; - pub type OnDemandQueue = :: std :: vec :: Vec < runtime_types :: polkadot_runtime_parachains :: assigner_on_demand :: EnqueuedOrder > ; + pub type OnDemandQueue = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_runtime_parachains::scheduler::common::Assignment, + >; } pub mod para_id_affinity { use super::runtime_types; @@ -38743,14 +36818,14 @@ pub mod api { #[doc = " assigner."] pub fn spot_traffic( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -38765,14 +36840,14 @@ pub mod api { #[doc = " queue from the scheduler on session boundaries."] pub fn on_demand_queue( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -38789,14 +36864,14 @@ pub mod api { #[doc = " `ParaId` on two or more `CoreIndex`es."] pub fn para_id_affinity_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -38812,15 +36887,15 @@ 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< + _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", (), @@ -38840,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", [ @@ -38856,159 +36932,9 @@ pub mod api { } } } - pub mod coretime_assignment_provider { + pub mod parachains_assignment_provider { use super::root_mod; use super::runtime_types; - #[doc = "The `Error` enum of this pallet."] - pub type Error = - runtime_types::polkadot_runtime_parachains::assigner_coretime::pallet::Error; - pub mod storage { - use super::runtime_types; - pub mod types { - use super::runtime_types; - pub mod core_schedules { - use super::runtime_types; - pub type CoreSchedules = - runtime_types::polkadot_runtime_parachains::assigner_coretime::Schedule< - ::core::primitive::u32, - >; - pub type Param0 = ::core::primitive::u32; - pub type Param1 = runtime_types::polkadot_primitives::v6::CoreIndex; - } - pub mod core_descriptors { - use super::runtime_types; - pub type CoreDescriptors = runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: CoreDescriptor < :: core :: primitive :: u32 > ; - pub type Param0 = runtime_types::polkadot_primitives::v6::CoreIndex; - } - } - pub struct StorageApi; - impl StorageApi { - #[doc = " Scheduled assignment sets."] - #[doc = ""] - #[doc = " Assignments as of the given block number. They will go into state once the block number is"] - #[doc = " reached (and replace whatever was in there before)."] - pub fn core_schedules_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::core_schedules::CoreSchedules, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "CoretimeAssignmentProvider", - "CoreSchedules", - (), - [ - 34u8, 85u8, 91u8, 158u8, 28u8, 200u8, 76u8, 188u8, 253u8, 91u8, 153u8, - 42u8, 42u8, 227u8, 119u8, 181u8, 247u8, 44u8, 29u8, 24u8, 128u8, 49u8, - 57u8, 248u8, 24u8, 145u8, 34u8, 74u8, 21u8, 225u8, 159u8, 232u8, - ], - ) - } - #[doc = " Scheduled assignment sets."] - #[doc = ""] - #[doc = " Assignments as of the given block number. They will go into state once the block number is"] - #[doc = " reached (and replace whatever was in there before)."] - pub fn core_schedules_iter1( - &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - (), - types::core_schedules::CoreSchedules, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "CoretimeAssignmentProvider", - "CoreSchedules", - (), - [ - 34u8, 85u8, 91u8, 158u8, 28u8, 200u8, 76u8, 188u8, 253u8, 91u8, 153u8, - 42u8, 42u8, 227u8, 119u8, 181u8, 247u8, 44u8, 29u8, 24u8, 128u8, 49u8, - 57u8, 248u8, 24u8, 145u8, 34u8, 74u8, 21u8, 225u8, 159u8, 232u8, - ], - ) - } - #[doc = " Scheduled assignment sets."] - #[doc = ""] - #[doc = " Assignments as of the given block number. They will go into state once the block number is"] - #[doc = " reached (and replace whatever was in there before)."] - pub fn core_schedules( - &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ((), ()), - types::core_schedules::CoreSchedules, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "CoretimeAssignmentProvider", - "CoreSchedules", - ((), ()), - [ - 34u8, 85u8, 91u8, 158u8, 28u8, 200u8, 76u8, 188u8, 253u8, 91u8, 153u8, - 42u8, 42u8, 227u8, 119u8, 181u8, 247u8, 44u8, 29u8, 24u8, 128u8, 49u8, - 57u8, 248u8, 24u8, 145u8, 34u8, 74u8, 21u8, 225u8, 159u8, 232u8, - ], - ) - } - #[doc = " Assignments which are currently active."] - #[doc = ""] - #[doc = " They will be picked from `PendingAssignments` once we reach the scheduled block number in"] - #[doc = " `PendingAssignments`."] - pub fn core_descriptors_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::core_descriptors::CoreDescriptors, - (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "CoretimeAssignmentProvider", - "CoreDescriptors", - (), - [ - 1u8, 90u8, 208u8, 119u8, 150u8, 241u8, 133u8, 74u8, 22u8, 166u8, 13u8, - 7u8, 73u8, 136u8, 105u8, 61u8, 251u8, 245u8, 164u8, 7u8, 45u8, 68u8, - 190u8, 224u8, 34u8, 22u8, 30u8, 250u8, 171u8, 152u8, 238u8, 120u8, - ], - ) - } - #[doc = " Assignments which are currently active."] - #[doc = ""] - #[doc = " They will be picked from `PendingAssignments` once we reach the scheduled block number in"] - #[doc = " `PendingAssignments`."] - pub fn core_descriptors( - &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - (), - types::core_descriptors::CoreDescriptors, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "CoretimeAssignmentProvider", - "CoreDescriptors", - (), - [ - 1u8, 90u8, 208u8, 119u8, 150u8, 241u8, 133u8, 74u8, 22u8, 166u8, 13u8, - 7u8, 73u8, 136u8, 105u8, 61u8, 251u8, 245u8, 164u8, 7u8, 45u8, 68u8, - 190u8, 224u8, 34u8, 22u8, 30u8, 250u8, 171u8, 152u8, 238u8, 120u8, - ], - ) - } - } - } } pub mod registrar { use super::root_mod; @@ -39024,35 +36950,20 @@ 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")] - #[doc = "Register head data and validation code for a reserved Para Id."] - #[doc = ""] - #[doc = "## Arguments"] - #[doc = "- `origin`: Must be called by a `Signed` origin."] - #[doc = "- `id`: The para ID. Must be owned/managed by the `origin` signing account."] - #[doc = "- `genesis_head`: The genesis head data of the parachain/thread."] - #[doc = "- `validation_code`: The initial validation code of the parachain/thread."] - #[doc = ""] - #[doc = "## Deposits/Fees"] - #[doc = "The account with the originating signature must reserve a deposit."] - #[doc = ""] - #[doc = "The deposit is required to cover the costs associated with storing the genesis head"] - #[doc = "data and the validation code."] - #[doc = "This accounts for the potential to store validation code of a size up to the"] - #[doc = "`max_code_size`, as defined in the configuration pallet"] - #[doc = ""] - #[doc = "Anything already reserved previously for this para ID is accounted for."] - #[doc = ""] - #[doc = "## Events"] - #[doc = "The `Registered` event is emitted in case of success."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub genesis_head: register::GenesisHead, @@ -39066,26 +36977,25 @@ 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")] - #[doc = "Force the registration of a Para Id on the relay chain."] - #[doc = ""] - #[doc = "This function must be called by a Root origin."] - #[doc = ""] - #[doc = "The deposit taken can be specified for this registration. Any `ParaId`"] - #[doc = "can be registered, including sub-1000 IDs which are System Parachains."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub deposit: force_register::Deposit, @@ -39095,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 = @@ -39103,24 +37013,25 @@ 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")] - #[doc = "Deregister a Para Id, freeing all data and returning any deposit."] - #[doc = ""] - #[doc = "The caller must be Root, the `para` owner, or the `para` itself. The para must be an"] - #[doc = "on-demand parachain."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -39128,32 +37039,25 @@ 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")] - #[doc = "Swap a lease holding parachain with another parachain, either on-demand or lease"] - #[doc = "holding."] - #[doc = ""] - #[doc = "The origin must be Root, the `para` owner, or the `para` itself."] - #[doc = ""] - #[doc = "The swap will happen only if there is already an opposite swap pending. If there is not,"] - #[doc = "the swap will be stored in the pending swaps map, ready for a later confirmatory swap."] - #[doc = ""] - #[doc = "The `ParaId`s remain mapped to the same head data and code so external code can rely on"] - #[doc = "`ParaId` to be a long-term identifier of a notional \"parachain\". However, their"] - #[doc = "scheduling info (i.e. whether they're an on-demand parachain or lease holding"] - #[doc = "parachain), auction information and the auction deposit are switched."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub other: swap::Other, @@ -39163,24 +37067,25 @@ 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")] - #[doc = "Remove a manager lock from a para. This will allow the manager of a"] - #[doc = "previously locked para to deregister or swap a para without using governance."] - #[doc = ""] - #[doc = "Can only be called by the Root origin or the parachain."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -39188,57 +37093,45 @@ 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")] - #[doc = "Reserve a Para Id on the relay chain."] - #[doc = ""] - #[doc = "This function will reserve a new Para Id to be owned/managed by the origin account."] - #[doc = "The origin account is able to register head data and validation code using `register` to"] - #[doc = "create an on-demand parachain. Using the Slots pallet, an on-demand parachain can then"] - #[doc = "be upgraded to a lease holding parachain."] - #[doc = ""] - #[doc = "## Arguments"] - #[doc = "- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new"] - #[doc = " para ID."] - #[doc = ""] - #[doc = "## Deposits/Fees"] - #[doc = "The origin must reserve a deposit of `ParaDeposit` for the registration."] - #[doc = ""] - #[doc = "## Events"] - #[doc = "The `Reserved` event is emitted in case of success, which provides the ID reserved for"] - #[doc = "use."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Add a manager lock from a para. This will prevent the manager of a"] - #[doc = "para to deregister or swap a para."] - #[doc = ""] - #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] - #[doc = "unlocked."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -39246,24 +37139,25 @@ 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")] - #[doc = "Schedule a parachain upgrade."] - #[doc = ""] - #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] - #[doc = "unlocked."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub new_code: schedule_code_upgrade::NewCode, @@ -39274,24 +37168,25 @@ 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")] - #[doc = "Set the parachain's current head."] - #[doc = ""] - #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] - #[doc = "unlocked."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub new_head: set_current_head::NewHead, @@ -39302,40 +37197,21 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Register head data and validation code for a reserved Para Id."] - #[doc = ""] - #[doc = "## Arguments"] - #[doc = "- `origin`: Must be called by a `Signed` origin."] - #[doc = "- `id`: The para ID. Must be owned/managed by the `origin` signing account."] - #[doc = "- `genesis_head`: The genesis head data of the parachain/thread."] - #[doc = "- `validation_code`: The initial validation code of the parachain/thread."] - #[doc = ""] - #[doc = "## Deposits/Fees"] - #[doc = "The account with the originating signature must reserve a deposit."] - #[doc = ""] - #[doc = "The deposit is required to cover the costs associated with storing the genesis head"] - #[doc = "data and the validation code."] - #[doc = "This accounts for the potential to store validation code of a size up to the"] - #[doc = "`max_code_size`, as defined in the configuration pallet"] - #[doc = ""] - #[doc = "Anything already reserved previously for this para ID is accounted for."] - #[doc = ""] - #[doc = "## Events"] - #[doc = "The `Registered` event is emitted in case of success."] + #[doc = "See [`Pallet::register`]."] pub fn register( &self, 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 { @@ -39350,12 +37226,7 @@ pub mod api { ], ) } - #[doc = "Force the registration of a Para Id on the relay chain."] - #[doc = ""] - #[doc = "This function must be called by a Root origin."] - #[doc = ""] - #[doc = "The deposit taken can be specified for this registration. Any `ParaId`"] - #[doc = "can be registered, including sub-1000 IDs which are System Parachains."] + #[doc = "See [`Pallet::force_register`]."] pub fn force_register( &self, who: types::force_register::Who, @@ -39363,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 { @@ -39382,15 +37253,12 @@ pub mod api { ], ) } - #[doc = "Deregister a Para Id, freeing all data and returning any deposit."] - #[doc = ""] - #[doc = "The caller must be Root, the `para` owner, or the `para` itself. The para must be an"] - #[doc = "on-demand parachain."] + #[doc = "See [`Pallet::deregister`]."] 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 }, @@ -39401,24 +37269,13 @@ pub mod api { ], ) } - #[doc = "Swap a lease holding parachain with another parachain, either on-demand or lease"] - #[doc = "holding."] - #[doc = ""] - #[doc = "The origin must be Root, the `para` owner, or the `para` itself."] - #[doc = ""] - #[doc = "The swap will happen only if there is already an opposite swap pending. If there is not,"] - #[doc = "the swap will be stored in the pending swaps map, ready for a later confirmatory swap."] - #[doc = ""] - #[doc = "The `ParaId`s remain mapped to the same head data and code so external code can rely on"] - #[doc = "`ParaId` to be a long-term identifier of a notional \"parachain\". However, their"] - #[doc = "scheduling info (i.e. whether they're an on-demand parachain or lease holding"] - #[doc = "parachain), auction information and the auction deposit are switched."] + #[doc = "See [`Pallet::swap`]."] pub fn swap( &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 }, @@ -39430,15 +37287,12 @@ pub mod api { ], ) } - #[doc = "Remove a manager lock from a para. This will allow the manager of a"] - #[doc = "previously locked para to deregister or swap a para without using governance."] - #[doc = ""] - #[doc = "Can only be called by the Root origin or the parachain."] + #[doc = "See [`Pallet::remove_lock`]."] 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 }, @@ -39449,25 +37303,9 @@ pub mod api { ], ) } - #[doc = "Reserve a Para Id on the relay chain."] - #[doc = ""] - #[doc = "This function will reserve a new Para Id to be owned/managed by the origin account."] - #[doc = "The origin account is able to register head data and validation code using `register` to"] - #[doc = "create an on-demand parachain. Using the Slots pallet, an on-demand parachain can then"] - #[doc = "be upgraded to a lease holding parachain."] - #[doc = ""] - #[doc = "## Arguments"] - #[doc = "- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new"] - #[doc = " para ID."] - #[doc = ""] - #[doc = "## Deposits/Fees"] - #[doc = "The origin must reserve a deposit of `ParaDeposit` for the registration."] - #[doc = ""] - #[doc = "## Events"] - #[doc = "The `Reserved` event is emitted in case of success, which provides the ID reserved for"] - #[doc = "use."] - pub fn reserve(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::reserve`]."] + pub fn reserve(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "reserve", types::Reserve {}, @@ -39478,16 +37316,12 @@ pub mod api { ], ) } - #[doc = "Add a manager lock from a para. This will prevent the manager of a"] - #[doc = "para to deregister or swap a para."] - #[doc = ""] - #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] - #[doc = "unlocked."] + #[doc = "See [`Pallet::add_lock`]."] 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 }, @@ -39498,16 +37332,14 @@ pub mod api { ], ) } - #[doc = "Schedule a parachain upgrade."] - #[doc = ""] - #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] - #[doc = "unlocked."] + #[doc = "See [`Pallet::schedule_code_upgrade`]."] pub fn schedule_code_upgrade( &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 }, @@ -39519,16 +37351,13 @@ pub mod api { ], ) } - #[doc = "Set the parachain's current head."] - #[doc = ""] - #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] - #[doc = "unlocked."] + #[doc = "See [`Pallet::set_current_head`]."] pub fn set_current_head( &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 }, @@ -39547,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, @@ -39563,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, } @@ -39586,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, @@ -39607,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, @@ -39632,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"; } @@ -39651,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; @@ -39667,14 +37496,14 @@ pub mod api { #[doc = " Pending swap operations."] pub fn pending_swap_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -39689,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -39715,14 +37548,14 @@ 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::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", (), @@ -39739,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -39761,14 +37598,14 @@ pub mod api { #[doc = " The next free `ParaId`."] pub fn next_free_para_id( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -39788,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", [ @@ -39802,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", [ @@ -39830,19 +37671,20 @@ 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")] - #[doc = "Just a connect into the `lease_out` call, in case Root wants to force some lease to"] - #[doc = "happen independently of any other on-chain mechanism to use it."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub leaser: force_lease::Leaser, @@ -39853,28 +37695,30 @@ 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")] - #[doc = "Clear all leases for a Para Id, refunding any deposits back to the original owners."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -39882,27 +37726,25 @@ 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")] - #[doc = "Try to onboard a parachain that has a lease for the current lease period."] - #[doc = ""] - #[doc = "This function can be useful if there was some state issue with a para that should"] - #[doc = "have onboarded, but was unable to. As long as they have a lease period, we can"] - #[doc = "let them onboard from here."] - #[doc = ""] - #[doc = "Origin must be signed, but can be called by anyone."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -39910,17 +37752,14 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Just a connect into the `lease_out` call, in case Root wants to force some lease to"] - #[doc = "happen independently of any other on-chain mechanism to use it."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] + #[doc = "See [`Pallet::force_lease`]."] pub fn force_lease( &self, para: types::force_lease::Para, @@ -39928,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 { @@ -39947,14 +37786,12 @@ pub mod api { ], ) } - #[doc = "Clear all leases for a Para Id, refunding any deposits back to the original owners."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] + #[doc = "See [`Pallet::clear_all_leases`]."] 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 }, @@ -39965,18 +37802,12 @@ pub mod api { ], ) } - #[doc = "Try to onboard a parachain that has a lease for the current lease period."] - #[doc = ""] - #[doc = "This function can be useful if there was some state issue with a para that should"] - #[doc = "have onboarded, but was unable to. As long as they have a lease period, we can"] - #[doc = "let them onboard from here."] - #[doc = ""] - #[doc = "Origin must be signed, but can be called by anyone."] + #[doc = "See [`Pallet::trigger_onboard`]."] 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 }, @@ -39994,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, @@ -40011,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."] @@ -40039,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"; } @@ -40056,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, )>, >; @@ -40085,14 +37916,14 @@ 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::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", (), @@ -40122,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -40149,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", [ @@ -40162,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", [ @@ -40191,20 +38032,20 @@ 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")] - #[doc = "Create a new auction."] - #[doc = ""] - #[doc = "This can only happen when there isn't already an auction in progress and may only be"] - #[doc = "called by the root origin. Accepts the `duration` of this auction and the"] - #[doc = "`lease_period_index` of the initial lease period of the four that are to be auctioned."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub duration: new_auction::Duration, @@ -40216,36 +38057,25 @@ 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")] - #[doc = "Make a new bid from an account (including a parachain account) for deploying a new"] - #[doc = "parachain."] - #[doc = ""] - #[doc = "Multiple simultaneous bids from the same bidder are allowed only as long as all active"] - #[doc = "bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted."] - #[doc = ""] - #[doc = "- `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and"] - #[doc = "funded by) the same account."] - #[doc = "- `auction_index` is the index of the auction to bid on. Should just be the present"] - #[doc = "value of `AuctionCounter`."] - #[doc = "- `first_slot` is the first lease period index of the range to bid on. This is the"] - #[doc = "absolute lease period index value, not an auction-specific offset."] - #[doc = "- `last_slot` is the last lease period index of the range to bid on. This is the"] - #[doc = "absolute lease period index value, not an auction-specific offset."] - #[doc = "- `amount` is the amount to bid to be held as deposit for the parachain should the"] - #[doc = "bid win. This amount is held throughout the range."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub para: bid::Para, @@ -40266,42 +38096,40 @@ 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")] - #[doc = "Cancel an in-progress auction."] - #[doc = ""] - #[doc = "Can only be called by Root origin."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Create a new auction."] - #[doc = ""] - #[doc = "This can only happen when there isn't already an auction in progress and may only be"] - #[doc = "called by the root origin. Accepts the `duration` of this auction and the"] - #[doc = "`lease_period_index` of the initial lease period of the four that are to be auctioned."] + #[doc = "See [`Pallet::new_auction`]."] pub fn new_auction( &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 { @@ -40316,22 +38144,7 @@ pub mod api { ], ) } - #[doc = "Make a new bid from an account (including a parachain account) for deploying a new"] - #[doc = "parachain."] - #[doc = ""] - #[doc = "Multiple simultaneous bids from the same bidder are allowed only as long as all active"] - #[doc = "bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted."] - #[doc = ""] - #[doc = "- `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and"] - #[doc = "funded by) the same account."] - #[doc = "- `auction_index` is the index of the auction to bid on. Should just be the present"] - #[doc = "value of `AuctionCounter`."] - #[doc = "- `first_slot` is the first lease period index of the range to bid on. This is the"] - #[doc = "absolute lease period index value, not an auction-specific offset."] - #[doc = "- `last_slot` is the last lease period index of the range to bid on. This is the"] - #[doc = "absolute lease period index value, not an auction-specific offset."] - #[doc = "- `amount` is the amount to bid to be held as deposit for the parachain should the"] - #[doc = "bid win. This amount is held throughout the range."] + #[doc = "See [`Pallet::bid`]."] pub fn bid( &self, para: types::bid::Para, @@ -40339,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 { @@ -40357,11 +38170,11 @@ pub mod api { ], ) } - #[doc = "Cancel an in-progress auction."] - #[doc = ""] - #[doc = "Can only be called by Root origin."] - pub fn cancel_auction(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::cancel_auction`]."] + pub fn cancel_auction( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Auctions", "cancel_auction", types::CancelAuction {}, @@ -40379,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 { @@ -40401,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, @@ -40423,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 { @@ -40446,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, @@ -40471,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 { @@ -40498,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, @@ -40525,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 { @@ -40556,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"; } @@ -40576,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]; @@ -40594,14 +38407,14 @@ pub mod api { #[doc = " Number of auctions started so far."] pub fn auction_counter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -40619,14 +38432,14 @@ 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::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", (), @@ -40641,14 +38454,14 @@ pub mod api { #[doc = " (sub-)ranges."] pub fn reserved_amounts_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -40664,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -40688,28 +38505,32 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::reserved_amounts::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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, @@ -40724,14 +38545,14 @@ 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::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", (), @@ -40747,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -40773,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", [ @@ -40788,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", [ @@ -40802,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", [ @@ -40816,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", [ @@ -40845,20 +38678,20 @@ 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")] - #[doc = "Create a new crowdloaning campaign for a parachain slot with the given lease period"] - #[doc = "range."] - #[doc = ""] - #[doc = "This applies a lock to your parachain configuration, ensuring that it cannot be changed"] - #[doc = "by the parachain manager."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: create::Index, @@ -40882,22 +38715,25 @@ 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")] - #[doc = "Contribute to a crowd sale. This will transfer some balance over to fund a parachain"] - #[doc = "slot. It will be withdrawable when the crowdloan has ended and the funds are unused."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: contribute::Index, @@ -40912,37 +38748,25 @@ 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")] - #[doc = "Withdraw full balance of a specific contributor."] - #[doc = ""] - #[doc = "Origin must be signed, but can come from anyone."] - #[doc = ""] - #[doc = "The fund must be either in, or ready for, retirement. For a fund to be *in* retirement,"] - #[doc = "then the retirement flag must be set. For a fund to be ready for retirement, then:"] - #[doc = "- it must not already be in retirement;"] - #[doc = "- the amount of raised funds must be bigger than the _free_ balance of the account;"] - #[doc = "- and either:"] - #[doc = " - the block number must be at least `end`; or"] - #[doc = " - the current lease period must be greater than the fund's `last_period`."] - #[doc = ""] - #[doc = "In this case, the fund's retirement flag is set and its `end` is reset to the current"] - #[doc = "block number."] - #[doc = ""] - #[doc = "- `who`: The account whose contribution should be withdrawn."] - #[doc = "- `index`: The parachain to whose crowdloan the contribution was made."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, #[codec(compact)] @@ -40950,28 +38774,28 @@ 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")] - #[doc = "Automatically refund contributors of an ended crowdloan."] - #[doc = "Due to weight restrictions, this function may need to be called multiple"] - #[doc = "times to fully refund all users. We will refund `RemoveKeysLimit` users at a time."] - #[doc = ""] - #[doc = "Origin must be signed, but can come from anyone."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: refund::Index, @@ -40980,21 +38804,25 @@ 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")] - #[doc = "Remove a fund after the retirement period has ended and all funds have been returned."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: dissolve::Index, @@ -41003,23 +38831,25 @@ 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")] - #[doc = "Edit the configuration for an in-progress crowdloan."] - #[doc = ""] - #[doc = "Can only be called by Root origin."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: edit::Index, @@ -41043,23 +38873,25 @@ 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")] - #[doc = "Add an optional memo to an existing crowdloan contribution."] - #[doc = ""] - #[doc = "Origin must be Signed, and the user must have contributed to the crowdloan."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub memo: add_memo::Memo, @@ -41067,25 +38899,28 @@ 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")] - #[doc = "Poke the fund into `NewRaise`"] - #[doc = ""] - #[doc = "Origin must be Signed, and the fund has non-zero raise."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -41093,23 +38928,25 @@ 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")] - #[doc = "Contribute your entire balance to a crowd sale. This will transfer the entire balance of"] - #[doc = "a user over to fund a parachain slot. It will be withdrawable when the crowdloan has"] - #[doc = "ended and the funds are unused."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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)] pub index: contribute_all::Index, @@ -41121,18 +38958,14 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Create a new crowdloaning campaign for a parachain slot with the given lease period"] - #[doc = "range."] - #[doc = ""] - #[doc = "This applies a lock to your parachain configuration, ensuring that it cannot be changed"] - #[doc = "by the parachain manager."] + #[doc = "See [`Pallet::create`]."] pub fn create( &self, index: types::create::Index, @@ -41141,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 { @@ -41160,15 +38993,14 @@ pub mod api { ], ) } - #[doc = "Contribute to a crowd sale. This will transfer some balance over to fund a parachain"] - #[doc = "slot. It will be withdrawable when the crowdloan has ended and the funds are unused."] + #[doc = "See [`Pallet::contribute`]."] pub fn contribute( &self, 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 { @@ -41184,29 +39016,13 @@ pub mod api { ], ) } - #[doc = "Withdraw full balance of a specific contributor."] - #[doc = ""] - #[doc = "Origin must be signed, but can come from anyone."] - #[doc = ""] - #[doc = "The fund must be either in, or ready for, retirement. For a fund to be *in* retirement,"] - #[doc = "then the retirement flag must be set. For a fund to be ready for retirement, then:"] - #[doc = "- it must not already be in retirement;"] - #[doc = "- the amount of raised funds must be bigger than the _free_ balance of the account;"] - #[doc = "- and either:"] - #[doc = " - the block number must be at least `end`; or"] - #[doc = " - the current lease period must be greater than the fund's `last_period`."] - #[doc = ""] - #[doc = "In this case, the fund's retirement flag is set and its `end` is reset to the current"] - #[doc = "block number."] - #[doc = ""] - #[doc = "- `who`: The account whose contribution should be withdrawn."] - #[doc = "- `index`: The parachain to whose crowdloan the contribution was made."] + #[doc = "See [`Pallet::withdraw`]."] pub fn withdraw( &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 }, @@ -41217,16 +39033,12 @@ pub mod api { ], ) } - #[doc = "Automatically refund contributors of an ended crowdloan."] - #[doc = "Due to weight restrictions, this function may need to be called multiple"] - #[doc = "times to fully refund all users. We will refund `RemoveKeysLimit` users at a time."] - #[doc = ""] - #[doc = "Origin must be signed, but can come from anyone."] + #[doc = "See [`Pallet::refund`]."] 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 }, @@ -41238,12 +39050,12 @@ pub mod api { ], ) } - #[doc = "Remove a fund after the retirement period has ended and all funds have been returned."] + #[doc = "See [`Pallet::dissolve`]."] 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 }, @@ -41255,9 +39067,7 @@ pub mod api { ], ) } - #[doc = "Edit the configuration for an in-progress crowdloan."] - #[doc = ""] - #[doc = "Can only be called by Root origin."] + #[doc = "See [`Pallet::edit`]."] pub fn edit( &self, index: types::edit::Index, @@ -41266,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 { @@ -41286,15 +39096,13 @@ pub mod api { ], ) } - #[doc = "Add an optional memo to an existing crowdloan contribution."] - #[doc = ""] - #[doc = "Origin must be Signed, and the user must have contributed to the crowdloan."] + #[doc = "See [`Pallet::add_memo`]."] pub fn add_memo( &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 }, @@ -41306,11 +39114,12 @@ pub mod api { ], ) } - #[doc = "Poke the fund into `NewRaise`"] - #[doc = ""] - #[doc = "Origin must be Signed, and the fund has non-zero raise."] - pub fn poke(&self, index: types::poke::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::poke`]."] + 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 }, @@ -41322,15 +39131,13 @@ pub mod api { ], ) } - #[doc = "Contribute your entire balance to a crowd sale. This will transfer the entire balance of"] - #[doc = "a user over to fund a parachain slot. It will be withdrawable when the crowdloan has"] - #[doc = "ended and the funds are unused."] + #[doc = "See [`Pallet::contribute_all`]."] pub fn contribute_all( &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 }, @@ -41348,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, @@ -41365,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, @@ -41387,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, @@ -41413,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 { @@ -41440,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, @@ -41462,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, @@ -41484,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, @@ -41509,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, @@ -41531,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, @@ -41553,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, @@ -41579,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"; } @@ -41591,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, @@ -41600,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, >; } @@ -41618,14 +39425,14 @@ pub mod api { #[doc = " Info on all of the funds."] pub fn funds_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -41640,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -41664,14 +39475,14 @@ 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::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", (), @@ -41686,14 +39497,14 @@ 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::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", (), @@ -41707,14 +39518,14 @@ pub mod api { #[doc = " Tracker for the next available fund index"] pub fn next_fund_index( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -41736,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", [ @@ -41752,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", [ @@ -41766,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", [ @@ -41781,201 +39595,6 @@ pub mod api { } } } - pub mod coretime { - use super::root_mod; - use super::runtime_types; - #[doc = "The `Error` enum of this pallet."] - pub type Error = runtime_types::polkadot_runtime_parachains::coretime::pallet::Error; - #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub type Call = runtime_types::polkadot_runtime_parachains::coretime::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")] - pub struct RequestCoreCount { - pub count: request_core_count::Count, - } - pub mod request_core_count { - use super::runtime_types; - pub type Count = ::core::primitive::u16; - } - impl ::subxt::blocks::StaticExtrinsic for RequestCoreCount { - const PALLET: &'static str = "Coretime"; - const CALL: &'static str = "request_core_count"; - } - #[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 = "Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is"] - #[doc = "to be used."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "-`origin`: The `ExternalBrokerOrigin`, assumed to be the Broker system parachain."] - #[doc = "-`core`: The core that should be scheduled."] - #[doc = "-`begin`: The starting blockheight of the instruction."] - #[doc = "-`assignment`: How the blockspace should be utilised."] - #[doc = "-`end_hint`: An optional hint as to when this particular set of instructions will end."] - pub struct AssignCore { - pub core: assign_core::Core, - pub begin: assign_core::Begin, - pub assignment: assign_core::Assignment, - pub end_hint: assign_core::EndHint, - } - pub mod assign_core { - use super::runtime_types; - pub type Core = ::core::primitive::u16; - pub type Begin = ::core::primitive::u32; - pub type Assignment = ::std::vec::Vec<( - runtime_types::pallet_broker::coretime_interface::CoreAssignment, - runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, - )>; - pub type EndHint = ::core::option::Option<::core::primitive::u32>; - } - impl ::subxt::blocks::StaticExtrinsic for AssignCore { - const PALLET: &'static str = "Coretime"; - const CALL: &'static str = "assign_core"; - } - } - pub struct TransactionApi; - impl TransactionApi { - pub fn request_core_count( - &self, - count: types::request_core_count::Count, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Coretime", - "request_core_count", - types::RequestCoreCount { count }, - [ - 8u8, 225u8, 74u8, 162u8, 188u8, 3u8, 191u8, 45u8, 167u8, 21u8, 227u8, - 200u8, 65u8, 221u8, 49u8, 212u8, 12u8, 229u8, 160u8, 178u8, 136u8, - 13u8, 131u8, 42u8, 220u8, 3u8, 151u8, 241u8, 210u8, 158u8, 218u8, - 217u8, - ], - ) - } - #[doc = "Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is"] - #[doc = "to be used."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "-`origin`: The `ExternalBrokerOrigin`, assumed to be the Broker system parachain."] - #[doc = "-`core`: The core that should be scheduled."] - #[doc = "-`begin`: The starting blockheight of the instruction."] - #[doc = "-`assignment`: How the blockspace should be utilised."] - #[doc = "-`end_hint`: An optional hint as to when this particular set of instructions will end."] - pub fn assign_core( - &self, - core: types::assign_core::Core, - begin: types::assign_core::Begin, - assignment: types::assign_core::Assignment, - end_hint: types::assign_core::EndHint, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Coretime", - "assign_core", - types::AssignCore { - core, - begin, - assignment, - end_hint, - }, - [ - 113u8, 133u8, 153u8, 202u8, 209u8, 53u8, 168u8, 214u8, 153u8, 232u8, - 170u8, 35u8, 63u8, 87u8, 5u8, 108u8, 188u8, 55u8, 111u8, 55u8, 22u8, - 1u8, 190u8, 216u8, 233u8, 185u8, 135u8, 172u8, 15u8, 254u8, 91u8, 92u8, - ], - ) - } - } - } - #[doc = "The `Event` enum of this pallet"] - pub type Event = runtime_types::polkadot_runtime_parachains::coretime::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 = "The broker chain has asked for revenue information for a specific block."] - pub struct RevenueInfoRequested { - pub when: revenue_info_requested::When, - } - pub mod revenue_info_requested { - use super::runtime_types; - pub type When = ::core::primitive::u32; - } - impl ::subxt::events::StaticEvent for RevenueInfoRequested { - const PALLET: &'static str = "Coretime"; - const EVENT: &'static str = "RevenueInfoRequested"; - } - #[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 = "A core has received a new assignment from the broker chain."] - pub struct CoreAssigned { - pub core: core_assigned::Core, - } - pub mod core_assigned { - use super::runtime_types; - pub type Core = runtime_types::polkadot_primitives::v6::CoreIndex; - } - impl ::subxt::events::StaticEvent for CoreAssigned { - const PALLET: &'static str = "Coretime"; - const EVENT: &'static str = "CoreAssigned"; - } - } - pub mod constants { - use super::runtime_types; - pub struct ConstantsApi; - impl ConstantsApi { - #[doc = " The ParaId of the broker system parachain."] - pub fn broker_id(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( - "Coretime", - "BrokerId", - [ - 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, - ], - ) - } - } - } - } pub mod xcm_pallet { use super::root_mod; use super::runtime_types; @@ -41990,150 +39609,121 @@ 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::VersionedLocation; - pub type Message = runtime_types::xcm::VersionedXcm; + pub type Dest = runtime_types::xcm::VersionedMultiLocation; + 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")] - #[doc = "Teleport some assets from the local chain to some destination chain."] - #[doc = ""] - #[doc = "**This function is deprecated: Use `limited_teleport_assets` instead.**"] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] - #[doc = "with all fees taken as needed from the asset."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` chain."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { use super::runtime_types; - pub type Dest = runtime_types::xcm::VersionedLocation; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; - pub type Assets = runtime_types::xcm::VersionedAssets; + pub type Dest = runtime_types::xcm::VersionedMultiLocation; + pub type Beneficiary = runtime_types::xcm::VersionedMultiLocation; + 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")] - #[doc = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve."] - #[doc = ""] - #[doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] - #[doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] - #[doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] - #[doc = " assets to `beneficiary`."] - #[doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] - #[doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] - #[doc = " deposit them to `beneficiary`."] - #[doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] - #[doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] - #[doc = " to mint and deposit reserve-based assets to `beneficiary`."] - #[doc = ""] - #[doc = "**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**"] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] - #[doc = "with all fees taken as needed from the asset."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { use super::runtime_types; - pub type Dest = runtime_types::xcm::VersionedLocation; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; - pub type Assets = runtime_types::xcm::VersionedAssets; + pub type Dest = runtime_types::xcm::VersionedMultiLocation; + pub type Beneficiary = runtime_types::xcm::VersionedMultiLocation; + 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")] - #[doc = "Execute an XCM message from a local, signed, origin."] - #[doc = ""] - #[doc = "An event is deposited indicating whether `msg` could be executed completely or only"] - #[doc = "partially."] - #[doc = ""] - #[doc = "No more than `max_weight` will be used in its attempted execution. If this is less than"] - #[doc = "the maximum amount of weight that the message could take to be executed, then no"] - #[doc = "execution attempt will be made."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { @@ -42141,54 +39731,55 @@ 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")] - #[doc = "Extoll that a particular destination can be communicated with through a particular"] - #[doc = "version of XCM."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The destination that is being described."] - #[doc = "- `xcm_version`: The latest version of XCM that `location` supports."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { use super::runtime_types; - pub type Location = runtime_types::staging_xcm::v4::location::Location; + pub type Location = + 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")] - #[doc = "Set a safe XCM version (the version that XCM should be encoded with if the most recent"] - #[doc = "version a destination can accept is unknown)."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `maybe_xcm_version`: The default XCM encoding version, or `None` to disable."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -42196,183 +39787,160 @@ 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")] - #[doc = "Ask a location to notify us regarding their XCM version and any changes to it."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The location to which we should subscribe for XCM version notifications."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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::VersionedLocation; + 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")] - #[doc = "Require that a particular destination should no longer notify us regarding any XCM"] - #[doc = "version changes."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The location to which we are currently subscribed for XCM version"] - #[doc = " notifications which we no longer desire."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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::VersionedLocation; + 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")] - #[doc = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve."] - #[doc = ""] - #[doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] - #[doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] - #[doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] - #[doc = " assets to `beneficiary`."] - #[doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] - #[doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] - #[doc = " deposit them to `beneficiary`."] - #[doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] - #[doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] - #[doc = " to mint and deposit reserve-based assets to `beneficiary`."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"] - #[doc = "is needed than `weight_limit`, then the operation will fail and the assets send may be"] - #[doc = "at risk."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } pub mod limited_reserve_transfer_assets { use super::runtime_types; - pub type Dest = runtime_types::xcm::VersionedLocation; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; - pub type Assets = runtime_types::xcm::VersionedAssets; + pub type Dest = runtime_types::xcm::VersionedMultiLocation; + pub type Beneficiary = runtime_types::xcm::VersionedMultiLocation; + pub type Assets = runtime_types::xcm::VersionedMultiAssets; 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")] - #[doc = "Teleport some assets from the local chain to some destination chain."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"] - #[doc = "is needed than `weight_limit`, then the operation will fail and the assets send may be"] - #[doc = "at risk."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` chain."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } pub mod limited_teleport_assets { use super::runtime_types; - pub type Dest = runtime_types::xcm::VersionedLocation; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; - pub type Assets = runtime_types::xcm::VersionedAssets; + pub type Dest = runtime_types::xcm::VersionedMultiLocation; + pub type Beneficiary = runtime_types::xcm::VersionedMultiLocation; + pub type Assets = runtime_types::xcm::VersionedMultiAssets; 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")] - #[doc = "Set or unset the global suspension state of the XCM executor."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `suspended`: `true` to suspend, `false` to resume."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -42380,282 +39948,133 @@ 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"; } - #[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 = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve, or through teleports."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for"] - #[doc = "`weight_limit` of weight. If more weight is needed than `weight_limit`, then the"] - #[doc = "operation will fail and the assets sent may be at risk."] - #[doc = ""] - #[doc = "`assets` (excluding `fees`) must have same reserve location or otherwise be teleportable"] - #[doc = "to `dest`, no limitations imposed on `fees`."] - #[doc = " - for local reserve: transfer assets to sovereign account of destination chain and"] - #[doc = " forward a notification XCM to `dest` to mint and deposit reserve-based assets to"] - #[doc = " `beneficiary`."] - #[doc = " - for destination reserve: burn local assets and forward a notification to `dest` chain"] - #[doc = " to withdraw the reserve assets from this chain's sovereign account and deposit them"] - #[doc = " to `beneficiary`."] - #[doc = " - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves"] - #[doc = " from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint"] - #[doc = " and deposit reserve-based assets to `beneficiary`."] - #[doc = " - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport"] - #[doc = " assets and deposit them to `beneficiary`."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `X2(Parent,"] - #[doc = " Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send"] - #[doc = " from relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] - pub struct TransferAssets { - pub dest: ::std::boxed::Box, - pub beneficiary: ::std::boxed::Box, - pub assets: ::std::boxed::Box, - pub fee_asset_item: transfer_assets::FeeAssetItem, - pub weight_limit: transfer_assets::WeightLimit, - } - pub mod transfer_assets { - use super::runtime_types; - pub type Dest = runtime_types::xcm::VersionedLocation; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; - pub type Assets = runtime_types::xcm::VersionedAssets; - pub type FeeAssetItem = ::core::primitive::u32; - pub type WeightLimit = runtime_types::xcm::v3::WeightLimit; - } - impl ::subxt::blocks::StaticExtrinsic for TransferAssets { - const PALLET: &'static str = "XcmPallet"; - const CALL: &'static str = "transfer_assets"; - } - #[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 = "Claims assets trapped on this pallet because of leftover assets during XCM execution."] - #[doc = ""] - #[doc = "- `origin`: Anyone can call this extrinsic."] - #[doc = "- `assets`: The exact assets that were trapped. Use the version to specify what version"] - #[doc = "was the latest when they were trapped."] - #[doc = "- `beneficiary`: The location/account where the claimed assets will be deposited."] - pub struct ClaimAssets { - pub assets: ::std::boxed::Box, - pub beneficiary: ::std::boxed::Box, - } - pub mod claim_assets { - use super::runtime_types; - pub type Assets = runtime_types::xcm::VersionedAssets; - pub type Beneficiary = runtime_types::xcm::VersionedLocation; - } - impl ::subxt::blocks::StaticExtrinsic for ClaimAssets { - const PALLET: &'static str = "XcmPallet"; - const CALL: &'static str = "claim_assets"; - } } pub struct TransactionApi; impl TransactionApi { + #[doc = "See [`Pallet::send`]."] pub fn send( &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), }, [ - 47u8, 63u8, 128u8, 176u8, 10u8, 137u8, 124u8, 238u8, 155u8, 37u8, - 193u8, 160u8, 83u8, 240u8, 21u8, 179u8, 169u8, 131u8, 27u8, 104u8, - 195u8, 208u8, 123u8, 14u8, 221u8, 12u8, 45u8, 81u8, 148u8, 76u8, 17u8, - 100u8, + 147u8, 255u8, 86u8, 82u8, 17u8, 159u8, 225u8, 145u8, 220u8, 89u8, 71u8, + 23u8, 193u8, 249u8, 12u8, 70u8, 19u8, 140u8, 232u8, 97u8, 12u8, 220u8, + 113u8, 65u8, 4u8, 255u8, 138u8, 10u8, 231u8, 122u8, 67u8, 105u8, ], ) } - #[doc = "Teleport some assets from the local chain to some destination chain."] - #[doc = ""] - #[doc = "**This function is deprecated: Use `limited_teleport_assets` instead.**"] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] - #[doc = "with all fees taken as needed from the asset."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` chain."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] + #[doc = "See [`Pallet::teleport_assets`]."] pub fn teleport_assets( &self, dest: types::teleport_assets::Dest, 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, }, [ - 124u8, 191u8, 118u8, 61u8, 45u8, 225u8, 97u8, 83u8, 198u8, 20u8, 139u8, - 117u8, 241u8, 1u8, 19u8, 54u8, 79u8, 181u8, 131u8, 112u8, 11u8, 118u8, - 147u8, 12u8, 89u8, 156u8, 123u8, 123u8, 195u8, 45u8, 50u8, 107u8, + 56u8, 144u8, 237u8, 60u8, 157u8, 5u8, 7u8, 129u8, 41u8, 149u8, 160u8, + 100u8, 233u8, 102u8, 181u8, 140u8, 115u8, 213u8, 29u8, 132u8, 16u8, + 30u8, 23u8, 82u8, 140u8, 134u8, 37u8, 87u8, 3u8, 99u8, 172u8, 42u8, ], ) } - #[doc = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve."] - #[doc = ""] - #[doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] - #[doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] - #[doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] - #[doc = " assets to `beneficiary`."] - #[doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] - #[doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] - #[doc = " deposit them to `beneficiary`."] - #[doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] - #[doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] - #[doc = " to mint and deposit reserve-based assets to `beneficiary`."] - #[doc = ""] - #[doc = "**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**"] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] - #[doc = "with all fees taken as needed from the asset."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] + #[doc = "See [`Pallet::reserve_transfer_assets`]."] pub fn reserve_transfer_assets( &self, dest: types::reserve_transfer_assets::Dest, 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, }, [ - 97u8, 102u8, 230u8, 44u8, 135u8, 197u8, 43u8, 53u8, 182u8, 125u8, - 140u8, 141u8, 229u8, 73u8, 29u8, 55u8, 159u8, 104u8, 197u8, 20u8, - 124u8, 234u8, 250u8, 94u8, 133u8, 253u8, 189u8, 6u8, 216u8, 162u8, - 218u8, 89u8, + 21u8, 167u8, 44u8, 22u8, 210u8, 73u8, 148u8, 7u8, 91u8, 108u8, 148u8, + 205u8, 170u8, 243u8, 142u8, 224u8, 205u8, 119u8, 252u8, 22u8, 203u8, + 32u8, 73u8, 200u8, 178u8, 14u8, 167u8, 147u8, 166u8, 55u8, 14u8, 231u8, ], ) } - #[doc = "Execute an XCM message from a local, signed, origin."] - #[doc = ""] - #[doc = "An event is deposited indicating whether `msg` could be executed completely or only"] - #[doc = "partially."] - #[doc = ""] - #[doc = "No more than `max_weight` will be used in its attempted execution. If this is less than"] - #[doc = "the maximum amount of weight that the message could take to be executed, then no"] - #[doc = "execution attempt will be made."] + #[doc = "See [`Pallet::execute`]."] pub fn execute( &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, }, [ - 71u8, 109u8, 92u8, 110u8, 198u8, 150u8, 140u8, 125u8, 248u8, 236u8, - 177u8, 156u8, 198u8, 223u8, 51u8, 15u8, 52u8, 240u8, 20u8, 200u8, 68u8, - 145u8, 36u8, 156u8, 159u8, 153u8, 125u8, 48u8, 181u8, 61u8, 53u8, - 208u8, + 15u8, 97u8, 86u8, 111u8, 105u8, 116u8, 109u8, 206u8, 70u8, 8u8, 57u8, + 232u8, 133u8, 132u8, 30u8, 219u8, 34u8, 69u8, 0u8, 213u8, 98u8, 241u8, + 186u8, 93u8, 216u8, 39u8, 73u8, 24u8, 193u8, 87u8, 92u8, 31u8, ], ) } - #[doc = "Extoll that a particular destination can be communicated with through a particular"] - #[doc = "version of XCM."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The destination that is being described."] - #[doc = "- `xcm_version`: The latest version of XCM that `location` supports."] + #[doc = "See [`Pallet::force_xcm_version`]."] pub fn force_xcm_version( &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, }, [ - 69u8, 151u8, 198u8, 154u8, 69u8, 181u8, 41u8, 111u8, 145u8, 230u8, - 103u8, 42u8, 237u8, 91u8, 235u8, 6u8, 156u8, 65u8, 187u8, 48u8, 171u8, - 200u8, 49u8, 4u8, 9u8, 210u8, 229u8, 152u8, 187u8, 88u8, 80u8, 246u8, + 110u8, 11u8, 78u8, 255u8, 66u8, 2u8, 55u8, 108u8, 92u8, 151u8, 231u8, + 175u8, 75u8, 156u8, 34u8, 191u8, 0u8, 56u8, 104u8, 197u8, 70u8, 204u8, + 73u8, 234u8, 173u8, 251u8, 88u8, 226u8, 3u8, 136u8, 228u8, 136u8, ], ) } - #[doc = "Set a safe XCM version (the version that XCM should be encoded with if the most recent"] - #[doc = "version a destination can accept is unknown)."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `maybe_xcm_version`: The default XCM encoding version, or `None` to disable."] + #[doc = "See [`Pallet::force_default_xcm_version`]."] 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 }, @@ -42667,80 +40086,46 @@ pub mod api { ], ) } - #[doc = "Ask a location to notify us regarding their XCM version and any changes to it."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The location to which we should subscribe for XCM version notifications."] + #[doc = "See [`Pallet::force_subscribe_version_notify`]."] 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), }, [ - 203u8, 171u8, 70u8, 130u8, 46u8, 63u8, 76u8, 50u8, 105u8, 23u8, 249u8, - 190u8, 115u8, 74u8, 70u8, 125u8, 132u8, 112u8, 138u8, 60u8, 33u8, 35u8, - 45u8, 29u8, 95u8, 103u8, 187u8, 182u8, 188u8, 196u8, 248u8, 152u8, + 112u8, 254u8, 138u8, 12u8, 203u8, 176u8, 251u8, 167u8, 223u8, 0u8, + 71u8, 148u8, 19u8, 179u8, 47u8, 96u8, 188u8, 189u8, 14u8, 172u8, 1u8, + 1u8, 192u8, 107u8, 137u8, 158u8, 22u8, 9u8, 138u8, 241u8, 32u8, 47u8, ], ) } - #[doc = "Require that a particular destination should no longer notify us regarding any XCM"] - #[doc = "version changes."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The location to which we are currently subscribed for XCM version"] - #[doc = " notifications which we no longer desire."] + #[doc = "See [`Pallet::force_unsubscribe_version_notify`]."] 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), }, [ - 6u8, 113u8, 168u8, 215u8, 233u8, 202u8, 249u8, 134u8, 131u8, 8u8, - 142u8, 203u8, 142u8, 95u8, 216u8, 70u8, 38u8, 99u8, 166u8, 97u8, 218u8, - 132u8, 247u8, 14u8, 42u8, 99u8, 4u8, 115u8, 200u8, 180u8, 213u8, 50u8, + 205u8, 143u8, 230u8, 143u8, 166u8, 184u8, 53u8, 252u8, 118u8, 184u8, + 209u8, 227u8, 225u8, 184u8, 254u8, 244u8, 101u8, 56u8, 27u8, 128u8, + 40u8, 159u8, 178u8, 62u8, 63u8, 164u8, 59u8, 236u8, 1u8, 168u8, 202u8, + 42u8, ], ) } - #[doc = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve."] - #[doc = ""] - #[doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] - #[doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] - #[doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] - #[doc = " assets to `beneficiary`."] - #[doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] - #[doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] - #[doc = " deposit them to `beneficiary`."] - #[doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] - #[doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] - #[doc = " to mint and deposit reserve-based assets to `beneficiary`."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"] - #[doc = "is needed than `weight_limit`, then the operation will fail and the assets send may be"] - #[doc = "at risk."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] + #[doc = "See [`Pallet::limited_reserve_transfer_assets`]."] pub fn limited_reserve_transfer_assets( &self, dest: types::limited_reserve_transfer_assets::Dest, @@ -42748,43 +40133,29 @@ 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, }, [ - 198u8, 66u8, 204u8, 162u8, 222u8, 246u8, 141u8, 165u8, 241u8, 62u8, - 43u8, 236u8, 56u8, 200u8, 54u8, 47u8, 174u8, 83u8, 167u8, 220u8, 174u8, - 111u8, 123u8, 202u8, 248u8, 232u8, 166u8, 80u8, 152u8, 223u8, 86u8, - 141u8, + 10u8, 139u8, 165u8, 239u8, 92u8, 178u8, 169u8, 62u8, 166u8, 236u8, + 50u8, 12u8, 196u8, 3u8, 233u8, 209u8, 3u8, 159u8, 184u8, 234u8, 171u8, + 46u8, 145u8, 134u8, 241u8, 155u8, 221u8, 173u8, 166u8, 94u8, 147u8, + 88u8, ], ) } - #[doc = "Teleport some assets from the local chain to some destination chain."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"] - #[doc = "is needed than `weight_limit`, then the operation will fail and the assets send may be"] - #[doc = "at risk."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` chain."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] + #[doc = "See [`Pallet::limited_teleport_assets`]."] pub fn limited_teleport_assets( &self, dest: types::limited_teleport_assets::Dest, @@ -42792,33 +40163,34 @@ 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, }, [ - 70u8, 61u8, 32u8, 43u8, 101u8, 104u8, 251u8, 60u8, 212u8, 124u8, 113u8, - 243u8, 241u8, 183u8, 5u8, 231u8, 209u8, 231u8, 136u8, 3u8, 145u8, - 242u8, 179u8, 171u8, 185u8, 185u8, 7u8, 34u8, 5u8, 203u8, 21u8, 210u8, + 156u8, 205u8, 105u8, 18u8, 120u8, 130u8, 144u8, 67u8, 152u8, 188u8, + 109u8, 121u8, 4u8, 240u8, 123u8, 112u8, 72u8, 153u8, 2u8, 111u8, 183u8, + 170u8, 199u8, 82u8, 33u8, 117u8, 43u8, 133u8, 208u8, 44u8, 118u8, + 107u8, ], ) } - #[doc = "Set or unset the global suspension state of the XCM executor."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `suspended`: `true` to suspend, `false` to resume."] + #[doc = "See [`Pallet::force_suspension`]."] 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 }, @@ -42829,91 +40201,6 @@ pub mod api { ], ) } - #[doc = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve, or through teleports."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for"] - #[doc = "`weight_limit` of weight. If more weight is needed than `weight_limit`, then the"] - #[doc = "operation will fail and the assets sent may be at risk."] - #[doc = ""] - #[doc = "`assets` (excluding `fees`) must have same reserve location or otherwise be teleportable"] - #[doc = "to `dest`, no limitations imposed on `fees`."] - #[doc = " - for local reserve: transfer assets to sovereign account of destination chain and"] - #[doc = " forward a notification XCM to `dest` to mint and deposit reserve-based assets to"] - #[doc = " `beneficiary`."] - #[doc = " - for destination reserve: burn local assets and forward a notification to `dest` chain"] - #[doc = " to withdraw the reserve assets from this chain's sovereign account and deposit them"] - #[doc = " to `beneficiary`."] - #[doc = " - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves"] - #[doc = " from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint"] - #[doc = " and deposit reserve-based assets to `beneficiary`."] - #[doc = " - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport"] - #[doc = " assets and deposit them to `beneficiary`."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `X2(Parent,"] - #[doc = " Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send"] - #[doc = " from relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] - pub fn transfer_assets( - &self, - dest: types::transfer_assets::Dest, - beneficiary: types::transfer_assets::Beneficiary, - assets: types::transfer_assets::Assets, - fee_asset_item: types::transfer_assets::FeeAssetItem, - weight_limit: types::transfer_assets::WeightLimit, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "XcmPallet", - "transfer_assets", - types::TransferAssets { - dest: ::std::boxed::Box::new(dest), - beneficiary: ::std::boxed::Box::new(beneficiary), - assets: ::std::boxed::Box::new(assets), - fee_asset_item, - weight_limit, - }, - [ - 44u8, 155u8, 182u8, 37u8, 123u8, 148u8, 150u8, 191u8, 117u8, 32u8, - 16u8, 238u8, 121u8, 188u8, 217u8, 110u8, 10u8, 236u8, 174u8, 91u8, - 100u8, 201u8, 109u8, 109u8, 60u8, 177u8, 233u8, 66u8, 181u8, 191u8, - 105u8, 37u8, - ], - ) - } - #[doc = "Claims assets trapped on this pallet because of leftover assets during XCM execution."] - #[doc = ""] - #[doc = "- `origin`: Anyone can call this extrinsic."] - #[doc = "- `assets`: The exact assets that were trapped. Use the version to specify what version"] - #[doc = "was the latest when they were trapped."] - #[doc = "- `beneficiary`: The location/account where the claimed assets will be deposited."] - pub fn claim_assets( - &self, - assets: types::claim_assets::Assets, - beneficiary: types::claim_assets::Beneficiary, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "XcmPallet", - "claim_assets", - types::ClaimAssets { - assets: ::std::boxed::Box::new(assets), - beneficiary: ::std::boxed::Box::new(beneficiary), - }, - [ - 155u8, 23u8, 166u8, 172u8, 251u8, 171u8, 136u8, 240u8, 253u8, 51u8, - 164u8, 43u8, 141u8, 23u8, 189u8, 177u8, 33u8, 32u8, 212u8, 56u8, 174u8, - 165u8, 129u8, 7u8, 49u8, 217u8, 213u8, 214u8, 250u8, 91u8, 200u8, - 195u8, - ], - ) - } } } #[doc = "The `Event` enum of this pallet"] @@ -42921,37 +40208,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 = "Execution of an XCM message was attempted."] pub struct Attempted { pub outcome: attempted::Outcome, } pub mod attempted { use super::runtime_types; - pub type Outcome = runtime_types::staging_xcm::v4::traits::Outcome; + 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, @@ -42961,25 +40248,25 @@ pub mod api { } pub mod sent { use super::runtime_types; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; - pub type Destination = runtime_types::staging_xcm::v4::location::Location; - pub type Message = runtime_types::staging_xcm::v4::Xcm; + 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::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."] @@ -42989,23 +40276,23 @@ pub mod api { } pub mod unexpected_response { use super::runtime_types; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; + 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 { @@ -43015,22 +40302,22 @@ pub mod api { pub mod response_ready { use super::runtime_types; pub type QueryId = ::core::primitive::u64; - pub type Response = runtime_types::staging_xcm::v4::Response; + 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 { @@ -43044,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."] @@ -43076,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 { @@ -43103,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)`."] @@ -43131,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."] @@ -43155,25 +40442,26 @@ pub mod api { } pub mod invalid_responder { use super::runtime_types; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; + pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type QueryId = ::core::primitive::u64; - pub type ExpectedLocation = - ::core::option::Option; + pub type ExpectedLocation = ::core::option::Option< + 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 = ""] @@ -43187,23 +40475,23 @@ pub mod api { } pub mod invalid_responder_version { use super::runtime_types; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; + 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, @@ -43212,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, @@ -43234,24 +40522,24 @@ pub mod api { } pub mod assets_trapped { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; - pub type Assets = runtime_types::xcm::VersionedAssets; + 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."] @@ -43263,25 +40551,25 @@ pub mod api { } pub mod version_change_notified { use super::runtime_types; - pub type Destination = runtime_types::staging_xcm::v4::location::Location; + pub type Destination = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type Result = ::core::primitive::u32; - pub type Cost = runtime_types::staging_xcm::v4::asset::Assets; + 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 { @@ -43290,23 +40578,23 @@ pub mod api { } pub mod supported_version_changed { use super::runtime_types; - pub type Location = runtime_types::staging_xcm::v4::location::Location; + 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 { @@ -43316,24 +40604,24 @@ pub mod api { } pub mod notify_target_send_fail { use super::runtime_types; - pub type Location = runtime_types::staging_xcm::v4::location::Location; + pub type Location = runtime_types::staging_xcm::v3::multilocation::MultiLocation; 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 { @@ -43342,23 +40630,23 @@ pub mod api { } pub mod notify_target_migration_fail { use super::runtime_types; - pub type Location = runtime_types::xcm::VersionedLocation; + 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 = ""] @@ -43372,23 +40660,23 @@ pub mod api { } pub mod invalid_querier_version { use super::runtime_types; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; + 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."] @@ -43400,26 +40688,28 @@ pub mod api { } pub mod invalid_querier { use super::runtime_types; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; + pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type QueryId = ::core::primitive::u64; - pub type ExpectedQuerier = runtime_types::staging_xcm::v4::location::Location; - pub type MaybeActualQuerier = - ::core::option::Option; + pub type ExpectedQuerier = + runtime_types::staging_xcm::v3::multilocation::MultiLocation; + pub type MaybeActualQuerier = ::core::option::Option< + 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 { @@ -43429,24 +40719,24 @@ pub mod api { } pub mod version_notify_started { use super::runtime_types; - pub type Destination = runtime_types::staging_xcm::v4::location::Location; - pub type Cost = runtime_types::staging_xcm::v4::asset::Assets; + pub type Destination = runtime_types::staging_xcm::v3::multilocation::MultiLocation; + 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, @@ -43455,24 +40745,24 @@ pub mod api { } pub mod version_notify_requested { use super::runtime_types; - pub type Destination = runtime_types::staging_xcm::v4::location::Location; - pub type Cost = runtime_types::staging_xcm::v4::asset::Assets; + pub type Destination = runtime_types::staging_xcm::v3::multilocation::MultiLocation; + 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 { @@ -43482,24 +40772,24 @@ pub mod api { } pub mod version_notify_unrequested { use super::runtime_types; - pub type Destination = runtime_types::staging_xcm::v4::location::Location; - pub type Cost = runtime_types::staging_xcm::v4::asset::Assets; + pub type Destination = runtime_types::staging_xcm::v3::multilocation::MultiLocation; + 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, @@ -43507,23 +40797,23 @@ pub mod api { } pub mod fees_paid { use super::runtime_types; - pub type Paying = runtime_types::staging_xcm::v4::location::Location; - pub type Fees = runtime_types::staging_xcm::v4::asset::Assets; + 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, @@ -43532,36 +40822,14 @@ pub mod api { } pub mod assets_claimed { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; - pub type Origin = runtime_types::staging_xcm::v4::location::Location; - pub type Assets = runtime_types::xcm::VersionedAssets; + 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"; } - #[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 = "A XCM version migration finished."] - pub struct VersionMigrationFinished { - pub version: version_migration_finished::Version, - } - pub mod version_migration_finished { - use super::runtime_types; - pub type Version = ::core::primitive::u32; - } - impl ::subxt::events::StaticEvent for VersionMigrationFinished { - const PALLET: &'static str = "XcmPallet"; - const EVENT: &'static str = "VersionMigrationFinished"; - } } pub mod storage { use super::runtime_types; @@ -43580,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; @@ -43590,13 +40858,13 @@ pub mod api { use super::runtime_types; pub type SupportedVersion = ::core::primitive::u32; pub type Param0 = ::core::primitive::u32; - pub type Param1 = runtime_types::xcm::VersionedLocation; + pub type Param1 = runtime_types::xcm::VersionedMultiLocation; } pub mod version_notifiers { use super::runtime_types; pub type VersionNotifiers = ::core::primitive::u64; pub type Param0 = ::core::primitive::u32; - pub type Param1 = runtime_types::xcm::VersionedLocation; + pub type Param1 = runtime_types::xcm::VersionedMultiLocation; } pub mod version_notify_targets { use super::runtime_types; @@ -43606,13 +40874,13 @@ pub mod api { ::core::primitive::u32, ); pub type Param0 = ::core::primitive::u32; - pub type Param1 = runtime_types::xcm::VersionedLocation; + pub type Param1 = runtime_types::xcm::VersionedMultiLocation; } pub mod version_discovery_queue { use super::runtime_types; pub type VersionDiscoveryQueue = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( - runtime_types::xcm::VersionedLocation, + runtime_types::bounded_collections::bounded_vec::BoundedVec26<( + runtime_types::xcm::VersionedMultiLocation, ::core::primitive::u32, )>; } @@ -43626,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::VersionedLocation, + 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; @@ -43648,14 +40916,14 @@ pub mod api { #[doc = " The latest available query index."] pub fn query_counter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -43670,62 +40938,64 @@ pub mod api { #[doc = " The ongoing queries."] pub fn queries_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 246u8, 75u8, 240u8, 129u8, 106u8, 114u8, 99u8, 154u8, 176u8, 188u8, - 146u8, 125u8, 244u8, 103u8, 187u8, 171u8, 60u8, 119u8, 4u8, 90u8, 58u8, - 180u8, 48u8, 165u8, 145u8, 125u8, 227u8, 233u8, 11u8, 142u8, 122u8, - 3u8, + 119u8, 5u8, 12u8, 91u8, 117u8, 240u8, 52u8, 192u8, 135u8, 139u8, 220u8, + 78u8, 207u8, 199u8, 71u8, 163u8, 100u8, 17u8, 6u8, 65u8, 200u8, 245u8, + 191u8, 82u8, 232u8, 128u8, 126u8, 70u8, 39u8, 63u8, 148u8, 219u8, ], ) } #[doc = " The ongoing queries."] pub fn queries( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 246u8, 75u8, 240u8, 129u8, 106u8, 114u8, 99u8, 154u8, 176u8, 188u8, - 146u8, 125u8, 244u8, 103u8, 187u8, 171u8, 60u8, 119u8, 4u8, 90u8, 58u8, - 180u8, 48u8, 165u8, 145u8, 125u8, 227u8, 233u8, 11u8, 142u8, 122u8, - 3u8, + 119u8, 5u8, 12u8, 91u8, 117u8, 240u8, 52u8, 192u8, 135u8, 139u8, 220u8, + 78u8, 207u8, 199u8, 71u8, 163u8, 100u8, 17u8, 6u8, 65u8, 200u8, 245u8, + 191u8, 82u8, 232u8, 128u8, 126u8, 70u8, 39u8, 63u8, 148u8, 219u8, ], ) } #[doc = " The existing asset traps."] #[doc = ""] - #[doc = " Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of"] + #[doc = " Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of"] #[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::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", (), @@ -43738,22 +41008,26 @@ pub mod api { } #[doc = " The existing asset traps."] #[doc = ""] - #[doc = " Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of"] + #[doc = " Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of"] #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -43765,14 +41039,14 @@ 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::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", (), @@ -43787,158 +41061,168 @@ pub mod api { #[doc = " The Latest versions that we know various locations support."] pub fn supported_version_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 144u8, 218u8, 177u8, 254u8, 210u8, 8u8, 84u8, 149u8, 163u8, 162u8, - 238u8, 37u8, 157u8, 28u8, 140u8, 121u8, 201u8, 173u8, 204u8, 92u8, - 133u8, 45u8, 156u8, 38u8, 61u8, 51u8, 153u8, 161u8, 147u8, 146u8, - 202u8, 24u8, + 144u8, 22u8, 91u8, 30u8, 139u8, 164u8, 95u8, 149u8, 97u8, 247u8, 12u8, + 212u8, 96u8, 16u8, 134u8, 236u8, 74u8, 57u8, 244u8, 169u8, 68u8, 63u8, + 111u8, 86u8, 65u8, 229u8, 104u8, 51u8, 44u8, 100u8, 47u8, 191u8, ], ) } #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 144u8, 218u8, 177u8, 254u8, 210u8, 8u8, 84u8, 149u8, 163u8, 162u8, - 238u8, 37u8, 157u8, 28u8, 140u8, 121u8, 201u8, 173u8, 204u8, 92u8, - 133u8, 45u8, 156u8, 38u8, 61u8, 51u8, 153u8, 161u8, 147u8, 146u8, - 202u8, 24u8, + 144u8, 22u8, 91u8, 30u8, 139u8, 164u8, 95u8, 149u8, 97u8, 247u8, 12u8, + 212u8, 96u8, 16u8, 134u8, 236u8, 74u8, 57u8, 244u8, 169u8, 68u8, 63u8, + 111u8, 86u8, 65u8, 229u8, 104u8, 51u8, 44u8, 100u8, 47u8, 191u8, ], ) } #[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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::supported_version::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 144u8, 218u8, 177u8, 254u8, 210u8, 8u8, 84u8, 149u8, 163u8, 162u8, - 238u8, 37u8, 157u8, 28u8, 140u8, 121u8, 201u8, 173u8, 204u8, 92u8, - 133u8, 45u8, 156u8, 38u8, 61u8, 51u8, 153u8, 161u8, 147u8, 146u8, - 202u8, 24u8, + 144u8, 22u8, 91u8, 30u8, 139u8, 164u8, 95u8, 149u8, 97u8, 247u8, 12u8, + 212u8, 96u8, 16u8, 134u8, 236u8, 74u8, 57u8, 244u8, 169u8, 68u8, 63u8, + 111u8, 86u8, 65u8, 229u8, 104u8, 51u8, 44u8, 100u8, 47u8, 191u8, ], ) } #[doc = " All locations that we have requested version notifications from."] pub fn version_notifiers_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 175u8, 206u8, 29u8, 14u8, 111u8, 123u8, 211u8, 109u8, 159u8, 131u8, - 80u8, 149u8, 216u8, 196u8, 181u8, 105u8, 117u8, 138u8, 80u8, 69u8, - 237u8, 116u8, 195u8, 66u8, 209u8, 102u8, 42u8, 126u8, 222u8, 176u8, - 201u8, 49u8, + 49u8, 190u8, 73u8, 67u8, 91u8, 69u8, 121u8, 206u8, 25u8, 82u8, 29u8, + 170u8, 157u8, 201u8, 168u8, 93u8, 181u8, 55u8, 226u8, 142u8, 136u8, + 46u8, 117u8, 208u8, 130u8, 90u8, 129u8, 39u8, 151u8, 92u8, 118u8, 75u8, ], ) } #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 175u8, 206u8, 29u8, 14u8, 111u8, 123u8, 211u8, 109u8, 159u8, 131u8, - 80u8, 149u8, 216u8, 196u8, 181u8, 105u8, 117u8, 138u8, 80u8, 69u8, - 237u8, 116u8, 195u8, 66u8, 209u8, 102u8, 42u8, 126u8, 222u8, 176u8, - 201u8, 49u8, + 49u8, 190u8, 73u8, 67u8, 91u8, 69u8, 121u8, 206u8, 25u8, 82u8, 29u8, + 170u8, 157u8, 201u8, 168u8, 93u8, 181u8, 55u8, 226u8, 142u8, 136u8, + 46u8, 117u8, 208u8, 130u8, 90u8, 129u8, 39u8, 151u8, 92u8, 118u8, 75u8, ], ) } #[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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::version_notifiers::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 175u8, 206u8, 29u8, 14u8, 111u8, 123u8, 211u8, 109u8, 159u8, 131u8, - 80u8, 149u8, 216u8, 196u8, 181u8, 105u8, 117u8, 138u8, 80u8, 69u8, - 237u8, 116u8, 195u8, 66u8, 209u8, 102u8, 42u8, 126u8, 222u8, 176u8, - 201u8, 49u8, + 49u8, 190u8, 73u8, 67u8, 91u8, 69u8, 121u8, 206u8, 25u8, 82u8, 29u8, + 170u8, 157u8, 201u8, 168u8, 93u8, 181u8, 55u8, 226u8, 142u8, 136u8, + 46u8, 117u8, 208u8, 130u8, 90u8, 129u8, 39u8, 151u8, 92u8, 118u8, 75u8, ], ) } @@ -43946,21 +41230,22 @@ pub mod api { #[doc = " of our versions we informed them of."] pub fn version_notify_targets_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 113u8, 77u8, 150u8, 42u8, 82u8, 49u8, 195u8, 120u8, 96u8, 80u8, 152u8, - 67u8, 27u8, 142u8, 10u8, 74u8, 66u8, 134u8, 35u8, 202u8, 77u8, 187u8, - 174u8, 22u8, 207u8, 199u8, 57u8, 85u8, 53u8, 208u8, 146u8, 81u8, + 1u8, 195u8, 40u8, 83u8, 216u8, 175u8, 241u8, 95u8, 42u8, 7u8, 85u8, + 253u8, 223u8, 241u8, 195u8, 41u8, 41u8, 21u8, 17u8, 171u8, 216u8, + 150u8, 39u8, 165u8, 215u8, 194u8, 201u8, 225u8, 179u8, 12u8, 52u8, + 173u8, ], ) } @@ -43968,24 +41253,27 @@ 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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 113u8, 77u8, 150u8, 42u8, 82u8, 49u8, 195u8, 120u8, 96u8, 80u8, 152u8, - 67u8, 27u8, 142u8, 10u8, 74u8, 66u8, 134u8, 35u8, 202u8, 77u8, 187u8, - 174u8, 22u8, 207u8, 199u8, 57u8, 85u8, 53u8, 208u8, 146u8, 81u8, + 1u8, 195u8, 40u8, 83u8, 216u8, 175u8, 241u8, 95u8, 42u8, 7u8, 85u8, + 253u8, 223u8, 241u8, 195u8, 41u8, 41u8, 21u8, 17u8, 171u8, 216u8, + 150u8, 39u8, 165u8, 215u8, 194u8, 201u8, 225u8, 179u8, 12u8, 52u8, + 173u8, ], ) } @@ -43993,33 +41281,38 @@ 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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::version_notify_targets::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 113u8, 77u8, 150u8, 42u8, 82u8, 49u8, 195u8, 120u8, 96u8, 80u8, 152u8, - 67u8, 27u8, 142u8, 10u8, 74u8, 66u8, 134u8, 35u8, 202u8, 77u8, 187u8, - 174u8, 22u8, 207u8, 199u8, 57u8, 85u8, 53u8, 208u8, 146u8, 81u8, + 1u8, 195u8, 40u8, 83u8, 216u8, 175u8, 241u8, 95u8, 42u8, 7u8, 85u8, + 253u8, 223u8, 241u8, 195u8, 41u8, 41u8, 21u8, 17u8, 171u8, 216u8, + 150u8, 39u8, 165u8, 215u8, 194u8, 201u8, 225u8, 179u8, 12u8, 52u8, + 173u8, ], ) } @@ -44028,36 +41321,35 @@ pub mod api { #[doc = " which is used as a prioritization."] pub fn version_discovery_queue( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 95u8, 74u8, 97u8, 94u8, 40u8, 140u8, 175u8, 176u8, 224u8, 222u8, 83u8, - 199u8, 170u8, 102u8, 3u8, 77u8, 127u8, 208u8, 155u8, 122u8, 176u8, - 51u8, 15u8, 253u8, 231u8, 245u8, 91u8, 192u8, 60u8, 144u8, 101u8, - 168u8, + 110u8, 87u8, 102u8, 193u8, 125u8, 129u8, 0u8, 221u8, 218u8, 229u8, + 101u8, 94u8, 74u8, 229u8, 246u8, 180u8, 113u8, 11u8, 15u8, 159u8, 98u8, + 90u8, 30u8, 112u8, 164u8, 236u8, 151u8, 220u8, 19u8, 83u8, 67u8, 248u8, ], ) } #[doc = " The current migration's stage, if any."] pub fn current_migration( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -44071,177 +41363,191 @@ 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::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", (), [ - 247u8, 124u8, 77u8, 42u8, 208u8, 183u8, 99u8, 196u8, 50u8, 113u8, - 250u8, 221u8, 222u8, 170u8, 10u8, 60u8, 143u8, 172u8, 149u8, 198u8, - 125u8, 154u8, 196u8, 196u8, 145u8, 209u8, 68u8, 28u8, 241u8, 241u8, - 201u8, 150u8, + 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, + 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, + 62u8, 175u8, 15u8, 81u8, 198u8, 182u8, 255u8, 37u8, 81u8, 6u8, 57u8, ], ) } #[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::StaticStorageKey< + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 247u8, 124u8, 77u8, 42u8, 208u8, 183u8, 99u8, 196u8, 50u8, 113u8, - 250u8, 221u8, 222u8, 170u8, 10u8, 60u8, 143u8, 172u8, 149u8, 198u8, - 125u8, 154u8, 196u8, 196u8, 145u8, 209u8, 68u8, 28u8, 241u8, 241u8, - 201u8, 150u8, + 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, + 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, + 62u8, 175u8, 15u8, 81u8, 198u8, 182u8, 255u8, 37u8, 81u8, 6u8, 57u8, ], ) } #[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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::remote_locked_fungibles::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 247u8, 124u8, 77u8, 42u8, 208u8, 183u8, 99u8, 196u8, 50u8, 113u8, - 250u8, 221u8, 222u8, 170u8, 10u8, 60u8, 143u8, 172u8, 149u8, 198u8, - 125u8, 154u8, 196u8, 196u8, 145u8, 209u8, 68u8, 28u8, 241u8, 241u8, - 201u8, 150u8, + 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, + 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, + 62u8, 175u8, 15u8, 81u8, 198u8, 182u8, 255u8, 37u8, 81u8, 6u8, 57u8, ], ) } #[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< + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + _2: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< ( - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::remote_locked_fungibles::Param0, >, - ::subxt::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::remote_locked_fungibles::Param1, >, - ::subxt::storage::address::StaticStorageKey< + ::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", ( - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_1.borrow()), - ::subxt::storage::address::StaticStorageKey::new(_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(), + ), ), [ - 247u8, 124u8, 77u8, 42u8, 208u8, 183u8, 99u8, 196u8, 50u8, 113u8, - 250u8, 221u8, 222u8, 170u8, 10u8, 60u8, 143u8, 172u8, 149u8, 198u8, - 125u8, 154u8, 196u8, 196u8, 145u8, 209u8, 68u8, 28u8, 241u8, 241u8, - 201u8, 150u8, + 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, + 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, + 62u8, 175u8, 15u8, 81u8, 198u8, 182u8, 255u8, 37u8, 81u8, 6u8, 57u8, ], ) } #[doc = " Fungible assets which we know are locked on this chain."] pub fn locked_fungibles_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), [ - 254u8, 234u8, 1u8, 27u8, 27u8, 32u8, 217u8, 24u8, 47u8, 30u8, 62u8, - 80u8, 86u8, 125u8, 120u8, 24u8, 143u8, 229u8, 161u8, 153u8, 240u8, - 246u8, 80u8, 15u8, 49u8, 189u8, 20u8, 204u8, 239u8, 198u8, 97u8, 174u8, + 110u8, 220u8, 127u8, 176u8, 219u8, 23u8, 132u8, 36u8, 224u8, 187u8, + 25u8, 103u8, 126u8, 99u8, 34u8, 105u8, 57u8, 182u8, 162u8, 69u8, 24u8, + 67u8, 221u8, 103u8, 79u8, 139u8, 187u8, 162u8, 113u8, 109u8, 163u8, + 35u8, ], ) } #[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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 254u8, 234u8, 1u8, 27u8, 27u8, 32u8, 217u8, 24u8, 47u8, 30u8, 62u8, - 80u8, 86u8, 125u8, 120u8, 24u8, 143u8, 229u8, 161u8, 153u8, 240u8, - 246u8, 80u8, 15u8, 49u8, 189u8, 20u8, 204u8, 239u8, 198u8, 97u8, 174u8, + 110u8, 220u8, 127u8, 176u8, 219u8, 23u8, 132u8, 36u8, 224u8, 187u8, + 25u8, 103u8, 126u8, 99u8, 34u8, 105u8, 57u8, 182u8, 162u8, 69u8, 24u8, + 67u8, 221u8, 103u8, 79u8, 139u8, 187u8, 162u8, 113u8, 109u8, 163u8, + 35u8, ], ) } #[doc = " Global suspension state of the XCM executor."] pub fn xcm_execution_suspended( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -44255,775 +41561,6 @@ pub mod api { } } } - pub mod beefy { - use super::root_mod; - use super::runtime_types; - #[doc = "The `Error` enum of this pallet."] - pub type Error = runtime_types::pallet_beefy::pallet::Error; - #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub type Call = runtime_types::pallet_beefy::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 = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - pub struct ReportEquivocation { - pub equivocation_proof: - ::std::boxed::Box, - pub key_owner_proof: report_equivocation::KeyOwnerProof, - } - pub mod report_equivocation { - use super::runtime_types; - pub type EquivocationProof = - runtime_types::sp_consensus_beefy::EquivocationProof< - ::core::primitive::u32, - runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, - runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, - >; - pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; - } - impl ::subxt::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, - 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 = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - #[doc = ""] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] - pub struct ReportEquivocationUnsigned { - pub equivocation_proof: - ::std::boxed::Box, - pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, - } - pub mod report_equivocation_unsigned { - use super::runtime_types; - pub type EquivocationProof = - runtime_types::sp_consensus_beefy::EquivocationProof< - ::core::primitive::u32, - runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, - runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, - >; - pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; - } - impl ::subxt::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, - 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 = "Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the"] - #[doc = "future."] - #[doc = ""] - #[doc = "Note: `delay_in_blocks` has to be at least 1."] - pub struct SetNewGenesis { - pub delay_in_blocks: set_new_genesis::DelayInBlocks, - } - pub mod set_new_genesis { - use super::runtime_types; - pub type DelayInBlocks = ::core::primitive::u32; - } - impl ::subxt::blocks::StaticExtrinsic for SetNewGenesis { - const PALLET: &'static str = "Beefy"; - const CALL: &'static str = "set_new_genesis"; - } - } - pub struct TransactionApi; - impl TransactionApi { - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - pub fn report_equivocation( - &self, - equivocation_proof: types::report_equivocation::EquivocationProof, - key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Beefy", - "report_equivocation", - types::ReportEquivocation { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), - key_owner_proof, - }, - [ - 156u8, 32u8, 92u8, 179u8, 165u8, 93u8, 216u8, 130u8, 121u8, 225u8, - 33u8, 141u8, 255u8, 12u8, 101u8, 136u8, 177u8, 25u8, 23u8, 239u8, 12u8, - 142u8, 88u8, 228u8, 85u8, 171u8, 218u8, 185u8, 146u8, 245u8, 149u8, - 85u8, - ], - ) - } - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - #[doc = ""] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] - pub fn report_equivocation_unsigned( - &self, - equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, - key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Beefy", - "report_equivocation_unsigned", - types::ReportEquivocationUnsigned { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), - key_owner_proof, - }, - [ - 126u8, 201u8, 236u8, 234u8, 107u8, 52u8, 37u8, 115u8, 228u8, 232u8, - 103u8, 193u8, 143u8, 224u8, 79u8, 192u8, 207u8, 204u8, 161u8, 103u8, - 210u8, 131u8, 64u8, 251u8, 48u8, 196u8, 249u8, 148u8, 2u8, 179u8, - 135u8, 121u8, - ], - ) - } - #[doc = "Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the"] - #[doc = "future."] - #[doc = ""] - #[doc = "Note: `delay_in_blocks` has to be at least 1."] - pub fn set_new_genesis( - &self, - delay_in_blocks: types::set_new_genesis::DelayInBlocks, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Beefy", - "set_new_genesis", - types::SetNewGenesis { delay_in_blocks }, - [ - 147u8, 6u8, 252u8, 43u8, 77u8, 91u8, 170u8, 45u8, 112u8, 155u8, 158u8, - 79u8, 1u8, 116u8, 162u8, 146u8, 181u8, 9u8, 171u8, 48u8, 198u8, 210u8, - 243u8, 64u8, 229u8, 35u8, 28u8, 177u8, 144u8, 22u8, 165u8, 163u8, - ], - ) - } - } - } - pub mod storage { - use super::runtime_types; - pub mod types { - use super::runtime_types; - pub mod authorities { - use super::runtime_types; - pub type Authorities = - runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, - >; - } - pub mod validator_set_id { - use super::runtime_types; - pub type ValidatorSetId = ::core::primitive::u64; - } - pub mod next_authorities { - use super::runtime_types; - pub type NextAuthorities = - runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, - >; - } - pub mod set_id_session { - use super::runtime_types; - pub type SetIdSession = ::core::primitive::u32; - pub type Param0 = ::core::primitive::u64; - } - pub mod genesis_block { - use super::runtime_types; - pub type GenesisBlock = ::core::option::Option<::core::primitive::u32>; - } - } - pub struct StorageApi; - impl StorageApi { - #[doc = " The current authorities set"] - pub fn authorities( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::authorities::Authorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "Beefy", - "Authorities", - (), - [ - 53u8, 171u8, 94u8, 33u8, 46u8, 83u8, 105u8, 120u8, 123u8, 201u8, 141u8, - 71u8, 131u8, 150u8, 51u8, 121u8, 67u8, 45u8, 249u8, 146u8, 85u8, 113u8, - 23u8, 59u8, 59u8, 41u8, 0u8, 226u8, 98u8, 166u8, 253u8, 59u8, - ], - ) - } - #[doc = " The current validator set id"] - pub fn validator_set_id( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::validator_set_id::ValidatorSetId, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "Beefy", - "ValidatorSetId", - (), - [ - 168u8, 84u8, 23u8, 134u8, 153u8, 30u8, 183u8, 176u8, 206u8, 100u8, - 109u8, 86u8, 109u8, 126u8, 146u8, 175u8, 173u8, 1u8, 253u8, 42u8, - 122u8, 207u8, 71u8, 4u8, 145u8, 83u8, 148u8, 29u8, 243u8, 52u8, 29u8, - 78u8, - ], - ) - } - #[doc = " Authorities set scheduled to be used with the next session"] - pub fn next_authorities( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::next_authorities::NextAuthorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "Beefy", - "NextAuthorities", - (), - [ - 87u8, 180u8, 0u8, 85u8, 209u8, 13u8, 131u8, 103u8, 8u8, 226u8, 42u8, - 72u8, 38u8, 47u8, 190u8, 78u8, 62u8, 4u8, 161u8, 130u8, 87u8, 196u8, - 13u8, 209u8, 205u8, 98u8, 104u8, 91u8, 3u8, 47u8, 82u8, 11u8, - ], - ) - } - #[doc = " A mapping from BEEFY set ID to the index of the *most recent* session for which its"] - #[doc = " members were responsible."] - #[doc = ""] - #[doc = " This is only used for validating equivocation proofs. An equivocation proof must"] - #[doc = " contains a key-ownership proof for a given session, therefore we need a way to tie"] - #[doc = " together sessions and BEEFY set ids, i.e. we need to validate that a validator"] - #[doc = " was the owner of a given key on a given session, and what the active set ID was"] - #[doc = " during that session."] - #[doc = ""] - #[doc = " TWOX-NOTE: `ValidatorSetId` is not under user control."] - pub fn set_id_session_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::set_id_session::SetIdSession, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "Beefy", - "SetIdSession", - (), - [ - 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, - 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, - 238u8, 18u8, 209u8, 203u8, 38u8, 148u8, 16u8, 105u8, 72u8, 169u8, - ], - ) - } - #[doc = " A mapping from BEEFY set ID to the index of the *most recent* session for which its"] - #[doc = " members were responsible."] - #[doc = ""] - #[doc = " This is only used for validating equivocation proofs. An equivocation proof must"] - #[doc = " contains a key-ownership proof for a given session, therefore we need a way to tie"] - #[doc = " together sessions and BEEFY set ids, i.e. we need to validate that a validator"] - #[doc = " was the owner of a given key on a given session, and what the active set ID was"] - #[doc = " during that session."] - #[doc = ""] - #[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::StaticStorageKey, - types::set_id_session::SetIdSession, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "Beefy", - "SetIdSession", - ::subxt::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, - 238u8, 18u8, 209u8, 203u8, 38u8, 148u8, 16u8, 105u8, 72u8, 169u8, - ], - ) - } - #[doc = " Block number where BEEFY consensus is enabled/started."] - #[doc = " By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively"] - #[doc = " restarted from the newly set block number."] - pub fn genesis_block( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::genesis_block::GenesisBlock, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "Beefy", - "GenesisBlock", - (), - [ - 198u8, 155u8, 11u8, 240u8, 189u8, 245u8, 159u8, 127u8, 55u8, 33u8, - 48u8, 29u8, 209u8, 119u8, 163u8, 24u8, 28u8, 22u8, 163u8, 163u8, 124u8, - 88u8, 126u8, 4u8, 193u8, 158u8, 29u8, 243u8, 212u8, 4u8, 41u8, 22u8, - ], - ) - } - } - } - pub mod constants { - use super::runtime_types; - pub struct ConstantsApi; - impl ConstantsApi { - #[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( - "Beefy", - "MaxAuthorities", - [ - 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 = " The maximum number of nominators for each validator."] - pub fn max_nominators( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( - "Beefy", - "MaxNominators", - [ - 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 = " The maximum number of entries to keep in the set id to session index mapping."] - #[doc = ""] - #[doc = " Since the `SetIdSession` map is only used for validating equivocations this"] - #[doc = " value should relate to the bonding duration of whatever staking system is"] - #[doc = " being used (if any). If equivocation handling is not enabled then this value"] - #[doc = " can be zero."] - pub fn max_set_id_session_entries( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( - "Beefy", - "MaxSetIdSessionEntries", - [ - 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, - 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, - 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, - 246u8, - ], - ) - } - } - } - } - pub mod mmr { - use super::root_mod; - use super::runtime_types; - pub mod storage { - use super::runtime_types; - pub mod types { - use super::runtime_types; - pub mod root_hash { - use super::runtime_types; - pub type RootHash = ::subxt::utils::H256; - } - pub mod number_of_leaves { - use super::runtime_types; - pub type NumberOfLeaves = ::core::primitive::u64; - } - pub mod nodes { - use super::runtime_types; - pub type Nodes = ::subxt::utils::H256; - pub type Param0 = ::core::primitive::u64; - } - } - pub struct StorageApi; - impl StorageApi { - #[doc = " Latest MMR Root hash."] - pub fn root_hash( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::root_hash::RootHash, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "Mmr", - "RootHash", - (), - [ - 111u8, 206u8, 173u8, 92u8, 67u8, 49u8, 150u8, 113u8, 90u8, 245u8, 38u8, - 254u8, 76u8, 250u8, 167u8, 66u8, 130u8, 129u8, 251u8, 220u8, 172u8, - 229u8, 162u8, 251u8, 36u8, 227u8, 43u8, 189u8, 7u8, 106u8, 23u8, 13u8, - ], - ) - } - #[doc = " Current size of the MMR (number of leaves)."] - pub fn number_of_leaves( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::number_of_leaves::NumberOfLeaves, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "Mmr", - "NumberOfLeaves", - (), - [ - 123u8, 58u8, 149u8, 174u8, 85u8, 45u8, 20u8, 115u8, 241u8, 0u8, 51u8, - 174u8, 234u8, 60u8, 230u8, 59u8, 237u8, 144u8, 170u8, 32u8, 4u8, 0u8, - 34u8, 163u8, 238u8, 205u8, 93u8, 208u8, 53u8, 38u8, 141u8, 195u8, - ], - ) - } - #[doc = " Hashes of the nodes in the MMR."] - #[doc = ""] - #[doc = " Note this collection only contains MMR peaks, the inner nodes (and leaves)"] - #[doc = " are pruned and only stored in the Offchain DB."] - pub fn nodes_iter( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::nodes::Nodes, - (), - (), - ::subxt::storage::address::Yes, - > { - ::subxt::storage::address::Address::new_static( - "Mmr", - "Nodes", - (), - [ - 27u8, 84u8, 41u8, 195u8, 146u8, 81u8, 211u8, 189u8, 63u8, 125u8, 173u8, - 206u8, 69u8, 198u8, 202u8, 213u8, 89u8, 31u8, 89u8, 177u8, 76u8, 154u8, - 249u8, 197u8, 133u8, 78u8, 142u8, 71u8, 183u8, 3u8, 132u8, 25u8, - ], - ) - } - #[doc = " Hashes of the nodes in the MMR."] - #[doc = ""] - #[doc = " Note this collection only contains MMR peaks, the inner nodes (and leaves)"] - #[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::StaticStorageKey, - types::nodes::Nodes, - ::subxt::storage::address::Yes, - (), - (), - > { - ::subxt::storage::address::Address::new_static( - "Mmr", - "Nodes", - ::subxt::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, - 249u8, 197u8, 133u8, 78u8, 142u8, 71u8, 183u8, 3u8, 132u8, 25u8, - ], - ) - } - } - } - } - pub mod mmr_leaf { - use super::root_mod; - use super::runtime_types; - pub mod storage { - use super::runtime_types; - pub mod types { - use super::runtime_types; - pub mod beefy_authorities { - use super::runtime_types; - pub type BeefyAuthorities = - runtime_types::sp_consensus_beefy::mmr::BeefyAuthoritySet< - ::subxt::utils::H256, - >; - } - pub mod beefy_next_authorities { - use super::runtime_types; - pub type BeefyNextAuthorities = - runtime_types::sp_consensus_beefy::mmr::BeefyAuthoritySet< - ::subxt::utils::H256, - >; - } - } - pub struct StorageApi; - impl StorageApi { - #[doc = " Details of current BEEFY authority set."] - pub fn beefy_authorities( - &self, - ) -> ::subxt::storage::address::Address< - (), - types::beefy_authorities::BeefyAuthorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "MmrLeaf", - "BeefyAuthorities", - (), - [ - 128u8, 35u8, 176u8, 79u8, 224u8, 58u8, 214u8, 234u8, 231u8, 71u8, - 227u8, 153u8, 180u8, 189u8, 66u8, 44u8, 47u8, 174u8, 0u8, 83u8, 121u8, - 182u8, 226u8, 44u8, 224u8, 173u8, 237u8, 102u8, 231u8, 146u8, 110u8, - 7u8, - ], - ) - } - #[doc = " Details of next BEEFY authority set."] - #[doc = ""] - #[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< - (), - types::beefy_next_authorities::BeefyNextAuthorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::Address::new_static( - "MmrLeaf", - "BeefyNextAuthorities", - (), - [ - 97u8, 71u8, 52u8, 111u8, 120u8, 251u8, 183u8, 155u8, 177u8, 100u8, - 236u8, 142u8, 204u8, 117u8, 95u8, 40u8, 201u8, 36u8, 32u8, 82u8, 38u8, - 234u8, 135u8, 39u8, 224u8, 69u8, 94u8, 85u8, 12u8, 89u8, 97u8, 218u8, - ], - ) - } - } - } - } - pub mod identity_migrator { - use super::root_mod; - use super::runtime_types; - #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub type Call = runtime_types::polkadot_runtime_common::identity_migrator::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 = "Reap the `IdentityInfo` of `who` from the Identity pallet of `T`, unreserving any"] - #[doc = "deposits held and removing storage items associated with `who`."] - pub struct ReapIdentity { - pub who: reap_identity::Who, - } - pub mod reap_identity { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - } - impl ::subxt::blocks::StaticExtrinsic for ReapIdentity { - const PALLET: &'static str = "IdentityMigrator"; - const CALL: &'static str = "reap_identity"; - } - #[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 = "Update the deposit of `who`. Meant to be called by the system with an XCM `Transact`"] - #[doc = "Instruction."] - pub struct PokeDeposit { - pub who: poke_deposit::Who, - } - pub mod poke_deposit { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - } - impl ::subxt::blocks::StaticExtrinsic for PokeDeposit { - const PALLET: &'static str = "IdentityMigrator"; - const CALL: &'static str = "poke_deposit"; - } - } - pub struct TransactionApi; - impl TransactionApi { - #[doc = "Reap the `IdentityInfo` of `who` from the Identity pallet of `T`, unreserving any"] - #[doc = "deposits held and removing storage items associated with `who`."] - pub fn reap_identity( - &self, - who: types::reap_identity::Who, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "IdentityMigrator", - "reap_identity", - types::ReapIdentity { who }, - [ - 187u8, 110u8, 202u8, 220u8, 54u8, 240u8, 242u8, 171u8, 5u8, 83u8, - 129u8, 93u8, 213u8, 208u8, 21u8, 236u8, 121u8, 128u8, 127u8, 121u8, - 153u8, 118u8, 232u8, 44u8, 20u8, 124u8, 214u8, 185u8, 249u8, 182u8, - 136u8, 96u8, - ], - ) - } - #[doc = "Update the deposit of `who`. Meant to be called by the system with an XCM `Transact`"] - #[doc = "Instruction."] - pub fn poke_deposit( - &self, - who: types::poke_deposit::Who, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "IdentityMigrator", - "poke_deposit", - types::PokeDeposit { who }, - [ - 42u8, 67u8, 168u8, 124u8, 75u8, 32u8, 143u8, 173u8, 14u8, 28u8, 76u8, - 35u8, 196u8, 255u8, 250u8, 33u8, 128u8, 159u8, 132u8, 124u8, 51u8, - 243u8, 166u8, 55u8, 208u8, 101u8, 188u8, 133u8, 36u8, 18u8, 119u8, - 146u8, - ], - ) - } - } - } - #[doc = "The `Event` enum of this pallet"] - pub type Event = runtime_types::polkadot_runtime_common::identity_migrator::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 = "The identity and all sub accounts were reaped for `who`."] - pub struct IdentityReaped { - pub who: identity_reaped::Who, - } - pub mod identity_reaped { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - } - impl ::subxt::events::StaticEvent for IdentityReaped { - const PALLET: &'static str = "IdentityMigrator"; - const EVENT: &'static str = "IdentityReaped"; - } - #[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 deposits held for `who` were updated. `identity` is the new deposit held for"] - #[doc = "identity info, and `subs` is the new deposit held for the sub-accounts."] - pub struct DepositUpdated { - pub who: deposit_updated::Who, - pub identity: deposit_updated::Identity, - pub subs: deposit_updated::Subs, - } - pub mod deposit_updated { - use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; - pub type Identity = ::core::primitive::u128; - pub type Subs = ::core::primitive::u128; - } - impl ::subxt::events::StaticEvent for DepositUpdated { - const PALLET: &'static str = "IdentityMigrator"; - const EVENT: &'static str = "DepositUpdated"; - } - } - } pub mod paras_sudo_wrapper { use super::root_mod; use super::runtime_types; @@ -45038,20 +41575,20 @@ 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")] - #[doc = "Schedule a para to be initialized at the start of the next session."] - #[doc = ""] - #[doc = "This should only be used for TESTING and not on PRODUCTION chains. It automatically"] - #[doc = "assigns Coretime to the chain and increases the number of cores. Thus, there is no"] - #[doc = "running coretime chain required."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub genesis: sudo_schedule_para_initialize::Genesis, @@ -45062,21 +41599,25 @@ 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")] - #[doc = "Schedule a para to be cleaned up at the start of the next session."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -45084,21 +41625,25 @@ 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")] - #[doc = "Upgrade a parathread (on-demand parachain) to a lease holding parachain"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -45106,21 +41651,25 @@ 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")] - #[doc = "Downgrade a lease holding parachain to an on-demand parachain"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -45128,51 +41677,54 @@ 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")] - #[doc = "Send a downward XCM to the given para."] - #[doc = ""] - #[doc = "The given parachain should exist and the payload should not exceed the preconfigured"] - #[doc = "size `config.max_downward_message_size`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Forcefully establish a channel from the sender to the recipient."] - #[doc = ""] - #[doc = "This is equivalent to sending an `Hrmp::hrmp_init_open_channel` extrinsic followed by"] - #[doc = "`Hrmp::hrmp_accept_open_channel`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub recipient: sudo_establish_hrmp_channel::Recipient, @@ -45187,24 +41739,21 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Schedule a para to be initialized at the start of the next session."] - #[doc = ""] - #[doc = "This should only be used for TESTING and not on PRODUCTION chains. It automatically"] - #[doc = "assigns Coretime to the chain and increases the number of cores. Thus, there is no"] - #[doc = "running coretime chain required."] + #[doc = "See [`Pallet::sudo_schedule_para_initialize`]."] pub fn sudo_schedule_para_initialize( &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 }, @@ -45215,12 +41764,13 @@ pub mod api { ], ) } - #[doc = "Schedule a para to be cleaned up at the start of the next session."] + #[doc = "See [`Pallet::sudo_schedule_para_cleanup`]."] 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 }, @@ -45231,12 +41781,13 @@ pub mod api { ], ) } - #[doc = "Upgrade a parathread (on-demand parachain) to a lease holding parachain"] + #[doc = "See [`Pallet::sudo_schedule_parathread_upgrade`]."] 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 }, @@ -45248,12 +41799,13 @@ pub mod api { ], ) } - #[doc = "Downgrade a lease holding parachain to an on-demand parachain"] + #[doc = "See [`Pallet::sudo_schedule_parachain_downgrade`]."] 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 }, @@ -45265,41 +41817,38 @@ pub mod api { ], ) } - #[doc = "Send a downward XCM to the given para."] - #[doc = ""] - #[doc = "The given parachain should exist and the payload should not exceed the preconfigured"] - #[doc = "size `config.max_downward_message_size`."] + #[doc = "See [`Pallet::sudo_queue_downward_xcm`]."] pub fn sudo_queue_downward_xcm( &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), }, [ - 35u8, 59u8, 126u8, 248u8, 211u8, 246u8, 239u8, 67u8, 252u8, 100u8, - 231u8, 46u8, 197u8, 83u8, 150u8, 54u8, 215u8, 188u8, 76u8, 193u8, 60u8, - 38u8, 251u8, 162u8, 19u8, 15u8, 214u8, 51u8, 24u8, 2u8, 9u8, 116u8, + 144u8, 179u8, 113u8, 39u8, 46u8, 58u8, 218u8, 220u8, 98u8, 232u8, + 121u8, 119u8, 127u8, 99u8, 52u8, 189u8, 232u8, 28u8, 233u8, 54u8, + 122u8, 206u8, 155u8, 7u8, 88u8, 167u8, 203u8, 251u8, 96u8, 156u8, 23u8, + 54u8, ], ) } - #[doc = "Forcefully establish a channel from the sender to the recipient."] - #[doc = ""] - #[doc = "This is equivalent to sending an `Hrmp::hrmp_init_open_channel` extrinsic followed by"] - #[doc = "`Hrmp::hrmp_accept_open_channel`."] + #[doc = "See [`Pallet::sudo_establish_hrmp_channel`]."] pub fn sudo_establish_hrmp_channel( &self, sender: types::sudo_establish_hrmp_channel::Sender, 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 { @@ -45332,16 +41881,20 @@ 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")] - #[doc = "Assign a permanent parachain slot and immediately create a lease for it."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -45349,23 +41902,25 @@ 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")] - #[doc = "Assign a temporary parachain slot. The function tries to create a lease for it"] - #[doc = "immediately if `SlotLeasePeriodStart::Current` is specified, and if the number"] - #[doc = "of currently active temporary slots is below `MaxTemporarySlotPerLeasePeriod`."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub lease_period_start: assign_temp_parachain_slot::LeasePeriodStart, @@ -45375,21 +41930,25 @@ 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")] - #[doc = "Unassign a permanent or temporary parachain slot"] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -45397,21 +41956,25 @@ 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")] - #[doc = "Sets the storage value [`MaxPermanentSlots`]."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -45419,21 +41982,25 @@ 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")] - #[doc = "Sets the storage value [`MaxTemporarySlots`]."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -45441,19 +42008,20 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Assign a permanent parachain slot and immediately create a lease for it."] + #[doc = "See [`Pallet::assign_perm_parachain_slot`]."] 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 }, @@ -45464,15 +42032,14 @@ pub mod api { ], ) } - #[doc = "Assign a temporary parachain slot. The function tries to create a lease for it"] - #[doc = "immediately if `SlotLeasePeriodStart::Current` is specified, and if the number"] - #[doc = "of currently active temporary slots is below `MaxTemporarySlotPerLeasePeriod`."] + #[doc = "See [`Pallet::assign_temp_parachain_slot`]."] pub fn assign_temp_parachain_slot( &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 { @@ -45487,12 +42054,13 @@ pub mod api { ], ) } - #[doc = "Unassign a permanent or temporary parachain slot"] + #[doc = "See [`Pallet::unassign_parachain_slot`]."] 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 }, @@ -45504,12 +42072,13 @@ pub mod api { ], ) } - #[doc = "Sets the storage value [`MaxPermanentSlots`]."] + #[doc = "See [`Pallet::set_max_permanent_slots`]."] 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 }, @@ -45520,12 +42089,13 @@ pub mod api { ], ) } - #[doc = "Sets the storage value [`MaxTemporarySlots`]."] + #[doc = "See [`Pallet::set_max_temporary_slots`]."] 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 }, @@ -45544,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, @@ -45601,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, @@ -45623,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"; } @@ -45643,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 { @@ -45668,14 +42238,14 @@ 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::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", (), @@ -45690,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -45713,14 +42287,14 @@ pub mod api { #[doc = " Number of assigned (and active) permanent slots."] pub fn permanent_slot_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -45734,14 +42308,14 @@ pub mod api { #[doc = " Assigned temporary slots."] pub fn temporary_slots_iter( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -45756,18 +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::StaticStorageKey, + _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", - ::subxt::storage::address::StaticStorageKey::new(_0.borrow()), + ::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, @@ -45779,14 +42357,14 @@ pub mod api { #[doc = " Number of assigned temporary slots."] pub fn temporary_slot_count( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -45800,14 +42378,14 @@ 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::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", (), @@ -45822,14 +42400,14 @@ 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::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", (), @@ -45844,14 +42422,14 @@ 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::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", (), @@ -45872,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", [ @@ -45887,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", [ @@ -45902,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", [ @@ -45929,64 +42510,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")] - #[doc = "Add new validators to the set."] - #[doc = ""] - #[doc = "The new validators will be active from current session + 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" + )] + #[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")] - #[doc = "Remove validators from the set."] - #[doc = ""] - #[doc = "The removed validators will be deactivated from current session + 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" + )] + #[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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Add new validators to the set."] - #[doc = ""] - #[doc = "The new validators will be active from current session + 2."] + #[doc = "See [`Pallet::register_validators`]."] 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 }, @@ -45998,14 +42586,13 @@ pub mod api { ], ) } - #[doc = "Remove validators from the set."] - #[doc = ""] - #[doc = "The removed validators will be deactivated from current session + 2."] + #[doc = "See [`Pallet::deregister_validators`]."] 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 }, @@ -46024,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"; } @@ -46070,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; @@ -46082,14 +42677,14 @@ 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::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", (), @@ -46103,14 +42698,14 @@ pub mod api { #[doc = " Validators that should be added."] pub fn validators_to_add( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -46139,18 +42734,20 @@ 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")] - #[doc = "Control the automatic migration."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be [`Config::ControlOrigin`]."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -46160,41 +42757,25 @@ 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")] - #[doc = "Continue the migration for the given `limits`."] - #[doc = ""] - #[doc = "The dispatch origin of this call can be any signed account."] - #[doc = ""] - #[doc = "This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,"] - #[doc = "Upon successful execution, the transaction fee is returned."] - #[doc = ""] - #[doc = "The (potentially over-estimated) of the byte length of all the data read must be"] - #[doc = "provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing"] - #[doc = "that executing the current `MigrationTask` with the given `limits` will not exceed"] - #[doc = "`real_size_upper` bytes of read data."] - #[doc = ""] - #[doc = "The `witness_task` is merely a helper to prevent the caller from being slashed or"] - #[doc = "generally trigger a migration that they do not intend. This parameter is just a message"] - #[doc = "from caller, saying that they believed `witness_task` was the last state of the"] - #[doc = "migration, and they only wish for their transaction to do anything, if this assumption"] - #[doc = "holds. In case `witness_task` does not match, the transaction fails."] - #[doc = ""] - #[doc = "Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the"] - #[doc = "recommended way of doing this is to pass a `limit` that only bounds `count`, as the"] - #[doc = "`size` limit can always be overwritten."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub real_size_upper: continue_migrate::RealSizeUpper, @@ -46208,53 +42789,55 @@ 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")] - #[doc = "Migrate the list of top keys by iterating each of them one by one."] - #[doc = ""] - #[doc = "This does not affect the global migration process tracker ([`MigrationProcess`]), and"] - #[doc = "should only be used in case any keys are leftover due to a bug."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub witness_size: migrate_custom_top::WitnessSize, } 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")] - #[doc = "Migrate the list of child keys by iterating each of them one by one."] - #[doc = ""] - #[doc = "All of the given child keys must be present under one `child_root`."] - #[doc = ""] - #[doc = "This does not affect the global migration process tracker ([`MigrationProcess`]), and"] - #[doc = "should only be used in case any keys are leftover due to a bug."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub child_keys: migrate_custom_child::ChildKeys, @@ -46262,25 +42845,32 @@ 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")] - #[doc = "Set the maximum limit of the signed migration."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, } @@ -46289,29 +42879,25 @@ 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")] - #[doc = "Forcefully set the progress the running migration."] - #[doc = ""] - #[doc = "This is only useful in one case: the next key to migrate is too big to be migrated with"] - #[doc = "a signed account, in a parachain context, and we simply want to skip it. A reasonable"] - #[doc = "example of this would be `:code:`, which is both very expensive to migrate, and commonly"] - #[doc = "used, so probably it is already migrated."] - #[doc = ""] - #[doc = "In case you mess things up, you can also, in principle, use this to reset the migration"] - #[doc = "process."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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, pub progress_child: force_set_progress::ProgressChild, @@ -46323,21 +42909,20 @@ 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"; } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Control the automatic migration."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be [`Config::ControlOrigin`]."] + #[doc = "See [`Pallet::control_auto_migration`]."] 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 }, @@ -46348,34 +42933,14 @@ pub mod api { ], ) } - #[doc = "Continue the migration for the given `limits`."] - #[doc = ""] - #[doc = "The dispatch origin of this call can be any signed account."] - #[doc = ""] - #[doc = "This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,"] - #[doc = "Upon successful execution, the transaction fee is returned."] - #[doc = ""] - #[doc = "The (potentially over-estimated) of the byte length of all the data read must be"] - #[doc = "provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing"] - #[doc = "that executing the current `MigrationTask` with the given `limits` will not exceed"] - #[doc = "`real_size_upper` bytes of read data."] - #[doc = ""] - #[doc = "The `witness_task` is merely a helper to prevent the caller from being slashed or"] - #[doc = "generally trigger a migration that they do not intend. This parameter is just a message"] - #[doc = "from caller, saying that they believed `witness_task` was the last state of the"] - #[doc = "migration, and they only wish for their transaction to do anything, if this assumption"] - #[doc = "holds. In case `witness_task` does not match, the transaction fails."] - #[doc = ""] - #[doc = "Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the"] - #[doc = "recommended way of doing this is to pass a `limit` that only bounds `count`, as the"] - #[doc = "`size` limit can always be overwritten."] + #[doc = "See [`Pallet::continue_migrate`]."] pub fn continue_migrate( &self, 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 { @@ -46391,16 +42956,14 @@ pub mod api { ], ) } - #[doc = "Migrate the list of top keys by iterating each of them one by one."] - #[doc = ""] - #[doc = "This does not affect the global migration process tracker ([`MigrationProcess`]), and"] - #[doc = "should only be used in case any keys are leftover due to a bug."] + #[doc = "See [`Pallet::migrate_custom_top`]."] pub fn migrate_custom_top( &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 }, @@ -46411,19 +42974,15 @@ pub mod api { ], ) } - #[doc = "Migrate the list of child keys by iterating each of them one by one."] - #[doc = ""] - #[doc = "All of the given child keys must be present under one `child_root`."] - #[doc = ""] - #[doc = "This does not affect the global migration process tracker ([`MigrationProcess`]), and"] - #[doc = "should only be used in case any keys are leftover due to a bug."] + #[doc = "See [`Pallet::migrate_custom_child`]."] pub fn migrate_custom_child( &self, 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 { @@ -46438,12 +42997,13 @@ pub mod api { ], ) } - #[doc = "Set the maximum limit of the signed migration."] + #[doc = "See [`Pallet::set_signed_max_limits`]."] 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 }, @@ -46454,21 +43014,14 @@ pub mod api { ], ) } - #[doc = "Forcefully set the progress the running migration."] - #[doc = ""] - #[doc = "This is only useful in one case: the next key to migrate is too big to be migrated with"] - #[doc = "a signed account, in a parachain context, and we simply want to skip it. A reasonable"] - #[doc = "example of this would be `:code:`, which is both very expensive to migrate, and commonly"] - #[doc = "used, so probably it is already migrated."] - #[doc = ""] - #[doc = "In case you mess things up, you can also, in principle, use this to reset the migration"] - #[doc = "process."] + #[doc = "See [`Pallet::force_set_progress`]."] pub fn force_set_progress( &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 { @@ -46490,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 { @@ -46513,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, @@ -46534,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, @@ -46575,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"; } @@ -46609,14 +43162,14 @@ pub mod api { #[doc = " forward by any of the means provided by this pallet."] pub fn migration_process( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -46632,14 +43185,14 @@ pub mod api { #[doc = " If set to None, then no automatic migration happens."] pub fn auto_limits( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -46655,14 +43208,14 @@ pub mod api { #[doc = " If not set, no signed submission is allowed."] pub fn signed_migration_max_limits( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -46700,9 +43253,12 @@ pub mod api { #[doc = " - [`frame_support::storage::StorageDoubleMap`]: 96 byte"] #[doc = ""] #[doc = " For more info see"] - #[doc = " "] - pub fn max_key_len(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + #[doc = " "] + 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", [ @@ -46716,114 +43272,10 @@ 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 = "A dispatch that will fill the block weight up to the given ratio."] - 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")] - 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 = "A dispatch that will fill the block weight up to the given ratio."] - 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, - ], - ) - } - 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 sudo { use super::root_mod; use super::runtime_types; - #[doc = "Error for the Sudo pallet."] + #[doc = "Error for the Sudo pallet"] pub type Error = runtime_types::pallet_sudo::pallet::Error; #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub type Call = runtime_types::pallet_sudo::pallet::Call; @@ -46834,44 +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")] - #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] - #[doc = "This function does not check the weight of the call, and instead allows the"] - #[doc = "Sudo user to specify the weight of the call."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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 { @@ -46879,128 +43336,119 @@ 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")] - #[doc = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] - #[doc = "key."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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")] - #[doc = "Authenticates the sudo key and dispatches a function call with `Signed` origin from"] - #[doc = "a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + 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"; } - #[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 = "Permanently removes the sudo key."] - #[doc = ""] - #[doc = "**This cannot be un-done.**"] - pub struct RemoveKey; - impl ::subxt::blocks::StaticExtrinsic for RemoveKey { - const PALLET: &'static str = "Sudo"; - const CALL: &'static str = "remove_key"; - } } pub struct TransactionApi; impl TransactionApi { - #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] - pub fn sudo(&self, call: types::sudo::Call) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + #[doc = "See [`Pallet::sudo`]."] + 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), }, [ - 182u8, 237u8, 136u8, 248u8, 26u8, 98u8, 159u8, 249u8, 13u8, 148u8, - 154u8, 119u8, 136u8, 199u8, 18u8, 226u8, 185u8, 128u8, 7u8, 47u8, - 253u8, 37u8, 106u8, 90u8, 143u8, 110u8, 108u8, 93u8, 246u8, 222u8, - 212u8, 108u8, + 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, ], ) } - #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] - #[doc = "This function does not check the weight of the call, and instead allows the"] - #[doc = "Sudo user to specify the weight of the call."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = "See [`Pallet::sudo_unchecked_weight`]."] pub fn sudo_unchecked_weight( &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, }, [ - 114u8, 10u8, 181u8, 185u8, 46u8, 86u8, 44u8, 238u8, 76u8, 203u8, 182u8, - 103u8, 147u8, 81u8, 36u8, 237u8, 70u8, 139u8, 182u8, 117u8, 204u8, 0u8, - 146u8, 132u8, 251u8, 162u8, 65u8, 192u8, 61u8, 0u8, 43u8, 94u8, + 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, ], ) } - #[doc = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] - #[doc = "key."] + #[doc = "See [`Pallet::set_key`]."] 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 }, @@ -47011,42 +43459,24 @@ pub mod api { ], ) } - #[doc = "Authenticates the sudo key and dispatches a function call with `Signed` origin from"] - #[doc = "a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = "See [`Pallet::sudo_as`]."] pub fn sudo_as( &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), }, [ - 74u8, 180u8, 112u8, 113u8, 184u8, 0u8, 87u8, 59u8, 130u8, 8u8, 222u8, - 55u8, 165u8, 38u8, 147u8, 196u8, 218u8, 10u8, 219u8, 217u8, 103u8, - 150u8, 112u8, 190u8, 59u8, 170u8, 24u8, 84u8, 84u8, 50u8, 33u8, 62u8, - ], - ) - } - #[doc = "Permanently removes the sudo key."] - #[doc = ""] - #[doc = "**This cannot be un-done.**"] - pub fn remove_key(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Sudo", - "remove_key", - types::RemoveKey {}, - [ - 133u8, 253u8, 54u8, 175u8, 202u8, 239u8, 5u8, 198u8, 180u8, 138u8, - 25u8, 28u8, 109u8, 40u8, 30u8, 56u8, 126u8, 100u8, 52u8, 205u8, 250u8, - 191u8, 61u8, 195u8, 172u8, 142u8, 184u8, 239u8, 247u8, 10u8, 211u8, - 79u8, + 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, ], ) } @@ -47057,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, @@ -47075,60 +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: key_changed::Old, - pub new: key_changed::New, + pub old_sudoer: key_changed::OldSudoer, } pub mod key_changed { use super::runtime_types; - pub type Old = ::core::option::Option<::subxt::utils::AccountId32>; - pub type New = ::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")] - #[doc = "The key was permanently removed."] - pub struct KeyRemoved; - impl ::subxt::events::StaticEvent for KeyRemoved { - const PALLET: &'static str = "Sudo"; - const EVENT: &'static str = "KeyRemoved"; - } - #[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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -47138,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"; } @@ -47149,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; @@ -47157,14 +43570,14 @@ pub mod api { #[doc = " The `AccountId` of the sudo key."] pub fn key( &self, - ) -> ::subxt::storage::address::Address< + ) -> ::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", (), @@ -47185,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, @@ -47263,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, @@ -47281,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, @@ -47312,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, @@ -47365,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, @@ -47390,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)>), @@ -47421,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), @@ -47442,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, @@ -47476,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 { @@ -47494,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, @@ -47625,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: @@ -47647,107 +44633,80 @@ 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 = "Make some on-chain remark."] - #[doc = ""] - #[doc = "Can be executed by every `origin`."] + #[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 = "Set the number of pages in the WebAssembly environment's heap."] + #[doc = "See [`Pallet::set_heap_pages`]."] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] - #[doc = "Set the new runtime code."] + #[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 = "Set the new runtime code without doing any checks of the given `code`."] - #[doc = ""] - #[doc = "Note that runtime upgrades will not run if this is called with a not-increasing spec"] - #[doc = "version!"] + #[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 = "Set some items of storage."] + #[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 = "Kill some items from storage."] + #[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 = "Kill all storage items with a key that starts with the given prefix."] - #[doc = ""] - #[doc = "**NOTE:** We rely on the Root origin to provide us the number of subkeys under"] - #[doc = "the prefix we are removing to accurately calculate the weight of this function."] + #[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 = "Make some on-chain remark and emit event."] + #[doc = "See [`Pallet::remark_with_event`]."] remark_with_event { - remark: ::std::vec::Vec<::core::primitive::u8>, - }, - #[codec(index = 9)] - #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] - #[doc = "later."] - #[doc = ""] - #[doc = "This call requires Root origin."] - authorize_upgrade { code_hash: ::subxt::utils::H256 }, - #[codec(index = 10)] - #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] - #[doc = "later."] - #[doc = ""] - #[doc = "WARNING: This authorizes an upgrade that will take place without any safety checks, for"] - #[doc = "example that the spec name remains the same and that the version number increases. Not"] - #[doc = "recommended for normal use. Use `authorize_upgrade` instead."] - #[doc = ""] - #[doc = "This call requires Root origin."] - authorize_upgrade_without_checks { code_hash: ::subxt::utils::H256 }, - #[codec(index = 11)] - #[doc = "Provide the preimage (runtime binary) `code` for an upgrade that has been authorized."] - #[doc = ""] - #[doc = "If the authorization required a version check, this call will ensure the spec name"] - #[doc = "remains unchanged and that the spec version has increased."] - #[doc = ""] - #[doc = "Depending on the runtime's `OnSetCode` configuration, this function may directly apply"] - #[doc = "the new `code` in the same block or attempt to schedule the upgrade."] - #[doc = ""] - #[doc = "All origins are allowed."] - apply_authorized_upgrade { - code: ::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)] @@ -47772,26 +44731,21 @@ pub mod api { #[codec(index = 5)] #[doc = "The origin filter prevent the call to be dispatched."] CallFiltered, - #[codec(index = 6)] - #[doc = "A multi-block migration is ongoing and prevents the current code from being replaced."] - MultiBlockMigrationsOngoing, - #[codec(index = 7)] - #[doc = "No upgrade authorized."] - NothingAuthorized, - #[codec(index = 8)] - #[doc = "The submitted code is not authorized."] - Unauthorized, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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)] @@ -47811,37 +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, - }, - #[codec(index = 6)] - #[doc = "An upgrade was authorized."] - UpgradeAuthorized { - code_hash: ::subxt::utils::H256, - check_version: ::core::primitive::bool, + 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, @@ -47850,59 +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")] - pub struct CodeUpgradeAuthorization { - pub code_hash: ::subxt::utils::H256, - pub check_version: ::core::primitive::bool, - } - #[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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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), @@ -47917,60 +44851,59 @@ 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 = "Initialize a conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)"] + #[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, }, #[codec(index = 1)] - #[doc = "Update the conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(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, }, #[codec(index = 2)] - #[doc = "Remove an existing conversion rate to native balance for the given asset."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)"] + #[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)] @@ -47979,20 +44912,21 @@ pub mod api { #[codec(index = 1)] #[doc = "The given asset ID already has an assigned conversion rate and cannot be re-created."] AlreadyExists, - #[codec(index = 2)] - #[doc = "Overflow ocurred when calculating the inverse rate."] - Overflow, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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)] @@ -48021,24 +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 = "Report authority equivocation/misbehavior. This method will verify"] - #[doc = "the equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence will"] - #[doc = "be reported."] + #[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, @@ -48049,16 +44984,9 @@ pub mod api { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 1)] - #[doc = "Report authority equivocation/misbehavior. This method will verify"] - #[doc = "the equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence will"] - #[doc = "be reported."] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] + #[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, @@ -48069,24 +44997,25 @@ pub mod api { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 2)] - #[doc = "Plan an epoch config change. The epoch config change is recorded and will be enacted on"] - #[doc = "the next call to `enact_epoch_change`. The config will be activated one epoch after."] - #[doc = "Multiple calls to this method will replace any existing planned config change that had"] - #[doc = "not been enacted yet."] + #[doc = "See [`Pallet::plan_config_change`]."] plan_config_change { config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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)] @@ -48109,229 +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 = "Transfer some liquid free balance to another account."] - #[doc = ""] - #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] - #[doc = "If the sender's account is below the existential deposit as a result"] - #[doc = "of the transfer, the account will be reaped."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] + #[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 = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] - #[doc = "may be specified."] + #[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 = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] - #[doc = "kill the origin account."] - #[doc = ""] - #[doc = "99% of the time you want [`transfer_allow_death`] instead."] - #[doc = ""] - #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] + #[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 = "Transfer the entire transferable balance from the caller account."] - #[doc = ""] - #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] - #[doc = "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be"] - #[doc = "transferred by this function. To ensure that this function results in a killed account,"] - #[doc = "you might need to prepare the account by removing any reference counters, storage"] - #[doc = "deposits, etc..."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be Signed."] - #[doc = ""] - #[doc = "- `dest`: The recipient of the transfer."] - #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] - #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] - #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] - #[doc = " keep the sender account alive (true)."] + #[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 = "Unreserve some balance from a user by force."] - #[doc = ""] - #[doc = "Can only be called by ROOT."] + #[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 = "Upgrade a specified account."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `who`: The account to be upgraded."] - #[doc = ""] - #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] - #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] - #[doc = "possibililty of churn)."] + #[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 = "Set the regular balance of a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call is `root`."] + #[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, }, - #[codec(index = 9)] - #[doc = "Adjust the total issuance in a saturating way."] - #[doc = ""] - #[doc = "Can only be called by root and always needs a positive `delta`."] - #[doc = ""] - #[doc = "# Example"] - force_adjust_total_issuance { - direction: runtime_types::pallet_balances::types::AdjustmentDirection, - #[codec(compact)] - delta: ::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 = "Transfer some liquid free balance to another account."] - #[doc = ""] - #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] - #[doc = "If the sender's account is below the existential deposit as a result"] - #[doc = "of the transfer, the account will be reaped."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] - transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - #[codec(compact)] - value: ::core::primitive::u128, - }, - #[codec(index = 2)] - #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] - #[doc = "may be specified."] - 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 = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] - #[doc = "kill the origin account."] - #[doc = ""] - #[doc = "99% of the time you want [`transfer_allow_death`] instead."] - #[doc = ""] - #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] - transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - #[codec(compact)] - value: ::core::primitive::u128, - }, - #[codec(index = 4)] - #[doc = "Transfer the entire transferable balance from the caller account."] - #[doc = ""] - #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] - #[doc = "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be"] - #[doc = "transferred by this function. To ensure that this function results in a killed account,"] - #[doc = "you might need to prepare the account by removing any reference counters, storage"] - #[doc = "deposits, etc..."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be Signed."] - #[doc = ""] - #[doc = "- `dest`: The recipient of the transfer."] - #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] - #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] - #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] - #[doc = " keep the sender account alive (true)."] - transfer_all { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - keep_alive: ::core::primitive::bool, - }, - #[codec(index = 5)] - #[doc = "Unreserve some balance from a user by force."] - #[doc = ""] - #[doc = "Can only be called by ROOT."] - force_unreserve { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - amount: ::core::primitive::u128, - }, - #[codec(index = 6)] - #[doc = "Upgrade a specified account."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed`."] - #[doc = "- `who`: The account to be upgraded."] - #[doc = ""] - #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] - #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] - #[doc = "possibililty of churn)."] - upgrade_accounts { - who: ::std::vec::Vec<::subxt::utils::AccountId32>, - }, - #[codec(index = 8)] - #[doc = "Set the regular balance of a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call is `root`."] - force_set_balance { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - #[codec(compact)] - new_free: ::core::primitive::u128, - }, - #[codec(index = 9)] - #[doc = "Adjust the total issuance in a saturating way."] - #[doc = ""] - #[doc = "Can only be called by root and always needs a positive `delta`."] - #[doc = ""] - #[doc = "# Example"] - force_adjust_total_issuance { - direction: runtime_types::pallet_balances::types::AdjustmentDirection, - #[codec(compact)] - delta: ::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)] @@ -48359,123 +45164,72 @@ pub mod api { #[doc = "Number of named reserves exceed `MaxReserves`."] TooManyReserves, #[codec(index = 8)] - #[doc = "Number of holds exceed `VariantCountOf`."] + #[doc = "Number of holds exceed `MaxHolds`."] TooManyHolds, #[codec(index = 9)] #[doc = "Number of freezes exceed `MaxFreezes`."] TooManyFreezes, - #[codec(index = 10)] - #[doc = "The issuance cannot be modified since it is already deactivated."] - IssuanceDeactivated, - #[codec(index = 11)] - #[doc = "The delta cannot be zero."] - DeltaZero, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, 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 `VariantCountOf`."] - TooManyHolds, - #[codec(index = 9)] - #[doc = "Number of freezes exceed `MaxFreezes`."] - TooManyFreezes, - #[codec(index = 10)] - #[doc = "The issuance cannot be modified since it is already deactivated."] - IssuanceDeactivated, - #[codec(index = 11)] - #[doc = "The delta cannot be zero."] - DeltaZero, - } - #[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, @@ -48483,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 }, @@ -48534,189 +45290,45 @@ 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, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 21)] - #[doc = "The `TotalIssuance` was forcefully changed."] - TotalIssuanceForced { - old: ::core::primitive::u128, - new: ::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, - amount: ::core::primitive::u128, - }, - #[codec(index = 21)] - #[doc = "The `TotalIssuance` was forcefully changed."] - TotalIssuanceForced { - old: ::core::primitive::u128, - new: ::core::primitive::u128, - }, } } 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, @@ -48724,72 +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")] - pub enum AdjustmentDirection { - #[codec(index = 0)] - Increase, - #[codec(index = 1)] - Decrease, - } - #[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")] 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, @@ -48799,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, @@ -48819,24 +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 = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] + #[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, @@ -48846,17 +45463,9 @@ pub mod api { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 1)] - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - #[doc = ""] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] + #[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, @@ -48866,24 +45475,25 @@ pub mod api { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 2)] - #[doc = "Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the"] - #[doc = "future."] - #[doc = ""] - #[doc = "Note: `delay_in_blocks` has to be at least 1."] + #[doc = "See [`Pallet::set_new_genesis`]."] set_new_genesis { delay_in_blocks: ::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)] @@ -48906,164 +45516,103 @@ 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 = "Propose a new bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Payment: `TipReportDepositBase` will be reserved from the origin account, as well as"] - #[doc = "`DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,"] - #[doc = "or slashed when rejected."] - #[doc = ""] - #[doc = "- `curator`: The curator account whom will manage this bounty."] - #[doc = "- `fee`: The curator fee."] - #[doc = "- `value`: The total payment amount of this bounty, curator fee included."] - #[doc = "- `description`: The description of this bounty."] + #[doc = "See [`Pallet::propose_bounty`]."] 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 = "Approve a bounty proposal. At a later time, the bounty will be funded and become active"] - #[doc = "and the original deposit will be returned."] - #[doc = ""] - #[doc = "May only be called from `T::SpendOrigin`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::approve_bounty`]."] approve_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 2)] - #[doc = "Propose a curator to a funded bounty."] - #[doc = ""] - #[doc = "May only be called from `T::SpendOrigin`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::propose_curator`]."] 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, }, #[codec(index = 3)] - #[doc = "Unassign curator from a bounty."] - #[doc = ""] - #[doc = "This function can only be called by the `RejectOrigin` a signed origin."] - #[doc = ""] - #[doc = "If this function is called by the `RejectOrigin`, we assume that the curator is"] - #[doc = "malicious or inactive. As a result, we will slash the curator when possible."] - #[doc = ""] - #[doc = "If the origin is the curator, we take this as a sign they are unable to do their job and"] - #[doc = "they willingly give up. We could slash them, but for now we allow them to recover their"] - #[doc = "deposit and exit without issue. (We may want to change this if it is abused.)"] - #[doc = ""] - #[doc = "Finally, the origin can be anyone if and only if the curator is \"inactive\". This allows"] - #[doc = "anyone in the community to call out that a curator is not doing their due diligence, and"] - #[doc = "we should pick a new curator. In this case the curator should also be slashed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::unassign_curator`]."] unassign_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 4)] - #[doc = "Accept the curator role for a bounty."] - #[doc = "A deposit will be reserved from curator and refund upon successful payout."] - #[doc = ""] - #[doc = "May only be called from the curator."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::accept_curator`]."] accept_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "Award bounty to a beneficiary account. The beneficiary will be able to claim the funds"] - #[doc = "after a delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to award."] - #[doc = "- `beneficiary`: The beneficiary account whom will receive the payout."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::award_bounty`]."] 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 = "Claim the payout from an awarded bounty after payout delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the beneficiary of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to claim."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::claim_bounty`]."] claim_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 7)] - #[doc = "Cancel a proposed or active bounty. All the funds will be sent to treasury and"] - #[doc = "the curator deposit will be unreserved if possible."] - #[doc = ""] - #[doc = "Only `T::RejectOrigin` is able to cancel a bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to cancel."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::close_bounty`]."] close_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 8)] - #[doc = "Extend the expiry time of an active bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this bounty."] - #[doc = ""] - #[doc = "- `bounty_id`: Bounty ID to extend."] - #[doc = "- `remark`: additional information."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[doc = "See [`Pallet::extend_bounty_expiry`]."] 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)] @@ -49102,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)] @@ -49129,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."] @@ -49151,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."] @@ -49160,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, @@ -49183,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, @@ -49211,118 +45764,52 @@ pub mod api { }, } } - pub mod pallet_broker { - use super::runtime_types; - pub mod coretime_interface { - 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 enum CoreAssignment { - #[codec(index = 0)] - Idle, - #[codec(index = 1)] - Pool, - #[codec(index = 2)] - Task(::core::primitive::u32), - } - } - } pub mod pallet_child_bounties { 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)] - #[doc = "Add a new child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of parent"] - #[doc = "bounty and the parent bounty must be in \"active\" state."] - #[doc = ""] - #[doc = "Child-bounty gets added successfully & fund gets transferred from"] - #[doc = "parent bounty to child-bounty account, if parent bounty has enough"] - #[doc = "funds, else the call fails."] - #[doc = ""] - #[doc = "Upper bound to maximum number of active child bounties that can be"] - #[doc = "added are managed via runtime trait config"] - #[doc = "[`Config::MaxActiveChildBountyCount`]."] - #[doc = ""] - #[doc = "If the call is success, the status of child-bounty is updated to"] - #[doc = "\"Added\"."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty for which child-bounty is being added."] - #[doc = "- `value`: Value for executing the proposal."] - #[doc = "- `description`: Text description for the child-bounty."] + #[doc = "See [`Pallet::add_child_bounty`]."] add_child_bounty { #[codec(compact)] 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 = "Propose curator for funded child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be curator of parent bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in \"Added\" state, for processing the call. And"] - #[doc = "state of child-bounty is moved to \"CuratorProposed\" on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] - #[doc = "- `curator`: Address of child-bounty curator."] - #[doc = "- `fee`: payment fee to child-bounty curator for execution."] + #[doc = "See [`Pallet::propose_curator`]."] propose_curator { #[codec(compact)] 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, }, #[codec(index = 2)] - #[doc = "Accept the curator role for the child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the curator of this"] - #[doc = "child-bounty."] - #[doc = ""] - #[doc = "A deposit will be reserved from the curator and refund upon"] - #[doc = "successful payout or cancellation."] - #[doc = ""] - #[doc = "Fee for curator is deducted from curator fee of parent bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in \"CuratorProposed\" state, for processing the"] - #[doc = "call. And state of child-bounty is moved to \"Active\" on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::accept_curator`]."] accept_curator { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -49330,40 +45817,7 @@ pub mod api { child_bounty_id: ::core::primitive::u32, }, #[codec(index = 3)] - #[doc = "Unassign curator from a child-bounty."] - #[doc = ""] - #[doc = "The dispatch origin for this call can be either `RejectOrigin`, or"] - #[doc = "the curator of the parent bounty, or any signed origin."] - #[doc = ""] - #[doc = "For the origin other than T::RejectOrigin and the child-bounty"] - #[doc = "curator, parent bounty must be in active state, for this call to"] - #[doc = "work. We allow child-bounty curator and T::RejectOrigin to execute"] - #[doc = "this call irrespective of the parent bounty state."] - #[doc = ""] - #[doc = "If this function is called by the `RejectOrigin` or the"] - #[doc = "parent bounty curator, we assume that the child-bounty curator is"] - #[doc = "malicious or inactive. As a result, child-bounty curator deposit is"] - #[doc = "slashed."] - #[doc = ""] - #[doc = "If the origin is the child-bounty curator, we take this as a sign"] - #[doc = "that they are unable to do their job, and are willingly giving up."] - #[doc = "We could slash the deposit, but for now we allow them to unreserve"] - #[doc = "their deposit and exit without issue. (We may want to change this if"] - #[doc = "it is abused.)"] - #[doc = ""] - #[doc = "Finally, the origin can be anyone iff the child-bounty curator is"] - #[doc = "\"inactive\". Expiry update due of parent bounty is used to estimate"] - #[doc = "inactive state of child-bounty curator."] - #[doc = ""] - #[doc = "This allows anyone in the community to call out that a child-bounty"] - #[doc = "curator is not doing their due diligence, and we should pick a new"] - #[doc = "one. In this case the child-bounty curator deposit is slashed."] - #[doc = ""] - #[doc = "State of child-bounty is moved to Added state on successful call"] - #[doc = "completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::unassign_curator`]."] unassign_curator { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -49371,47 +45825,19 @@ pub mod api { child_bounty_id: ::core::primitive::u32, }, #[codec(index = 4)] - #[doc = "Award child-bounty to a beneficiary."] - #[doc = ""] - #[doc = "The beneficiary will be able to claim the funds after a delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be the parent curator or"] - #[doc = "curator of this child-bounty."] - #[doc = ""] - #[doc = "Parent bounty must be in active state, for this child-bounty call to"] - #[doc = "work."] - #[doc = ""] - #[doc = "Child-bounty must be in active state, for processing the call. And"] - #[doc = "state of child-bounty is moved to \"PendingPayout\" on successful call"] - #[doc = "completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] - #[doc = "- `beneficiary`: Beneficiary account."] + #[doc = "See [`Pallet::award_child_bounty`]."] award_child_bounty { #[codec(compact)] 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 = "Claim the payout from an awarded child-bounty after payout delay."] - #[doc = ""] - #[doc = "The dispatch origin for this call may be any signed origin."] - #[doc = ""] - #[doc = "Call works independent of parent bounty state, No need for parent"] - #[doc = "bounty to be in active state."] - #[doc = ""] - #[doc = "The Beneficiary is paid out with agreed bounty value. Curator fee is"] - #[doc = "paid & curator deposit is unreserved."] - #[doc = ""] - #[doc = "Child-bounty must be in \"PendingPayout\" state, for processing the"] - #[doc = "call. And instance of child-bounty is removed from the state on"] - #[doc = "successful call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::claim_child_bounty`]."] claim_child_bounty { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -49419,28 +45845,7 @@ pub mod api { child_bounty_id: ::core::primitive::u32, }, #[codec(index = 6)] - #[doc = "Cancel a proposed or active child-bounty. Child-bounty account funds"] - #[doc = "are transferred to parent bounty account. The child-bounty curator"] - #[doc = "deposit may be unreserved if possible."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be either parent curator or"] - #[doc = "`T::RejectOrigin`."] - #[doc = ""] - #[doc = "If the state of child-bounty is `Active`, curator deposit is"] - #[doc = "unreserved."] - #[doc = ""] - #[doc = "If the state of child-bounty is `PendingPayout`, call fails &"] - #[doc = "returns `PendingPayout` error."] - #[doc = ""] - #[doc = "For the origin other than T::RejectOrigin, parent bounty must be in"] - #[doc = "active state, for this child-bounty call to work. For origin"] - #[doc = "T::RejectOrigin execution is forced."] - #[doc = ""] - #[doc = "Instance of child-bounty is removed from the state on successful"] - #[doc = "call completion."] - #[doc = ""] - #[doc = "- `parent_bounty_id`: Index of parent bounty."] - #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "See [`Pallet::close_child_bounty`]."] close_child_bounty { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -49449,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)] @@ -49471,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)] @@ -49493,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."] @@ -49501,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."] @@ -49512,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, @@ -49529,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, @@ -49558,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, @@ -49587,27 +46004,23 @@ 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 = "Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;"] - #[doc = "otherwise it is a vote to keep the status quo."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `poll_index`: The index of the poll to vote for."] - #[doc = "- `vote`: The vote configuration."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter has voted on."] + #[doc = "See [`Pallet::vote`]."] vote { #[codec(compact)] poll_index: ::core::primitive::u32, @@ -49616,132 +46029,59 @@ pub mod api { >, }, #[codec(index = 1)] - #[doc = "Delegate the voting power (with some given conviction) of the sending account for a"] - #[doc = "particular class of polls."] - #[doc = ""] - #[doc = "The balance delegated is locked for as long as it's delegated, and thereafter for the"] - #[doc = "time appropriate for the conviction's lock period."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_, and the signing account must either:"] - #[doc = " - be delegating already; or"] - #[doc = " - have no voting activity (if there is, then it will need to be removed through"] - #[doc = " `remove_vote`)."] - #[doc = ""] - #[doc = "- `to`: The account whose voting the `target` account's voting power will follow."] - #[doc = "- `class`: The class of polls to delegate. To delegate multiple classes, multiple calls"] - #[doc = " to this function are required."] - #[doc = "- `conviction`: The conviction that will be attached to the delegated votes. When the"] - #[doc = " account is undelegated, the funds will be locked for the corresponding period."] - #[doc = "- `balance`: The amount of the account's balance to be used in delegating. This must not"] - #[doc = " be more than the account's current balance."] - #[doc = ""] - #[doc = "Emits `Delegated`."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] - #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] + #[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, }, #[codec(index = 2)] - #[doc = "Undelegate the voting power of the sending account for a particular class of polls."] - #[doc = ""] - #[doc = "Tokens may be unlocked following once an amount of time consistent with the lock period"] - #[doc = "of the conviction with which the delegation was issued has passed."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_ and the signing account must be"] - #[doc = "currently delegating."] - #[doc = ""] - #[doc = "- `class`: The class of polls to remove the delegation from."] - #[doc = ""] - #[doc = "Emits `Undelegated`."] - #[doc = ""] - #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] - #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] + #[doc = "See [`Pallet::undelegate`]."] undelegate { class: ::core::primitive::u16 }, #[codec(index = 3)] - #[doc = "Remove the lock caused by prior voting/delegating which has expired within a particular"] - #[doc = "class."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `class`: The class of polls to unlock."] - #[doc = "- `target`: The account to remove the lock on."] - #[doc = ""] - #[doc = "Weight: `O(R)` with R number of vote of target."] + #[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 = "Remove a vote for a poll."] - #[doc = ""] - #[doc = "If:"] - #[doc = "- the poll was cancelled, or"] - #[doc = "- the poll is ongoing, or"] - #[doc = "- the poll has ended such that"] - #[doc = " - the vote of the account was in opposition to the result; or"] - #[doc = " - there was no conviction to the account's vote; or"] - #[doc = " - the account made a split vote"] - #[doc = "...then the vote is removed cleanly and a following call to `unlock` may result in more"] - #[doc = "funds being available."] - #[doc = ""] - #[doc = "If, however, the poll has ended and:"] - #[doc = "- it finished corresponding to the vote of the account, and"] - #[doc = "- the account made a standard vote with conviction, and"] - #[doc = "- the lock period of the conviction is not over"] - #[doc = "...then the lock will be aggregated into the overall account's lock, which may involve"] - #[doc = "*overlocking* (where the two locks are combined into a single lock that is the maximum"] - #[doc = "of both the amount locked and the time is it locked for)."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_, and the signer must have a vote"] - #[doc = "registered for poll `index`."] - #[doc = ""] - #[doc = "- `index`: The index of poll of the vote to be removed."] - #[doc = "- `class`: Optional parameter, if given it indicates the class of the poll. For polls"] - #[doc = " which have finished or are cancelled, this must be `Some`."] - #[doc = ""] - #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] - #[doc = " Weight is calculated for the maximum number of vote."] + #[doc = "See [`Pallet::remove_vote`]."] remove_vote { class: ::core::option::Option<::core::primitive::u16>, index: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "Remove a vote for a poll."] - #[doc = ""] - #[doc = "If the `target` is equal to the signer, then this function is exactly equivalent to"] - #[doc = "`remove_vote`. If not equal to the signer, then the vote must have expired,"] - #[doc = "either because the poll was cancelled, because the voter lost the poll or"] - #[doc = "because the conviction period is over."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account of the vote to be removed; this account must have voted for poll"] - #[doc = " `index`."] - #[doc = "- `index`: The index of poll of the vote to be removed."] - #[doc = "- `class`: The class of the poll."] - #[doc = ""] - #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] - #[doc = " Weight is calculated for the maximum number of vote."] + #[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)] @@ -49761,7 +46101,7 @@ pub mod api { AlreadyDelegating, #[codec(index = 5)] #[doc = "The account currently has votes attached to it and the operation cannot succeed until"] - #[doc = "these are removed through `remove_vote`."] + #[doc = "these are removed, either through `unvote` or `reap_vote`."] AlreadyVoting, #[codec(index = 6)] #[doc = "Too high a balance was provided that the account cannot afford."] @@ -49783,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, @@ -49837,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 { @@ -49858,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>, )>, @@ -49879,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, @@ -49897,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>), @@ -49945,78 +46324,64 @@ 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 = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] + #[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, >, >, key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 1)] - #[doc = "Report voter equivocation/misbehavior. This method will verify the"] - #[doc = "equivocation proof and validate the given key ownership proof"] - #[doc = "against the extracted offender. If both are valid, the offence"] - #[doc = "will be reported."] - #[doc = ""] - #[doc = "This extrinsic must be called unsigned and it is expected that only"] - #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] - #[doc = "if the block author is defined it will be defined as the equivocation"] - #[doc = "reporter."] + #[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, >, >, key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 2)] - #[doc = "Note that the current authority set of the GRANDPA finality gadget has stalled."] - #[doc = ""] - #[doc = "This will trigger a forced authority set change at the beginning of the next session, to"] - #[doc = "be enacted `delay` blocks after that. The `delay` should be high enough to safely assume"] - #[doc = "that the block signalling the forced change will not be re-orged e.g. 1000 blocks."] - #[doc = "The block production rate (which may be slowed down because of finality lagging) should"] - #[doc = "be taken into account when choosing the `delay`. The GRANDPA voters based on the new"] - #[doc = "authority will start voting on top of `best_finalized_block_number` for new finalized"] - #[doc = "blocks. `best_finalized_block_number` should be the highest of the latest finalized"] - #[doc = "block of all validators of the new authority set."] - #[doc = ""] - #[doc = "Only callable by root."] + #[doc = "See [`Pallet::note_stalled`]."] note_stalled { delay: ::core::primitive::u32, best_finalized_block_number: ::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)] @@ -50044,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, )>, @@ -50072,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, @@ -50114,116 +46483,52 @@ 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 = "Add a registrar to the system."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be `T::RegistrarOrigin`."] - #[doc = ""] - #[doc = "- `account`: the account of the registrar."] - #[doc = ""] - #[doc = "Emits `RegistrarAdded` if successful."] + #[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 = "Set an account's identity information and reserve the appropriate deposit."] - #[doc = ""] - #[doc = "If the account already has identity information, the deposit is taken as part payment"] - #[doc = "for the new deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `info`: The identity information."] - #[doc = ""] - #[doc = "Emits `IdentitySet` if successful."] + #[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 = "Set the sub-accounts of the sender."] - #[doc = ""] - #[doc = "Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned"] - #[doc = "and an amount `SubAccountDeposit` will be reserved for each item in `subs`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "identity."] - #[doc = ""] - #[doc = "- `subs`: The identity's (new) sub-accounts."] + #[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, )>, }, #[codec(index = 3)] - #[doc = "Clear an account's identity info and all sub-accounts and return all deposits."] - #[doc = ""] - #[doc = "Payment: All reserved balances on the account are returned."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "identity."] - #[doc = ""] - #[doc = "Emits `IdentityCleared` if successful."] + #[doc = "See [`Pallet::clear_identity`]."] clear_identity, #[codec(index = 4)] - #[doc = "Request a judgement from a registrar."] - #[doc = ""] - #[doc = "Payment: At most `max_fee` will be reserved for payment to the registrar if judgement"] - #[doc = "given."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] - #[doc = "registered identity."] - #[doc = ""] - #[doc = "- `reg_index`: The index of the registrar whose judgement is requested."] - #[doc = "- `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:"] - #[doc = ""] - #[doc = "```nocompile"] - #[doc = "Self::registrars().get(reg_index).unwrap().fee"] - #[doc = "```"] - #[doc = ""] - #[doc = "Emits `JudgementRequested` if successful."] + #[doc = "See [`Pallet::request_judgement`]."] request_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, @@ -50231,25 +46536,10 @@ pub mod api { max_fee: ::core::primitive::u128, }, #[codec(index = 5)] - #[doc = "Cancel a previous request."] - #[doc = ""] - #[doc = "Payment: A previously reserved deposit is returned on success."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] - #[doc = "registered identity."] - #[doc = ""] - #[doc = "- `reg_index`: The index of the registrar whose judgement is no longer requested."] - #[doc = ""] - #[doc = "Emits `JudgementUnrequested` if successful."] + #[doc = "See [`Pallet::cancel_request`]."] cancel_request { reg_index: ::core::primitive::u32 }, #[codec(index = 6)] - #[doc = "Set the fee required for a judgement to be requested from a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `fee`: the new fee."] + #[doc = "See [`Pallet::set_fee`]."] set_fee { #[codec(compact)] index: ::core::primitive::u32, @@ -50257,190 +46547,90 @@ pub mod api { fee: ::core::primitive::u128, }, #[codec(index = 7)] - #[doc = "Change the account associated with a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `new`: the new account ID."] + #[doc = "See [`Pallet::set_account_id`]."] 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 = "Set the field information for a registrar."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `index`."] - #[doc = ""] - #[doc = "- `index`: the index of the registrar whose fee is to be set."] - #[doc = "- `fields`: the fields that the registrar concerns themselves with."] + #[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 = "Provide a judgement for an account's identity."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] - #[doc = "of the registrar whose index is `reg_index`."] - #[doc = ""] - #[doc = "- `reg_index`: the index of the registrar whose judgement is being made."] - #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] - #[doc = " with a registered identity."] - #[doc = "- `judgement`: the judgement of the registrar of index `reg_index` about `target`."] - #[doc = "- `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is"] - #[doc = " provided."] - #[doc = ""] - #[doc = "Note: Judgements do not apply to a username."] - #[doc = ""] - #[doc = "Emits `JudgementGiven` if successful."] + #[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 = "Remove an account's identity and sub-account information and slash the deposits."] - #[doc = ""] - #[doc = "Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by"] - #[doc = "`Slash`. Verification request deposits are not returned; they should be cancelled"] - #[doc = "manually using `cancel_request`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] - #[doc = ""] - #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] - #[doc = " with a registered identity."] - #[doc = ""] - #[doc = "Emits `IdentityKilled` if successful."] + #[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 = "Add the given account to the sender's subs."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + #[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 = "Alter the associated name of the given sub-account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + #[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 = "Remove the given account from the sender's subs."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "sub identity of `sub`."] + #[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 = "Remove the sender as a sub-account."] - #[doc = ""] - #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] - #[doc = "to the sender (*not* the original depositor)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] - #[doc = "super-identity."] - #[doc = ""] - #[doc = "NOTE: This should not normally be used, but is provided in the case that the non-"] - #[doc = "controller of an account is maliciously registered as a sub-account."] + #[doc = "See [`Pallet::quit_sub`]."] quit_sub, - #[codec(index = 15)] - #[doc = "Add an `AccountId` with permission to grant usernames with a given `suffix` appended."] - #[doc = ""] - #[doc = "The authority can grant up to `allocation` usernames. To top up their allocation, they"] - #[doc = "should just issue (or request via governance) a new `add_username_authority` call."] - add_username_authority { - authority: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - suffix: ::std::vec::Vec<::core::primitive::u8>, - allocation: ::core::primitive::u32, - }, - #[codec(index = 16)] - #[doc = "Remove `authority` from the username authorities."] - remove_username_authority { - authority: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - }, - #[codec(index = 17)] - #[doc = "Set the username for `who`. Must be called by a username authority."] - #[doc = ""] - #[doc = "The authority must have an `allocation`. Users can either pre-sign their usernames or"] - #[doc = "accept them later."] - #[doc = ""] - #[doc = "Usernames must:"] - #[doc = " - Only contain lowercase ASCII characters or digits."] - #[doc = " - When combined with the suffix of the issuing authority be _less than_ the"] - #[doc = " `MaxUsernameLength`."] - set_username_for { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - username: ::std::vec::Vec<::core::primitive::u8>, - signature: - ::core::option::Option, - }, - #[codec(index = 18)] - #[doc = "Accept a given username that an `authority` granted. The call must include the full"] - #[doc = "username, as in `username.suffix`."] - accept_username { - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - }, - #[codec(index = 19)] - #[doc = "Remove an expired username approval. The username was approved by an authority but never"] - #[doc = "accepted by the user and must now be beyond its expiration. The call must include the"] - #[doc = "full username, as in `username.suffix`."] - remove_expired_approval { - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - }, - #[codec(index = 20)] - #[doc = "Set a given username as the primary. The username should include the suffix."] - set_primary_username { - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - }, - #[codec(index = 21)] - #[doc = "Remove a username that corresponds to an account with no identity. Exists when a user"] - #[doc = "gets a username but then calls `clear_identity`."] - remove_dangling_username { - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::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)] @@ -50477,94 +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, - #[codec(index = 17)] - #[doc = "The provided suffix is too long."] - InvalidSuffix, - #[codec(index = 18)] - #[doc = "The sender does not have permission to issue a username."] - NotUsernameAuthority, - #[codec(index = 19)] - #[doc = "The authority cannot allocate any more usernames."] - NoAllocation, - #[codec(index = 20)] - #[doc = "The signature on a username was not valid."] - InvalidSignature, - #[codec(index = 21)] - #[doc = "Setting this username requires a signature, but none was provided."] - RequiresSignature, - #[codec(index = 22)] - #[doc = "The username does not meet the requirements."] - InvalidUsername, - #[codec(index = 23)] - #[doc = "The username is already taken."] - UsernameTaken, - #[codec(index = 24)] - #[doc = "The requested username does not exist."] - NoUsername, - #[codec(index = 25)] - #[doc = "The username cannot be forcefully removed because it can still be accepted."] - NotExpired, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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)] @@ -50575,100 +46747,62 @@ 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, }, - #[codec(index = 10)] - #[doc = "A username authority was added."] - AuthorityAdded { - authority: ::subxt::utils::AccountId32, - }, - #[codec(index = 11)] - #[doc = "A username authority was removed."] - AuthorityRemoved { - authority: ::subxt::utils::AccountId32, - }, - #[codec(index = 12)] - #[doc = "A username was set for `who`."] - UsernameSet { - who: ::subxt::utils::AccountId32, - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - }, - #[codec(index = 13)] - #[doc = "A username was queued, but `who` must accept it prior to `expiration`."] - UsernameQueued { - who: ::subxt::utils::AccountId32, - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - expiration: ::core::primitive::u32, - }, - #[codec(index = 14)] - #[doc = "A queued username passed its expiration without being claimed and was removed."] - PreapprovalExpired { whose: ::subxt::utils::AccountId32 }, - #[codec(index = 15)] - #[doc = "A username was set as a primary and can be looked up from `who`."] - PrimaryUsernameSet { - who: ::subxt::utils::AccountId32, - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - }, - #[codec(index = 16)] - #[doc = "A dangling username (as in, a username corresponding to an account that has removed its"] - #[doc = "identity) has been removed."] - DanglingUsernameRemoved { - who: ::subxt::utils::AccountId32, - username: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - }, } } 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")] - pub struct AuthorityProperties<_0> { - pub suffix: _0, - pub allocation: ::core::primitive::u32, - } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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 :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -50748,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, @@ -50774,145 +46972,252 @@ 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, } } } + pub mod pallet_im_online { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[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" + )] + #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] + pub enum Call { + #[codec(index = 0)] + #[doc = "See [`Pallet::heartbeat`]."] + heartbeat { + heartbeat: + runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, + signature: runtime_types::pallet_im_online::sr25519::app_sr25519::Signature, + }, + } + #[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" + )] + #[doc = "The `Error` enum of this pallet."] + pub enum Error { + #[codec(index = 0)] + #[doc = "Non existent public key."] + InvalidKey, + #[codec(index = 1)] + #[doc = "Duplicated heartbeat."] + DuplicatedHeartbeat, + } + #[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" + )] + #[doc = "The `Event` enum of this pallet"] + pub enum Event { + #[codec(index = 0)] + #[doc = "A new heartbeat was received from `AuthorityId`."] + HeartbeatReceived { + authority_id: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, + }, + #[codec(index = 1)] + #[doc = "At the end of the session, no offence was committed."] + AllGood, + #[codec(index = 2)] + #[doc = "At the end of the session, at least one validator was found to be offline."] + SomeOffline { + offline: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, + (), + )>, + }, + } + } + pub mod sr25519 { + use super::runtime_types; + pub mod app_sr25519 { + use super::runtime_types; + #[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 Public(pub runtime_types::sp_core::sr25519::Public); + #[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 Signature(pub runtime_types::sp_core::sr25519::Signature); + } + } + #[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 Heartbeat<_0> { + pub block_number: _0, + pub session_index: ::core::primitive::u32, + pub authority_index: ::core::primitive::u32, + pub validators_len: ::core::primitive::u32, + } + } pub mod pallet_indices { 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)] - #[doc = "Assign an previously unassigned index."] - #[doc = ""] - #[doc = "Payment: `Deposit` is reserved from the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `index`: the index to be claimed. This must not be in use."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::claim`]."] claim { index: ::core::primitive::u32 }, #[codec(index = 1)] - #[doc = "Assign an index already owned by the sender to another account. The balance reservation"] - #[doc = "is effectively transferred to the new account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `index`: the index to be re-assigned. This must be owned by the sender."] - #[doc = "- `new`: the new owner of the index. This function is a no-op if it is equal to sender."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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)] - #[doc = "Free up an index owned by the sender."] - #[doc = ""] - #[doc = "Payment: Any previous deposit placed for the index is unreserved in the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must own the index."] - #[doc = ""] - #[doc = "- `index`: the index to be freed. This must be owned by the sender."] - #[doc = ""] - #[doc = "Emits `IndexFreed` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::free`]."] free { index: ::core::primitive::u32 }, #[codec(index = 3)] - #[doc = "Force an index to an account. This doesn't require a deposit. If the index is already"] - #[doc = "held, then any deposit is reimbursed to its current owner."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `index`: the index to be (re-)assigned."] - #[doc = "- `new`: the new owner of the index. This function is a no-op if it is equal to sender."] - #[doc = "- `freeze`: if set to `true`, will freeze the index so it cannot be transferred."] - #[doc = ""] - #[doc = "Emits `IndexAssigned` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[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, }, #[codec(index = 4)] - #[doc = "Freeze an index so it will always point to the sender account. This consumes the"] - #[doc = "deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the signing account must have a"] - #[doc = "non-frozen account `index`."] - #[doc = ""] - #[doc = "- `index`: the index to be frozen in place."] - #[doc = ""] - #[doc = "Emits `IndexFrozen` if successful."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::freeze`]."] 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)] @@ -50932,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)] @@ -50956,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, }, } } @@ -50966,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 = "Remove a page which has no more messages remaining to be processed or is stale."] reap_page { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Execute an overweight message."] # [doc = ""] # [doc = "Temporary processing errors will be propagated whereas permanent errors are treated"] # [doc = "as success condition."] # [doc = ""] # [doc = "- `origin`: Must be `Signed`."] # [doc = "- `message_origin`: The origin from which the message to be executed arrived."] # [doc = "- `page`: The page in the queue in which the message to be executed is sitting."] # [doc = "- `index`: The index into the queue of the message to be executed."] # [doc = "- `weight_limit`: The maximum amount of weight allowed to be consumed in the execution"] # [doc = " of the message."] # [doc = ""] # [doc = "Benchmark complexity considerations: O(index + weight_limit)."] 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 , } , } + # [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)] @@ -51020,34 +47337,35 @@ pub mod api { #[doc = ""] #[doc = "This can change at any time and may resolve in the future by re-trying."] QueuePaused, - #[codec(index = 8)] - #[doc = "Another call is in progress and needs to finish before this call can happen."] - RecursiveDisallowed, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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 : :: subxt :: utils :: H256 , 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 : :: subxt :: utils :: H256 , 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 , } , } + # [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, @@ -51058,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, >, } @@ -51097,117 +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 = "Immediately dispatch a multi-signature call using a single approval from the caller."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `other_signatories`: The accounts (other than the sender) who are part of the"] - #[doc = "multi-signature, but do not participate in the approval process."] - #[doc = "- `call`: The call to be executed."] - #[doc = ""] - #[doc = "Result is equivalent to the dispatched result."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] + #[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 = "Register approval for a dispatch to be made from a deterministic composite account if"] - #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] - #[doc = ""] - #[doc = "If there are enough, then dispatch the call."] - #[doc = ""] - #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] - #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] - #[doc = "is cancelled."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] - #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] - #[doc = "transaction index) of the first approval transaction."] - #[doc = "- `call`: The call to be executed."] - #[doc = ""] - #[doc = "NOTE: Unless this is the final approval, you will generally want to use"] - #[doc = "`approve_as_multi` instead, since it only requires a hash of the call."] - #[doc = ""] - #[doc = "Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise"] - #[doc = "on success, result is `Ok` and the result from the interior call, if it was executed,"] - #[doc = "may be found in the deposited `MultisigExecuted` event."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S + Z + Call)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] - #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] - #[doc = "- One event."] - #[doc = "- The weight of the `call`."] - #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] - #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] + #[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 = "Register approval for a dispatch to be made from a deterministic composite account if"] - #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] - #[doc = ""] - #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] - #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] - #[doc = "is cancelled."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] - #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] - #[doc = "transaction index) of the first approval transaction."] - #[doc = "- `call_hash`: The hash of the call to be executed."] - #[doc = ""] - #[doc = "NOTE: If this is the final approval, you will want to use `as_multi` instead."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] - #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] - #[doc = "- One event."] - #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] - #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] + #[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>, >, @@ -51215,45 +47469,31 @@ pub mod api { max_weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 3)] - #[doc = "Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously"] - #[doc = "for this operation will be unreserved on success."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] - #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] - #[doc = "dispatch. May not be empty."] - #[doc = "- `timepoint`: The timepoint (block number and transaction index) of the first approval"] - #[doc = "transaction for this dispatch."] - #[doc = "- `call_hash`: The hash of the call to be executed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(S)`."] - #[doc = "- Up to one balance-reserve or unreserve operation."] - #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] - #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] - #[doc = "- One encode & hash, both of complexity `O(S)`."] - #[doc = "- One event."] - #[doc = "- I/O: 1 read `O(S)`, one remove."] - #[doc = "- Storage: removes one item."] + #[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)] @@ -51300,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>, @@ -51341,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, @@ -51385,75 +47629,58 @@ 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)] - #[doc = "Place a bid."] - #[doc = ""] - #[doc = "Origin must be Signed, and account must have at least `amount` in free balance."] - #[doc = ""] - #[doc = "- `amount`: The amount of the bid; these funds will be reserved, and if/when"] - #[doc = " consolidated, removed. Must be at least `MinBid`."] - #[doc = "- `duration`: The number of periods before which the newly consolidated bid may be"] - #[doc = " thawed. Must be greater than 1 and no more than `QueueCount`."] - #[doc = ""] - #[doc = "Complexities:"] - #[doc = "- `Queues[duration].len()` (just take max)."] + #[doc = "See [`Pallet::place_bid`]."] place_bid { #[codec(compact)] amount: ::core::primitive::u128, duration: ::core::primitive::u32, }, #[codec(index = 1)] - #[doc = "Retract a previously placed bid."] - #[doc = ""] - #[doc = "Origin must be Signed, and the account should have previously issued a still-active bid"] - #[doc = "of `amount` for `duration`."] - #[doc = ""] - #[doc = "- `amount`: The amount of the previous bid."] - #[doc = "- `duration`: The duration of the previous bid."] + #[doc = "See [`Pallet::retract_bid`]."] retract_bid { #[codec(compact)] amount: ::core::primitive::u128, duration: ::core::primitive::u32, }, #[codec(index = 2)] - #[doc = "Ensure we have sufficient funding for all potential payouts."] - #[doc = ""] - #[doc = "- `origin`: Must be accepted by `FundOrigin`."] + #[doc = "See [`Pallet::fund_deficit`]."] fund_deficit, #[codec(index = 3)] - #[doc = "Reduce or remove an outstanding receipt, placing the according proportion of funds into"] - #[doc = "the account of the owner."] - #[doc = ""] - #[doc = "- `origin`: Must be Signed and the account must be the owner of the receipt `index` as"] - #[doc = " well as any fungible counterpart."] - #[doc = "- `index`: The index of the receipt."] - #[doc = "- `portion`: If `Some`, then only the given portion of the receipt should be thawed. If"] - #[doc = " `None`, then all of it should be."] + #[doc = "See [`Pallet::thaw_private`]."] thaw_private { #[codec(compact)] index: ::core::primitive::u32, @@ -51462,39 +47689,38 @@ pub mod api { >, }, #[codec(index = 4)] - #[doc = "Reduce or remove an outstanding receipt, placing the according proportion of funds into"] - #[doc = "the account of the owner."] - #[doc = ""] - #[doc = "- `origin`: Must be Signed and the account must be the owner of the fungible counterpart"] - #[doc = " for receipt `index`."] - #[doc = "- `index`: The index of the receipt."] + #[doc = "See [`Pallet::thaw_communal`]."] thaw_communal { #[codec(compact)] index: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "Make a private receipt communal and create fungible counterparts for its owner."] + #[doc = "See [`Pallet::communify`]."] communify { #[codec(compact)] index: ::core::primitive::u32, }, #[codec(index = 6)] - #[doc = "Make a communal receipt private and burn fungible counterparts from its owner."] + #[doc = "See [`Pallet::privatize`]."] privatize { #[codec(compact)] 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)] @@ -51545,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, }, @@ -51582,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, }, @@ -51590,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, @@ -51601,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, @@ -51659,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)] @@ -51676,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>, }, } } @@ -51686,62 +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 = "Register a preimage on-chain."] - #[doc = ""] - #[doc = "If the preimage was previously requested, no fees or deposits are taken for providing"] - #[doc = "the preimage. Otherwise, a deposit is taken proportional to the size of the preimage."] + #[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 = "Clear an unrequested preimage from the runtime storage."] - #[doc = ""] - #[doc = "If `len` is provided, then it will be a much cheaper operation."] - #[doc = ""] - #[doc = "- `hash`: The hash of the preimage to be removed from the store."] - #[doc = "- `len`: The length of the preimage of `hash`."] - unnote_preimage { hash: ::subxt::utils::H256 }, + #[doc = "See [`Pallet::unnote_preimage`]."] + unnote_preimage { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 2)] - #[doc = "Request a preimage be uploaded to the chain without paying any fees or deposits."] - #[doc = ""] - #[doc = "If the preimage requests has already been provided on-chain, we unreserve any deposit"] - #[doc = "a user may have paid, and take the control of the preimage out of their hands."] - request_preimage { hash: ::subxt::utils::H256 }, + #[doc = "See [`Pallet::request_preimage`]."] + request_preimage { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 3)] - #[doc = "Clear a previously made request for a preimage."] - #[doc = ""] - #[doc = "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."] - unrequest_preimage { hash: ::subxt::utils::H256 }, + #[doc = "See [`Pallet::unrequest_preimage`]."] + unrequest_preimage { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 4)] - #[doc = "Ensure that the a bulk of pre-images is upgraded."] - #[doc = ""] - #[doc = "The caller pays no fee if at least 90% of pre-images were successfully updated."] + #[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)] @@ -51770,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 { @@ -51830,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 { @@ -51858,112 +48119,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 = "Dispatch the given `call` from an account that the sender is authorised for through"] - #[doc = "`add_proxy`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] - #[doc = "- `call`: The call to be made by the `real` account."] + #[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 = "Register a proxy account for the sender that is able to make calls on its behalf."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `proxy`: The account that the `caller` would like to make a proxy."] - #[doc = "- `proxy_type`: The permissions allowed for this proxy account."] - #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] - #[doc = "zero."] + #[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 = "Unregister a proxy account for the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `proxy`: The account that the `caller` would like to remove as a proxy."] - #[doc = "- `proxy_type`: The permissions currently enabled for the removed proxy account."] + #[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, }, #[codec(index = 3)] - #[doc = "Unregister all proxy accounts for the sender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "WARNING: This may be called on accounts created by `pure`, however if done, then"] - #[doc = "the unreserved fees will be inaccessible. **All access to this account will be lost.**"] + #[doc = "See [`Pallet::remove_proxies`]."] remove_proxies, #[codec(index = 4)] - #[doc = "Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and"] - #[doc = "initialize it with a proxy of `proxy_type` for `origin` sender."] - #[doc = ""] - #[doc = "Requires a `Signed` origin."] - #[doc = ""] - #[doc = "- `proxy_type`: The type of the proxy that the sender will be registered as over the"] - #[doc = "new account. This will almost always be the most permissive `ProxyType` possible to"] - #[doc = "allow for maximum flexibility."] - #[doc = "- `index`: A disambiguation index, in case this is called multiple times in the same"] - #[doc = "transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just"] - #[doc = "want to use `0`."] - #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] - #[doc = "zero."] - #[doc = ""] - #[doc = "Fails with `Duplicate` if this has already been called in this transaction, from the"] - #[doc = "same sender, with the same parameters."] - #[doc = ""] - #[doc = "Fails if there are insufficient funds to pay for deposit."] + #[doc = "See [`Pallet::create_pure`]."] create_pure { proxy_type: runtime_types::rococo_runtime::ProxyType, delay: ::core::primitive::u32, index: ::core::primitive::u16, }, #[codec(index = 5)] - #[doc = "Removes a previously spawned pure proxy."] - #[doc = ""] - #[doc = "WARNING: **All access to this account will be lost.** Any funds held in it will be"] - #[doc = "inaccessible."] - #[doc = ""] - #[doc = "Requires a `Signed` origin, and the sender account must have been created by a call to"] - #[doc = "`pure` with corresponding parameters."] - #[doc = ""] - #[doc = "- `spawner`: The account that originally called `pure` to create this account."] - #[doc = "- `index`: The disambiguation index originally passed to `pure`. Probably `0`."] - #[doc = "- `proxy_type`: The proxy type originally passed to `pure`."] - #[doc = "- `height`: The height of the chain when the call to `pure` was processed."] - #[doc = "- `ext_index`: The extrinsic index in which the call to `pure` was processed."] - #[doc = ""] - #[doc = "Fails with `NoPermission` in case the caller is not a previously created pure"] - #[doc = "account whose `pure` call has corresponding parameters."] + #[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)] @@ -51972,85 +48192,64 @@ pub mod api { ext_index: ::core::primitive::u32, }, #[codec(index = 6)] - #[doc = "Publish the hash of a proxy-call that will be made in the future."] - #[doc = ""] - #[doc = "This must be called some number of blocks before the corresponding `proxy` is attempted"] - #[doc = "if the delay associated with the proxy relationship is greater than zero."] - #[doc = ""] - #[doc = "No more than `MaxPending` announcements may be made at any one time."] - #[doc = ""] - #[doc = "This will take a deposit of `AnnouncementDepositFactor` as well as"] - #[doc = "`AnnouncementDepositBase` if there are no other pending announcements."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a proxy of `real`."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] + #[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 = "Remove a given announcement."] - #[doc = ""] - #[doc = "May be called by a proxy account to remove a call they previously announced and return"] - #[doc = "the deposit."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] + #[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 = "Remove the given announcement of a delegate."] - #[doc = ""] - #[doc = "May be called by a target (proxied) account to remove a call that one of their delegates"] - #[doc = "(`delegate`) has announced they want to execute. The deposit is returned."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `delegate`: The account that previously announced the call."] - #[doc = "- `call_hash`: The hash of the call to be made."] + #[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 = "Dispatch the given `call` from an account that the sender is authorized for through"] - #[doc = "`add_proxy`."] - #[doc = ""] - #[doc = "Removes any corresponding announcement(s)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `real`: The account that the proxy will make a call on behalf of."] - #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] - #[doc = "- `call`: The call to be made by the `real` account."] + #[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)] @@ -52079,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)] @@ -52100,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, @@ -52166,112 +48369,81 @@ 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 = "Introduce a new member."] - #[doc = ""] - #[doc = "- `origin`: Must be the `AddOrigin`."] - #[doc = "- `who`: Account of non-member which will become a member."] - #[doc = ""] - #[doc = "Weight: `O(1)`"] + #[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 = "Increment the rank of an existing member by one."] - #[doc = ""] - #[doc = "- `origin`: Must be the `PromoteOrigin`."] - #[doc = "- `who`: Account of existing member."] - #[doc = ""] - #[doc = "Weight: `O(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 = "Decrement the rank of an existing member by one. If the member is already at rank zero,"] - #[doc = "then they are removed entirely."] - #[doc = ""] - #[doc = "- `origin`: Must be the `DemoteOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero."] - #[doc = ""] - #[doc = "Weight: `O(1)`, less if the member's index is highest in its rank."] + #[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 = "Remove the member entirely."] - #[doc = ""] - #[doc = "- `origin`: Must be the `RemoveOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero."] - #[doc = "- `min_rank`: The rank of the member or greater."] - #[doc = ""] - #[doc = "Weight: `O(min_rank)`."] + #[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)] - #[doc = "Add an aye or nay vote for the sender to the given proposal."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed` by a member account."] - #[doc = "- `poll`: Index of a poll which is ongoing."] - #[doc = "- `aye`: `true` if the vote is to approve the proposal, `false` otherwise."] - #[doc = ""] - #[doc = "Transaction fees are be waived if the member is voting on any particular proposal"] - #[doc = "for the first time and the call is successful. Subsequent vote changes will charge a"] - #[doc = "fee."] - #[doc = ""] - #[doc = "Weight: `O(1)`, less if there was no previous vote on the poll by the member."] + #[doc = "See [`Pallet::vote`]."] vote { poll: ::core::primitive::u32, aye: ::core::primitive::bool, }, #[codec(index = 5)] - #[doc = "Remove votes from the given poll. It must have ended."] - #[doc = ""] - #[doc = "- `origin`: Must be `Signed` by any account."] - #[doc = "- `poll_index`: Index of a poll which is completed and for which votes continue to"] - #[doc = " exist."] - #[doc = "- `max`: Maximum number of vote items from remove in this call."] - #[doc = ""] - #[doc = "Transaction fees are waived if the operation is successful."] - #[doc = ""] - #[doc = "Weight `O(max)` (less if there are fewer items to remove than `max`)."] + #[doc = "See [`Pallet::cleanup_poll`]."] cleanup_poll { poll_index: ::core::primitive::u32, max: ::core::primitive::u32, }, - #[codec(index = 6)] - #[doc = "Exchanges a member with a new account and the same existing rank."] - #[doc = ""] - #[doc = "- `origin`: Must be the `ExchangeOrigin`."] - #[doc = "- `who`: Account of existing member of rank greater than zero to be exchanged."] - #[doc = "- `new_who`: New Account of existing member of rank greater than zero to exchanged to."] - exchange_member { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - new_who: ::subxt::utils::MultiAddress<::subxt::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)] @@ -52301,93 +48473,90 @@ pub mod api { #[codec(index = 8)] #[doc = "The origin is not sufficiently privileged to do the operation."] NoPermission, - #[codec(index = 9)] - #[doc = "The new member to exchange is the same as the old member"] - SameMember, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, }, - #[codec(index = 4)] - #[doc = "The member `who` had their `AccountId` changed to `new_who`."] - MemberExchanged { - who: ::subxt::utils::AccountId32, - new_who: ::subxt::utils::AccountId32, - }, } } #[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), @@ -52400,160 +48569,115 @@ 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 = "Send a call through a recovered account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and registered to"] - #[doc = "be able to make calls on behalf of the recovered account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The recovered account you want to make a call on-behalf-of."] - #[doc = "- `call`: The call you want to make with the recovered account."] + #[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 = "Allow ROOT to bypass the recovery process and set an a rescuer account"] - #[doc = "for a lost account directly."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _ROOT_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `lost`: The \"lost account\" to be recovered."] - #[doc = "- `rescuer`: The \"rescuer account\" which can call as the lost account."] + #[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 = "Create a recovery configuration for your account. This makes your account recoverable."] - #[doc = ""] - #[doc = "Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance"] - #[doc = "will be reserved for storing the recovery configuration. This deposit is returned"] - #[doc = "in full when the user calls `remove_recovery`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `friends`: A list of friends you trust to vouch for recovery attempts. Should be"] - #[doc = " ordered and contain no duplicate values."] - #[doc = "- `threshold`: The number of friends that must vouch for a recovery attempt before the"] - #[doc = " account can be recovered. Should be less than or equal to the length of the list of"] - #[doc = " friends."] - #[doc = "- `delay_period`: The number of blocks after a recovery attempt is initialized that"] - #[doc = " needs to pass before the account can be recovered."] + #[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 = "Initiate the process for recovering a recoverable account."] - #[doc = ""] - #[doc = "Payment: `RecoveryDeposit` balance will be reserved for initiating the"] - #[doc = "recovery process. This deposit will always be repatriated to the account"] - #[doc = "trying to be recovered. See `close_recovery`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The lost account that you want to recover. This account needs to be"] - #[doc = " recoverable (i.e. have a recovery configuration)."] + #[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 = "Allow a \"friend\" of a recoverable account to vouch for an active recovery"] - #[doc = "process for that account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a \"friend\""] - #[doc = "for the recoverable account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `lost`: The lost account that you want to recover."] - #[doc = "- `rescuer`: The account trying to rescue the lost account that you want to vouch for."] - #[doc = ""] - #[doc = "The combination of these two parameters must point to an active recovery"] - #[doc = "process."] + #[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 = "Allow a successful rescuer to claim their recovered account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a \"rescuer\""] - #[doc = "who has successfully completed the account recovery process: collected"] - #[doc = "`threshold` or more vouches, waited `delay_period` blocks since initiation."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The lost account that you want to claim has been successfully recovered by"] - #[doc = " you."] + #[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 = "As the controller of a recoverable account, close an active recovery"] - #[doc = "process for your account."] - #[doc = ""] - #[doc = "Payment: By calling this function, the recoverable account will receive"] - #[doc = "the recovery deposit `RecoveryDeposit` placed by the rescuer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a"] - #[doc = "recoverable account with an active recovery process for it."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `rescuer`: The account trying to rescue this recoverable account."] + #[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 = "Remove the recovery process for your account. Recovered accounts are still accessible."] - #[doc = ""] - #[doc = "NOTE: The user must make sure to call `close_recovery` on all active"] - #[doc = "recovery attempts before calling this function else it will fail."] - #[doc = ""] - #[doc = "Payment: By calling this function the recoverable account will unreserve"] - #[doc = "their recovery configuration deposit."] - #[doc = "(`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)"] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and must be a"] - #[doc = "recoverable account (i.e. has a recovery configuration)."] + #[doc = "See [`Pallet::remove_recovery`]."] remove_recovery, #[codec(index = 8)] - #[doc = "Cancel the ability to use `as_recovered` for `account`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and registered to"] - #[doc = "be able to make calls on behalf of the recovered account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `account`: The recovered account you are able to call on-behalf-of."] + #[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)] @@ -52606,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, @@ -52691,30 +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 = "Propose a referendum on a privileged action."] - #[doc = ""] - #[doc = "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds"] - #[doc = " available."] - #[doc = "- `proposal_origin`: The origin from which the proposal should be executed."] - #[doc = "- `proposal`: The proposal."] - #[doc = "- `enactment_moment`: The moment that the proposal should be enacted."] - #[doc = ""] - #[doc = "Emits `Submitted`."] + #[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, @@ -52725,197 +48850,47 @@ pub mod api { >, }, #[codec(index = 1)] - #[doc = "Post the Decision Deposit for a referendum."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` and the account must have funds available for the"] - #[doc = " referendum's track's Decision Deposit."] - #[doc = "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be"] - #[doc = " posted."] - #[doc = ""] - #[doc = "Emits `DecisionDepositPlaced`."] + #[doc = "See [`Pallet::place_decision_deposit`]."] place_decision_deposit { index: ::core::primitive::u32 }, #[codec(index = 2)] - #[doc = "Refund the Decision Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Decision Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `DecisionDepositRefunded`."] + #[doc = "See [`Pallet::refund_decision_deposit`]."] refund_decision_deposit { index: ::core::primitive::u32 }, #[codec(index = 3)] - #[doc = "Cancel an ongoing referendum."] - #[doc = ""] - #[doc = "- `origin`: must be the `CancelOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Cancelled`."] + #[doc = "See [`Pallet::cancel`]."] cancel { index: ::core::primitive::u32 }, #[codec(index = 4)] - #[doc = "Cancel an ongoing referendum and slash the deposits."] - #[doc = ""] - #[doc = "- `origin`: must be the `KillOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Killed` and `DepositSlashed`."] + #[doc = "See [`Pallet::kill`]."] kill { index: ::core::primitive::u32 }, #[codec(index = 5)] - #[doc = "Advance a referendum onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `index`: the referendum to be advanced."] + #[doc = "See [`Pallet::nudge_referendum`]."] nudge_referendum { index: ::core::primitive::u32 }, #[codec(index = 6)] - #[doc = "Advance a track onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `track`: the track to be advanced."] - #[doc = ""] - #[doc = "Action item for when there is now one fewer referendum in the deciding phase and the"] - #[doc = "`DecidingCount` is not yet updated. This means that we should either:"] - #[doc = "- begin deciding another referendum (and leave `DecidingCount` alone); or"] - #[doc = "- decrement `DecidingCount`."] + #[doc = "See [`Pallet::one_fewer_deciding`]."] one_fewer_deciding { track: ::core::primitive::u16 }, #[codec(index = 7)] - #[doc = "Refund the Submission Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Submission Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `SubmissionDepositRefunded`."] + #[doc = "See [`Pallet::refund_submission_deposit`]."] refund_submission_deposit { index: ::core::primitive::u32 }, #[codec(index = 8)] - #[doc = "Set or clear metadata of a referendum."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a"] - #[doc = " metadata of a finished referendum."] - #[doc = "- `index`: The index of a referendum to set or clear metadata for."] - #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] + #[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 = "Propose a referendum on a privileged action."] - #[doc = ""] - #[doc = "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds"] - #[doc = " available."] - #[doc = "- `proposal_origin`: The origin from which the proposal should be executed."] - #[doc = "- `proposal`: The proposal."] - #[doc = "- `enactment_moment`: The moment that the proposal should be enacted."] - #[doc = ""] - #[doc = "Emits `Submitted`."] - 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 = "Post the Decision Deposit for a referendum."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` and the account must have funds available for the"] - #[doc = " referendum's track's Decision Deposit."] - #[doc = "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be"] - #[doc = " posted."] - #[doc = ""] - #[doc = "Emits `DecisionDepositPlaced`."] - place_decision_deposit { index: ::core::primitive::u32 }, - #[codec(index = 2)] - #[doc = "Refund the Decision Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Decision Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `DecisionDepositRefunded`."] - refund_decision_deposit { index: ::core::primitive::u32 }, - #[codec(index = 3)] - #[doc = "Cancel an ongoing referendum."] - #[doc = ""] - #[doc = "- `origin`: must be the `CancelOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Cancelled`."] - cancel { index: ::core::primitive::u32 }, - #[codec(index = 4)] - #[doc = "Cancel an ongoing referendum and slash the deposits."] - #[doc = ""] - #[doc = "- `origin`: must be the `KillOrigin`."] - #[doc = "- `index`: The index of the referendum to be cancelled."] - #[doc = ""] - #[doc = "Emits `Killed` and `DepositSlashed`."] - kill { index: ::core::primitive::u32 }, - #[codec(index = 5)] - #[doc = "Advance a referendum onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `index`: the referendum to be advanced."] - nudge_referendum { index: ::core::primitive::u32 }, - #[codec(index = 6)] - #[doc = "Advance a track onto its next logical state. Only used internally."] - #[doc = ""] - #[doc = "- `origin`: must be `Root`."] - #[doc = "- `track`: the track to be advanced."] - #[doc = ""] - #[doc = "Action item for when there is now one fewer referendum in the deciding phase and the"] - #[doc = "`DecidingCount` is not yet updated. This means that we should either:"] - #[doc = "- begin deciding another referendum (and leave `DecidingCount` alone); or"] - #[doc = "- decrement `DecidingCount`."] - one_fewer_deciding { track: ::core::primitive::u16 }, - #[codec(index = 7)] - #[doc = "Refund the Submission Deposit for a closed referendum back to the depositor."] - #[doc = ""] - #[doc = "- `origin`: must be `Signed` or `Root`."] - #[doc = "- `index`: The index of a closed referendum whose Submission Deposit has not yet been"] - #[doc = " refunded."] - #[doc = ""] - #[doc = "Emits `SubmissionDepositRefunded`."] - refund_submission_deposit { index: ::core::primitive::u32 }, - #[codec(index = 8)] - #[doc = "Set or clear metadata of a referendum."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a"] - #[doc = " metadata of a finished referendum."] - #[doc = "- `index`: The index of a referendum to set or clear metadata for."] - #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a 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)] @@ -52959,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 { @@ -53036,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)] @@ -53116,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)] @@ -53158,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)] @@ -53226,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 { @@ -53277,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< @@ -53372,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, @@ -53399,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, @@ -53421,66 +49447,28 @@ 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 = "A dispatch that will fill the block weight up to the given ratio."] - fill_block { - ratio: runtime_types::sp_arithmetic::per_things::Perbill, - }, - #[codec(index = 1)] - 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)] - #[doc = "Anonymously schedule a task."] + #[doc = "See [`Pallet::schedule`]."] schedule { when: ::core::primitive::u32, maybe_periodic: ::core::option::Option<( @@ -53488,16 +49476,18 @@ 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 = "Cancel an anonymously scheduled task."] + #[doc = "See [`Pallet::cancel`]."] cancel { when: ::core::primitive::u32, index: ::core::primitive::u32, }, #[codec(index = 2)] - #[doc = "Schedule a named task."] + #[doc = "See [`Pallet::schedule_named`]."] schedule_named { id: [::core::primitive::u8; 32usize], when: ::core::primitive::u32, @@ -53506,15 +49496,17 @@ 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 = "Cancel a named scheduled task."] + #[doc = "See [`Pallet::cancel_named`]."] cancel_named { id: [::core::primitive::u8; 32usize], }, #[codec(index = 4)] - #[doc = "Anonymously schedule a task after a delay."] + #[doc = "See [`Pallet::schedule_after`]."] schedule_after { after: ::core::primitive::u32, maybe_periodic: ::core::option::Option<( @@ -53522,10 +49514,12 @@ 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 = "Schedule a named task after a delay."] + #[doc = "See [`Pallet::schedule_named_after`]."] schedule_named_after { id: [::core::primitive::u8; 32usize], after: ::core::primitive::u32, @@ -53534,65 +49528,25 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, - }, - #[codec(index = 6)] - #[doc = "Set a retry configuration for a task so that, in case its scheduled run fails, it will"] - #[doc = "be retried after `period` blocks, for a total amount of `retries` retries or until it"] - #[doc = "succeeds."] - #[doc = ""] - #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] - #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] - #[doc = "normally while the task is retrying."] - #[doc = ""] - #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] - #[doc = "clones of the original task. Their retry configuration will be derived from the"] - #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] - #[doc = "original `total_retries`."] - set_retry { - task: (::core::primitive::u32, ::core::primitive::u32), - retries: ::core::primitive::u8, - period: ::core::primitive::u32, - }, - #[codec(index = 7)] - #[doc = "Set a retry configuration for a named task so that, in case its scheduled run fails, it"] - #[doc = "will be retried after `period` blocks, for a total amount of `retries` retries or until"] - #[doc = "it succeeds."] - #[doc = ""] - #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] - #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] - #[doc = "normally while the task is retrying."] - #[doc = ""] - #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] - #[doc = "clones of the original task. Their retry configuration will be derived from the"] - #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] - #[doc = "original `total_retries`."] - set_retry_named { - id: [::core::primitive::u8; 32usize], - retries: ::core::primitive::u8, - period: ::core::primitive::u32, - }, - #[codec(index = 8)] - #[doc = "Removes the retry configuration of a task."] - cancel_retry { - task: (::core::primitive::u32, ::core::primitive::u32), - }, - #[codec(index = 9)] - #[doc = "Cancel the retry configuration of a named task."] - cancel_retry_named { - id: [::core::primitive::u8; 32usize], + 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)] @@ -53612,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)] @@ -53644,39 +49602,18 @@ pub mod api { ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 3)] - #[doc = "Set a retry configuration for some task."] - RetrySet { - task: (::core::primitive::u32, ::core::primitive::u32), - id: ::core::option::Option<[::core::primitive::u8; 32usize]>, - period: ::core::primitive::u32, - retries: ::core::primitive::u8, - }, - #[codec(index = 4)] - #[doc = "Cancel a retry configuration for some task."] - RetryCancelled { - task: (::core::primitive::u32, ::core::primitive::u32), - id: ::core::option::Option<[::core::primitive::u8; 32usize]>, - }, - #[codec(index = 5)] #[doc = "The call for the provided hash was not found so the task has been aborted."] CallUnavailable { task: (::core::primitive::u32, ::core::primitive::u32), id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, - #[codec(index = 6)] + #[codec(index = 4)] #[doc = "The given task was unable to be renewed since the agenda is full at that block."] PeriodicFailed { task: (::core::primitive::u32, ::core::primitive::u32), id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, - #[codec(index = 7)] - #[doc = "The given task was unable to be retried since the agenda is full at that block or there"] - #[doc = "was not enough weight to reschedule it."] - RetryFailed { - task: (::core::primitive::u32, ::core::primitive::u32), - id: ::core::option::Option<[::core::primitive::u8; 32usize]>, - }, - #[codec(index = 8)] + #[codec(index = 5)] #[doc = "The given task can never be executed since it is overweight."] PermanentlyOverweight { task: (::core::primitive::u32, ::core::primitive::u32), @@ -53685,30 +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")] - pub struct RetryConfig<_0> { - pub total_retries: ::core::primitive::u8, - pub remaining: ::core::primitive::u8, - pub period: _0, - } - #[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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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, @@ -53724,56 +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 = "Sets the session key(s) of the function caller to `keys`."] - #[doc = "Allows an account to set its session key prior to becoming a validator."] - #[doc = "This doesn't take effect until the next session."] - #[doc = ""] - #[doc = "The dispatch origin of this function must be signed."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is"] - #[doc = " fixed."] + #[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 = "Removes any session key(s) of the function caller."] - #[doc = ""] - #[doc = "This doesn't take effect until the next session."] - #[doc = ""] - #[doc = "The dispatch origin of this function must be Signed and the account must be either be"] - #[doc = "convertible to a validator ID using the chain's typical addressing system (this usually"] - #[doc = "means being a controller account) or directly convertible into a validator ID (which"] - #[doc = "usually means being a stash account)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)` in number of key types. Actual cost depends on the number of length of"] - #[doc = " `T::Keys::key_ids()` which is fixed."] + #[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)] @@ -53793,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)] @@ -53818,172 +49733,85 @@ 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 = "A user outside of the society can make a bid for entry."] - #[doc = ""] - #[doc = "Payment: The group's Candidate Deposit will be reserved for making a bid. It is returned"] - #[doc = "when the bid becomes a member, or if the bid calls `unbid`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `value`: A one time payment the bid would like to receive when joining the society."] + #[doc = "See [`Pallet::bid`]."] bid { value: ::core::primitive::u128 }, #[codec(index = 1)] - #[doc = "A bidder can remove their bid for entry into society."] - #[doc = "By doing so, they will have their candidate deposit returned or"] - #[doc = "they will unvouch their voucher."] - #[doc = ""] - #[doc = "Payment: The bid deposit is unreserved if the user made a bid."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a bidder."] + #[doc = "See [`Pallet::unbid`]."] unbid, #[codec(index = 2)] - #[doc = "As a member, vouch for someone to join society by placing a bid on their behalf."] - #[doc = ""] - #[doc = "There is no deposit required to vouch for a new bid, but a member can only vouch for"] - #[doc = "one bid at a time. If the bid becomes a suspended candidate and ultimately rejected by"] - #[doc = "the suspension judgement origin, the member will be banned from vouching again."] - #[doc = ""] - #[doc = "As a vouching member, you can claim a tip if the candidate is accepted. This tip will"] - #[doc = "be paid as a portion of the reward the member will receive for joining the society."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who`: The user who you would like to vouch for."] - #[doc = "- `value`: The total reward to be paid between you and the candidate if they become"] - #[doc = "a member in the society."] - #[doc = "- `tip`: Your cut of the total `value` payout when the candidate is inducted into"] - #[doc = "the society. Tips larger than `value` will be saturated upon payout."] + #[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, }, #[codec(index = 3)] - #[doc = "As a vouching member, unvouch a bid. This only works while vouched user is"] - #[doc = "only a bidder (and not a candidate)."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a vouching member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `pos`: Position in the `Bids` vector of the bid who should be unvouched."] + #[doc = "See [`Pallet::unvouch`]."] unvouch, #[codec(index = 4)] - #[doc = "As a member, vote on a candidate."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `candidate`: The candidate that the member would like to bid on."] - #[doc = "- `approve`: A boolean which says if the candidate should be approved (`true`) or"] - #[doc = " rejected (`false`)."] + #[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)] - #[doc = "As a member, vote on the defender."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `approve`: A boolean which says if the candidate should be"] - #[doc = "approved (`true`) or rejected (`false`)."] + #[doc = "See [`Pallet::defender_vote`]."] defender_vote { approve: ::core::primitive::bool }, #[codec(index = 6)] - #[doc = "Transfer the first matured payout for the sender and remove it from the records."] - #[doc = ""] - #[doc = "NOTE: This extrinsic needs to be called multiple times to claim multiple matured"] - #[doc = "payouts."] - #[doc = ""] - #[doc = "Payment: The member will receive a payment equal to their first matured"] - #[doc = "payout to their free balance."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and a member with"] - #[doc = "payouts remaining."] + #[doc = "See [`Pallet::payout`]."] payout, #[codec(index = 7)] - #[doc = "Repay the payment previously given to the member with the signed origin, remove any"] - #[doc = "pending payments, and elevate them from rank 0 to rank 1."] + #[doc = "See [`Pallet::waive_repay`]."] waive_repay { amount: ::core::primitive::u128 }, #[codec(index = 8)] - #[doc = "Found the society."] - #[doc = ""] - #[doc = "This is done as a discrete action in order to allow for the"] - #[doc = "pallet to be included into a running chain and can only be done once."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be from the _FounderSetOrigin_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `founder` - The first member and head of the newly founded society."] - #[doc = "- `max_members` - The initial max number of members for the society."] - #[doc = "- `max_intake` - The maximum number of candidates per intake period."] - #[doc = "- `max_strikes`: The maximum number of strikes a member may get before they become"] - #[doc = " suspended and may only be reinstated by the founder."] - #[doc = "- `candidate_deposit`: The deposit required to make a bid for membership of the group."] - #[doc = "- `rules` - The rules of this society concerning membership."] - #[doc = ""] - #[doc = "Complexity: O(1)"] + #[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 = "Dissolve the society and remove all members."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed, and the signing account must be both"] - #[doc = "the `Founder` and the `Head`. This implies that it may only be done when there is one"] - #[doc = "member."] + #[doc = "See [`Pallet::dissolve`]."] dissolve, #[codec(index = 10)] - #[doc = "Allow suspension judgement origin to make judgement on a suspended member."] - #[doc = ""] - #[doc = "If a suspended member is forgiven, we simply add them back as a member, not affecting"] - #[doc = "any of the existing storage items for that member."] - #[doc = ""] - #[doc = "If a suspended member is rejected, remove all associated storage items, including"] - #[doc = "their payouts, and remove any vouched bids they currently have."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed from the Founder."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who` - The suspended member to be judged."] - #[doc = "- `forgive` - A boolean representing whether the suspension judgement origin forgives"] - #[doc = " (`true`) or rejects (`false`) a suspended member."] + #[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)] - #[doc = "Change the maximum number of members in society and the maximum number of new candidates"] - #[doc = "in a single intake period."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be Signed by the Founder."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `max_members` - The maximum number of members for the society. This must be no less"] - #[doc = " than the current number of members."] - #[doc = "- `max_intake` - The maximum number of candidates per intake period."] - #[doc = "- `max_strikes`: The maximum number of strikes a member may get before they become"] - #[doc = " suspended and may only be reinstated by the founder."] - #[doc = "- `candidate_deposit`: The deposit required to make a bid for membership of the group."] + #[doc = "See [`Pallet::set_parameters`]."] set_parameters { max_members: ::core::primitive::u32, max_intake: ::core::primitive::u32, @@ -53991,70 +49819,56 @@ pub mod api { candidate_deposit: ::core::primitive::u128, }, #[codec(index = 12)] - #[doc = "Punish the skeptic with a strike if they did not vote on a candidate. Callable by the"] - #[doc = "candidate."] + #[doc = "See [`Pallet::punish_skeptic`]."] punish_skeptic, #[codec(index = 13)] - #[doc = "Transform an approved candidate into a member. Callable only by the"] - #[doc = "the candidate, and only after the period for voting has ended."] + #[doc = "See [`Pallet::claim_membership`]."] claim_membership, #[codec(index = 14)] - #[doc = "Transform an approved candidate into a member. Callable only by the Signed origin of the"] - #[doc = "Founder, only after the period for voting has ended and only when the candidate is not"] - #[doc = "clearly rejected."] + #[doc = "See [`Pallet::bestow_membership`]."] bestow_membership { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 15)] - #[doc = "Remove the candidate's application from the society. Callable only by the Signed origin"] - #[doc = "of the Founder, only after the period for voting has ended, and only when they do not"] - #[doc = "have a clear approval."] - #[doc = ""] - #[doc = "Any bid deposit is lost and voucher is banned."] + #[doc = "See [`Pallet::kick_candidate`]."] kick_candidate { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 16)] - #[doc = "Remove the candidate's application from the society. Callable only by the candidate."] - #[doc = ""] - #[doc = "Any bid deposit is lost and voucher is banned."] + #[doc = "See [`Pallet::resign_candidacy`]."] resign_candidacy, #[codec(index = 17)] - #[doc = "Remove a `candidate`'s failed application from the society. Callable by any"] - #[doc = "signed origin but only at the end of the subsequent round and only for"] - #[doc = "a candidate with more rejections than approvals."] - #[doc = ""] - #[doc = "The bid deposit is lost and the voucher is banned."] + #[doc = "See [`Pallet::drop_candidate`]."] drop_candidate { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 18)] - #[doc = "Remove up to `max` stale votes for the given `candidate`."] - #[doc = ""] - #[doc = "May be called by any Signed origin, but only after the candidate's candidacy is ended."] + #[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)] - #[doc = "Remove up to `max` stale votes for the defender in the given `challenge_round`."] - #[doc = ""] - #[doc = "May be called by any Signed origin, but only after the challenge round is ended."] + #[doc = "See [`Pallet::cleanup_challenge`]."] cleanup_challenge { challenge_round: ::core::primitive::u32, max: ::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)] @@ -54155,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)] @@ -54246,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."] @@ -54254,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), @@ -54291,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>, @@ -54308,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, @@ -54324,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, @@ -54355,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, @@ -54418,48 +50242,30 @@ 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 = "Control the automatic migration."] - #[doc = ""] - #[doc = "The dispatch origin of this call must be [`Config::ControlOrigin`]."] + #[doc = "See [`Pallet::control_auto_migration`]."] control_auto_migration { maybe_config: ::core::option::Option< runtime_types::pallet_state_trie_migration::pallet::MigrationLimits, >, }, #[codec(index = 1)] - #[doc = "Continue the migration for the given `limits`."] - #[doc = ""] - #[doc = "The dispatch origin of this call can be any signed account."] - #[doc = ""] - #[doc = "This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,"] - #[doc = "Upon successful execution, the transaction fee is returned."] - #[doc = ""] - #[doc = "The (potentially over-estimated) of the byte length of all the data read must be"] - #[doc = "provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing"] - #[doc = "that executing the current `MigrationTask` with the given `limits` will not exceed"] - #[doc = "`real_size_upper` bytes of read data."] - #[doc = ""] - #[doc = "The `witness_task` is merely a helper to prevent the caller from being slashed or"] - #[doc = "generally trigger a migration that they do not intend. This parameter is just a message"] - #[doc = "from caller, saying that they believed `witness_task` was the last state of the"] - #[doc = "migration, and they only wish for their transaction to do anything, if this assumption"] - #[doc = "holds. In case `witness_task` does not match, the transaction fails."] - #[doc = ""] - #[doc = "Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the"] - #[doc = "recommended way of doing this is to pass a `limit` that only bounds `count`, as the"] - #[doc = "`size` limit can always be overwritten."] + #[doc = "See [`Pallet::continue_migrate`]."] continue_migrate { limits: runtime_types::pallet_state_trie_migration::pallet::MigrationLimits, real_size_upper: ::core::primitive::u32, @@ -54467,41 +50273,29 @@ pub mod api { runtime_types::pallet_state_trie_migration::pallet::MigrationTask, }, #[codec(index = 2)] - #[doc = "Migrate the list of top keys by iterating each of them one by one."] - #[doc = ""] - #[doc = "This does not affect the global migration process tracker ([`MigrationProcess`]), and"] - #[doc = "should only be used in case any keys are leftover due to a bug."] + #[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 = "Migrate the list of child keys by iterating each of them one by one."] - #[doc = ""] - #[doc = "All of the given child keys must be present under one `child_root`."] - #[doc = ""] - #[doc = "This does not affect the global migration process tracker ([`MigrationProcess`]), and"] - #[doc = "should only be used in case any keys are leftover due to a bug."] + #[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)] - #[doc = "Set the maximum limit of the signed migration."] + #[doc = "See [`Pallet::set_signed_max_limits`]."] set_signed_max_limits { limits: runtime_types::pallet_state_trie_migration::pallet::MigrationLimits, }, #[codec(index = 5)] - #[doc = "Forcefully set the progress the running migration."] - #[doc = ""] - #[doc = "This is only useful in one case: the next key to migrate is too big to be migrated with"] - #[doc = "a signed account, in a parachain context, and we simply want to skip it. A reasonable"] - #[doc = "example of this would be `:code:`, which is both very expensive to migrate, and commonly"] - #[doc = "used, so probably it is already migrated."] - #[doc = ""] - #[doc = "In case you mess things up, you can also, in principle, use this to reset the migration"] - #[doc = "process."] + #[doc = "See [`Pallet::force_set_progress`]."] force_set_progress { progress_top: runtime_types::pallet_state_trie_migration::pallet::Progress, progress_child: @@ -54509,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)] @@ -54546,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)] @@ -54569,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)] @@ -54582,29 +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")] - pub enum HoldReason { - #[codec(index = 0)] - SlashForMigrate, - } - #[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")] pub enum MigrationCompute { #[codec(index = 0)] Signed, @@ -54612,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: @@ -54644,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, >, ), @@ -54672,79 +50476,90 @@ 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 = "Authenticates the sudo key and dispatches a function call with `Root` origin."] + #[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 = "Authenticates the sudo key and dispatches a function call with `Root` origin."] - #[doc = "This function does not check the weight of the call, and instead allows the"] - #[doc = "Sudo user to specify the weight of the call."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + #[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 = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] - #[doc = "key."] + #[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 = "Authenticates the sudo key and dispatches a function call with `Signed` origin from"] - #[doc = "a given account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + #[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, + >, }, - #[codec(index = 4)] - #[doc = "Permanently removes the sudo key."] - #[doc = ""] - #[doc = "**This cannot be un-done.**"] - remove_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")] - #[doc = "Error for the Sudo pallet."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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)] - #[doc = "Sender must be the Sudo account."] + #[doc = "Sender must be the Sudo account"] 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)] @@ -54756,13 +50571,10 @@ pub mod api { #[codec(index = 1)] #[doc = "The sudo key has been updated."] KeyChanged { - old: ::core::option::Option<::subxt::utils::AccountId32>, - new: ::subxt::utils::AccountId32, + old_sudoer: + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, }, #[codec(index = 2)] - #[doc = "The key was permanently removed."] - KeyRemoved, - #[codec(index = 3)] #[doc = "A [sudo_as](Pallet::sudo_as) call just took place."] SudoAsDone { sudo_result: @@ -54776,37 +50588,23 @@ 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 = "Set the current time."] - #[doc = ""] - #[doc = "This call should be invoked exactly once per block. It will panic at the finalization"] - #[doc = "phase, if this call hasn't been invoked by that time."] - #[doc = ""] - #[doc = "The timestamp should be greater than the previous one by the amount specified by"] - #[doc = "[`Config::MinimumPeriod`]."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware"] - #[doc = "that changing the complexity of this call could result exhausting the resources in a"] - #[doc = "block to execute any other calls."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)"] - #[doc = "- 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in"] - #[doc = " `on_finalize`)"] - #[doc = "- 1 event handler `on_timestamp_set`. Must be `O(1)`."] + #[doc = "See [`Pallet::set`]."] set { #[codec(compact)] now: ::core::primitive::u64, @@ -54819,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, }, @@ -54843,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>, @@ -54859,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, @@ -54890,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, @@ -54922,237 +50736,96 @@ 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 = "Put forward a suggestion for spending."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = "A deposit proportional to the value is reserved and slashed if the proposal is rejected."] - #[doc = "It is returned once the proposal is awarded."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(1)"] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Proposed`] if successful."] + #[doc = "See [`Pallet::propose_spend`]."] 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 = "Reject a proposed spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = "The original deposit will be slashed."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(1)"] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Rejected`] if successful."] + #[doc = "See [`Pallet::reject_proposal`]."] reject_proposal { #[codec(compact)] proposal_id: ::core::primitive::u32, }, #[codec(index = 2)] - #[doc = "Approve a proposal."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::ApproveOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "At a later time, the proposal will be allocated to the beneficiary and the original"] - #[doc = "deposit will be returned."] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = " - O(1)."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "No events are emitted from this dispatch."] + #[doc = "See [`Pallet::approve_proposal`]."] approve_proposal { #[codec(compact)] proposal_id: ::core::primitive::u32, }, #[codec(index = 3)] - #[doc = "Propose and approve a spend of treasury funds."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`."] - #[doc = ""] - #[doc = "### Details"] - #[doc = "NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the"] - #[doc = "beneficiary."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] - #[doc = "- `beneficiary`: The destination account for the transfer."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::SpendApproved`] if successful."] + #[doc = "See [`Pallet::spend_local`]."] 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 = "Force a previously approved proposal to be removed from the approval queue."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "The original deposit will no longer be returned."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `proposal_id`: The index of a proposal"] - #[doc = ""] - #[doc = "### Complexity"] - #[doc = "- O(A) where `A` is the number of approvals"] - #[doc = ""] - #[doc = "### Errors"] - #[doc = "- [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the"] - #[doc = " approval queue, i.e., the proposal has not been approved. This could also mean the"] - #[doc = " proposal does not exist altogether, thus there is no way it would have been approved"] - #[doc = " in the first place."] + #[doc = "See [`Pallet::remove_approval`]."] remove_approval { #[codec(compact)] proposal_id: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "Propose and approve a spend of treasury funds."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least"] - #[doc = "`amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted"] - #[doc = "for assertion using the [`Config::BalanceConverter`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "Create an approved spend for transferring a specific `amount` of `asset_kind` to a"] - #[doc = "designated beneficiary. The spend must be claimed using the `payout` dispatchable within"] - #[doc = "the [`Config::PayoutPeriod`]."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `asset_kind`: An indicator of the specific asset class to be spent."] - #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] - #[doc = "- `beneficiary`: The beneficiary of the spend."] - #[doc = "- `valid_from`: The block number from which the spend can be claimed. It can refer to"] - #[doc = " the past if the resulting spend has not yet expired according to the"] - #[doc = " [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after"] - #[doc = " approval."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] + #[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)] - #[doc = "Claim a spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "Spends must be claimed within some temporal bounds. A spend may be claimed within one"] - #[doc = "[`Config::PayoutPeriod`] from the `valid_from` block."] - #[doc = "In case of a payout failure, the spend status must be updated with the `check_status`"] - #[doc = "dispatchable before retrying with the current function."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::Paid`] if successful."] + #[doc = "See [`Pallet::payout`]."] payout { index: ::core::primitive::u32 }, #[codec(index = 7)] - #[doc = "Check the status of the spend and remove it from the storage if processed."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be signed."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "The status check is a prerequisite for retrying a failed payout."] - #[doc = "If a spend has either succeeded or expired, it is removed from the storage by this"] - #[doc = "function. In such instances, transaction fees are refunded."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::PaymentFailed`] if the spend payout has failed."] - #[doc = "Emits [`Event::SpendProcessed`] if the spend payout has succeed."] + #[doc = "See [`Pallet::check_status`]."] check_status { index: ::core::primitive::u32 }, #[codec(index = 8)] - #[doc = "Void previously approved spend."] - #[doc = ""] - #[doc = "## Dispatch Origin"] - #[doc = ""] - #[doc = "Must be [`Config::RejectOrigin`]."] - #[doc = ""] - #[doc = "## Details"] - #[doc = ""] - #[doc = "A spend void is only possible if the payout has not been attempted yet."] - #[doc = ""] - #[doc = "### Parameters"] - #[doc = "- `index`: The spend index."] - #[doc = ""] - #[doc = "## Events"] - #[doc = ""] - #[doc = "Emits [`Event::AssetSpendVoided`] if successful."] + #[doc = "See [`Pallet::void_spend`]."] 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)] @@ -55194,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)] @@ -55220,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."] @@ -55246,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."] @@ -55261,7 +50938,7 @@ pub mod api { asset_kind: runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, amount: ::core::primitive::u128, - beneficiary: runtime_types::xcm::VersionedLocation, + beneficiary: runtime_types::xcm::VersionedMultiLocation, valid_from: ::core::primitive::u32, expire_at: ::core::primitive::u32, }, @@ -55287,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, @@ -55305,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, @@ -55321,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, @@ -55344,124 +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 = "Send a batch of dispatch calls."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] - #[doc = ""] - #[doc = "This will return `Ok` in all circumstances. To determine the success of the batch, an"] - #[doc = "event is deposited. If a call failed and the batch was interrupted, then the"] - #[doc = "`BatchInterrupted` event is deposited, along with the number of successful calls made"] - #[doc = "and the error of the failed call. If all were successful, then the `BatchCompleted`"] - #[doc = "event is deposited."] + #[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 = "Send a call through an indexed pseudonym of the sender."] - #[doc = ""] - #[doc = "Filter from origin are passed along. The call will be dispatched with an origin which"] - #[doc = "use the same filter as the origin of this call."] - #[doc = ""] - #[doc = "NOTE: If you need to ensure that any account-based filtering is not honored (i.e."] - #[doc = "because you expect `proxy` to have been used prior in the call stack and you do not want"] - #[doc = "the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`"] - #[doc = "in the Multisig pallet instead."] - #[doc = ""] - #[doc = "NOTE: Prior to version *12, this was called `as_limited_sub`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] + #[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 = "Send a batch of dispatch calls and atomically execute them."] - #[doc = "The whole transaction will rollback and fail if any of the calls failed."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] + #[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 = "Dispatches a function call with a provided origin."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(1)."] + #[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 = "Send a batch of dispatch calls."] - #[doc = "Unlike `batch`, it allows errors and won't interrupt."] - #[doc = ""] - #[doc = "May be called from any origin except `None`."] - #[doc = ""] - #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] - #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] - #[doc = ""] - #[doc = "If origin is root then the calls are dispatch without checking origin filter. (This"] - #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- O(C) where C is the number of calls to be batched."] + #[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 = "Dispatch a function call with a specified weight."] - #[doc = ""] - #[doc = "This function does not check the weight of the call, and instead allows the"] - #[doc = "Root origin to specify the weight of the call."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] + #[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)] @@ -55469,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)] @@ -55515,135 +51155,81 @@ 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 = "Unlock any vested funds of the sender account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have funds still"] - #[doc = "locked under this pallet."] - #[doc = ""] - #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[doc = "See [`Pallet::vest`]."] vest, #[codec(index = 1)] - #[doc = "Unlock any vested funds of a `target` account."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account whose vested funds should be unlocked. Must have funds still"] - #[doc = "locked under this pallet."] - #[doc = ""] - #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(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 = "Create a vested transfer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `target`: The account receiving the vested funds."] - #[doc = "- `schedule`: The vesting schedule attached to the transfer."] - #[doc = ""] - #[doc = "Emits `VestingCreated`."] - #[doc = ""] - #[doc = "NOTE: This will unlock all schedules through the current block."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[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, >, }, #[codec(index = 3)] - #[doc = "Force a vested transfer."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `source`: The account whose funds should be transferred."] - #[doc = "- `target`: The account that should be transferred the vested funds."] - #[doc = "- `schedule`: The vesting schedule attached to the transfer."] - #[doc = ""] - #[doc = "Emits `VestingCreated`."] - #[doc = ""] - #[doc = "NOTE: This will unlock all schedules through the current block."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(1)`."] + #[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, >, }, #[codec(index = 4)] - #[doc = "Merge two vesting schedules together, creating a new vesting schedule that unlocks over"] - #[doc = "the highest possible start and end blocks. If both schedules have already started the"] - #[doc = "current block will be used as the schedule start; with the caveat that if one schedule"] - #[doc = "is finished by the current block, the other will be treated as the new merged schedule,"] - #[doc = "unmodified."] - #[doc = ""] - #[doc = "NOTE: If `schedule1_index == schedule2_index` this is a no-op."] - #[doc = "NOTE: This will unlock all schedules through the current block prior to merging."] - #[doc = "NOTE: If both schedules have ended by the current block, no new schedule will be created"] - #[doc = "and both will be removed."] - #[doc = ""] - #[doc = "Merged schedule attributes:"] - #[doc = "- `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,"] - #[doc = " current_block)`."] - #[doc = "- `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`."] - #[doc = "- `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Signed_."] - #[doc = ""] - #[doc = "- `schedule1_index`: index of the first schedule to merge."] - #[doc = "- `schedule2_index`: index of the second schedule to merge."] + #[doc = "See [`Pallet::merge_schedules`]."] merge_schedules { schedule1_index: ::core::primitive::u32, schedule2_index: ::core::primitive::u32, }, - #[codec(index = 5)] - #[doc = "Force remove a vesting schedule"] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "- `target`: An account that has a vesting schedule"] - #[doc = "- `schedule_index`: The vesting schedule index that should be removed"] - 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)] @@ -55664,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, @@ -55708,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, @@ -55729,42 +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)] - whitelist_call { call_hash: ::subxt::utils::H256 }, + #[doc = "See [`Pallet::whitelist_call`]."] + whitelist_call { + call_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 1)] - remove_whitelisted_call { call_hash: ::subxt::utils::H256 }, + #[doc = "See [`Pallet::remove_whitelisted_call`]."] + 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)] @@ -55784,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< @@ -55817,269 +51437,142 @@ 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 = "Teleport some assets from the local chain to some destination chain."] - #[doc = ""] - #[doc = "**This function is deprecated: Use `limited_teleport_assets` instead.**"] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] - #[doc = "with all fees taken as needed from the asset."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` chain."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] + #[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 = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve."] - #[doc = ""] - #[doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] - #[doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] - #[doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] - #[doc = " assets to `beneficiary`."] - #[doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] - #[doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] - #[doc = " deposit them to `beneficiary`."] - #[doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] - #[doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] - #[doc = " to mint and deposit reserve-based assets to `beneficiary`."] - #[doc = ""] - #[doc = "**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**"] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] - #[doc = "with all fees taken as needed from the asset."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] + #[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 = "Execute an XCM message from a local, signed, origin."] - #[doc = ""] - #[doc = "An event is deposited indicating whether `msg` could be executed completely or only"] - #[doc = "partially."] - #[doc = ""] - #[doc = "No more than `max_weight` will be used in its attempted execution. If this is less than"] - #[doc = "the maximum amount of weight that the message could take to be executed, then no"] - #[doc = "execution attempt will be made."] + #[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 = "Extoll that a particular destination can be communicated with through a particular"] - #[doc = "version of XCM."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The destination that is being described."] - #[doc = "- `xcm_version`: The latest version of XCM that `location` supports."] + #[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, }, #[codec(index = 5)] - #[doc = "Set a safe XCM version (the version that XCM should be encoded with if the most recent"] - #[doc = "version a destination can accept is unknown)."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `maybe_xcm_version`: The default XCM encoding version, or `None` to disable."] + #[doc = "See [`Pallet::force_default_xcm_version`]."] force_default_xcm_version { maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, }, #[codec(index = 6)] - #[doc = "Ask a location to notify us regarding their XCM version and any changes to it."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The location to which we should subscribe for XCM version notifications."] + #[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 = "Require that a particular destination should no longer notify us regarding any XCM"] - #[doc = "version changes."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `location`: The location to which we are currently subscribed for XCM version"] - #[doc = " notifications which we no longer desire."] + #[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 = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve."] - #[doc = ""] - #[doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] - #[doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] - #[doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] - #[doc = " assets to `beneficiary`."] - #[doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] - #[doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] - #[doc = " deposit them to `beneficiary`."] - #[doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] - #[doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] - #[doc = " to mint and deposit reserve-based assets to `beneficiary`."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"] - #[doc = "is needed than `weight_limit`, then the operation will fail and the assets send may be"] - #[doc = "at risk."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] + #[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 = "Teleport some assets from the local chain to some destination chain."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"] - #[doc = "is needed than `weight_limit`, then the operation will fail and the assets send may be"] - #[doc = "at risk."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] - #[doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] - #[doc = " relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` chain."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] + #[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, }, #[codec(index = 10)] - #[doc = "Set or unset the global suspension state of the XCM executor."] - #[doc = ""] - #[doc = "- `origin`: Must be an origin specified by AdminOrigin."] - #[doc = "- `suspended`: `true` to suspend, `false` to resume."] + #[doc = "See [`Pallet::force_suspension`]."] force_suspension { suspended: ::core::primitive::bool }, - #[codec(index = 11)] - #[doc = "Transfer some assets from the local chain to the destination chain through their local,"] - #[doc = "destination or remote reserve, or through teleports."] - #[doc = ""] - #[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] - #[doc = "index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for"] - #[doc = "`weight_limit` of weight. If more weight is needed than `weight_limit`, then the"] - #[doc = "operation will fail and the assets sent may be at risk."] - #[doc = ""] - #[doc = "`assets` (excluding `fees`) must have same reserve location or otherwise be teleportable"] - #[doc = "to `dest`, no limitations imposed on `fees`."] - #[doc = " - for local reserve: transfer assets to sovereign account of destination chain and"] - #[doc = " forward a notification XCM to `dest` to mint and deposit reserve-based assets to"] - #[doc = " `beneficiary`."] - #[doc = " - for destination reserve: burn local assets and forward a notification to `dest` chain"] - #[doc = " to withdraw the reserve assets from this chain's sovereign account and deposit them"] - #[doc = " to `beneficiary`."] - #[doc = " - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves"] - #[doc = " from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint"] - #[doc = " and deposit reserve-based assets to `beneficiary`."] - #[doc = " - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport"] - #[doc = " assets and deposit them to `beneficiary`."] - #[doc = ""] - #[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] - #[doc = "- `dest`: Destination context for the assets. Will typically be `X2(Parent,"] - #[doc = " Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send"] - #[doc = " from relay to parachain."] - #[doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] - #[doc = " generally be an `AccountId32` value."] - #[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] - #[doc = " fee on the `dest` (and possibly reserve) chains."] - #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] - #[doc = " fees."] - #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] - transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 12)] - #[doc = "Claims assets trapped on this pallet because of leftover assets during XCM execution."] - #[doc = ""] - #[doc = "- `origin`: Anyone can call this extrinsic."] - #[doc = "- `assets`: The exact assets that were trapped. Use the version to specify what version"] - #[doc = "was the latest when they were trapped."] - #[doc = "- `beneficiary`: The location/account where the claimed assets will be deposited."] - claim_assets { - assets: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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)] @@ -56097,7 +51590,7 @@ pub mod api { #[doc = "The message's weight could not be determined."] UnweighableMessage, #[codec(index = 4)] - #[doc = "The destination `Location` provided cannot be inverted."] + #[doc = "The destination `MultiLocation` provided cannot be inverted."] DestinationNotInvertible, #[codec(index = 5)] #[doc = "The assets to be sent are empty."] @@ -56125,8 +51618,8 @@ pub mod api { #[doc = "The location is invalid since it already has a subscription from us."] AlreadySubscribed, #[codec(index = 13)] - #[doc = "Could not check-out the assets for teleportation to the destination chain."] - CannotCheckOutTeleport, + #[doc = "Invalid asset for the operation."] + InvalidAsset, #[codec(index = 14)] #[doc = "The owner does not own (all) of the asset that they wish to do the operation on."] LowBalance, @@ -56145,45 +51638,34 @@ pub mod api { #[codec(index = 19)] #[doc = "The unlock operation cannot succeed because there are still consumers of the lock."] InUse, - #[codec(index = 20)] - #[doc = "Invalid non-concrete asset."] - InvalidAssetNotConcrete, - #[codec(index = 21)] - #[doc = "Invalid asset, reserve chain could not be determined for it."] - InvalidAssetUnknownReserve, - #[codec(index = 22)] - #[doc = "Invalid asset, do not support remote asset reserves with different fees reserves."] - InvalidAssetUnsupportedReserve, - #[codec(index = 23)] - #[doc = "Too many assets with different reserve locations have been attempted for transfer."] - TooManyReserves, - #[codec(index = 24)] - #[doc = "Local XCM execution incomplete."] - LocalExecutionIncomplete, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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 = "Execution of an XCM message was attempted."] Attempted { - outcome: runtime_types::staging_xcm::v4::traits::Outcome, + outcome: runtime_types::xcm::v3::traits::Outcome, }, #[codec(index = 1)] #[doc = "A XCM message was sent."] Sent { - origin: runtime_types::staging_xcm::v4::location::Location, - destination: runtime_types::staging_xcm::v4::location::Location, - message: runtime_types::staging_xcm::v4::Xcm, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + message: runtime_types::xcm::v3::Xcm1, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 2)] @@ -56191,7 +51673,7 @@ pub mod api { #[doc = "matching query was never registered, it may be because it is a duplicate response, or"] #[doc = "because the query timed out."] UnexpectedResponse { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, query_id: ::core::primitive::u64, }, #[codec(index = 3)] @@ -56199,7 +51681,7 @@ pub mod api { #[doc = "no registered notification call."] ResponseReady { query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, + response: runtime_types::xcm::v3::Response, }, #[codec(index = 4)] #[doc = "Query response has been received and query is removed. The registered notification has"] @@ -56242,10 +51724,10 @@ pub mod api { #[doc = "not match that expected. The query remains registered for a later, valid, response to"] #[doc = "be received and acted upon."] InvalidResponder { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, query_id: ::core::primitive::u64, expected_location: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, }, #[codec(index = 9)] @@ -56257,7 +51739,7 @@ pub mod api { #[doc = "valid response will be dropped. Manual governance intervention is probably going to be"] #[doc = "needed."] InvalidResponderVersion { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, query_id: ::core::primitive::u64, }, #[codec(index = 10)] @@ -56266,32 +51748,32 @@ pub mod api { #[codec(index = 11)] #[doc = "Some assets have been placed in an asset trap."] AssetsTrapped { - hash: ::subxt::utils::H256, - origin: runtime_types::staging_xcm::v4::location::Location, - assets: runtime_types::xcm::VersionedAssets, + hash: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + assets: runtime_types::xcm::VersionedMultiAssets, }, #[codec(index = 12)] #[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."] VersionChangeNotified { - destination: runtime_types::staging_xcm::v4::location::Location, + destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, result: ::core::primitive::u32, - cost: runtime_types::staging_xcm::v4::asset::Assets, + cost: runtime_types::xcm::v3::multiasset::MultiAssets, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 13)] #[doc = "The supported version of a location has been changed. This might be through an"] #[doc = "automatic notification or a manual intervention."] SupportedVersionChanged { - location: runtime_types::staging_xcm::v4::location::Location, + location: runtime_types::staging_xcm::v3::multilocation::MultiLocation, version: ::core::primitive::u32, }, #[codec(index = 14)] #[doc = "A given location which had a version change subscription was dropped owing to an error"] #[doc = "sending the notification to it."] NotifyTargetSendFail { - location: runtime_types::staging_xcm::v4::location::Location, + location: runtime_types::staging_xcm::v3::multilocation::MultiLocation, query_id: ::core::primitive::u64, error: runtime_types::xcm::v3::traits::Error, }, @@ -56299,7 +51781,7 @@ pub mod api { #[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."] NotifyTargetMigrationFail { - location: runtime_types::xcm::VersionedLocation, + location: runtime_types::xcm::VersionedMultiLocation, query_id: ::core::primitive::u64, }, #[codec(index = 16)] @@ -56311,7 +51793,7 @@ pub mod api { #[doc = "valid response will be dropped. Manual governance intervention is probably going to be"] #[doc = "needed."] InvalidQuerierVersion { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, query_id: ::core::primitive::u64, }, #[codec(index = 17)] @@ -56319,92 +51801,98 @@ pub mod api { #[doc = "not match the expected. The query remains registered for a later, valid, response to"] #[doc = "be received and acted upon."] InvalidQuerier { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, query_id: ::core::primitive::u64, - expected_querier: runtime_types::staging_xcm::v4::location::Location, + expected_querier: + runtime_types::staging_xcm::v3::multilocation::MultiLocation, maybe_actual_querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, }, #[codec(index = 18)] #[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."] VersionNotifyStarted { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + cost: runtime_types::xcm::v3::multiasset::MultiAssets, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 19)] #[doc = "We have requested that a remote chain send us XCM version change notifications."] VersionNotifyRequested { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + cost: runtime_types::xcm::v3::multiasset::MultiAssets, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 20)] #[doc = "We have requested that a remote chain stops sending us XCM version change"] #[doc = "notifications."] VersionNotifyUnrequested { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + cost: runtime_types::xcm::v3::multiasset::MultiAssets, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 21)] #[doc = "Fees were paid from a location for an operation (often for using `SendXcm`)."] FeesPaid { - paying: runtime_types::staging_xcm::v4::location::Location, - fees: runtime_types::staging_xcm::v4::asset::Assets, + paying: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + fees: runtime_types::xcm::v3::multiasset::MultiAssets, }, #[codec(index = 22)] #[doc = "Some assets have been claimed from an asset trap"] AssetsClaimed { - hash: ::subxt::utils::H256, - origin: runtime_types::staging_xcm::v4::location::Location, - assets: runtime_types::xcm::VersionedAssets, + hash: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + assets: runtime_types::xcm::VersionedMultiAssets, }, - #[codec(index = 23)] - #[doc = "A XCM version migration finished."] - VersionMigrationFinished { 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 Origin { #[codec(index = 0)] - Xcm(runtime_types::staging_xcm::v4::location::Location), + Xcm(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] - Response(runtime_types::staging_xcm::v4::location::Location), + 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 { - responder: runtime_types::xcm::VersionedLocation, + responder: runtime_types::xcm::VersionedMultiLocation, maybe_match_querier: - ::core::option::Option, + ::core::option::Option, maybe_notify: ::core::option::Option<(::core::primitive::u8, ::core::primitive::u8)>, timeout: _0, }, #[codec(index = 1)] VersionNotifier { - origin: runtime_types::xcm::VersionedLocation, + origin: runtime_types::xcm::VersionedMultiLocation, is_active: ::core::primitive::bool, }, #[codec(index = 2)] @@ -56414,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::VersionedLocation, - pub locker: runtime_types::xcm::VersionedLocation, - pub consumers: runtime_types::bounded_collections::bounded_vec::BoundedVec<( + pub owner: runtime_types::xcm::VersionedMultiLocation, + pub locker: runtime_types::xcm::VersionedMultiLocation, + 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, @@ -56449,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, @@ -56459,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 { @@ -56517,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 { @@ -56584,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: @@ -56642,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, @@ -56683,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), @@ -56728,29 +52290,33 @@ pub mod api { PrecheckingMaxMemory(::core::primitive::u64), #[codec(index = 5)] PvfPrepTimeout( - runtime_types::polkadot_primitives::v6::PvfPrepKind, + runtime_types::polkadot_primitives::v6::PvfPrepTimeoutKind, ::core::primitive::u64, ), #[codec(index = 6)] PvfExecTimeout( - runtime_types::polkadot_primitives::v6::PvfExecKind, + runtime_types::polkadot_primitives::v6::PvfExecTimeoutKind, ::core::primitive::u64, ), #[codec(index = 7)] 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, >, ); @@ -56758,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, @@ -56779,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, @@ -56798,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, >, @@ -56841,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, @@ -56860,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, >, @@ -56949,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( @@ -56992,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< @@ -57022,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>), @@ -57052,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), @@ -57090,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, @@ -57209,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, @@ -57219,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, @@ -57237,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, @@ -57254,58 +52952,74 @@ 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")] - pub enum PvfExecKind { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, #[codec(index = 1)] 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")] - pub enum PvfPrepKind { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, #[codec(index = 1)] - Prepare, + 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< @@ -57313,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, @@ -57371,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, @@ -57387,65 +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, - #[codec(index = 4)] - ApprovalCheckingMultipleCandidates( - ::std::vec::Vec, - ), } #[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), @@ -57453,48 +53196,6 @@ pub mod api { Explicit(runtime_types::polkadot_primitives::v6::validator_app::Signature), } } - pub mod vstaging { - 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, - 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 ApprovalVotingParams { - pub max_approval_coalesce_count: ::core::primitive::u32, - } - #[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 SchedulerParams<_0> { - pub group_rotation_frequency: _0, - pub paras_availability_period: _0, - pub max_validators_per_core: ::core::option::Option<_0>, - pub lookahead: ::core::primitive::u32, - pub num_cores: ::core::primitive::u32, - pub max_availability_timeouts: ::core::primitive::u32, - pub on_demand_queue_max_size: ::core::primitive::u32, - pub on_demand_target_queue_utilization: - runtime_types::sp_arithmetic::per_things::Perbill, - pub on_demand_fee_variability: - runtime_types::sp_arithmetic::per_things::Perbill, - pub on_demand_base_fee: ::core::primitive::u128, - pub ttl: _0, - } - } } pub mod polkadot_runtime_common { use super::runtime_types; @@ -57503,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 = "Assign a permanent parachain slot and immediately create a lease for it."] assign_perm_parachain_slot { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 1)] # [doc = "Assign a temporary parachain slot. The function tries to create a lease for it"] # [doc = "immediately if `SlotLeasePeriodStart::Current` is specified, and if the number"] # [doc = "of currently active temporary slots is below `MaxTemporarySlotPerLeasePeriod`."] 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 = "Unassign a permanent or temporary parachain slot"] unassign_parachain_slot { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] # [doc = "Sets the storage value [`MaxPermanentSlots`]."] set_max_permanent_slots { slots : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "Sets the storage value [`MaxTemporarySlots`]."] set_max_temporary_slots { slots : :: core :: primitive :: u32 , } , } + # [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)] @@ -57556,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)] @@ -57586,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, @@ -57603,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, @@ -57624,23 +53345,23 @@ 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 = "Create a new auction."] - #[doc = ""] - #[doc = "This can only happen when there isn't already an auction in progress and may only be"] - #[doc = "called by the root origin. Accepts the `duration` of this auction and the"] - #[doc = "`lease_period_index` of the initial lease period of the four that are to be auctioned."] + #[doc = "See [`Pallet::new_auction`]."] new_auction { #[codec(compact)] duration: ::core::primitive::u32, @@ -57648,22 +53369,7 @@ pub mod api { lease_period_index: ::core::primitive::u32, }, #[codec(index = 1)] - #[doc = "Make a new bid from an account (including a parachain account) for deploying a new"] - #[doc = "parachain."] - #[doc = ""] - #[doc = "Multiple simultaneous bids from the same bidder are allowed only as long as all active"] - #[doc = "bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted."] - #[doc = ""] - #[doc = "- `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and"] - #[doc = "funded by) the same account."] - #[doc = "- `auction_index` is the index of the auction to bid on. Should just be the present"] - #[doc = "value of `AuctionCounter`."] - #[doc = "- `first_slot` is the first lease period index of the range to bid on. This is the"] - #[doc = "absolute lease period index value, not an auction-specific offset."] - #[doc = "- `last_slot` is the last lease period index of the range to bid on. This is the"] - #[doc = "absolute lease period index value, not an auction-specific offset."] - #[doc = "- `amount` is the amount to bid to be held as deposit for the parachain should the"] - #[doc = "bid win. This amount is held throughout the range."] + #[doc = "See [`Pallet::bid`]."] bid { #[codec(compact)] para: runtime_types::polkadot_parachain_primitives::primitives::Id, @@ -57677,21 +53383,23 @@ pub mod api { amount: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "Cancel an in-progress auction."] - #[doc = ""] - #[doc = "Can only be called by Root origin."] + #[doc = "See [`Pallet::cancel_auction`]."] 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)] @@ -57717,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)] @@ -57745,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)] @@ -57760,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, @@ -57787,63 +53499,30 @@ 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 = "Make a claim to collect your DOTs."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to claim is deemed valid if the signature provided matches"] - #[doc = "the expected signed message of:"] - #[doc = ""] - #[doc = "> Ethereum Signed Message:"] - #[doc = "> (configured prefix string)(address)"] - #[doc = ""] - #[doc = "and `address` matches the `dest` account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `dest`: The destination account to payout the claim."] - #[doc = "- `ethereum_signature`: The signature of an ethereum signed message matching the format"] - #[doc = " described above."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to validate unsigned `claim` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[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, }, #[codec(index = 1)] - #[doc = "Mint a new claim to collect DOTs."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _Root_."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `who`: The Ethereum address allowed to collect this claim."] - #[doc = "- `value`: The number of DOTs that will be claimed."] - #[doc = "- `vesting_schedule`: An optional vesting schedule for these DOTs."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "We assume worst case that both vesting and statement is being inserted."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[doc = "See [`Pallet::mint_claim`]."] mint_claim { who: runtime_types::polkadot_runtime_common::claims::EthereumAddress, value: ::core::primitive::u128, @@ -57857,79 +53536,44 @@ pub mod api { >, }, #[codec(index = 2)] - #[doc = "Make a claim to collect your DOTs by signing a statement."] - #[doc = ""] - #[doc = "The dispatch origin for this call must be _None_."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to `claim_attest` is deemed valid if the signature provided matches"] - #[doc = "the expected signed message of:"] - #[doc = ""] - #[doc = "> Ethereum Signed Message:"] - #[doc = "> (configured prefix string)(address)(statement)"] - #[doc = ""] - #[doc = "and `address` matches the `dest` account; the `statement` must match that which is"] - #[doc = "expected according to your purchase arrangement."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `dest`: The destination account to payout the claim."] - #[doc = "- `ethereum_signature`: The signature of an ethereum signed message matching the format"] - #[doc = " described above."] - #[doc = "- `statement`: The identity of the statement which is being attested to in the"] - #[doc = " signature."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to validate unsigned `claim_attest` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[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 = "Attest to a statement, needed to finalize the claims process."] - #[doc = ""] - #[doc = "WARNING: Insecure unless your chain includes `PrevalidateAttests` as a"] - #[doc = "`SignedExtension`."] - #[doc = ""] - #[doc = "Unsigned Validation:"] - #[doc = "A call to attest is deemed valid if the sender has a `Preclaim` registered"] - #[doc = "and provides a `statement` which is expected for the account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `statement`: The identity of the statement which is being attested to in the"] - #[doc = " signature."] - #[doc = ""] - #[doc = ""] - #[doc = "The weight of this call is invariant over the input parameters."] - #[doc = "Weight includes logic to do pre-validation on `attest` call."] - #[doc = ""] - #[doc = "Total Complexity: O(1)"] - #[doc = ""] + #[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)] @@ -57953,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, @@ -57975,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, @@ -58018,23 +53678,23 @@ 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 = "Create a new crowdloaning campaign for a parachain slot with the given lease period"] - #[doc = "range."] - #[doc = ""] - #[doc = "This applies a lock to your parachain configuration, ensuring that it cannot be changed"] - #[doc = "by the parachain manager."] + #[doc = "See [`Pallet::create`]."] create { #[codec(compact)] index: runtime_types::polkadot_parachain_primitives::primitives::Id, @@ -58050,8 +53710,7 @@ pub mod api { ::core::option::Option, }, #[codec(index = 1)] - #[doc = "Contribute to a crowd sale. This will transfer some balance over to fund a parachain"] - #[doc = "slot. It will be withdrawable when the crowdloan has ended and the funds are unused."] + #[doc = "See [`Pallet::contribute`]."] contribute { #[codec(compact)] index: runtime_types::polkadot_parachain_primitives::primitives::Id, @@ -58061,48 +53720,26 @@ pub mod api { ::core::option::Option, }, #[codec(index = 2)] - #[doc = "Withdraw full balance of a specific contributor."] - #[doc = ""] - #[doc = "Origin must be signed, but can come from anyone."] - #[doc = ""] - #[doc = "The fund must be either in, or ready for, retirement. For a fund to be *in* retirement,"] - #[doc = "then the retirement flag must be set. For a fund to be ready for retirement, then:"] - #[doc = "- it must not already be in retirement;"] - #[doc = "- the amount of raised funds must be bigger than the _free_ balance of the account;"] - #[doc = "- and either:"] - #[doc = " - the block number must be at least `end`; or"] - #[doc = " - the current lease period must be greater than the fund's `last_period`."] - #[doc = ""] - #[doc = "In this case, the fund's retirement flag is set and its `end` is reset to the current"] - #[doc = "block number."] - #[doc = ""] - #[doc = "- `who`: The account whose contribution should be withdrawn."] - #[doc = "- `index`: The parachain to whose crowdloan the contribution was made."] + #[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, }, #[codec(index = 3)] - #[doc = "Automatically refund contributors of an ended crowdloan."] - #[doc = "Due to weight restrictions, this function may need to be called multiple"] - #[doc = "times to fully refund all users. We will refund `RemoveKeysLimit` users at a time."] - #[doc = ""] - #[doc = "Origin must be signed, but can come from anyone."] + #[doc = "See [`Pallet::refund`]."] refund { #[codec(compact)] index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] - #[doc = "Remove a fund after the retirement period has ended and all funds have been returned."] + #[doc = "See [`Pallet::dissolve`]."] dissolve { #[codec(compact)] index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 5)] - #[doc = "Edit the configuration for an in-progress crowdloan."] - #[doc = ""] - #[doc = "Can only be called by Root origin."] + #[doc = "See [`Pallet::edit`]."] edit { #[codec(compact)] index: runtime_types::polkadot_parachain_primitives::primitives::Id, @@ -58118,24 +53755,18 @@ pub mod api { ::core::option::Option, }, #[codec(index = 6)] - #[doc = "Add an optional memo to an existing crowdloan contribution."] - #[doc = ""] - #[doc = "Origin must be Signed, and the user must have contributed to the crowdloan."] + #[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 = "Poke the fund into `NewRaise`"] - #[doc = ""] - #[doc = "Origin must be Signed, and the fund has non-zero raise."] + #[doc = "See [`Pallet::poke`]."] poke { index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 8)] - #[doc = "Contribute your entire balance to a crowd sale. This will transfer the entire balance of"] - #[doc = "a user over to fund a parachain slot. It will be withdrawable when the crowdloan has"] - #[doc = "ended and the funds are unused."] + #[doc = "See [`Pallet::contribute_all`]."] contribute_all { #[codec(compact)] index: runtime_types::polkadot_parachain_primitives::primitives::Id, @@ -58144,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)] @@ -58227,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)] @@ -58246,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, @@ -58254,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, @@ -58292,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`"] @@ -58304,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, @@ -58327,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, @@ -58345,80 +53992,28 @@ pub mod api { Ending(_0), } } - pub mod identity_migrator { - 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 = "Reap the `IdentityInfo` of `who` from the Identity pallet of `T`, unreserving any"] - #[doc = "deposits held and removing storage items associated with `who`."] - reap_identity { who: ::subxt::utils::AccountId32 }, - #[codec(index = 1)] - #[doc = "Update the deposit of `who`. Meant to be called by the system with an XCM `Transact`"] - #[doc = "Instruction."] - poke_deposit { who: ::subxt::utils::AccountId32 }, - } - #[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 = "The identity and all sub accounts were reaped for `who`."] - IdentityReaped { who: ::subxt::utils::AccountId32 }, - #[codec(index = 1)] - #[doc = "The deposits held for `who` were updated. `identity` is the new deposit held for"] - #[doc = "identity info, and `subs` is the new deposit held for the sub-accounts."] - DepositUpdated { - who: ::subxt::utils::AccountId32, - identity: ::core::primitive::u128, - subs: ::core::primitive::u128, - }, - } - } - } 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 { location: runtime_types::staging_xcm::v3::multilocation::MultiLocation, asset_id: runtime_types::xcm::v3::multiasset::AssetId, }, - #[codec(index = 4)] - V4 { - location: runtime_types::staging_xcm::v4::location::Location, - asset_id: runtime_types::staging_xcm::v4::asset::AssetId, - }, } } pub mod paras_registrar { @@ -58426,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 = "Register head data and validation code for a reserved Para Id."] # [doc = ""] # [doc = "## Arguments"] # [doc = "- `origin`: Must be called by a `Signed` origin."] # [doc = "- `id`: The para ID. Must be owned/managed by the `origin` signing account."] # [doc = "- `genesis_head`: The genesis head data of the parachain/thread."] # [doc = "- `validation_code`: The initial validation code of the parachain/thread."] # [doc = ""] # [doc = "## Deposits/Fees"] # [doc = "The account with the originating signature must reserve a deposit."] # [doc = ""] # [doc = "The deposit is required to cover the costs associated with storing the genesis head"] # [doc = "data and the validation code."] # [doc = "This accounts for the potential to store validation code of a size up to the"] # [doc = "`max_code_size`, as defined in the configuration pallet"] # [doc = ""] # [doc = "Anything already reserved previously for this para ID is accounted for."] # [doc = ""] # [doc = "## Events"] # [doc = "The `Registered` event is emitted in case of success."] 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 = "Force the registration of a Para Id on the relay chain."] # [doc = ""] # [doc = "This function must be called by a Root origin."] # [doc = ""] # [doc = "The deposit taken can be specified for this registration. Any `ParaId`"] # [doc = "can be registered, including sub-1000 IDs which are System Parachains."] 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 = "Deregister a Para Id, freeing all data and returning any deposit."] # [doc = ""] # [doc = "The caller must be Root, the `para` owner, or the `para` itself. The para must be an"] # [doc = "on-demand parachain."] deregister { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] # [doc = "Swap a lease holding parachain with another parachain, either on-demand or lease"] # [doc = "holding."] # [doc = ""] # [doc = "The origin must be Root, the `para` owner, or the `para` itself."] # [doc = ""] # [doc = "The swap will happen only if there is already an opposite swap pending. If there is not,"] # [doc = "the swap will be stored in the pending swaps map, ready for a later confirmatory swap."] # [doc = ""] # [doc = "The `ParaId`s remain mapped to the same head data and code so external code can rely on"] # [doc = "`ParaId` to be a long-term identifier of a notional \"parachain\". However, their"] # [doc = "scheduling info (i.e. whether they're an on-demand parachain or lease holding"] # [doc = "parachain), auction information and the auction deposit are switched."] swap { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , other : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 4)] # [doc = "Remove a manager lock from a para. This will allow the manager of a"] # [doc = "previously locked para to deregister or swap a para without using governance."] # [doc = ""] # [doc = "Can only be called by the Root origin or the parachain."] remove_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] # [doc = "Reserve a Para Id on the relay chain."] # [doc = ""] # [doc = "This function will reserve a new Para Id to be owned/managed by the origin account."] # [doc = "The origin account is able to register head data and validation code using `register` to"] # [doc = "create an on-demand parachain. Using the Slots pallet, an on-demand parachain can then"] # [doc = "be upgraded to a lease holding parachain."] # [doc = ""] # [doc = "## Arguments"] # [doc = "- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new"] # [doc = " para ID."] # [doc = ""] # [doc = "## Deposits/Fees"] # [doc = "The origin must reserve a deposit of `ParaDeposit` for the registration."] # [doc = ""] # [doc = "## Events"] # [doc = "The `Reserved` event is emitted in case of success, which provides the ID reserved for"] # [doc = "use."] reserve , # [codec (index = 6)] # [doc = "Add a manager lock from a para. This will prevent the manager of a"] # [doc = "para to deregister or swap a para."] # [doc = ""] # [doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] # [doc = "unlocked."] add_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 7)] # [doc = "Schedule a parachain upgrade."] # [doc = ""] # [doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] # [doc = "unlocked."] schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 8)] # [doc = "Set the parachain's current head."] # [doc = ""] # [doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is"] # [doc = "unlocked."] 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)] @@ -58488,29 +54091,33 @@ pub mod api { #[doc = "The ID given for registration has not been reserved."] NotReserved, #[codec(index = 12)] - #[doc = "The validation code is invalid."] - InvalidCode, + #[doc = "Registering parachain with empty code is not allowed."] + EmptyCode, #[codec(index = 13)] #[doc = "Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras"] #[doc = "are correct for the swap to work."] 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 { @@ -58519,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 { @@ -58529,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, @@ -58549,57 +54160,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 = "Schedule a para to be initialized at the start of the next session."] - #[doc = ""] - #[doc = "This should only be used for TESTING and not on PRODUCTION chains. It automatically"] - #[doc = "assigns Coretime to the chain and increases the number of cores. Thus, there is no"] - #[doc = "running coretime chain required."] + #[doc = "See [`Pallet::sudo_schedule_para_initialize`]."] sudo_schedule_para_initialize { id: runtime_types::polkadot_parachain_primitives::primitives::Id, genesis: runtime_types::polkadot_runtime_parachains::paras::ParaGenesisArgs, }, #[codec(index = 1)] - #[doc = "Schedule a para to be cleaned up at the start of the next session."] + #[doc = "See [`Pallet::sudo_schedule_para_cleanup`]."] sudo_schedule_para_cleanup { id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 2)] - #[doc = "Upgrade a parathread (on-demand parachain) to a lease holding parachain"] + #[doc = "See [`Pallet::sudo_schedule_parathread_upgrade`]."] sudo_schedule_parathread_upgrade { id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 3)] - #[doc = "Downgrade a lease holding parachain to an on-demand parachain"] + #[doc = "See [`Pallet::sudo_schedule_parachain_downgrade`]."] sudo_schedule_parachain_downgrade { id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] - #[doc = "Send a downward XCM to the given para."] - #[doc = ""] - #[doc = "The given parachain should exist and the payload should not exceed the preconfigured"] - #[doc = "size `config.max_downward_message_size`."] + #[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 = "Forcefully establish a channel from the sender to the recipient."] - #[doc = ""] - #[doc = "This is equivalent to sending an `Hrmp::hrmp_init_open_channel` extrinsic followed by"] - #[doc = "`Hrmp::hrmp_accept_open_channel`."] + #[doc = "See [`Pallet::sudo_establish_hrmp_channel`]."] sudo_establish_hrmp_channel { sender: runtime_types::polkadot_parachain_primitives::primitives::Id, recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, @@ -58608,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)] @@ -58644,9 +54255,6 @@ pub mod api { #[codec(index = 7)] #[doc = "Cannot downgrade lease holding parachain to on-demand."] CannotDowngrade, - #[codec(index = 8)] - #[doc = "There are more cores than supported by the runtime."] - TooManyCores, } } } @@ -58655,58 +54263,55 @@ 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 = "Just a connect into the `lease_out` call, in case Root wants to force some lease to"] - #[doc = "happen independently of any other on-chain mechanism to use it."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] + #[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, }, #[codec(index = 1)] - #[doc = "Clear all leases for a Para Id, refunding any deposits back to the original owners."] - #[doc = ""] - #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] + #[doc = "See [`Pallet::clear_all_leases`]."] clear_all_leases { para: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 2)] - #[doc = "Try to onboard a parachain that has a lease for the current lease period."] - #[doc = ""] - #[doc = "This function can be useful if there was some state issue with a para that should"] - #[doc = "have onboarded, but was unable to. As long as they have a lease period, we can"] - #[doc = "let them onboard from here."] - #[doc = ""] - #[doc = "Origin must be signed, but can be called by anyone."] + #[doc = "See [`Pallet::trigger_onboard`]."] trigger_onboard { para: 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)] @@ -58717,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)] @@ -58739,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, @@ -58751,194 +54360,53 @@ pub mod api { } pub mod polkadot_runtime_parachains { use super::runtime_types; - pub mod assigner_coretime { - 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 = "The `Error` enum of this pallet."] - pub enum Error { - #[codec(index = 0)] - AssignmentsEmpty, - #[codec(index = 1)] - #[doc = "Assignments together exceeded 57600."] - OverScheduled, - #[codec(index = 2)] - #[doc = "Assignments together less than 57600"] - UnderScheduled, - #[codec(index = 3)] - #[doc = "assign_core is only allowed to append new assignments at the end of already existing"] - #[doc = "ones."] - DisallowedInsert, - #[codec(index = 4)] - #[doc = "Tried to insert a schedule for the same core and block number as an existing schedule"] - DuplicateInsert, - #[codec(index = 5)] - #[doc = "Tried to add an unsorted set of assignments"] - AssignmentsNotSorted, - } - } - #[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 AssignmentState { - pub ratio: - runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, - pub remaining: - runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, - } - #[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 CoreDescriptor < _0 > { pub queue : :: core :: option :: Option < runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: QueueDescriptor < _0 > > , pub current_work : :: core :: option :: Option < runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: WorkState < _0 > > , } - #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: 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 PartsOf57600(pub ::core::primitive::u16); - #[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 QueueDescriptor<_0> { - pub first: _0, - pub last: _0, - } - #[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 Schedule<_0> { - pub assignments: ::std::vec::Vec<( - runtime_types::pallet_broker::coretime_interface::CoreAssignment, - runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, - )>, - pub end_hint: ::core::option::Option<_0>, - pub next_schedule: ::core::option::Option<_0>, - } - #[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 WorkState < _0 > { pub assignments : :: std :: vec :: Vec < (runtime_types :: pallet_broker :: coretime_interface :: CoreAssignment , runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: AssignmentState ,) > , pub end_hint : :: core :: option :: Option < _0 > , pub pos : :: core :: primitive :: u16 , pub step : runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: PartsOf57600 , } - } pub mod assigner_on_demand { 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)] - #[doc = "Create a single on demand core order."] - #[doc = "Will use the spot price for the current block and will reap the account if needed."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: The sender of the call, funds will be withdrawn from this account."] - #[doc = "- `max_amount`: The maximum balance to withdraw from the origin to place an order."] - #[doc = "- `para_id`: A `ParaId` the origin wants to provide blockspace for."] - #[doc = ""] - #[doc = "Errors:"] - #[doc = "- `InsufficientBalance`: from the Currency implementation"] - #[doc = "- `InvalidParaId`"] - #[doc = "- `QueueFull`"] - #[doc = "- `SpotPriceHigherThanMaxAmount`"] - #[doc = ""] - #[doc = "Events:"] - #[doc = "- `SpotOrderPlaced`"] + #[doc = "See [`Pallet::place_order_allow_death`]."] place_order_allow_death { max_amount: ::core::primitive::u128, para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 1)] - #[doc = "Same as the [`place_order_allow_death`](Self::place_order_allow_death) call , but with a"] - #[doc = "check that placing the order will not reap the account."] - #[doc = ""] - #[doc = "Parameters:"] - #[doc = "- `origin`: The sender of the call, funds will be withdrawn from this account."] - #[doc = "- `max_amount`: The maximum balance to withdraw from the origin to place an order."] - #[doc = "- `para_id`: A `ParaId` the origin wants to provide blockspace for."] - #[doc = ""] - #[doc = "Errors:"] - #[doc = "- `InsufficientBalance`: from the Currency implementation"] - #[doc = "- `InvalidParaId`"] - #[doc = "- `QueueFull`"] - #[doc = "- `SpotPriceHigherThanMaxAmount`"] - #[doc = ""] - #[doc = "Events:"] - #[doc = "- `SpotOrderPlaced`"] + #[doc = "See [`Pallet::place_order_keep_alive`]."] place_order_keep_alive { max_amount: ::core::primitive::u128, para_id: 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)] @@ -58952,17 +54420,25 @@ pub mod api { #[doc = "The current spot price is higher than the max amount specified in the `place_order`"] #[doc = "call, making it invalid."] SpotPriceHigherThanMaxAmount, + #[codec(index = 3)] + #[doc = "There are no on demand cores available. `place_order` will not add anything to the"] + #[doc = "queue."] + 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)] @@ -58979,60 +54455,59 @@ 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, } - #[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 EnqueuedOrder { - pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, - } } pub mod configuration { 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)] # [doc = "Set the validation upgrade cooldown."] set_validation_upgrade_cooldown { new : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Set the validation upgrade delay."] set_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 2)] # [doc = "Set the acceptance period for an included candidate."] set_code_retention_period { new : :: core :: primitive :: u32 , } , # [codec (index = 3)] # [doc = "Set the max validation code size for incoming upgrades."] set_max_code_size { new : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "Set the max POV block size for incoming upgrades."] set_max_pov_size { new : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Set the max head data size for paras."] set_max_head_data_size { new : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "Set the number of coretime execution cores."] # [doc = ""] # [doc = "Note that this configuration is managed by the coretime chain. Only manually change"] # [doc = "this, if you really know what you are doing!"] set_coretime_cores { new : :: core :: primitive :: u32 , } , # [codec (index = 7)] # [doc = "Set the max number of times a claim may timeout on a core before it is abandoned"] set_max_availability_timeouts { new : :: core :: primitive :: u32 , } , # [codec (index = 8)] # [doc = "Set the parachain validator-group rotation frequency"] set_group_rotation_frequency { new : :: core :: primitive :: u32 , } , # [codec (index = 9)] # [doc = "Set the availability period for paras."] set_paras_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 11)] # [doc = "Set the scheduling lookahead, in expected number of blocks at peak throughput."] set_scheduling_lookahead { new : :: core :: primitive :: u32 , } , # [codec (index = 12)] # [doc = "Set the maximum number of validators to assign to any core."] set_max_validators_per_core { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 13)] # [doc = "Set the maximum number of validators to use in parachain consensus."] set_max_validators { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 14)] # [doc = "Set the dispute period, in number of sessions to keep for disputes."] set_dispute_period { new : :: core :: primitive :: u32 , } , # [codec (index = 15)] # [doc = "Set the dispute post conclusion acceptance period."] set_dispute_post_conclusion_acceptance_period { new : :: core :: primitive :: u32 , } , # [codec (index = 18)] # [doc = "Set the no show slots, in number of number of consensus slots."] # [doc = "Must be at least 1."] set_no_show_slots { new : :: core :: primitive :: u32 , } , # [codec (index = 19)] # [doc = "Set the total number of delay tranches."] set_n_delay_tranches { new : :: core :: primitive :: u32 , } , # [codec (index = 20)] # [doc = "Set the zeroth delay tranche width."] set_zeroth_delay_tranche_width { new : :: core :: primitive :: u32 , } , # [codec (index = 21)] # [doc = "Set the number of validators needed to approve a block."] set_needed_approvals { new : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion."] set_relay_vrf_modulo_samples { new : :: core :: primitive :: u32 , } , # [codec (index = 23)] # [doc = "Sets the maximum items that can present in a upward dispatch queue at once."] set_max_upward_queue_count { new : :: core :: primitive :: u32 , } , # [codec (index = 24)] # [doc = "Sets the maximum total size of items that can present in a upward dispatch queue at"] # [doc = "once."] set_max_upward_queue_size { new : :: core :: primitive :: u32 , } , # [codec (index = 25)] # [doc = "Set the critical downward message size."] set_max_downward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 27)] # [doc = "Sets the maximum size of an upward message that can be sent by a candidate."] set_max_upward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 28)] # [doc = "Sets the maximum number of messages that a candidate can contain."] set_max_upward_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 29)] # [doc = "Sets the number of sessions after which an HRMP open channel request expires."] set_hrmp_open_request_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 30)] # [doc = "Sets the amount of funds that the sender should provide for opening an HRMP channel."] set_hrmp_sender_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 31)] # [doc = "Sets the amount of funds that the recipient should provide for accepting opening an HRMP"] # [doc = "channel."] set_hrmp_recipient_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 32)] # [doc = "Sets the maximum number of messages allowed in an HRMP channel at once."] set_hrmp_channel_max_capacity { new : :: core :: primitive :: u32 , } , # [codec (index = 33)] # [doc = "Sets the maximum total size of messages in bytes allowed in an HRMP channel at once."] set_hrmp_channel_max_total_size { new : :: core :: primitive :: u32 , } , # [codec (index = 34)] # [doc = "Sets the maximum number of inbound HRMP channels a parachain is allowed to accept."] set_hrmp_max_parachain_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 36)] # [doc = "Sets the maximum size of a message that could ever be put into an HRMP channel."] set_hrmp_channel_max_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 37)] # [doc = "Sets the maximum number of outbound HRMP channels a parachain is allowed to open."] set_hrmp_max_parachain_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 39)] # [doc = "Sets the maximum number of outbound HRMP messages can be sent by a candidate."] set_hrmp_max_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 42)] # [doc = "Set the number of session changes after which a PVF pre-checking voting is rejected."] set_pvf_voting_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 43)] # [doc = "Sets the minimum delay between announcing the upgrade block for a parachain until the"] # [doc = "upgrade taking place."] # [doc = ""] # [doc = "See the field documentation for information and constraints for the new value."] set_minimum_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 44)] # [doc = "Setting this to true will disable consistency checks for the configuration setters."] # [doc = "Use with caution."] set_bypass_consistency_check { new : :: core :: primitive :: bool , } , # [codec (index = 45)] # [doc = "Set the asynchronous backing parameters."] set_async_backing_params { new : runtime_types :: polkadot_primitives :: v6 :: async_backing :: AsyncBackingParams , } , # [codec (index = 46)] # [doc = "Set PVF executor parameters."] set_executor_params { new : runtime_types :: polkadot_primitives :: v6 :: executor_params :: ExecutorParams , } , # [codec (index = 47)] # [doc = "Set the on demand (parathreads) base fee."] set_on_demand_base_fee { new : :: core :: primitive :: u128 , } , # [codec (index = 48)] # [doc = "Set the on demand (parathreads) fee variability."] set_on_demand_fee_variability { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 49)] # [doc = "Set the on demand (parathreads) queue max size."] set_on_demand_queue_max_size { new : :: core :: primitive :: u32 , } , # [codec (index = 50)] # [doc = "Set the on demand (parathreads) fee variability."] set_on_demand_target_queue_utilization { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 51)] # [doc = "Set the on demand (parathreads) ttl in the claimqueue."] set_on_demand_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 52)] # [doc = "Set the minimum backing votes threshold."] set_minimum_backing_votes { new : :: core :: primitive :: u32 , } , # [codec (index = 53)] # [doc = "Set/Unset a node feature."] set_node_feature { index : :: core :: primitive :: u8 , value : :: core :: primitive :: bool , } , # [codec (index = 54)] # [doc = "Set approval-voting-params."] set_approval_voting_params { new : runtime_types :: polkadot_primitives :: vstaging :: ApprovalVotingParams , } , # [codec (index = 55)] # [doc = "Set scheduler-params."] set_scheduler_params { new : runtime_types :: polkadot_primitives :: vstaging :: SchedulerParams < :: core :: primitive :: u32 > , } , } + # [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)] @@ -59041,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, @@ -59074,6 +54553,19 @@ pub mod api { pub executor_params: runtime_types::polkadot_primitives::v6::executor_params::ExecutorParams, pub code_retention_period: _0, + pub on_demand_cores: ::core::primitive::u32, + pub on_demand_retries: ::core::primitive::u32, + pub on_demand_queue_max_size: ::core::primitive::u32, + pub on_demand_target_queue_utilization: + runtime_types::sp_arithmetic::per_things::Perbill, + pub on_demand_fee_variability: + runtime_types::sp_arithmetic::per_things::Perbill, + pub on_demand_base_fee: ::core::primitive::u128, + pub on_demand_ttl: _0, + pub group_rotation_frequency: _0, + pub paras_availability_period: _0, + pub scheduling_lookahead: ::core::primitive::u32, + pub max_validators_per_core: ::core::option::Option<_0>, pub max_validators: ::core::option::Option<_0>, pub dispute_period: ::core::primitive::u32, pub dispute_post_conclusion_acceptance_period: _0, @@ -59085,70 +54577,6 @@ pub mod api { pub pvf_voting_ttl: ::core::primitive::u32, pub minimum_validation_upgrade_delay: _0, pub minimum_backing_votes: ::core::primitive::u32, - pub node_features: ::subxt::utils::bits::DecodedBits< - ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, - >, - pub approval_voting_params: - runtime_types::polkadot_primitives::vstaging::ApprovalVotingParams, - pub scheduler_params: - runtime_types::polkadot_primitives::vstaging::SchedulerParams<_0>, - } - } - pub mod coretime { - 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 = 1)] request_core_count { count : :: core :: primitive :: u16 , } , # [codec (index = 4)] # [doc = "Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is"] # [doc = "to be used."] # [doc = ""] # [doc = "Parameters:"] # [doc = "-`origin`: The `ExternalBrokerOrigin`, assumed to be the Broker system parachain."] # [doc = "-`core`: The core that should be scheduled."] # [doc = "-`begin`: The starting blockheight of the instruction."] # [doc = "-`assignment`: How the blockspace should be utilised."] # [doc = "-`end_hint`: An optional hint as to when this particular set of instructions will end."] assign_core { core : :: core :: primitive :: u16 , begin : :: core :: primitive :: u32 , assignment : :: std :: vec :: Vec < (runtime_types :: pallet_broker :: coretime_interface :: CoreAssignment , runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: PartsOf57600 ,) > , end_hint : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } - #[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 `Error` enum of this pallet."] - pub enum Error { - #[codec(index = 0)] - #[doc = "The paraid making the call is not the coretime brokerage system parachain."] - NotBroker, - } - #[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 = "The broker chain has asked for revenue information for a specific block."] - RevenueInfoRequested { when: ::core::primitive::u32 }, - #[codec(index = 1)] - #[doc = "A core has received a new assignment from the broker chain."] - CoreAssigned { - core: runtime_types::polkadot_primitives::v6::CoreIndex, - }, - } } } pub mod disputes { @@ -59156,30 +54584,39 @@ 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_unfreeze`]."] 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)] @@ -59211,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)] @@ -59248,35 +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)] @@ -59302,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, @@ -59318,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, @@ -59339,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 = "Initiate opening a channel from a parachain to a given recipient with given channel"] # [doc = "parameters."] # [doc = ""] # [doc = "- `proposed_max_capacity` - specifies how many messages can be in the channel at once."] # [doc = "- `proposed_max_message_size` - specifies the maximum size of the messages."] # [doc = ""] # [doc = "These numbers are a subject to the relay-chain configuration limits."] # [doc = ""] # [doc = "The channel can be opened only after the recipient confirms it and only on a session"] # [doc = "change."] 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 = "Accept a pending open channel request from the given sender."] # [doc = ""] # [doc = "The channel will be opened only on the next session boundary."] hrmp_accept_open_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 2)] # [doc = "Initiate unilateral closing of a channel. The origin must be either the sender or the"] # [doc = "recipient in the channel being closed."] # [doc = ""] # [doc = "The closure can only happen on a session change."] hrmp_close_channel { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 3)] # [doc = "This extrinsic triggers the cleanup of all the HRMP storage items that a para may have."] # [doc = "Normally this happens once per session, but this allows you to trigger the cleanup"] # [doc = "immediately for a specific parachain."] # [doc = ""] # [doc = "Number of inbound and outbound channels for `para` must be provided as witness data."] # [doc = ""] # [doc = "Origin must be the `ChannelManager`."] 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 = "Force process HRMP open channel requests."] # [doc = ""] # [doc = "If there are pending HRMP open channel requests, you can use this function to process"] # [doc = "all of those requests immediately."] # [doc = ""] # [doc = "Total number of opening channels must be provided as witness data."] # [doc = ""] # [doc = "Origin must be the `ChannelManager`."] force_process_hrmp_open { channels : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Force process HRMP close channel requests."] # [doc = ""] # [doc = "If there are pending HRMP close channel requests, you can use this function to process"] # [doc = "all of those requests immediately."] # [doc = ""] # [doc = "Total number of closing channels must be provided as witness data."] # [doc = ""] # [doc = "Origin must be the `ChannelManager`."] force_process_hrmp_close { channels : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "This cancels a pending open channel request. It can be canceled by either of the sender"] # [doc = "or the recipient for that request. The origin must be either of those."] # [doc = ""] # [doc = "The cancellation happens immediately. It is not possible to cancel the request if it is"] # [doc = "already accepted."] # [doc = ""] # [doc = "Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as"] # [doc = "witness data."] hrmp_cancel_open_request { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , open_requests : :: core :: primitive :: u32 , } , # [codec (index = 7)] # [doc = "Open a channel from a `sender` to a `recipient` `ParaId`. Although opened by governance,"] # [doc = "the `max_capacity` and `max_message_size` are still subject to the Relay Chain's"] # [doc = "configured limits."] # [doc = ""] # [doc = "Expected use is when one (and only one) of the `ParaId`s involved in the channel is"] # [doc = "governed by the system, e.g. a system parachain."] # [doc = ""] # [doc = "Origin must be the `ChannelManager`."] 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 = "Establish an HRMP channel between two system chains. If the channel does not already"] # [doc = "exist, the transaction fees will be refunded to the caller. The system does not take"] # [doc = "deposits for channels between system chains, and automatically sets the message number"] # [doc = "and size limits to the maximum allowed by the network's configuration."] # [doc = ""] # [doc = "Arguments:"] # [doc = ""] # [doc = "- `sender`: A system chain, `ParaId`."] # [doc = "- `recipient`: A system chain, `ParaId`."] # [doc = ""] # [doc = "Any signed origin can call this function, but _both_ inputs MUST be system chains. If"] # [doc = "the channel does not exist yet, there is no fee."] establish_system_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 9)] # [doc = "Update the deposits held for an HRMP channel to the latest `Configuration`. Channels"] # [doc = "with system chains do not require a deposit."] # [doc = ""] # [doc = "Arguments:"] # [doc = ""] # [doc = "- `sender`: A chain, `ParaId`."] # [doc = "- `recipient`: A chain, `ParaId`."] # [doc = ""] # [doc = "Any signed origin can call this function."] poke_channel_deposits { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , } + # [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)] @@ -59425,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, @@ -59482,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)] @@ -59599,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, @@ -59624,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, @@ -59634,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, @@ -59648,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), @@ -59721,39 +55227,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 = "Issue a signal to the consensus engine to forcibly act as though all parachain"] - #[doc = "blocks in all relay chain blocks up to and including the given number in the current"] - #[doc = "chain are valid and should be finalized."] + #[doc = "See [`Pallet::force_approve`]."] force_approve { up_to: ::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 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, @@ -59764,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), @@ -59784,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 = "Set the storage for the parachain validation code immediately."] 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 = "Set the storage for the current parachain head data immediately."] 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 = "Schedule an upgrade as if it was scheduled in the given relay parent block."] 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 = "Note a new block head for para within the context of the current block."] 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 = "Put a parachain directly into the next session's action queue."] # [doc = "We can't queue it any sooner than this without going into the"] # [doc = "initializer..."] force_queue_action { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] # [doc = "Adds the validation code to the storage."] # [doc = ""] # [doc = "The code will not be added if it is already present. Additionally, if PVF pre-checking"] # [doc = "is running for that code, it will be instantly accepted."] # [doc = ""] # [doc = "Otherwise, the code will be added into the storage. Note that the code will be added"] # [doc = "into storage with reference count 0. This is to account the fact that there are no users"] # [doc = "for this code yet. The caller will have to make sure that this code eventually gets"] # [doc = "used by some parachain or removed from the storage to avoid storage leaks. For the"] # [doc = "latter prefer to use the `poke_unused_validation_code` dispatchable to raw storage"] # [doc = "manipulation."] # [doc = ""] # [doc = "This function is mainly meant to be used for upgrading parachains that do not follow"] # [doc = "the go-ahead signal while the PVF pre-checking feature is enabled."] add_trusted_validation_code { validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 6)] # [doc = "Remove the validation code from the storage iff the reference count is 0."] # [doc = ""] # [doc = "This is better than removing the storage directly, because it will not remove the code"] # [doc = "that was suddenly got used by some parachain while this dispatchable was pending"] # [doc = "dispatching."] poke_unused_validation_code { validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } , # [codec (index = 7)] # [doc = "Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and"] # [doc = "enacts the results if that was the last vote before achieving the supermajority."] include_pvf_check_statement { stmt : runtime_types :: polkadot_primitives :: v6 :: PvfCheckStatement , signature : runtime_types :: polkadot_primitives :: v6 :: validator_app :: Signature , } , # [codec (index = 8)] # [doc = "Set the storage for the current parachain head data immediately."] force_set_most_recent_context { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , context : :: core :: primitive :: u32 , } , } + # [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)] @@ -59844,34 +55368,39 @@ pub mod api { #[codec(index = 11)] #[doc = "Parachain cannot currently schedule a code upgrade."] CannotUpgradeCode, - #[codec(index = 12)] - #[doc = "Invalid validation code size."] - InvalidCode, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -59880,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, @@ -59906,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), @@ -59967,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, @@ -60002,19 +55555,23 @@ 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 = "Enter the paras inherent. This will process bitfields and backed candidates."] + #[doc = "See [`Pallet::enter`]."] enter { data: runtime_types::polkadot_primitives::v6::InherentData< runtime_types::sp_runtime::generic::header::Header< @@ -60024,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)] @@ -60054,15 +55615,6 @@ pub mod api { #[codec(index = 5)] #[doc = "A dispute statement was invalid."] DisputeInvalid, - #[codec(index = 6)] - #[doc = "A candidate was backed by a disabled validator"] - BackedByDisabled, - #[codec(index = 7)] - #[doc = "A candidate was backed even though the paraid was not scheduled."] - BackedOnUnscheduledCore, - #[codec(index = 8)] - #[doc = "Too many candidates supplied."] - UnscheduledCandidate, } } } @@ -60071,49 +55623,55 @@ 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")] - pub enum Assignment { - #[codec(index = 0)] - Pool { - para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, - core_index: runtime_types::polkadot_primitives::v6::CoreIndex, - }, - #[codec(index = 1)] - Bulk(runtime_types::polkadot_parachain_primitives::primitives::Id), + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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, } } 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 , } } } @@ -60122,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, } } @@ -60159,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, @@ -60232,75 +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 = "Add new validators to the set."] - #[doc = ""] - #[doc = "The new validators will be active from current session + 2."] + #[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 = "Remove validators from the set."] - #[doc = ""] - #[doc = "The removed validators will be deactivated from current session + 2."] + #[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, @@ -60320,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), @@ -60351,10 +55937,14 @@ pub mod api { Indices(runtime_types::pallet_indices::pallet::Call), #[codec(index = 4)] Balances(runtime_types::pallet_balances::pallet::Call), + #[codec(index = 240)] + Beefy(runtime_types::pallet_beefy::pallet::Call), #[codec(index = 8)] Session(runtime_types::pallet_session::pallet::Call), #[codec(index = 10)] Grandpa(runtime_types::pallet_grandpa::pallet::Call), + #[codec(index = 11)] + ImOnline(runtime_types::pallet_im_online::pallet::Call), #[codec(index = 18)] Treasury(runtime_types::pallet_treasury::pallet::Call), #[codec(index = 20)] @@ -60364,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)] @@ -60396,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, @@ -60435,16 +56025,8 @@ pub mod api { Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Call), #[codec(index = 73)] Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Call), - #[codec(index = 74)] - Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Call), #[codec(index = 99)] XcmPallet(runtime_types::pallet_xcm::pallet::Call), - #[codec(index = 240)] - Beefy(runtime_types::pallet_beefy::pallet::Call), - #[codec(index = 248)] - IdentityMigrator( - runtime_types::polkadot_runtime_common::identity_migrator::pallet::Call, - ), #[codec(index = 250)] ParasSudoWrapper( runtime_types::polkadot_runtime_common::paras_sudo_wrapper::pallet::Call, @@ -60455,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), @@ -60479,10 +56059,14 @@ pub mod api { Indices(runtime_types::pallet_indices::pallet::Error), #[codec(index = 4)] Balances(runtime_types::pallet_balances::pallet::Error), + #[codec(index = 240)] + Beefy(runtime_types::pallet_beefy::pallet::Error), #[codec(index = 8)] Session(runtime_types::pallet_session::pallet::Error), #[codec(index = 10)] Grandpa(runtime_types::pallet_grandpa::pallet::Error), + #[codec(index = 11)] + ImOnline(runtime_types::pallet_im_online::pallet::Error), #[codec(index = 18)] Treasury(runtime_types::pallet_treasury::pallet::Error), #[codec(index = 20)] @@ -60492,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)] @@ -60524,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, @@ -60551,10 +56135,6 @@ pub mod api { OnDemandAssignmentProvider( runtime_types::polkadot_runtime_parachains::assigner_on_demand::pallet::Error, ), - #[codec(index = 68)] - CoretimeAssignmentProvider( - runtime_types::polkadot_runtime_parachains::assigner_coretime::pallet::Error, - ), #[codec(index = 70)] Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Error), #[codec(index = 71)] @@ -60563,12 +56143,8 @@ pub mod api { Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Error), #[codec(index = 73)] Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Error), - #[codec(index = 74)] - Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Error), #[codec(index = 99)] XcmPallet(runtime_types::pallet_xcm::pallet::Error), - #[codec(index = 240)] - Beefy(runtime_types::pallet_beefy::pallet::Error), #[codec(index = 250)] ParasSudoWrapper( runtime_types::polkadot_runtime_common::paras_sudo_wrapper::pallet::Error, @@ -60583,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), @@ -60607,12 +56183,14 @@ pub mod api { Session(runtime_types::pallet_session::pallet::Event), #[codec(index = 10)] Grandpa(runtime_types::pallet_grandpa::pallet::Event), + #[codec(index = 11)] + ImOnline(runtime_types::pallet_im_online::pallet::Event), #[codec(index = 18)] Treasury(runtime_types::pallet_treasury::pallet::Event), #[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)] @@ -60648,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)] @@ -60671,14 +56249,8 @@ pub mod api { Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Event), #[codec(index = 73)] Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Event), - #[codec(index = 74)] - Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Event), #[codec(index = 99)] XcmPallet(runtime_types::pallet_xcm::pallet::Event), - #[codec(index = 248)] - IdentityMigrator( - runtime_types::polkadot_runtime_common::identity_migrator::pallet::Event, - ), #[codec(index = 251)] AssignedSlots( runtime_types::polkadot_runtime_common::assigned_slots::pallet::Event, @@ -60687,42 +56259,39 @@ 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), #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::HoldReason), - #[codec(index = 254)] - StateTrieMigration(runtime_types::pallet_state_trie_migration::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, + pub im_online: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, pub para_validator: runtime_types::polkadot_primitives::v6::validator_app::Public, pub para_assignment: runtime_types::polkadot_primitives::v6::assignment_app::Public, pub authority_discovery: runtime_types::sp_authority_discovery::app::Public, @@ -60734,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, @@ -60820,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); } } @@ -60837,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 { @@ -60868,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), @@ -60888,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, @@ -60933,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, @@ -60951,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, )>, @@ -60972,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, )>, @@ -61007,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, @@ -61041,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, @@ -61084,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, @@ -61160,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, @@ -61203,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, @@ -61211,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, @@ -61255,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 { @@ -61272,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 { @@ -61338,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 pre_output: [::core::primitive::u8; 32usize], + 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, @@ -61478,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 { @@ -61500,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, } @@ -61565,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, @@ -62092,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, } } @@ -62114,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, @@ -62162,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, @@ -62180,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), @@ -62196,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, @@ -62214,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, @@ -62272,59 +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")] - pub enum ExtrinsicInclusionMode { - #[codec(index = 0)] - AllExtrinsics, - #[codec(index = 1)] - OnlyInherents, - } - #[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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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), @@ -62334,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), @@ -62352,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, @@ -62384,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, @@ -62403,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, } } @@ -62423,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, } @@ -62467,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, @@ -62484,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, @@ -62505,903 +58237,46 @@ 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, } } } - pub mod v4 { - use super::runtime_types; - pub mod asset { - 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 Asset { - pub id: runtime_types::staging_xcm::v4::asset::AssetId, - pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, - } - #[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 enum AssetFilter { - #[codec(index = 0)] - Definite(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 1)] - Wild(runtime_types::staging_xcm::v4::asset::WildAsset), - } - #[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 AssetId(pub runtime_types::staging_xcm::v4::location::Location); - #[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 enum AssetInstance { - #[codec(index = 0)] - Undefined, - #[codec(index = 1)] - Index(#[codec(compact)] ::core::primitive::u128), - #[codec(index = 2)] - Array4([::core::primitive::u8; 4usize]), - #[codec(index = 3)] - Array8([::core::primitive::u8; 8usize]), - #[codec(index = 4)] - Array16([::core::primitive::u8; 16usize]), - #[codec(index = 5)] - Array32([::core::primitive::u8; 32usize]), - } - #[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 Assets( - pub ::std::vec::Vec, - ); - #[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 enum Fungibility { - #[codec(index = 0)] - Fungible(#[codec(compact)] ::core::primitive::u128), - #[codec(index = 1)] - NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), - } - #[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 enum WildAsset { - #[codec(index = 0)] - All, - #[codec(index = 1)] - AllOf { - id: runtime_types::staging_xcm::v4::asset::AssetId, - fun: runtime_types::staging_xcm::v4::asset::WildFungibility, - }, - #[codec(index = 2)] - AllCounted(#[codec(compact)] ::core::primitive::u32), - #[codec(index = 3)] - AllOfCounted { - id: runtime_types::staging_xcm::v4::asset::AssetId, - fun: runtime_types::staging_xcm::v4::asset::WildFungibility, - #[codec(compact)] - count: ::core::primitive::u32, - }, - } - #[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 enum WildFungibility { - #[codec(index = 0)] - Fungible, - #[codec(index = 1)] - NonFungible, - } - } - 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, - 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 Junction { - #[codec(index = 0)] - Parachain(#[codec(compact)] ::core::primitive::u32), - #[codec(index = 1)] - AccountId32 { - network: ::core::option::Option< - runtime_types::staging_xcm::v4::junction::NetworkId, - >, - id: [::core::primitive::u8; 32usize], - }, - #[codec(index = 2)] - AccountIndex64 { - network: ::core::option::Option< - runtime_types::staging_xcm::v4::junction::NetworkId, - >, - #[codec(compact)] - index: ::core::primitive::u64, - }, - #[codec(index = 3)] - AccountKey20 { - network: ::core::option::Option< - runtime_types::staging_xcm::v4::junction::NetworkId, - >, - key: [::core::primitive::u8; 20usize], - }, - #[codec(index = 4)] - PalletInstance(::core::primitive::u8), - #[codec(index = 5)] - GeneralIndex(#[codec(compact)] ::core::primitive::u128), - #[codec(index = 6)] - GeneralKey { - length: ::core::primitive::u8, - data: [::core::primitive::u8; 32usize], - }, - #[codec(index = 7)] - OnlyChild, - #[codec(index = 8)] - Plurality { - id: runtime_types::xcm::v3::junction::BodyId, - part: runtime_types::xcm::v3::junction::BodyPart, - }, - #[codec(index = 9)] - GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), - } - #[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 enum NetworkId { - #[codec(index = 0)] - ByGenesis([::core::primitive::u8; 32usize]), - #[codec(index = 1)] - ByFork { - block_number: ::core::primitive::u64, - block_hash: [::core::primitive::u8; 32usize], - }, - #[codec(index = 2)] - Polkadot, - #[codec(index = 3)] - Kusama, - #[codec(index = 4)] - Westend, - #[codec(index = 5)] - Rococo, - #[codec(index = 6)] - Wococo, - #[codec(index = 7)] - Ethereum { - #[codec(compact)] - chain_id: ::core::primitive::u64, - }, - #[codec(index = 8)] - BitcoinCore, - #[codec(index = 9)] - BitcoinCash, - #[codec(index = 10)] - PolkadotBulletin, - } - } - 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, - 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 Junctions { - #[codec(index = 0)] - Here, - #[codec(index = 1)] - X1([runtime_types::staging_xcm::v4::junction::Junction; 1usize]), - #[codec(index = 2)] - X2([runtime_types::staging_xcm::v4::junction::Junction; 2usize]), - #[codec(index = 3)] - X3([runtime_types::staging_xcm::v4::junction::Junction; 3usize]), - #[codec(index = 4)] - X4([runtime_types::staging_xcm::v4::junction::Junction; 4usize]), - #[codec(index = 5)] - X5([runtime_types::staging_xcm::v4::junction::Junction; 5usize]), - #[codec(index = 6)] - X6([runtime_types::staging_xcm::v4::junction::Junction; 6usize]), - #[codec(index = 7)] - X7([runtime_types::staging_xcm::v4::junction::Junction; 7usize]), - #[codec(index = 8)] - X8([runtime_types::staging_xcm::v4::junction::Junction; 8usize]), - } - } - pub mod location { - 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 Location { - pub parents: ::core::primitive::u8, - pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, - } - } - 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, - 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 Outcome { - #[codec(index = 0)] - Complete { - used: runtime_types::sp_weights::weight_v2::Weight, - }, - #[codec(index = 1)] - Incomplete { - used: runtime_types::sp_weights::weight_v2::Weight, - error: runtime_types::xcm::v3::traits::Error, - }, - #[codec(index = 2)] - Error { - error: runtime_types::xcm::v3::traits::Error, - }, - } - } - #[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 enum Instruction { - #[codec(index = 0)] - WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, - max_weight: runtime_types::sp_weights::weight_v2::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[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::DoubleEncoded, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::staging_xcm::v4::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::staging_xcm::v4::asset::AssetFilter, - want: runtime_types::staging_xcm::v4::asset::Assets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - reserve: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::staging_xcm::v4::asset::Asset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::staging_xcm::v4::Xcm), - #[codec(index = 22)] - SetAppendix(runtime_types::staging_xcm::v4::Xcm), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - ticket: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: runtime_types::sp_weights::weight_v2::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 29)] - ExpectAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::staging_xcm::v4::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>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::staging_xcm::v4::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::staging_xcm::v4::junction::NetworkId, - destination: runtime_types::staging_xcm::v4::junctions::Junctions, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - unlocker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - target: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::staging_xcm::v4::asset::Asset, - owner: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::staging_xcm::v4::asset::Asset, - locker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 43)] - SetFeesMode { - jit_withdraw: ::core::primitive::bool, - }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v4::location::Location), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - } - #[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 enum Instruction2 { - #[codec(index = 0)] - WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, - max_weight: runtime_types::sp_weights::weight_v2::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[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, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::staging_xcm::v4::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::staging_xcm::v4::asset::AssetFilter, - want: runtime_types::staging_xcm::v4::asset::Assets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - reserve: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::staging_xcm::v4::asset::Asset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - ticket: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: runtime_types::sp_weights::weight_v2::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 29)] - ExpectAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::staging_xcm::v4::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>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::staging_xcm::v4::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::staging_xcm::v4::junction::NetworkId, - destination: runtime_types::staging_xcm::v4::junctions::Junctions, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - unlocker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - target: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::staging_xcm::v4::asset::Asset, - owner: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::staging_xcm::v4::asset::Asset, - locker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 43)] - SetFeesMode { - jit_withdraw: ::core::primitive::bool, - }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v4::location::Location), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - } - #[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 PalletInfo { - #[codec(compact)] - pub index: ::core::primitive::u32, - pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - #[codec(compact)] - pub major: ::core::primitive::u32, - #[codec(compact)] - pub minor: ::core::primitive::u32, - #[codec(compact)] - pub patch: ::core::primitive::u32, - } - #[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 QueryResponseInfo { - pub destination: runtime_types::staging_xcm::v4::location::Location, - #[codec(compact)] - pub query_id: ::core::primitive::u64, - 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, - 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 Response { - #[codec(index = 0)] - Null, - #[codec(index = 1)] - Assets(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 2)] - ExecutionResult( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 3)] - Version(::core::primitive::u32), - #[codec(index = 4)] - PalletsInfo( - runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::staging_xcm::v4::PalletInfo, - >, - ), - #[codec(index = 5)] - 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, - 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); - #[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 Xcm2(pub ::std::vec::Vec); - } } pub mod xcm { use super::runtime_types; 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 { @@ -63409,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), @@ -63443,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, >, ), @@ -63459,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, @@ -63498,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), @@ -63517,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), @@ -63547,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, @@ -63576,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, @@ -63598,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, @@ -63670,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, @@ -63687,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, @@ -63752,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, >, ), @@ -63788,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, @@ -63828,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)] @@ -63861,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 { @@ -63918,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 { @@ -63929,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 { @@ -63954,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)] @@ -63977,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), @@ -64010,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 { @@ -64067,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 { @@ -64078,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 { @@ -64126,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, >, ), @@ -64150,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, @@ -64170,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, @@ -64195,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, @@ -64211,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, @@ -64270,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, @@ -64310,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), @@ -64361,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]), @@ -64397,22 +59386,24 @@ pub mod api { BitcoinCore, #[codec(index = 9)] BitcoinCash, - #[codec(index = 10)] - PolkadotBulletin, } } 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, @@ -64479,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), @@ -64495,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, @@ -64519,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), @@ -64535,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), @@ -64565,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, @@ -64594,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, @@ -64625,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, @@ -64716,18 +59745,47 @@ pub mod api { #[codec(index = 39)] ExceedsStackLimit, } + #[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 Outcome { + #[codec(index = 0)] + Complete(runtime_types::sp_weights::weight_v2::Weight), + #[codec(index = 1)] + Incomplete( + runtime_types::sp_weights::weight_v2::Weight, + runtime_types::xcm::v3::traits::Error, + ), + #[codec(index = 2)] + Error(runtime_types::xcm::v3::traits::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")] - 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)] @@ -64753,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 { @@ -64799,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 { @@ -64811,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 { @@ -64832,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)] @@ -64873,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)] @@ -64897,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 { @@ -64938,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), @@ -64973,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 { @@ -65019,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 { @@ -65031,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 { @@ -65093,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)] @@ -65117,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 { @@ -65158,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)] @@ -65210,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)] @@ -65226,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, @@ -65251,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, >, ), @@ -65259,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, @@ -65275,133 +60361,137 @@ 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), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::asset::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")] - pub enum VersionedAssets { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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), #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::asset::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")] - pub enum VersionedLocation { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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), #[codec(index = 3)] V3(runtime_types::staging_xcm::v3::multilocation::MultiLocation), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::location::Location), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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), #[codec(index = 3)] V3(runtime_types::xcm::v3::Response), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::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), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::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), #[codec(index = 3)] V3(runtime_types::xcm::v3::Xcm2), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::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/no-std-tests/Cargo.lock b/testing/no-std-tests/Cargo.lock index 5414290a17..108c640517 100644 --- a/testing/no-std-tests/Cargo.lock +++ b/testing/no-std-tests/Cargo.lock @@ -3,10 +3,25 @@ version = 3 [[package]] -name = "ahash" -version = "0.8.7" +name = "addr2line" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" +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", @@ -20,6 +35,12 @@ 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" @@ -32,6 +53,76 @@ 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" @@ -47,6 +138,33 @@ 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" @@ -58,6 +176,15 @@ dependencies = [ "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" @@ -79,12 +206,33 @@ 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" @@ -97,6 +245,22 @@ 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" @@ -106,6 +270,18 @@ 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" @@ -125,7 +301,7 @@ dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", - "digest", + "digest 0.10.7", "fiat-crypto", "platforms", "rustc_version", @@ -141,7 +317,88 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "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]] @@ -157,17 +414,32 @@ dependencies = [ "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", + "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" @@ -175,10 +447,66 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] -name = "fiat-crypto" -version = "0.2.6" +name = "event-listener" +version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" +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" @@ -191,6 +519,83 @@ dependencies = [ "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" @@ -201,6 +606,17 @@ dependencies = [ "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" @@ -210,6 +626,31 @@ 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" @@ -220,6 +661,18 @@ dependencies = [ "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" @@ -232,7 +685,115 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "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]] @@ -248,14 +809,110 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +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" @@ -267,15 +924,21 @@ dependencies = [ [[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 = "libc_alloc" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a835c038b748123287f9fb1743d565e7c635879997f43c345a18a026690364e" +checksum = "7581282928bc99698341d1de7590964c28db747c164eaac9409432a3eaed098a" + +[[package]] +name = "log" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "memchr" @@ -295,12 +958,63 @@ dependencies = [ "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" @@ -308,9 +1022,11 @@ 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]] @@ -319,27 +1035,90 @@ version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 2.0.1", + "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", + "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" @@ -352,19 +1131,43 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.1" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" +checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" dependencies = [ "toml_datetime", "toml_edit 0.20.2", ] [[package]] -name = "proc-macro2" -version = "1.0.78" +name = "proc-macro-error" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +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", ] @@ -378,11 +1181,41 @@ 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" @@ -409,6 +1242,33 @@ 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" @@ -418,23 +1278,195 @@ 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.10.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "634d9b8eb8fd61c5cdd3390d9b2132300a7e7618955b98b8416f118c1b4e144f" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -442,6 +1474,56 @@ dependencies = [ "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" @@ -459,6 +1541,16 @@ dependencies = [ "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" @@ -469,10 +1561,77 @@ dependencies = [ ] [[package]] -name = "semver" -version = "1.0.21" +name = "security-framework" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" +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" @@ -482,7 +1641,7 @@ checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", - "digest", + "digest 0.10.7", ] [[package]] @@ -491,10 +1650,50 @@ version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest", + "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" @@ -503,40 +1702,112 @@ checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ "blake2b_simd", "byteorder", - "digest", + "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", + "frame-metadata 16.0.0", "hashbrown", "parity-scale-codec", "scale-info", @@ -559,6 +1830,7 @@ dependencies = [ "secrecy", "sha2", "sp-crypto-hashing", + "subxt-core", "zeroize", ] @@ -575,15 +1847,131 @@ 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", "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" @@ -612,6 +2000,71 @@ dependencies = [ "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" @@ -619,7 +2072,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "digest", + "digest 0.10.7", "static_assertions", ] @@ -629,12 +2082,56 @@ 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" @@ -642,14 +2139,170 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] -name = "winnow" -version = "0.5.34" +name = "want" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7cf47b659b318dccbd69cc4797a39ae128f533dce7902a1096044d1967b9c16" +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" @@ -667,7 +2320,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -687,5 +2340,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] diff --git a/testing/no-std-tests/Cargo.toml b/testing/no-std-tests/Cargo.toml index 8e53afbb0a..a4c2e7f130 100644 --- a/testing/no-std-tests/Cargo.toml +++ b/testing/no-std-tests/Cargo.toml @@ -7,7 +7,9 @@ resolver = "2" [dependencies] subxt-metadata = { path = "../../metadata", default-features = false } -subxt-signer = { path = "../../signer", default-features = false, features = ["sr25519"] } +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" } diff --git a/testing/no-std-tests/src/main.rs b/testing/no-std-tests/src/main.rs index 479ff581b3..292b1b9576 100644 --- a/testing/no-std-tests/src/main.rs +++ b/testing/no-std-tests/src/main.rs @@ -57,4 +57,14 @@ fn compile_test() { // 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/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(