From 0ea64c8ddd80f477a09e253a83a547a8e5bc35c4 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Mon, 10 Feb 2025 20:17:45 +0200 Subject: [PATCH] Squashed commit of the following: commit 88a1c5198193e28b0a7adaef574e825b2c4cbc59 Author: 1xstj <106580853+1xstj@users.noreply.github.com> Date: Mon Feb 10 20:02:38 2025 +0530 [fix] Switch from Percent to Perbill (#914) * wip : fix e2e test * switch to Perbill for more precision * cleanup tests commit 01fc07f4daf894b7773b8f71be4293bce0668a93 Author: Alex <69764315+Serial-ATA@users.noreply.github.com> Date: Wed Feb 5 15:48:26 2025 -0500 chore: v1.2.8 (#911) commit 6626da4d4eb45c753cbe8b37f3d7af316903aadf Author: Alex <69764315+Serial-ATA@users.noreply.github.com> Date: Wed Feb 5 13:30:24 2025 -0500 chore: bump subxt to 0.39.0 (#910) * chore: bump subxt to 0.39.0 * chore: bump tangle-subxt to 0.11.0 --- Cargo.lock | 9223 +++-- Cargo.toml | 8 +- node/tests/evm_restaking.rs | 27 +- .../src/functions/delegate.rs | 1 - pallets/rewards/fuzzer/call.rs | 8 +- pallets/rewards/src/benchmarking.rs | 4 +- pallets/rewards/src/functions/rewards.rs | 20 +- pallets/rewards/src/lib.rs | 22 +- pallets/rewards/src/tests.rs | 2 +- pallets/rewards/src/tests/apy_calc.rs | 26 +- pallets/rewards/src/tests/claim.rs | 22 +- pallets/rewards/src/tests/reward_calc.rs | 26 +- pallets/rewards/src/tests/vault.rs | 2 +- pallets/rewards/src/types.rs | 6 +- runtime/mainnet/src/lib.rs | 2 +- runtime/testnet/src/lib.rs | 4 +- tangle-subxt/Cargo.toml | 2 +- tangle-subxt/README.md | 2 +- .../metadata/tangle-testnet-runtime.scale | Bin 395916 -> 395963 bytes tangle-subxt/src/tangle_testnet_runtime.rs | 29944 +++++++--------- 20 files changed, 20254 insertions(+), 19097 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0f6589bd8..f6a769a34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,6 +82,17 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "ahash" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" +dependencies = [ + "getrandom", + "once_cell", + "version_check", +] + [[package]] name = "ahash" version = "0.8.11" @@ -141,7 +152,7 @@ version = "0.1.53" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da226340862e036ab26336dc99ca85311c6b662267c1440e1733890fd688802c" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "num_enum", "strum 0.26.3", ] @@ -153,7 +164,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4138dc275554afa6f18c4217262ac9388790b2fc393c2dfe03c51d357abf013" dependencies = [ "alloy-eips", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "alloy-serde", "alloy-trie", @@ -172,7 +183,7 @@ checksum = "0fa04e1882c31288ce1028fdf31b6ea94cfa9eafa2e497f903ded631c8c6a42c" dependencies = [ "alloy-consensus", "alloy-eips", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "alloy-serde", "serde", @@ -188,11 +199,11 @@ dependencies = [ "alloy-json-abi", "alloy-network", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-provider", "alloy-pubsub", "alloy-rpc-types-eth", - "alloy-sol-types", + "alloy-sol-types 0.8.18", "alloy-transport", "futures 0.3.31", "futures-util", @@ -207,9 +218,9 @@ checksum = "d0713007d14d88a6edb8e248cddab783b698dbb954a28b8eee4bab21cfb7e578" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", - "alloy-sol-types", + "alloy-sol-types 0.8.18", ] [[package]] @@ -219,9 +230,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44e3b98c37b3218924cd1d2a8570666b89662be54e5b182643855f783ea68b33" dependencies = [ "alloy-json-abi", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-sol-type-parser", - "alloy-sol-types", + "alloy-sol-types 0.8.18", "const-hex", "itoa", "serde", @@ -235,7 +246,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0069cf0642457f87a01a014f6dc29d5d893cd4fd8fddf0c3cdfad1bb3ebafc41" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "serde", ] @@ -246,7 +257,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cabf647eb4650c91a9d38cb6f972bb320009e7e9d61765fb688a86f1563b33e8" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "derive_more 1.0.0", "k256", @@ -261,7 +272,7 @@ checksum = "52dd5869ed09e399003e0e0ec6903d981b2a92e74c5d37e6b40890bad2517526" dependencies = [ "alloy-eip2930", "alloy-eip7702", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "alloy-serde", "c-kzg", @@ -278,7 +289,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7d2a7fe5c1a9bd6793829ea21a636f30fc2b3f5d2e7418ba86d96e41dd1f460" dependencies = [ "alloy-eips", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-serde", "alloy-trie", "serde", @@ -290,7 +301,7 @@ version = "0.8.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "731ea743b3d843bc657e120fb1d1e9cc94f5dab8107e35a82125a63e6420a102" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-sol-type-parser", "serde", "serde_json", @@ -302,8 +313,8 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2008bedb8159a255b46b7c8614516eda06679ea82f620913679afbd8031fea72" dependencies = [ - "alloy-primitives", - "alloy-sol-types", + "alloy-primitives 0.8.18", + "alloy-sol-types 0.8.18", "serde", "serde_json", "thiserror 2.0.8", @@ -321,12 +332,12 @@ dependencies = [ "alloy-eips", "alloy-json-rpc", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rpc-types-any", "alloy-rpc-types-eth", "alloy-serde", "alloy-signer", - "alloy-sol-types", + "alloy-sol-types 0.8.18", "async-trait", "auto_impl", "futures-utils-wasm", @@ -343,11 +354,31 @@ checksum = "f31c3c6b71340a1d076831823f09cb6e02de01de5c6630a9631bdb36f947ff80" dependencies = [ "alloy-consensus", "alloy-eips", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-serde", "serde", ] +[[package]] +name = "alloy-primitives" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0628ec0ba5b98b3370bb6be17b12f23bfce8ee4ad83823325a20546d9b03b78" +dependencies = [ + "alloy-rlp", + "bytes", + "cfg-if", + "const-hex", + "derive_more 0.99.18", + "hex-literal 0.4.1", + "itoa", + "proptest", + "rand", + "ruint", + "serde", + "tiny-keccak", +] + [[package]] name = "alloy-primitives" version = "0.8.18" @@ -387,7 +418,7 @@ dependencies = [ "alloy-json-rpc", "alloy-network", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-pubsub", "alloy-rpc-client", "alloy-rpc-types-debug", @@ -403,7 +434,7 @@ dependencies = [ "dashmap 6.1.0", "futures 0.3.31", "futures-utils-wasm", - "lru", + "lru 0.12.5", "parking_lot 0.12.3", "pin-project", "reqwest 0.12.12", @@ -424,7 +455,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2269fd635f7b505f27c63a3cb293148cd02301efce4c8bdd9ff54fbfc4a20e23" dependencies = [ "alloy-json-rpc", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-transport", "bimap", "futures 0.3.31", @@ -465,7 +496,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d06a292b37e182e514903ede6e623b9de96420e8109ce300da288a96d88b7e4b" dependencies = [ "alloy-json-rpc", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-pubsub", "alloy-transport", "alloy-transport-http", @@ -490,7 +521,7 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9383845dd924939e7ab0298bbfe231505e20928907d7905aa3bf112287305e06" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rpc-types-engine", "alloy-rpc-types-eth", "alloy-rpc-types-trace", @@ -515,7 +546,7 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "358d6a8d7340b9eb1a7589a6c1fb00df2c9b26e90737fa5ed0108724dd8dac2c" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "serde", ] @@ -527,7 +558,7 @@ checksum = "4a5f821f30344862a0b6eb9a1c2eb91dfb2ff44c7489f37152a526cdcab79264" dependencies = [ "alloy-consensus", "alloy-eips", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "alloy-serde", "derive_more 1.0.0", @@ -545,10 +576,10 @@ dependencies = [ "alloy-consensus-any", "alloy-eips", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "alloy-serde", - "alloy-sol-types", + "alloy-sol-types 0.8.18", "itertools 0.13.0", "serde", "serde_json", @@ -561,7 +592,7 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd38207e056cc7d1372367fbb4560ddf9107cbd20731743f641246bf0dede149" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rpc-types-eth", "alloy-serde", "serde", @@ -575,7 +606,7 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae0465c71d4dced7525f408d84873aeebb71faf807d22d74c4a426430ccd9b55" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "serde", "serde_json", ] @@ -586,7 +617,7 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bfa395ad5cc952c82358d31e4c68b27bf4a89a5456d9b27e226e77dac50e4ff" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "async-trait", "auto_impl", "elliptic-curve", @@ -602,7 +633,7 @@ checksum = "fbdc63ce9eda1283fcbaca66ba4a414b841c0e3edbeef9c86a71242fc9e84ccc" dependencies = [ "alloy-consensus", "alloy-network", - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-signer", "async-trait", "k256", @@ -610,6 +641,23 @@ dependencies = [ "thiserror 2.0.8", ] +[[package]] +name = "alloy-sol-macro" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a98ad1696a2e17f010ae8e43e9f2a1e930ed176a8e3ff77acfeff6dfb07b42c" +dependencies = [ + "const-hex", + "dunce", + "heck 0.4.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.90", + "syn-solidity 0.4.2", + "tiny-keccak", +] + [[package]] name = "alloy-sol-macro" version = "0.8.18" @@ -639,7 +687,7 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.90", - "syn-solidity", + "syn-solidity 0.8.18", "tiny-keccak", ] @@ -657,7 +705,7 @@ dependencies = [ "quote", "serde_json", "syn 2.0.90", - "syn-solidity", + "syn-solidity 0.8.18", ] [[package]] @@ -670,6 +718,18 @@ dependencies = [ "winnow", ] +[[package]] +name = "alloy-sol-types" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98d7107bed88e8f09f0ddcc3335622d87bfb6821f3e0c7473329fb1cfad5e015" +dependencies = [ + "alloy-primitives 0.4.2", + "alloy-sol-macro 0.4.2", + "const-hex", + "serde", +] + [[package]] name = "alloy-sol-types" version = "0.8.18" @@ -677,8 +737,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3b478bc9c0c4737a04cd976accde4df7eba0bdc0d90ad6ff43d58bc93cf79c1" dependencies = [ "alloy-json-abi", - "alloy-primitives", - "alloy-sol-macro", + "alloy-primitives 0.8.18", + "alloy-sol-macro 0.8.18", "const-hex", "serde", ] @@ -761,7 +821,7 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6917c79e837aa7b77b7a6dae9f89cbe15313ac161c4d3cfaf8909ef21f3d22d8" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.18", "alloy-rlp", "arrayvec 0.7.6", "derive_more 1.0.0", @@ -896,6 +956,18 @@ dependencies = [ "ark-std 0.4.0", ] +[[package]] +name = "ark-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-models-ext", + "ark-std 0.4.0", +] + [[package]] name = "ark-bls12-381" version = "0.4.0" @@ -908,6 +980,20 @@ dependencies = [ "ark-std 0.4.0", ] +[[package]] +name = "ark-bls12-381-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-serialize 0.4.2", + "ark-std 0.4.0", +] + [[package]] name = "ark-bn254" version = "0.4.0" @@ -919,6 +1005,31 @@ dependencies = [ "ark-std 0.4.0", ] +[[package]] +name = "ark-bw6-761" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bw6-761-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" +dependencies = [ + "ark-bw6-761", + "ark-ec", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", +] + [[package]] name = "ark-crypto-primitives" version = "0.4.0" @@ -951,9 +1062,60 @@ dependencies = [ "hashbrown 0.13.2", "itertools 0.10.5", "num-traits", + "rayon", "zeroize", ] +[[package]] +name = "ark-ed-on-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", +] + [[package]] name = "ark-ff" version = "0.3.0" @@ -1052,6 +1214,19 @@ dependencies = [ "ark-std 0.4.0", ] +[[package]] +name = "ark-models-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" +dependencies = [ + "ark-ec", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "derivative", +] + [[package]] name = "ark-poly" version = "0.4.2" @@ -1077,6 +1252,20 @@ dependencies = [ "tracing-subscriber 0.2.25", ] +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "parity-scale-codec", + "scale-info", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -1140,6 +1329,7 @@ checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", "rand", + "rayon", ] [[package]] @@ -1265,6 +1455,60 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "asset-test-utils" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0324df9ce91a9840632e865dd3272bd20162023856f1b189b7ae58afa5c6b61" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-assets 40.0.0", + "pallet-balances 39.0.0", + "pallet-collator-selection", + "pallet-session 38.0.0", + "pallet-timestamp 37.0.0", + "pallet-xcm", + "pallet-xcm-bridge-hub-router", + "parachains-common", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-parachain-info", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", + "substrate-wasm-builder 24.0.1", +] + +[[package]] +name = "assets-common" +version = "0.18.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c540587f89a03003946b14decef4fcadb083edc4e62f968de245b82e5402e923" +dependencies = [ + "cumulus-primitives-core", + "frame-support 38.2.0", + "impl-trait-for-tuples", + "log", + "pallet-asset-conversion", + "pallet-assets 40.0.0", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", + "substrate-wasm-builder 24.0.1", +] + [[package]] name = "async-channel" version = "1.9.0" @@ -1586,6 +1830,16 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" +[[package]] +name = "binary-merkle-tree" +version = "15.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "336bf780dd7526a9a4bc1521720b25c1994dc132cccd59553431923fa4d1a693" +dependencies = [ + "hash-db", + "log", +] + [[package]] name = "bincode" version = "1.3.3" @@ -1694,6 +1948,7 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] @@ -1820,93 +2075,368 @@ dependencies = [ ] [[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - -[[package]] -name = "bs58" -version = "0.5.1" +name = "bp-header-chain" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +checksum = "890df97cea17ee61ff982466bb9e90cb6b1462adb45380999019388d05e4b92d" dependencies = [ - "sha2 0.10.8", - "tinyvec", + "bp-runtime", + "finality-grandpa", + "frame-support 38.2.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "bstr" -version = "1.11.1" +name = "bp-messages" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "786a307d683a5bf92e6fd5fd69a7eb613751668d1d8d67d802846dfe367c62c8" +checksum = "7efabf94339950b914ba87249497f1a0e35a73849934d164fecae4b275928cf6" dependencies = [ - "memchr", - "regex-automata 0.4.9", + "bp-header-chain", + "bp-runtime", + "frame-support 38.2.0", + "parity-scale-codec", + "scale-info", "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "build-helper" -version = "0.1.1" +name = "bp-parachains" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdce191bf3fa4995ce948c8c83b4640a1745457a149e73c6db75b4ffe36aad5f" +checksum = "9011e5c12c15caf3c4129a98f4f4916ea9165db8daf6ed85867c3106075f40df" dependencies = [ - "semver 0.6.0", + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", + "frame-support 38.2.0", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "bumpalo" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" - -[[package]] -name = "byte-slice-cast" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" - -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - -[[package]] -name = "bytemuck" -version = "1.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b37c88a63ffd85d15b406896cc343916d7cf57838a847b3a6f2ca5d39a5695a" - -[[package]] -name = "byteorder" -version = "1.5.0" +name = "bp-polkadot" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +checksum = "fa6277dd4333917ecfbcc35e9332a9f11682e0a506e76b617c336224660fce33" +dependencies = [ + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", + "frame-support 38.2.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] -name = "bytes" -version = "1.9.0" +name = "bp-polkadot-core" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "345cf472bac11ef79d403e4846a666b7d22a13cd16d9c85b62cd6b5e16c4a042" dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "parity-util-mem", + "scale-info", "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "bzip2" -version = "0.4.4" +name = "bp-relayers" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +checksum = "f9465ad727e466d67d64244a1aa7bb19933a297913fdde34b8e9bda0a341bdeb" dependencies = [ - "bzip2-sys", - "libc", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-runtime", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-utility 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" +name = "bp-runtime" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "746d9464f912b278f8a5e2400f10541f95da7fc6c7d688a2788b9a46296146ee" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "hash-db", + "impl-trait-for-tuples", + "log", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-db", +] + +[[package]] +name = "bp-test-utils" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e659078b54c0b6bd79896738212a305842ad37168976363233516754337826" +dependencies = [ + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "ed25519-dalek", + "finality-grandpa", + "parity-scale-codec", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-xcm-bridge-hub" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0873c54562b3d492541cbc8a7974c6854a5157d07880a2a71f8ba888a69e17e9" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support 38.2.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", +] + +[[package]] +name = "bp-xcm-bridge-hub-router" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9284820ca704f5c065563cad77d2e3d069a23cc9cb3a29db9c0de8dd3b173a87" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", +] + +[[package]] +name = "bridge-hub-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b53c53d627e2da38f8910807944bf3121e154b5c0ac9e122995af9dfb13ed" +dependencies = [ + "cumulus-primitives-core", + "frame-support 38.2.0", + "pallet-message-queue", + "parity-scale-codec", + "scale-info", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", +] + +[[package]] +name = "bridge-hub-test-utils" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de0b3aa5fd8481a06ca16e47fd3d2d9c6abe76b27d922ec8980a853f242173b3" +dependencies = [ + "asset-test-utils", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-test-utils", + "bp-xcm-bridge-hub", + "bridge-runtime-common", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "log", + "pallet-balances 39.0.0", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-timestamp 37.0.0", + "pallet-utility 38.0.0", + "pallet-xcm", + "pallet-xcm-bridge-hub", + "parachains-common", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-tracing 17.0.1", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", +] + +[[package]] +name = "bridge-runtime-common" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86cf718057e18ce3e5f2c8e3fc318c38ad71d47ada91dc4b841c0f69c214ef04" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-xcm-bridge-hub", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-transaction-payment 38.0.2", + "pallet-utility 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "tuplex", +] + +[[package]] +name = "bs58" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "sha2 0.10.8", + "tinyvec", +] + +[[package]] +name = "bstr" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "786a307d683a5bf92e6fd5fd69a7eb613751668d1d8d67d802846dfe367c62c8" +dependencies = [ + "memchr", + "regex-automata 0.4.9", + "serde", +] + +[[package]] +name = "build-helper" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdce191bf3fa4995ce948c8c83b4640a1745457a149e73c6db75b4ffe36aad5f" +dependencies = [ + "semver 0.6.0", +] + +[[package]] +name = "bumpalo" +version = "3.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" + +[[package]] +name = "byte-slice-cast" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" + +[[package]] +name = "byte-tools" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" + +[[package]] +name = "bytemuck" +version = "1.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b37c88a63ffd85d15b406896cc343916d7cf57838a847b3a6f2ca5d39a5695a" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +dependencies = [ + "serde", +] + +[[package]] +name = "bzip2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +dependencies = [ + "bzip2-sys", + "libc", +] + +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" dependencies = [ @@ -2229,8 +2759,8 @@ dependencies = [ "rpc-primitives-debug", "serde", "serde_json", - "sp-runtime", - "sp-std", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -2743,125 +3273,415 @@ dependencies = [ ] [[package]] -name = "curve25519-dalek" -version = "4.1.3" +name = "cumulus-pallet-aura-ext" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +checksum = "2cbe2735fc7cf2b6521eab00cb1a1ab025abc1575cc36887b36dc8c5cb1c9434" dependencies = [ - "cfg-if", - "cpufeatures", - "curve25519-dalek-derive", - "digest 0.10.7", - "fiat-crypto", - "rand_core", - "rustc_version 0.4.1", - "subtle 2.6.1", - "zeroize", + "cumulus-pallet-parachain-system", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-aura", + "pallet-timestamp 37.0.0", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "curve25519-dalek-derive" -version = "0.1.1" +name = "cumulus-pallet-dmp-queue" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +checksum = "97263a8e758d201ebe81db7cea7b278b4fb869c11442f77acef70138ac1a252f" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.90", + "cumulus-primitives-core", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", ] [[package]] -name = "cxx" -version = "1.0.135" +name = "cumulus-pallet-parachain-system" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d44ff199ff93242c3afe480ab588d544dd08d72e92885e152ffebc670f076ad" +checksum = "546403ee1185f4051a74cc9c9d76e82c63cac3fb68e1bf29f61efb5604c96488" dependencies = [ - "cc", - "cxxbridge-cmd", - "cxxbridge-flags", - "cxxbridge-macro", - "foldhash", - "link-cplusplus", + "bytes", + "cumulus-pallet-parachain-system-proc-macro", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", + "environmental", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "log", + "pallet-message-queue", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "trie-db", ] [[package]] -name = "cxx-build" -version = "1.0.135" +name = "cumulus-pallet-parachain-system-proc-macro" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66fd8f17ad454fc1e4f4ab83abffcc88a532e90350d3ffddcb73030220fcbd52" +checksum = "befbaf3a1ce23ac8476481484fef5f4d500cbd15b4dad6380ce1d28134b0c1f7" dependencies = [ - "cc", - "codespan-reporting", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "scratch", "syn 2.0.90", ] [[package]] -name = "cxxbridge-cmd" -version = "1.0.135" +name = "cumulus-pallet-session-benchmarking" +version = "19.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4717c9c806a9e07fdcb34c84965a414ea40fafe57667187052cf1eb7f5e8a8a9" +checksum = "18168570689417abfb514ac8812fca7e6429764d01942750e395d7d8ce0716ef" dependencies = [ - "clap", - "codespan-reporting", - "proc-macro2", - "quote", - "syn 2.0.90", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-session 38.0.0", + "parity-scale-codec", + "sp-runtime 39.0.5", ] [[package]] -name = "cxxbridge-flags" -version = "1.0.135" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6515329bf3d98f4073101c7866ff2bec4e635a13acb82e3f3753fff0bf43cb" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.135" +name = "cumulus-pallet-solo-to-para" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb93e6a7ce8ec985c02bbb758237a31598b340acbbc3c19c5a4fa6adaaac92ab" +checksum = "6f42c74548c8cab75da6f2479a953f044b582cfce98479862344a24df7bbd215" dependencies = [ - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.90", + "cumulus-pallet-parachain-system", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-sudo 38.0.0", + "parity-scale-codec", + "polkadot-primitives 16.0.0", + "scale-info", + "sp-runtime 39.0.5", ] [[package]] -name = "darling" -version = "0.20.10" +name = "cumulus-pallet-xcm" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "e49231f6cd8274438b078305dc8ce44c54c0d3f4a28e902589bcbaa53d954608" dependencies = [ - "darling_core", - "darling_macro", + "cumulus-primitives-core", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", ] [[package]] -name = "darling_core" -version = "0.20.10" +name = "cumulus-pallet-xcmp-queue" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "6f788bdac9474795ea13ba791b55798fb664b2e3da8c3a7385b480c9af4e6539" dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn 2.0.90", + "bounded-collections", + "bp-xcm-bridge-hub-router", + "cumulus-primitives-core", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-message-queue", + "parity-scale-codec", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", ] [[package]] -name = "darling_macro" -version = "0.20.10" +name = "cumulus-ping" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "f47128f797359951723e2d106a80e592d007bb7446c299958cdbafb1489ddbf0" dependencies = [ - "darling_core", - "quote", - "syn 2.0.90", + "cumulus-pallet-xcm", + "cumulus-primitives-core", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", +] + +[[package]] +name = "cumulus-primitives-aura" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11e7825bcf3cc6c962a5b9b9f47e02dc381109e521d0bc00cad785c65da18471" +dependencies = [ + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 15.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "cumulus-primitives-core" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c6b5221a4a3097f2ebef66c84c1e6d7a0b8ec7e63f2bd5ae04c1e6d3fc7514e" +dependencies = [ + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", +] + +[[package]] +name = "cumulus-primitives-parachain-inherent" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "842a694901e04a62d88995418dec35c22f7dba2b34d32d2b8de37d6b92f973ff" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "421f03af054aac7c89e87a49e47964886e53a8d7395990eab27b6f201d42524f" +dependencies = [ + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-storage-weight-reclaim" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fc49dfec0ba3438afad73787736cc0dba88d15b5855881f12a4d8b812a72927" +dependencies = [ + "cumulus-primitives-core", + "cumulus-primitives-proof-size-hostfunction", + "docify", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", +] + +[[package]] +name = "cumulus-primitives-timestamp" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33cffb8f010f39ac36b31d38994b8f9d9256d9b5e495d96b4ec59d3e30852d53" +dependencies = [ + "cumulus-primitives-core", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-utility" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bdcf4d46dd93f1e6d5dd6d379133566a44042ba6476d04bdcbdb4981c622ae4" +dependencies = [ + "cumulus-primitives-core", + "frame-support 38.2.0", + "log", + "pallet-asset-conversion", + "parity-scale-codec", + "polkadot-runtime-common", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", +] + +[[package]] +name = "cumulus-test-relay-sproof-builder" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e570e41c3f05a8143ebff967bbb0c7dcaaa6f0bebd8639b9418b8005b13eda03" +dependencies = [ + "cumulus-primitives-core", + "parity-scale-codec", + "polkadot-primitives 16.0.0", + "sp-runtime 39.0.5", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rand_core", + "rustc_version 0.4.1", + "subtle 2.6.1", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "cxx" +version = "1.0.135" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d44ff199ff93242c3afe480ab588d544dd08d72e92885e152ffebc670f076ad" +dependencies = [ + "cc", + "cxxbridge-cmd", + "cxxbridge-flags", + "cxxbridge-macro", + "foldhash", + "link-cplusplus", +] + +[[package]] +name = "cxx-build" +version = "1.0.135" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66fd8f17ad454fc1e4f4ab83abffcc88a532e90350d3ffddcb73030220fcbd52" +dependencies = [ + "cc", + "codespan-reporting", + "proc-macro2", + "quote", + "scratch", + "syn 2.0.90", +] + +[[package]] +name = "cxxbridge-cmd" +version = "1.0.135" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4717c9c806a9e07fdcb34c84965a414ea40fafe57667187052cf1eb7f5e8a8a9" +dependencies = [ + "clap", + "codespan-reporting", + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "cxxbridge-flags" +version = "1.0.135" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f6515329bf3d98f4073101c7866ff2bec4e635a13acb82e3f3753fff0bf43cb" + +[[package]] +name = "cxxbridge-macro" +version = "1.0.135" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb93e6a7ce8ec985c02bbb758237a31598b340acbbc3c19c5a4fa6adaaac92ab" +dependencies = [ + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.90", +] + +[[package]] +name = "darling" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.90", +] + +[[package]] +name = "darling_macro" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.90", ] [[package]] @@ -3513,6 +4333,17 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "enumn" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "env_logger" version = "0.10.2" @@ -3587,6 +4418,16 @@ dependencies = [ "uint 0.9.5", ] +[[package]] +name = "ethabi-decode" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d398648d65820a727d6a81e58b962f874473396a047e4c30bafe3240953417" +dependencies = [ + "ethereum-types", + "tiny-keccak", +] + [[package]] name = "ethbloom" version = "0.13.0" @@ -3953,8 +4794,8 @@ dependencies = [ "hex", "log", "precompile-utils", - "sp-core", - "sp-std", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -3992,7 +4833,7 @@ dependencies = [ "evm-tracing-events", "parity-scale-codec", "primitives-ext", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -4005,7 +4846,7 @@ dependencies = [ "evm-gasometer", "evm-runtime", "parity-scale-codec", - "sp-runtime-interface", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -4090,8 +4931,8 @@ dependencies = [ "async-trait", "fp-storage", "parity-scale-codec", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] @@ -4107,9 +4948,9 @@ dependencies = [ "sc-cli", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.3", ] [[package]] @@ -4121,10 +4962,10 @@ dependencies = [ "fp-consensus", "fp-rpc", "sc-consensus", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-consensus", - "sp-runtime", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] @@ -4149,11 +4990,11 @@ dependencies = [ "sc-client-api", "sc-client-db", "smallvec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-database", - "sp-runtime", + "sp-runtime 39.0.3", "sqlx", "tokio", ] @@ -4173,11 +5014,11 @@ dependencies = [ "parking_lot 0.12.3", "sc-client-api", "sc-utils", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "tokio", ] @@ -4217,19 +5058,19 @@ dependencies = [ "sc-utils", "schnellru", "serde", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-aura", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-storage", - "sp-timestamp", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -4261,10 +5102,10 @@ dependencies = [ "fp-storage", "parity-scale-codec", "sc-client-api", - "sp-api", - "sp-io", - "sp-runtime", - "sp-storage", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -4496,11 +5337,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "staging-xcm", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "staging-xcm 14.1.0", ] [[package]] @@ -4510,8 +5351,8 @@ source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219 dependencies = [ "ethereum", "parity-scale-codec", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] @@ -4520,8 +5361,8 @@ version = "1.0.0" source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" dependencies = [ "async-trait", - "sp-core", - "sp-inherents", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -4532,7 +5373,7 @@ dependencies = [ "ethereum", "ethereum-types", "fp-evm", - "frame-support", + "frame-support 37.0.1", "parity-scale-codec", ] @@ -4542,13 +5383,13 @@ version = "3.0.0-dev" source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" dependencies = [ "evm", - "frame-support", + "frame-support 37.0.1", "num_enum", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] @@ -4561,10 +5402,10 @@ dependencies = [ "fp-evm", "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -4572,11 +5413,11 @@ name = "fp-self-contained" version = "1.0.0-dev" source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" dependencies = [ - "frame-support", + "frame-support 37.0.1", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-runtime 39.0.3", ] [[package]] @@ -4599,22 +5440,47 @@ name = "frame-benchmarking" version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 37.0.1", + "frame-support-procedural 30.0.4 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "frame-system 37.1.0", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a01bdd47c2d541b38bd892da647d1e972c9d85b4ecd7094ad64f7600175da54d" +dependencies = [ + "frame-support 38.2.0", + "frame-support-procedural 30.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-storage", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions", ] @@ -4628,9 +5494,9 @@ dependencies = [ "chrono", "clap", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "gethostname", "handlebars", "itertools 0.11.0", @@ -4645,43 +5511,70 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-client-db", - "sc-executor", + "sc-executor 0.40.0", "sc-service", "sc-sysinfo", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-database", - "sp-externalities", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage", - "sp-trie", - "sp-wasm-interface", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-genesis-builder 0.15.0", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-wasm-interface 21.0.0", "thiserror 1.0.69", "thousands", ] +[[package]] +name = "frame-benchmarking-pallet-pov" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ffde6f573a63eeb1ccb7d2667c5741a11ce93bc30f33712e5326b9d8a811c29" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + [[package]] name = "frame-decode" -version = "0.5.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d3379df61ff3dd871e2dde7d1bcdc0263e613c21c7579b149fd4f0ad9b1dc2" +checksum = "b7af3d1149d6063985bb62d97f3ea83060ce4d6f2d04c21f551d270e8d84a27c" dependencies = [ - "frame-metadata 17.0.0", + "frame-metadata 18.0.0", "parity-scale-codec", - "scale-decode 0.14.0", + "scale-decode 0.16.0", "scale-info", "scale-type-resolver", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "frame-election-provider-solution-type" +version = "14.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8156f209055d352994ecd49e19658c6b469d7c6de923bd79868957d0dcfb6f71" +dependencies = [ + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "frame-election-provider-solution-type" version = "14.0.1" @@ -4698,15 +5591,32 @@ name = "frame-election-provider-support" version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-election-provider-solution-type 14.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "frame-election-provider-support" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c36f5116192c63d39f1b4556fa30ac7db5a6a52575fa241b045f7dfa82ecc2be" +dependencies = [ + "frame-election-provider-solution-type 14.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-npos-elections", - "sp-runtime", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] @@ -4715,16 +5625,35 @@ version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ "aquamarine", - "frame-support", - "frame-system", - "frame-try-runtime", + "frame-support 37.0.1", + "frame-system 37.1.0", + "frame-try-runtime 0.43.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-tracing 17.0.0", +] + +[[package]] +name = "frame-executive" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c365bf3879de25bbee28e9584096955a02fbe8d7e7624e10675800317f1cee5b" +dependencies = [ + "aquamarine", + "frame-support 38.2.0", + "frame-system 38.0.0", + "frame-try-runtime 0.44.0", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-tracing", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-tracing 17.0.1", ] [[package]] @@ -4741,9 +5670,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "17.0.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" +checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" dependencies = [ "cfg-if", "parity-scale-codec", @@ -4758,12 +5687,28 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "array-bytes", "docify", - "frame-support", - "frame-system", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 39.0.3", +] + +[[package]] +name = "frame-metadata-hash-extension" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ac71dbd97039c49fdd69f416a4dd5d8da3652fdcafc3738b45772ad79eb4ec" +dependencies = [ + "array-bytes", + "docify", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", ] [[package]] @@ -4777,7 +5722,49 @@ dependencies = [ "docify", "environmental", "frame-metadata 16.0.0", - "frame-support-procedural", + "frame-support-procedural 30.0.4 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "impl-trait-for-tuples", + "k256", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-genesis-builder 0.15.0", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-metadata-ir 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "38.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7dd8b9f161a8289e3b9fe6c1068519358dbff2270d38097a923d3d1b4459dca" +dependencies = [ + "aquamarine", + "array-bytes", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata 16.0.0", + "frame-support-procedural 30.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "impl-trait-for-tuples", "k256", "log", @@ -4788,25 +5775,45 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-crypto-hashing-proc-macro", - "sp-debug-derive", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-weights", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing-proc-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-genesis-builder 0.15.1", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions", "tt-call", ] +[[package]] +name = "frame-support-procedural" +version = "30.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e8f9b6bc1517a6fcbf0b2377e5c8c6d39f5bb7862b191a59a9992081d63972d" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse", + "expander", + "frame-support-procedural-tools 13.0.1", + "itertools 0.11.0", + "macro_magic", + "proc-macro-warning 1.0.2", + "proc-macro2", + "quote", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 2.0.90", +] + [[package]] name = "frame-support-procedural" version = "30.0.4" @@ -4816,7 +5823,7 @@ dependencies = [ "cfg-expr", "derive-syn-parse", "expander", - "frame-support-procedural-tools", + "frame-support-procedural-tools 13.0.0", "itertools 0.11.0", "macro_magic", "proc-macro-warning 1.0.2", @@ -4831,13 +5838,37 @@ name = "frame-support-procedural-tools" version = "13.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-support-procedural-tools-derive", + "frame-support-procedural-tools-derive 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "13.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81a088fd6fda5f53ff0c17fc7551ce8bd0ead14ba742228443c8196296a7369b" +dependencies = [ + "frame-support-procedural-tools-derive 12.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 2.0.90", ] +[[package]] +name = "frame-support-procedural-tools-derive" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" @@ -4855,17 +5886,38 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "cfg-if", "docify", - "frame-support", + "frame-support 37.0.1", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "frame-system" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3c7fa02f8c305496d2ae52edaecdb9d165f11afa965e05686d7d7dd1ce93611" +dependencies = [ + "cfg-if", + "docify", + "frame-support 38.2.0", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", - "sp-weights", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -4873,13 +5925,39 @@ name = "frame-system-benchmarking" version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "frame-system-benchmarking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9693b2a736beb076e673520e1e8dee4fc128b8d35b020ef3e8a4b1b5ad63d9f2" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "frame-system-rpc-runtime-api" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "475c4f8604ba7e4f05cd2c881ba71105093e638b9591ec71a8db14a64b3b4ec3" +dependencies = [ + "docify", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -4889,7 +5967,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "docify", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -4897,10 +5975,22 @@ name = "frame-try-runtime" version = "0.43.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-support", + "frame-support 37.0.1", + "parity-scale-codec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "frame-try-runtime" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83c811a5a1f5429c7fb5ebbf6cf9502d8f9b673fd395c12cf46c44a30a7daf0e" +dependencies = [ + "frame-support 38.2.0", "parity-scale-codec", - "sp-api", - "sp-runtime", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] @@ -4939,13 +6029,13 @@ dependencies = [ [[package]] name = "frost-ed448" -version = "1.2.7" +version = "1.2.8" dependencies = [ "ed448-goldilocks-plus", "parity-scale-codec", "rand_core", "sha3", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "subtle 2.6.1", "tg-frost-core", ] @@ -4966,13 +6056,13 @@ dependencies = [ [[package]] name = "frost-p384" -version = "1.2.7" +version = "1.2.8" dependencies = [ "p384", "parity-scale-codec", "rand_core", "sha2 0.10.8", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "subtle 2.6.1", "tg-frost-core", ] @@ -5020,14 +6110,14 @@ dependencies = [ [[package]] name = "frost-secp256k1-tr" -version = "1.2.7" +version = "1.2.8" dependencies = [ "k256", "parity-scale-codec", "rand_core", "sha2 0.10.8", "signature", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "subtle 2.6.1", "tg-frost-core", ] @@ -5536,6 +6626,9 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +dependencies = [ + "ahash 0.7.8", +] [[package]] name = "hashbrown" @@ -5543,7 +6636,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash", + "ahash 0.8.11", ] [[package]] @@ -5552,7 +6645,7 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash", + "ahash 0.8.11", "allocator-api2", "serde", ] @@ -6910,7 +8003,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "lru", + "lru 0.12.5", "quick-protobuf", "quick-protobuf-codec", "smallvec", @@ -7460,6 +8553,15 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +[[package]] +name = "lru" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" +dependencies = [ + "hashbrown 0.12.3", +] + [[package]] name = "lru" version = "0.12.5" @@ -8456,634 +9558,2656 @@ dependencies = [ [[package]] name = "pallet-airdrop-claims" -version = "1.2.7" +version = "1.2.8" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "hex-literal 0.4.1", "libsecp256k1", "log", - "pallet-balances", + "pallet-balances 38.0.0", "pallet-evm", - "pallet-vesting", + "pallet-vesting 37.0.0", "parity-scale-codec", "rustc-hex", "scale-info", "schnorrkel", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-assets" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-alliance" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59378a648a0aa279a4b10650366c3389cd0a1239b1876f74bfecd268eecb086b" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", + "pallet-collective 38.0.0", + "pallet-identity 38.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-authorship" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-asset-conversion" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f0078659ae95efe6a1bf138ab5250bc41ab98f22ff3651d0208684f08ae797" dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-babe" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-asset-conversion-ops" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3edbeda834bcd6660f311d4eead3dabdf6d385b7308ac75b0fae941a960e6c3a" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", - "pallet-authorship", - "pallet-session", - "pallet-timestamp", + "pallet-asset-conversion", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-bags-list" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-asset-conversion-tx-payment" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ab66c4c22ac0f20e620a954ce7ba050118d6d8011e2d02df599309502064e98" dependencies = [ - "aquamarine", - "docify", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log", - "pallet-balances", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-asset-conversion", + "pallet-transaction-payment 38.0.2", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-tracing", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-balances" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-asset-rate" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71b2149aa741bc39466bbcc92d9d0ab6e9adcf39d2790443a735ad573b3191e7" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-base-fee" -version = "1.0.0" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-asset-tx-payment" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "406a486466d15acc48c99420191f96f1af018f3381fde829c467aba489030f18" dependencies = [ - "fp-evm", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-transaction-payment 38.0.2", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-bounties" -version = "36.0.0" +name = "pallet-assets" +version = "39.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "impl-trait-for-tuples", "log", - "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-child-bounties" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-assets" +version = "40.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f45f4eb6027fc34c4650e0ed6a7e57ed3335cc364be74b4531f714237676bcee" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", "log", - "pallet-bounties", - "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-collective" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-assets-freezer" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "127adc2250b89416b940850ce2175dab10a9297b503b1fcb05dc555bd9bd3207" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", + "pallet-assets 40.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-democracy" +name = "pallet-atomic-swap" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15906a685adeabe6027e49c814a34066222dd6136187a8a79c213d0d739b6634" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-aura" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b31da6e794d655d1f9c4da6557a57399538d75905a7862a2ed3f7e5fb711d7e4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", + "pallet-timestamp 37.0.0", "parity-scale-codec", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-dynamic-fee" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-authority-discovery" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb0208f0538d58dcb78ce1ff5e6e8641c5f37b23b20b05587e51da30ab13541" dependencies = [ - "fp-dynamic-fee", - "fp-evm", - "frame-support", - "frame-system", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-session 38.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-election-provider-multi-phase" -version = "36.0.0" +name = "pallet-authorship" +version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log", - "pallet-election-provider-support-benchmarking", + "frame-support 37.0.1", + "frame-system 37.1.0", + "impl-trait-for-tuples", "parity-scale-codec", - "rand", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-npos-elections", - "sp-runtime", - "strum 0.26.3", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-election-provider-support-benchmarking" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-authorship" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625d47577cabbe1318ccec5d612e2379002d1b6af1ab6edcef3243c66ec246df" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-system", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", "parity-scale-codec", - "sp-npos-elections", - "sp-runtime", + "scale-info", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-elections-phragmen" -version = "38.0.0" +name = "pallet-babe" +version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", + "pallet-authorship 37.0.0", + "pallet-session 37.0.0", + "pallet-timestamp 36.0.1", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-npos-elections", - "sp-runtime", - "sp-staking", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-ethereum" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-babe" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ee096c0def13832475b340d00121025e0225de29604d44bc6dfcaa294c995b4" dependencies = [ - "ethereum", - "ethereum-types", - "evm", - "fp-consensus", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-storage", - "frame-support", - "frame-system", - "pallet-evm", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-authorship 38.0.0", + "pallet-session 38.0.0", + "pallet-timestamp 37.0.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-babe 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-session 36.0.0", + "sp-staking 36.0.0", ] [[package]] -name = "pallet-evm" -version = "6.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-bags-list" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "environmental", - "evm", - "fp-account", - "fp-evm", - "frame-benchmarking", - "frame-support", - "frame-system", - "hash-db", - "hex-literal 0.4.1", - "impl-trait-for-tuples", + "aquamarine", + "docify", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", + "pallet-balances 38.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-tracing 17.0.0", ] [[package]] -name = "pallet-evm-chain-id" -version = "1.0.0-dev" +name = "pallet-bags-list" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fd23a6f94ba9c1e57c8a7f8a41327d132903a79c55c0c83f36cbae19946cf10" +dependencies = [ + "aquamarine", + "docify", + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-balances 39.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-tracing 17.0.1", +] + +[[package]] +name = "pallet-balances" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "docify", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-balances" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6945b078919acb14d126490e4b0973a688568b30142476ca69c6df2bed27ad" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-base-fee" +version = "1.0.0" source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" dependencies = [ - "frame-support", - "frame-system", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-beefy" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "014d177a3aba19ac144fc6b2b5eb94930b9874734b91fd014902b6706288bb5f" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-authorship 38.0.0", + "pallet-session 38.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy", + "sp-runtime 39.0.5", + "sp-session 36.0.0", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-beefy-mmr" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c64f536e7f04cf3a0a17fdf20870ddb3d63a7690419c40f75cfd2f72b6e6d22" +dependencies = [ + "array-bytes", + "binary-merkle-tree", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-beefy", + "pallet-mmr", + "pallet-session 38.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-beefy", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-bounties" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-treasury 36.0.1", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-bounties" +version = "37.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59f3d032f78624b12238a31b6e80ab3e112381a7bc222df152650e33bb2ce190" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-treasury 37.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-bridge-grandpa" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d825fbed9fb68bc5d344311653dc0f69caeabe647365abf79a539310b2245f6" +dependencies = [ + "bp-header-chain", + "bp-runtime", + "bp-test-utils", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-bridge-messages" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1decdc9fb885e46eb17f850aa14f8cf39e17f31574aa6a5fa1a9e603cc526a2" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-runtime", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-bridge-parachains" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41450a8d214f20eaff57aeca8e647b20c0df7d66871ee2262609b90824bd4cca" +dependencies = [ + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-bridge-grandpa", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-bridge-relayers" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fe3be7077b7ddee7178b1b12e9171435da73778d093788e10b1bdfad1e10962" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-relayers", + "bp-runtime", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-transaction-payment 38.0.2", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-broker" +version = "0.17.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "018b477d7d464c451b1d09a4ce9e792c3c65b15fd764b23da38ff9980e786065" +dependencies = [ + "bitvec", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-child-bounties" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-bounties 36.0.0", + "pallet-treasury 36.0.1", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-child-bounties" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7f3bc38ae6584b5f57e4de3e49e5184bfc0f20692829530ae1465ffe04e09e7" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-bounties 37.0.2", + "pallet-treasury 37.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-collator-selection" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658798d70c9054165169f6a6a96cfa9d6a5e7d24a524bc19825bf17fcbc5cc5a" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-authorship 38.0.0", + "pallet-balances 39.0.0", + "pallet-session 38.0.0", + "parity-scale-codec", + "rand", + "scale-info", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-collective" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-collective" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e149f1aefd444c9a1da6ec5a94bc8a7671d7a33078f85dd19ae5b06e3438e60" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-collective-content" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38a6a5cbe781d9c711be74855ba32ef138f3779d6c54240c08e6d1b4bbba4d1d" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-contracts" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5df77077745d891c822b4275f273f336077a97e69e62a30134776aa721c96fee" +dependencies = [ + "bitflags 1.3.2", + "environmental", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "log", + "pallet-balances 39.0.0", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", + "parity-scale-codec", + "paste", + "rand", + "scale-info", + "serde", + "smallvec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "wasm-instrument", + "wasmi", +] + +[[package]] +name = "pallet-contracts-mock-network" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "309666537ed001c61a99f59fa7b98680f4a6e4e361ed3bc64f7b0237da3e3e06" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-assets 40.0.0", + "pallet-balances 39.0.0", + "pallet-contracts", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", + "pallet-insecure-randomness-collective-flip 26.0.0", + "pallet-message-queue", + "pallet-proxy 38.0.0", + "pallet-timestamp 37.0.0", + "pallet-utility 38.0.0", + "pallet-xcm", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0", + "polkadot-runtime-parachains", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-tracing 17.0.1", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", + "xcm-simulator", +] + +[[package]] +name = "pallet-contracts-proc-macro" +version = "23.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3170e2f4a3d95f2ace274b703a72630294f0a27c687a4adbad9590e2b3e5fe82" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "pallet-contracts-uapi" +version = "12.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d3e13d72cda1a30083a1c080acc56fc5f286d09c89d9d91e8e4942a230c58c8" +dependencies = [ + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "scale-info", +] + +[[package]] +name = "pallet-conviction-voting" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "999c242491b74395b8c5409ef644e782fe426d87ae36ad92240ffbf21ff0a76e" +dependencies = [ + "assert_matches", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-core-fellowship" +version = "22.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93052dd8d5910e1b939441541cec416e629b2c0ab92680124c2e5a137e12c285" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-ranked-collective", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-delegated-staking" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "117f003a97f980514c6db25a50c22aaec2a9ccb5664b3cb32f52fb990e0b0c12" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-democracy" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-democracy" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d1dc655f50b7c65bb2fb14086608ba11af02ef2936546f7a67db980ec1f133" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-dev-mode" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae1d8050c09c5e003d502c1addc7fdfbde21a854bd57787e94447078032710c8" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-balances 39.0.0", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-dynamic-fee" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "fp-dynamic-fee", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-election-provider-multi-phase" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-election-provider-support-benchmarking 36.0.0", + "parity-scale-codec", + "rand", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "strum 0.26.3", +] + +[[package]] +name = "pallet-election-provider-multi-phase" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62f9ad5ae0c13ba3727183dadf1825b6b7b0b0598ed5c366f8697e13fd540f7d" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-election-provider-support-benchmarking 37.0.0", + "parity-scale-codec", + "rand", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "strum 0.26.3", +] + +[[package]] +name = "pallet-election-provider-support-benchmarking" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-system 37.1.0", + "parity-scale-codec", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-election-provider-support-benchmarking" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4111d0d27545c260c9dd0d6fc504961db59c1ec4b42e1bcdc28ebd478895c22" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-system 38.0.0", + "parity-scale-codec", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-elections-phragmen" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-elections-phragmen" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "705c66d6c231340c6d085a0df0319a6ce42a150f248171e88e389ab1e3ce20f5" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-ethereum" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "ethereum", + "ethereum-types", + "evm", + "fp-consensus", + "fp-ethereum", + "fp-evm", + "fp-rpc", + "fp-storage", + "frame-support 37.0.1", + "frame-system 37.1.0", + "pallet-evm", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-evm" +version = "6.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "environmental", + "evm", + "fp-account", + "fp-evm", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hash-db", + "hex-literal 0.4.1", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-evm-chain-id" +version = "1.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "pallet-evm-precompile-balances-erc20" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "libsecp256k1", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "paste", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-evm-precompile-batch" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "evm", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-blake2" +version = "2.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "fp-evm", +] + +[[package]] +name = "pallet-evm-precompile-bn128" +version = "2.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "fp-evm", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "substrate-bn", +] + +[[package]] +name = "pallet-evm-precompile-call-permit" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "evm", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "libsecp256k1", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-curve25519" +version = "1.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "curve25519-dalek", + "fp-evm", +] + +[[package]] +name = "pallet-evm-precompile-democracy" +version = "0.2.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "log", + "pallet-balances 38.0.0", + "pallet-democracy 37.0.0", + "pallet-evm", + "pallet-preimage 37.0.0", + "pallet-scheduler 38.0.0", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-dispatch" +version = "2.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "fp-evm", + "frame-support 37.0.1", + "pallet-evm", + "parity-scale-codec", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-evm-precompile-ed25519" +version = "2.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "ed25519-dalek", + "fp-evm", +] + +[[package]] +name = "pallet-evm-precompile-modexp" +version = "2.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "fp-evm", + "num", +] + +[[package]] +name = "pallet-evm-precompile-multi-asset-delegation" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "ethabi", + "ethereum", + "evm-erc20-utils", + "fp-account", + "fp-consensus", + "fp-dynamic-fee", + "fp-ethereum", + "fp-evm", + "fp-rpc", + "fp-self-contained", + "fp-storage", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex", + "hex-literal 0.4.1", + "libsecp256k1", + "num_enum", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-base-fee", + "pallet-dynamic-fee", + "pallet-ethereum", + "pallet-evm", + "pallet-evm-chain-id", + "pallet-evm-precompile-blake2", + "pallet-evm-precompile-bn128", + "pallet-evm-precompile-curve25519", + "pallet-evm-precompile-ed25519", + "pallet-evm-precompile-modexp", + "pallet-evm-precompile-sha3fips", + "pallet-evm-precompile-simple", + "pallet-multi-asset-delegation", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "serde_json", + "sha3", + "smallvec", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-evm-precompile-multi-asset-delegation-fuzzer" +version = "2.0.0" +dependencies = [ + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "honggfuzz", + "log", + "pallet-evm", + "pallet-evm-precompile-multi-asset-delegation", + "pallet-multi-asset-delegation", + "precompile-utils", + "rand", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-tracing 17.0.0", +] + +[[package]] +name = "pallet-evm-precompile-preimage" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-preimage 37.0.0", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-proxy" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-proxy 37.0.0", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-registry" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "log", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-scheduler 38.0.0", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-services" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "ethabi", + "ethereum", + "ethers", + "fp-account", + "fp-consensus", + "fp-dynamic-fee", + "fp-ethereum", + "fp-evm", + "fp-rpc", + "fp-self-contained", + "fp-storage", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex", + "hex-literal 0.4.1", + "k256", + "libsecp256k1", + "num_enum", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-base-fee", + "pallet-dynamic-fee", + "pallet-ethereum", + "pallet-evm", + "pallet-evm-chain-id", + "pallet-evm-precompile-balances-erc20", + "pallet-evm-precompile-blake2", + "pallet-evm-precompile-bn128", + "pallet-evm-precompile-curve25519", + "pallet-evm-precompile-ed25519", + "pallet-evm-precompile-modexp", + "pallet-evm-precompile-sha3fips", + "pallet-evm-precompile-simple", + "pallet-evm-precompileset-assets-erc20", + "pallet-multi-asset-delegation", + "pallet-services", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "serde_json", + "sha3", + "smallvec", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-evm-precompile-sha3fips" +version = "2.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "fp-evm", + "tiny-keccak", +] + +[[package]] +name = "pallet-evm-precompile-simple" +version = "2.0.0-dev" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "fp-evm", + "ripemd", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-staking" +version = "1.0.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", + "pallet-staking-reward-curve", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-evm-precompile-tangle-lst" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-multi-asset-delegation", + "pallet-tangle-lst", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-evm-precompile-verify-bls381-signature" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "log", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "snowbridge-milagro-bls 1.5.4 (git+https://github.com/Snowfork/milagro_bls?rev=43a5d480ed6e3b83de4cf54888680d51604199e6)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-verify-ecdsa-secp256k1-signature" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "k256", + "log", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-verify-ecdsa-secp256r1-signature" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "log", + "p256", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "rand_core", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-evm-precompile-verify-ecdsa-stark-signature" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "generic-ec", + "hex", + "hex-literal 0.4.1", + "log", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "rand_core", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "starknet-crypto", +] + +[[package]] +name = "pallet-evm-precompile-verify-schnorr-signatures" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "frost-core", + "frost-ed25519", + "frost-ed448", + "frost-p256", + "frost-p384", + "frost-ristretto255", + "frost-secp256k1", + "frost-secp256k1-tr", + "hex-literal 0.4.1", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "precompile-utils", + "rand_core", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tg-frost-core", +] + +[[package]] +name = "pallet-evm-precompile-vesting" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "pallet-vesting 37.0.0", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-evm-precompileset-assets" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "libsecp256k1", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "paste", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-evm-precompileset-assets-erc20" +version = "0.1.0" +dependencies = [ + "derive_more 1.0.0", + "fp-evm", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex-literal 0.4.1", + "libsecp256k1", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-evm", + "pallet-timestamp 36.0.1", + "parity-scale-codec", + "paste", + "precompile-utils", + "scale-info", + "serde", + "sha3", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-fast-unstake" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ee60e8ef10b3936f2700bd61fa45dcc190c61124becc63bed787addcfa0d20" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-glutton" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1c79ab340890f6ab088a638c350ac1173a1b2a79c18004787523032025582b4" +dependencies = [ + "blake2 0.10.6", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-grandpa" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-authorship 37.0.0", + "pallet-session 37.0.0", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-grandpa" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3a570a4aac3173ea46b600408183ca2bcfdaadc077f802f11e6055963e2449" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-authorship 38.0.0", + "pallet-session 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-session 36.0.0", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-hotfix-sufficients" +version = "1.0.0" +source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "pallet-evm", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-identity" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "enumflags2", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-identity" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a4288548de9a755e39fcb82ffb9024b6bb1ba0f582464a44423038dd7a892e" +dependencies = [ + "enumflags2", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-im-online" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-authorship 37.0.0", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "pallet-im-online" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fd95270cf029d16cb40fe6bd9f8ab9c78cd966666dccbca4d8bfec35c5bba5" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-authorship 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-indices" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-indices" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5e4b97de630427a39d50c01c9e81ab8f029a00e56321823958b39b438f7b940" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dce7ad80675d78bd38a7a66ecbbf2d218dd32955e97f8e301d0afe6c87b0f251" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-lottery" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae0920ee53cf7b0665cfb6d275759ae0537dc3850ec78da5f118d814c99d3562" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-membership" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1868b5dca4bbfd1f4a222cbb80735a5197020712a71577b496bbb7e19aaa5394" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-message-queue" +version = "41.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "983f7d1be18e9a089a3e23670918f5085705b4403acd3fdde31878d57b76a1a8" +dependencies = [ + "environmental", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-migrations" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b417fc975636bce94e7c6d707e42d0706d67dfa513e72f5946918e1044beef1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-mixnet" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf3fa2b7f759a47f698a403ab40c54bc8935e2969387947224cbdb4e2bc8a28a" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mixnet 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-mmr" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6932dfb85f77a57c2d1fdc28a7b3a59ffe23efd8d5bb02dc3039d91347e4a3b" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mmr-primitives", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-multi-asset-delegation" +version = "1.2.8" +dependencies = [ + "ethabi", + "ethereum", + "ethers", + "fp-account", + "fp-consensus", + "fp-dynamic-fee", + "fp-ethereum", + "fp-evm", + "fp-rpc", + "fp-self-contained", + "fp-storage", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex", + "hex-literal 0.4.1", + "itertools 0.13.0", + "libsecp256k1", + "log", + "num_enum", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-base-fee", + "pallet-dynamic-fee", + "pallet-ethereum", + "pallet-evm", + "pallet-evm-chain-id", + "pallet-evm-precompile-blake2", + "pallet-evm-precompile-bn128", + "pallet-evm-precompile-curve25519", + "pallet-evm-precompile-ed25519", + "pallet-evm-precompile-modexp", + "pallet-evm-precompile-sha3fips", + "pallet-evm-precompile-simple", + "pallet-proxy 37.0.0", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", + "pallet-timestamp 36.0.1", + "pallet-utility 37.0.1", + "parity-scale-codec", + "precompile-utils", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", +] + +[[package]] +name = "pallet-multi-asset-delegation-fuzzer" +version = "2.0.0" +dependencies = [ + "frame-support 37.0.1", + "frame-system 37.1.0", + "honggfuzz", + "log", + "pallet-multi-asset-delegation", + "rand", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-tracing 17.0.0", +] + +[[package]] +name = "pallet-multisig" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-multisig" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e5099c9a4442efcc1568d88ca1d22d624e81ab96358f99f616c67fbd82532d2" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-nft-fractionalization" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168792cf95a32fa3baf9b874efec82a45124da0a79cee1ae3c98a823e6841959" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-assets 40.0.0", + "pallet-nfts", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-nfts" +version = "32.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59e2aad461a0849d7f0471576eeb1fe3151795bcf2ec9e15eca5cca5b9d743b2" +dependencies = [ + "enumflags2", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-nfts-runtime-api" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7a1f50c217e19dc50ff586a71eb5915df6a05bc0b25564ea20674c8cd182c1f" +dependencies = [ + "pallet-nfts", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-nis" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ac349e119880b7df1a7c4c36d919b33a498d0e9548af3c237365c654ae0c73d" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-node-authorization" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39ec3133be9e767b8feafbb26edd805824faa59956da008d2dc7fcf4b4720e56" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "pallet-nomination-pools" +version = "35.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50d04f050ab02af6cbe058e101abb8706be7f8ea7958e5bf1d4cd8caa6b66c71" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-balances 39.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", + "sp-tracing 17.0.1", +] + +[[package]] +name = "pallet-nomination-pools" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-balances 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", +] + +[[package]] +name = "pallet-nomination-pools-benchmarking" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d2eaca0349bcda923343226b8b64d25a80b67e0a1ebaaa5b0ab1e1b3b225bc" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-bags-list 37.0.0", + "pallet-delegated-staking", + "pallet-nomination-pools 35.0.2", + "pallet-staking 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-nomination-pools-runtime-api" +version = "33.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03eea431eba0658ca763a078bd849e0622c37c85eddd011b8e886460b50c0827" +dependencies = [ + "pallet-nomination-pools 35.0.2", "parity-scale-codec", - "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-evm-precompile-balances-erc20" -version = "0.1.0" +name = "pallet-offences" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "libsecp256k1", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-balances 38.0.0", "parity-scale-codec", - "paste", - "precompile-utils", "scale-info", "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "tangle-primitives", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-evm-precompile-batch" -version = "0.1.0" +name = "pallet-offences" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c4379cf853465696c1c5c03e7e8ce80aeaca0a6139d698abe9ecb3223fd732a" dependencies = [ - "derive_more 1.0.0", - "evm", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-balances 39.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", ] [[package]] -name = "pallet-evm-precompile-blake2" -version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-offences-benchmarking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69aa1b24cdffc3fa8c89cdea32c83f1bf9c1c82a87fa00e57ae4be8e85f5e24f" dependencies = [ - "fp-evm", + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-babe 38.0.0", + "pallet-balances 39.0.0", + "pallet-grandpa 38.0.0", + "pallet-im-online 37.0.0", + "pallet-offences 37.0.0", + "pallet-session 38.0.0", + "pallet-staking 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", ] [[package]] -name = "pallet-evm-precompile-bn128" -version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-oracle" +version = "1.1.0" dependencies = [ - "fp-evm", - "sp-core", - "substrate-bn", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", ] [[package]] -name = "pallet-evm-precompile-call-permit" -version = "0.1.0" +name = "pallet-paged-list" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8e099fb116068836b17ca4232dc52f762b69dc8cd4e33f509372d958de278b0" dependencies = [ - "derive_more 1.0.0", - "evm", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "libsecp256k1", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-curve25519" -version = "1.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-parameters" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9aba424d55e17b2a2bec766a41586eab878137704d4803c04bebd6a4743db7b" dependencies = [ - "curve25519-dalek", - "fp-evm", + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-democracy" -version = "0.2.0" +name = "pallet-preimage" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", - "pallet-balances", - "pallet-democracy", - "pallet-evm", - "pallet-preimage", - "pallet-scheduler", - "pallet-timestamp", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-evm-precompile-dispatch" -version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-preimage" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "407828bc48c6193ac076fdf909b2fadcaaecd65f42b0b0a04afe22fe8e563834" dependencies = [ - "fp-evm", - "frame-support", - "pallet-evm", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", - "sp-runtime", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-ed25519" -version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-proxy" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "ed25519-dalek", - "fp-evm", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-evm-precompile-modexp" -version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-proxy" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d39df395f0dbcf07dafe842916adea3266a87ce36ed87b5132184b6bcd746393" dependencies = [ - "fp-evm", - "num", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-multi-asset-delegation" -version = "0.1.0" +name = "pallet-ranked-collective" +version = "38.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15a640e732164203eb5298823cc8c29cfc563763c43c9114e76153b3166b8b9d" dependencies = [ - "derive_more 1.0.0", - "ethabi", - "ethereum", - "evm-erc20-utils", - "fp-account", - "fp-consensus", - "fp-dynamic-fee", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-self-contained", - "fp-storage", - "frame-election-provider-support", - "frame-support", - "frame-system", - "hex", - "hex-literal 0.4.1", - "libsecp256k1", - "num_enum", - "pallet-assets", - "pallet-balances", - "pallet-base-fee", - "pallet-dynamic-fee", - "pallet-ethereum", - "pallet-evm", - "pallet-evm-chain-id", - "pallet-evm-precompile-blake2", - "pallet-evm-precompile-bn128", - "pallet-evm-precompile-curve25519", - "pallet-evm-precompile-ed25519", - "pallet-evm-precompile-modexp", - "pallet-evm-precompile-sha3fips", - "pallet-evm-precompile-simple", - "pallet-multi-asset-delegation", - "pallet-session", - "pallet-staking", - "pallet-timestamp", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "log", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "serde_json", - "sha3", - "smallvec", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", - "tangle-primitives", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-multi-asset-delegation-fuzzer" -version = "2.0.0" +name = "pallet-recovery" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "406a116aa6d05f88f3c10d79ff89cf577323680a48abd8e5550efb47317e67fa" dependencies = [ - "fp-evm", - "frame-support", - "frame-system", - "honggfuzz", - "log", - "pallet-evm", - "pallet-evm-precompile-multi-asset-delegation", - "pallet-multi-asset-delegation", - "precompile-utils", - "rand", - "sp-io", - "sp-runtime", - "sp-tracing", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-preimage" -version = "0.1.0" +name = "pallet-referenda" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3008c20531d1730c9b457ae77ecf0e3c9b07aaf8c4f5d798d61ef6f0b9e2d4b" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "pallet-balances", - "pallet-evm", - "pallet-preimage", - "pallet-timestamp", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", - "precompile-utils", "scale-info", "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-proxy" -version = "0.1.0" +name = "pallet-remark" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e8cae0e20888065ec73dda417325c6ecabf797f4002329484b59c25ecc34d4" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "pallet-balances", - "pallet-evm", - "pallet-proxy", - "pallet-timestamp", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-registry" -version = "0.1.0" +name = "pallet-revive" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be02c94dcbadd206a910a244ec19b493aac793eed95e23d37d6699547234569f" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", + "bitflags 1.3.2", + "environmental", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", "log", - "pallet-balances", - "pallet-evm", - "pallet-scheduler", - "pallet-timestamp", + "pallet-balances 39.0.0", + "pallet-revive-fixtures", + "pallet-revive-proc-macro", + "pallet-revive-uapi", "parity-scale-codec", - "precompile-utils", + "paste", + "polkavm 0.10.0", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", ] [[package]] -name = "pallet-evm-precompile-services" -version = "0.1.0" +name = "pallet-revive-fixtures" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a38c27f1531f36e5327f3084eb24cf1c9dd46b372e030c0169e843ce363105e" +dependencies = [ + "anyhow", + "frame-system 38.0.0", + "parity-wasm", + "polkavm-linker 0.10.0", + "sp-runtime 39.0.5", + "tempfile", + "toml 0.8.19", +] + +[[package]] +name = "pallet-revive-mock-network" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60e74591d44dbd78db02c8593f5caa75bd61bcc4d63999302150223fb969ae37" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-assets 40.0.0", + "pallet-balances 39.0.0", + "pallet-message-queue", + "pallet-proxy 38.0.0", + "pallet-revive", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "pallet-timestamp 37.0.0", + "pallet-utility 38.0.0", + "pallet-xcm", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0", + "polkadot-runtime-parachains", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-tracing 17.0.1", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", + "xcm-simulator", +] + +[[package]] +name = "pallet-revive-proc-macro" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8aee42afa416be6324cf6650c137da9742f27dc7be3c7ed39ad9748baf3b9ae" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "pallet-revive-uapi" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecb4686c8415619cc13e43fadef146ffff46424d9b4d037fe4c069de52708aac" +dependencies = [ + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "polkavm-derive 0.10.0", + "scale-info", +] + +[[package]] +name = "pallet-rewards" +version = "1.2.8" dependencies = [ - "derive_more 1.0.0", "ethabi", "ethereum", "ethers", @@ -9095,22 +12219,23 @@ dependencies = [ "fp-rpc", "fp-self-contained", "fp-storage", - "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "hex", "hex-literal 0.4.1", - "k256", + "itertools 0.13.0", "libsecp256k1", + "log", "num_enum", - "pallet-assets", - "pallet-balances", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", "pallet-base-fee", "pallet-dynamic-fee", "pallet-ethereum", "pallet-evm", "pallet-evm-chain-id", - "pallet-evm-precompile-balances-erc20", "pallet-evm-precompile-blake2", "pallet-evm-precompile-bn128", "pallet-evm-precompile-curve25519", @@ -9118,1011 +12243,989 @@ dependencies = [ "pallet-evm-precompile-modexp", "pallet-evm-precompile-sha3fips", "pallet-evm-precompile-simple", - "pallet-evm-precompileset-assets-erc20", - "pallet-multi-asset-delegation", - "pallet-services", - "pallet-session", - "pallet-staking", - "pallet-timestamp", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", + "pallet-timestamp 36.0.1", "parity-scale-codec", "precompile-utils", "scale-info", "serde", "serde_json", - "sha3", "smallvec", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "tangle-primitives", ] [[package]] -name = "pallet-evm-precompile-sha3fips" -version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-rewards-rpc" +version = "1.2.8" dependencies = [ - "fp-evm", - "tiny-keccak", + "jsonrpsee 0.23.2", + "pallet-rewards-rpc-runtime-api", + "parity-scale-codec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-blockchain", + "sp-runtime 39.0.3", + "tangle-primitives", ] [[package]] -name = "pallet-evm-precompile-simple" -version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-rewards-rpc-runtime-api" +version = "1.2.8" dependencies = [ - "fp-evm", - "ripemd", - "sp-io", + "parity-scale-codec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", ] [[package]] -name = "pallet-evm-precompile-staking" -version = "1.0.0" +name = "pallet-root-offences" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b35774b830928daaeeca7196cead7c56eeed952a6616ad6dc5ec068d8c85c81a" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-election-provider-support", - "frame-support", - "frame-system", - "pallet-balances", - "pallet-evm", - "pallet-session", - "pallet-staking", - "pallet-staking-reward-curve", - "pallet-timestamp", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-session 38.0.0", + "pallet-staking 38.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "sha3", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std", - "tangle-primitives", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", ] [[package]] -name = "pallet-evm-precompile-tangle-lst" -version = "0.1.0" +name = "pallet-root-testing" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be95e7c320ac1d381715364cd721e67ab3152ab727f8e4defd3a92e41ebbc880" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "pallet-assets", - "pallet-balances", - "pallet-evm", - "pallet-multi-asset-delegation", - "pallet-tangle-lst", - "pallet-timestamp", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "sha3", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", - "tangle-primitives", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-verify-bls381-signature" -version = "0.1.0" +name = "pallet-safe-mode" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3e67dd4644c168cedbf257ac3dd2527aad81acf4a0d413112197094e549f76" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "log", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-balances 39.0.0", + "pallet-proxy 38.0.0", + "pallet-utility 38.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "snowbridge-milagro-bls", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-verify-ecdsa-secp256k1-signature" -version = "0.1.0" +name = "pallet-salary" +version = "23.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3af2d92b1fef1c379c0692113b505c108c186e09c25c72b38e879b6e0f172ebe" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "k256", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", + "pallet-ranked-collective", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-verify-ecdsa-secp256r1-signature" -version = "0.1.0" +name = "pallet-scheduler" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", + "docify", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", - "p256", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", "parity-scale-codec", - "precompile-utils", - "rand_core", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-evm-precompile-verify-ecdsa-stark-signature" -version = "0.1.0" +name = "pallet-scheduler" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26899a331e7ab5f7d5966cbf203e1cf5bd99cd110356d7ddcaa7597087cdc0b5" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "generic-ec", - "hex", - "hex-literal 0.4.1", + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", "parity-scale-codec", - "precompile-utils", - "rand_core", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "starknet-crypto", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-evm-precompile-verify-schnorr-signatures" -version = "0.1.0" +name = "pallet-scored-pool" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f84b48bb4702712c902f43931c4077d3a1cb6773c8d8c290d4a6251f6bc2a5c" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "frost-core", - "frost-ed25519", - "frost-ed448", - "frost-p256", - "frost-p384", - "frost-ristretto255", - "frost-secp256k1", - "frost-secp256k1-tr", - "hex-literal 0.4.1", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", - "precompile-utils", - "rand_core", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "tg-frost-core", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-evm-precompile-vesting" -version = "0.1.0" +name = "pallet-services" +version = "1.2.8" dependencies = [ - "derive_more 1.0.0", + "ethabi", + "ethereum", + "fp-account", + "fp-consensus", + "fp-dynamic-fee", + "fp-ethereum", "fp-evm", - "frame-support", - "frame-system", + "fp-rpc", + "fp-self-contained", + "fp-storage", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "hex", "hex-literal 0.4.1", - "pallet-balances", + "itertools 0.13.0", + "k256", + "libsecp256k1", + "log", + "num_enum", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-base-fee", + "pallet-dynamic-fee", + "pallet-ethereum", "pallet-evm", - "pallet-timestamp", - "pallet-vesting", + "pallet-evm-chain-id", + "pallet-evm-precompile-balances-erc20", + "pallet-evm-precompile-blake2", + "pallet-evm-precompile-bn128", + "pallet-evm-precompile-curve25519", + "pallet-evm-precompile-ed25519", + "pallet-evm-precompile-modexp", + "pallet-evm-precompile-sha3fips", + "pallet-evm-precompile-simple", + "pallet-evm-precompileset-assets-erc20", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", + "pallet-timestamp 36.0.1", "parity-scale-codec", "precompile-utils", "scale-info", "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "serde_json", + "smallvec", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "tangle-primitives", ] [[package]] -name = "pallet-evm-precompileset-assets" -version = "0.1.0" +name = "pallet-services-rpc" +version = "1.2.8" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "libsecp256k1", - "pallet-assets", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", + "jsonrpsee 0.23.2", + "pallet-services-rpc-runtime-api", "parity-scale-codec", - "paste", - "precompile-utils", - "scale-info", - "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-blockchain", + "sp-runtime 39.0.3", "tangle-primitives", ] [[package]] -name = "pallet-evm-precompileset-assets-erc20" -version = "0.1.0" +name = "pallet-services-rpc-runtime-api" +version = "1.2.8" dependencies = [ - "derive_more 1.0.0", - "fp-evm", - "frame-support", - "frame-system", - "hex-literal 0.4.1", - "libsecp256k1", - "pallet-assets", - "pallet-balances", - "pallet-evm", - "pallet-timestamp", "parity-scale-codec", - "paste", - "precompile-utils", - "scale-info", - "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tangle-primitives", ] [[package]] -name = "pallet-grandpa" +name = "pallet-session" version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 37.0.1", + "frame-system 37.1.0", + "impl-trait-for-tuples", "log", - "pallet-authorship", - "pallet-session", + "pallet-timestamp 36.0.1", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-hotfix-sufficients" -version = "1.0.0" -source = "git+https://github.com/paritytech/frontier.git?branch=stable2407#2e219e17a526125da003e64ef22ec037917083fa" +name = "pallet-session" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8474b62b6b7622f891e83d922a589e2ad5be5471f5ca47d45831a797dba0b3f4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-evm", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "log", + "pallet-timestamp 37.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-session 36.0.0", + "sp-staking 36.0.0", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-identity" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-session-benchmarking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8aadce7df0fee981721983795919642648b846dab5ab9096f82c2cea781007d0" dependencies = [ - "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-session 38.0.0", + "pallet-staking 38.0.0", "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", + "rand", + "sp-runtime 39.0.5", + "sp-session 36.0.0", ] [[package]] -name = "pallet-im-online" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-skip-feeless-payment" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8c2cb0dae13d2c2d2e76373f337d408468f571459df1900cbd7458f21cf6c01" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-authorship", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-indices" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-society" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1dc69fea8a8de343e71691f009d5fece6ae302ed82b7bb357882b2ea6454143" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", + "rand_chacha", "scale-info", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-insecure-randomness-collective-flip" -version = "25.0.0" +name = "pallet-staking" +version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "log", + "pallet-authorship 37.0.0", + "pallet-session 37.0.0", "parity-scale-codec", - "safe-mix", + "rand_chacha", "scale-info", - "sp-runtime", + "serde", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-multi-asset-delegation" -version = "1.2.7" -dependencies = [ - "ethabi", - "ethereum", - "ethers", - "fp-account", - "fp-consensus", - "fp-dynamic-fee", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-self-contained", - "fp-storage", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "hex", - "hex-literal 0.4.1", - "itertools 0.13.0", - "libsecp256k1", - "log", - "num_enum", - "pallet-assets", - "pallet-balances", - "pallet-base-fee", - "pallet-dynamic-fee", - "pallet-ethereum", - "pallet-evm", - "pallet-evm-chain-id", - "pallet-evm-precompile-blake2", - "pallet-evm-precompile-bn128", - "pallet-evm-precompile-curve25519", - "pallet-evm-precompile-ed25519", - "pallet-evm-precompile-modexp", - "pallet-evm-precompile-sha3fips", - "pallet-evm-precompile-simple", - "pallet-proxy", - "pallet-session", - "pallet-staking", - "pallet-timestamp", - "pallet-utility", +name = "pallet-staking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c870d123f4f053b56af808a4beae1ffc4309a696e829796c26837936c926db3b" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-authorship 38.0.0", + "pallet-session 38.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", "serde", - "serde_json", - "smallvec", - "sp-core", - "sp-io", - "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", - "tangle-primitives", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", ] [[package]] -name = "pallet-multi-asset-delegation-fuzzer" -version = "2.0.0" +name = "pallet-staking-reward-curve" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "pallet-staking-reward-fn" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "988a7ebeacc84d4bdb0b12409681e956ffe35438447d8f8bc78db547cffb6ebc" dependencies = [ - "frame-support", - "frame-system", - "honggfuzz", "log", - "pallet-multi-asset-delegation", - "rand", - "sp-io", - "sp-runtime", - "sp-tracing", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-multisig" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-staking-runtime-api" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7298559ef3a6b2f5dfbe9a3b8f3d22f2ff9b073c97f4c4853d2b316d973e72d" +dependencies = [ + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0", +] + +[[package]] +name = "pallet-state-trie-migration" +version = "40.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138c15b4200b9dc4c3e031def6a865a235cdc76ff91ee96fba19ca1787c9dda6" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-nomination-pools" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-statement" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e03e147efa900e75cd106337f36da3d7dcd185bd9e5f5c3df474c08c3c37d16" dependencies = [ - "frame-support", - "frame-system", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", - "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-tracing", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-statement-store 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-offences" -version = "36.0.0" +name = "pallet-sudo" +version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-support", - "frame-system", - "log", - "pallet-balances", + "docify", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "parity-scale-codec", "scale-info", - "serde", - "sp-runtime", - "sp-staking", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-oracle" -version = "1.1.0" +name = "pallet-sudo" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1574fe2aed3d52db4a389b77b53d8c9758257b121e3e7bbe24c4904e11681e0e" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", "scale-info", - "serde", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "tangle-primitives", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-preimage" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-tangle-lst" +version = "25.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "cfg-if", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", + "pallet-assets 39.0.0", + "pallet-balances 38.0.0", + "pallet-staking 37.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "smart-default", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", ] [[package]] -name = "pallet-proxy" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-tangle-lst-benchmarking" +version = "35.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "pallet-assets 39.0.0", + "pallet-bags-list 36.0.0", + "pallet-balances 38.0.0", + "pallet-staking 37.0.0", + "pallet-staking-reward-curve", + "pallet-tangle-lst", + "pallet-timestamp 36.0.1", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-rewards" -version = "1.2.7" +name = "pallet-timestamp" +version = "36.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "ethabi", - "ethereum", - "ethers", - "fp-account", - "fp-consensus", - "fp-dynamic-fee", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-self-contained", - "fp-storage", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "hex", - "hex-literal 0.4.1", - "itertools 0.13.0", - "libsecp256k1", + "docify", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", - "num_enum", - "pallet-assets", - "pallet-balances", - "pallet-base-fee", - "pallet-dynamic-fee", - "pallet-ethereum", - "pallet-evm", - "pallet-evm-chain-id", - "pallet-evm-precompile-blake2", - "pallet-evm-precompile-bn128", - "pallet-evm-precompile-curve25519", - "pallet-evm-precompile-ed25519", - "pallet-evm-precompile-modexp", - "pallet-evm-precompile-sha3fips", - "pallet-evm-precompile-simple", - "pallet-session", - "pallet-staking", - "pallet-timestamp", "parity-scale-codec", - "precompile-utils", "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-core", - "sp-io", - "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", - "tangle-primitives", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-rewards-rpc" -version = "1.2.7" +name = "pallet-timestamp" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9ba9b71bbfd33ae672f23ba7efaeed2755fdac37b8f946cb7474fc37841b7e1" dependencies = [ - "jsonrpsee 0.23.2", - "pallet-rewards-rpc-runtime-api", + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", - "tangle-primitives", + "scale-info", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-rewards-rpc-runtime-api" -version = "1.2.7" +name = "pallet-tips" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa1d4371a70c309ba11624933f8f5262fe4edad0149c556361d31f26190da936" dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-treasury 37.0.0", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", - "tangle-primitives", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-scheduler" -version = "38.0.0" +name = "pallet-transaction-payment" +version = "37.0.1" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", + "frame-support 37.0.1", + "frame-system 37.1.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-weights", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-services" -version = "1.2.7" +name = "pallet-transaction-payment" +version = "38.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cdb86580c72b58145f9cddba21a0c1814742ca56abc9caac3c1ac72f6bde649" dependencies = [ - "ethabi", - "ethereum", - "fp-account", - "fp-consensus", - "fp-dynamic-fee", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-self-contained", - "fp-storage", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "hex", - "hex-literal 0.4.1", - "itertools 0.13.0", - "k256", - "libsecp256k1", - "log", - "num_enum", - "pallet-assets", - "pallet-balances", - "pallet-base-fee", - "pallet-dynamic-fee", - "pallet-ethereum", - "pallet-evm", - "pallet-evm-chain-id", - "pallet-evm-precompile-balances-erc20", - "pallet-evm-precompile-blake2", - "pallet-evm-precompile-bn128", - "pallet-evm-precompile-curve25519", - "pallet-evm-precompile-ed25519", - "pallet-evm-precompile-modexp", - "pallet-evm-precompile-sha3fips", - "pallet-evm-precompile-simple", - "pallet-evm-precompileset-assets-erc20", - "pallet-session", - "pallet-staking", - "pallet-timestamp", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", - "precompile-utils", "scale-info", "serde", - "serde_json", - "smallvec", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", - "tangle-primitives", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-services-rpc" -version = "1.2.7" +name = "pallet-transaction-payment-rpc" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ "jsonrpsee 0.23.2", - "pallet-services-rpc-runtime-api", + "pallet-transaction-payment-rpc-runtime-api 37.0.0", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-runtime", - "tangle-primitives", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-rpc", + "sp-runtime 39.0.3", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-services-rpc-runtime-api" -version = "1.2.7" +name = "pallet-transaction-payment-rpc-runtime-api" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ + "pallet-transaction-payment 37.0.1", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", - "tangle-primitives", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] -name = "pallet-session" +name = "pallet-transaction-payment-rpc-runtime-api" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49fdf5ab71e9dbcadcf7139736b6ea6bac8ec4a83985d46cbd130e1eec770e41" +dependencies = [ + "pallet-transaction-payment 38.0.2", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-transaction-storage" version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8c337a972a6a796c0a0acc6c03b5e02901c43ad721ce79eb87b45717d75c93b" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-balances 39.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-transaction-storage-proof 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-treasury" +version = "36.0.1" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "impl-trait-for-tuples", - "log", - "pallet-timestamp", + "pallet-balances 38.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-state-machine", - "sp-trie", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-staking" +name = "pallet-treasury" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98bfdd3bb9b58fb010bcd419ff5bf940817a8e404cdbf7886a53ac730f5dda2b" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log", - "pallet-authorship", - "pallet-session", + "docify", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "pallet-balances 39.0.0", "parity-scale-codec", - "rand_chacha", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-staking-reward-curve" -version = "12.0.0" +name = "pallet-tx-pause" +version = "18.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "proc-macro-crate 3.2.0", - "proc-macro2", - "quote", - "syn 2.0.90", + "docify", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "pallet-balances 38.0.0", + "pallet-proxy 37.0.0", + "pallet-utility 37.0.1", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-sudo" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-tx-pause" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cee153f5be5efc84ebd53aa581e5361cde17dc3669ef80d8ad327f4041d89ebe" dependencies = [ "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-balances 39.0.0", + "pallet-proxy 38.0.0", + "pallet-utility 38.0.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-tangle-lst" -version = "25.0.0" +name = "pallet-uniques" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2b13cdaedf2d5bd913a5f6e637cb52b5973d8ed4b8d45e56d921bc4d627006f" dependencies = [ - "cfg-if", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", - "pallet-assets", - "pallet-balances", - "pallet-staking", "parity-scale-codec", "scale-info", - "smart-default", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", - "sp-tracing", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-tangle-lst-benchmarking" -version = "35.0.0" +name = "pallet-utility" +version = "37.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "pallet-utility" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fdcade6efc0b66fc7fc4138964802c02d0ffb7380d894e26b9dd5073727d2b3" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "pallet-assets", - "pallet-bags-list", - "pallet-balances", - "pallet-staking", - "pallet-staking-reward-curve", - "pallet-tangle-lst", - "pallet-timestamp", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-staking", - "sp-std", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-timestamp" -version = "36.0.1" +name = "pallet-vesting" +version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "frame-system 37.1.0", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-storage", - "sp-timestamp", + "sp-runtime 39.0.3", ] [[package]] -name = "pallet-transaction-payment" -version = "37.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-vesting" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "807df2ef13ab6bf940879352c3013bfa00b670458b4c125c2f60e5753f68e3d5" dependencies = [ - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-transaction-payment-rpc" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-whitelist" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ef17df925290865cf37096dd0cb76f787df11805bba01b1d0ca3e106d06280b" dependencies = [ - "jsonrpsee 0.23.2", - "pallet-transaction-payment-rpc-runtime-api", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-weights", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-xcm" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "989676964dbda5f5275650fbdcd3894fe7fac626d113abf89d572b4952adcc36" dependencies = [ - "pallet-transaction-payment", + "bounded-collections", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-balances 39.0.0", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", + "tracing", + "xcm-runtime-apis", ] [[package]] -name = "pallet-treasury" -version = "36.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-xcm-benchmarks" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2da423463933b42f4a4c74175f9e9295a439de26719579b894ce533926665e4a" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "pallet-balances", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", "scale-info", - "serde", - "sp-core", - "sp-runtime", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", ] [[package]] -name = "pallet-tx-pause" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-xcm-bridge-hub" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f336403f9e9bf22a0e1fdb90aa5093c52599c9a0639591fbcc1e979b58862d1b" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", - "pallet-proxy", - "pallet-utility", + "bp-messages", + "bp-runtime", + "bp-xcm-bridge-hub", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-bridge-messages", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", ] [[package]] -name = "pallet-utility" -version = "37.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "pallet-xcm-bridge-hub-router" +version = "0.15.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabf1fdcf451ac79995f11cb9b6a0761924c57bb79442c2d91b3bbefe4dfa081" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "bp-xcm-bridge-hub-router", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", ] [[package]] -name = "pallet-vesting" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "parachains-common" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9460a69f409be27c62161d8b4d36ffc32735d09a4f9097f9c789db0cca7196c" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "cumulus-primitives-core", + "cumulus-primitives-utility", + "frame-support 38.2.0", + "frame-system 38.0.0", "log", + "pallet-asset-tx-payment", + "pallet-assets 40.0.0", + "pallet-authorship 38.0.0", + "pallet-balances 39.0.0", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-xcm", "parity-scale-codec", + "polkadot-primitives 16.0.0", "scale-info", - "sp-runtime", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-parachain-info", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", + "substrate-wasm-builder 24.0.1", +] + +[[package]] +name = "parachains-runtimes-test-utils" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "287d2db0a2d19466caa579a69f021bfdc6fa352f382c8395dade58d1d0c6adfe" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-test-relay-sproof-builder", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-balances 39.0.0", + "pallet-collator-selection", + "pallet-session 38.0.0", + "pallet-timestamp 37.0.0", + "pallet-xcm", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-tracing 17.0.1", + "staging-parachain-info", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", + "substrate-wasm-builder 24.0.1", ] [[package]] @@ -10138,6 +13241,12 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "parity-bytes" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" + [[package]] name = "parity-db" version = "0.4.13" @@ -10186,6 +13295,35 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "parity-util-mem" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +dependencies = [ + "cfg-if", + "ethereum-types", + "hashbrown 0.12.3", + "impl-trait-for-tuples", + "lru 0.8.1", + "parity-util-mem-derive", + "parking_lot 0.12.3", + "primitive-types 0.12.2", + "smallvec", + "winapi", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +dependencies = [ + "proc-macro2", + "syn 1.0.109", + "synstructure 0.12.6", +] + [[package]] name = "parity-wasm" version = "0.45.0" @@ -10551,6 +13689,28 @@ dependencies = [ "plotters-backend", ] +[[package]] +name = "polkadot-ckb-merkle-mountain-range" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4b44320e5f7ce2c18227537a3032ae5b2c476a7e8eddba45333e1011fc31b92" +dependencies = [ + "cfg-if", + "itertools 0.10.5", +] + +[[package]] +name = "polkadot-core-primitives" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2900d3b857e34c480101618a950c3a4fbcddc8c0d50573d48553376185908b8" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + [[package]] name = "polkadot-core-primitives" version = "15.0.0" @@ -10558,8 +13718,25 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "polkadot-parachain-primitives" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5648a2e8ce1f9a0f8c41c38def670cefd91932cd793468e1a5b0b0b4e4af1" +dependencies = [ + "bounded-collections", + "derive_more 0.99.18", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -10570,12 +13747,178 @@ dependencies = [ "bounded-collections", "derive_more 0.99.18", "parity-scale-codec", - "polkadot-core-primitives", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "polkadot-primitives" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b57bc055fa389372ec5fc0001b99aeffd50f3fd379280ce572d935189bb58dd8" +dependencies = [ + "bitvec", + "hex-literal 0.4.1", + "log", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "polkadot-primitives" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bb20b75d33212150242d39890d7ededab55f1084160c337f15d0eb8ca8c3ad4" +dependencies = [ + "bitvec", + "hex-literal 0.4.1", + "log", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", +] + +[[package]] +name = "polkadot-runtime-common" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc15154ba5ca55d323fcf7af0f5dcd39d58dcb4dfac3d9b30404840a6d8bbde4" +dependencies = [ + "bitvec", + "frame-benchmarking 38.0.0", + "frame-election-provider-support 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "libsecp256k1", + "log", + "pallet-asset-rate", + "pallet-authorship 38.0.0", + "pallet-balances 39.0.0", + "pallet-broker", + "pallet-election-provider-multi-phase 37.0.0", + "pallet-fast-unstake", + "pallet-identity 38.0.0", + "pallet-session 38.0.0", + "pallet-staking 38.0.0", + "pallet-staking-reward-fn", + "pallet-timestamp 37.0.0", + "pallet-transaction-payment 38.0.2", + "pallet-treasury 37.0.0", + "pallet-vesting 38.0.0", + "parity-scale-codec", + "polkadot-primitives 16.0.0", + "polkadot-runtime-parachains", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "slot-range-helper", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-session 36.0.0", + "sp-staking 36.0.0", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", + "static_assertions", +] + +[[package]] +name = "polkadot-runtime-metrics" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c306f1ace7644a24de860479f92cf8d6467393bb0c9b0777c57e2d42c9d452a" +dependencies = [ + "bs58 0.5.1", + "frame-benchmarking 38.0.0", + "parity-scale-codec", + "polkadot-primitives 16.0.0", + "sp-tracing 17.0.1", +] + +[[package]] +name = "polkadot-runtime-parachains" +version = "17.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d4cdf181c2419b35c2cbde813da2d8ee777b69b4a6fa346b962d144e3521976" +dependencies = [ + "bitflags 1.3.2", + "bitvec", + "derive_more 0.99.18", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "impl-trait-for-tuples", + "log", + "pallet-authority-discovery", + "pallet-authorship 38.0.0", + "pallet-babe 38.0.0", + "pallet-balances 39.0.0", + "pallet-broker", + "pallet-message-queue", + "pallet-mmr", + "pallet-session 38.0.0", + "pallet-staking 38.0.0", + "pallet-timestamp 37.0.0", + "pallet-vesting 38.0.0", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0", + "polkadot-runtime-metrics", + "rand", + "rand_chacha", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-session 36.0.0", + "sp-staking 36.0.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", ] [[package]] @@ -10584,7 +13927,263 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775" dependencies = [ + "asset-test-utils", + "assets-common", + "binary-merkle-tree", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-test-utils", + "bp-xcm-bridge-hub", + "bp-xcm-bridge-hub-router", + "bridge-hub-common", + "bridge-hub-test-utils", + "bridge-runtime-common", + "cumulus-pallet-aura-ext", + "cumulus-pallet-dmp-queue", + "cumulus-pallet-parachain-system", + "cumulus-pallet-parachain-system-proc-macro", + "cumulus-pallet-session-benchmarking", + "cumulus-pallet-solo-to-para", + "cumulus-pallet-xcm", + "cumulus-pallet-xcmp-queue", + "cumulus-ping", + "cumulus-primitives-aura", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", + "cumulus-primitives-storage-weight-reclaim", + "cumulus-primitives-timestamp", + "cumulus-primitives-utility", + "cumulus-test-relay-sproof-builder", + "frame-benchmarking 38.0.0", + "frame-benchmarking-pallet-pov", + "frame-election-provider-support 38.0.0", + "frame-executive 38.0.0", + "frame-metadata-hash-extension 0.6.0", + "frame-support 38.2.0", + "frame-support-procedural 30.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0", + "frame-system-benchmarking 38.0.0", + "frame-system-rpc-runtime-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-try-runtime 0.44.0", + "pallet-alliance", + "pallet-asset-conversion", + "pallet-asset-conversion-ops", + "pallet-asset-conversion-tx-payment", + "pallet-asset-rate", + "pallet-asset-tx-payment", + "pallet-assets 40.0.0", + "pallet-assets-freezer", + "pallet-atomic-swap", + "pallet-aura", + "pallet-authority-discovery", + "pallet-authorship 38.0.0", + "pallet-babe 38.0.0", + "pallet-bags-list 37.0.0", + "pallet-balances 39.0.0", + "pallet-beefy", + "pallet-beefy-mmr", + "pallet-bounties 37.0.2", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-broker", + "pallet-child-bounties 37.0.0", + "pallet-collator-selection", + "pallet-collective 38.0.0", + "pallet-collective-content", + "pallet-contracts", + "pallet-contracts-mock-network", + "pallet-conviction-voting", + "pallet-core-fellowship", + "pallet-delegated-staking", + "pallet-democracy 38.0.0", + "pallet-dev-mode", + "pallet-election-provider-multi-phase 37.0.0", + "pallet-election-provider-support-benchmarking 37.0.0", + "pallet-elections-phragmen 39.0.0", + "pallet-fast-unstake", + "pallet-glutton", + "pallet-grandpa 38.0.0", + "pallet-identity 38.0.0", + "pallet-im-online 37.0.0", + "pallet-indices 38.0.0", + "pallet-insecure-randomness-collective-flip 26.0.0", + "pallet-lottery", + "pallet-membership", + "pallet-message-queue", + "pallet-migrations", + "pallet-mixnet", + "pallet-mmr", + "pallet-multisig 38.0.0", + "pallet-nft-fractionalization", + "pallet-nfts", + "pallet-nfts-runtime-api", + "pallet-nis", + "pallet-node-authorization", + "pallet-nomination-pools 35.0.2", + "pallet-nomination-pools-benchmarking", + "pallet-nomination-pools-runtime-api", + "pallet-offences 37.0.0", + "pallet-offences-benchmarking", + "pallet-paged-list", + "pallet-parameters", + "pallet-preimage 38.0.0", + "pallet-proxy 38.0.0", + "pallet-ranked-collective", + "pallet-recovery", + "pallet-referenda", + "pallet-remark", + "pallet-revive", + "pallet-revive-fixtures", + "pallet-revive-mock-network", + "pallet-root-offences", + "pallet-root-testing", + "pallet-safe-mode", + "pallet-salary", + "pallet-scheduler 39.0.0", + "pallet-scored-pool", + "pallet-session 38.0.0", + "pallet-session-benchmarking", + "pallet-skip-feeless-payment", + "pallet-society", + "pallet-staking 38.0.0", + "pallet-staking-reward-fn", + "pallet-staking-runtime-api", + "pallet-state-trie-migration", + "pallet-statement", + "pallet-sudo 38.0.0", + "pallet-timestamp 37.0.0", + "pallet-tips", + "pallet-transaction-payment 38.0.2", + "pallet-transaction-payment-rpc-runtime-api 38.0.0", + "pallet-transaction-storage", + "pallet-treasury 37.0.0", + "pallet-tx-pause 19.0.0", + "pallet-uniques", + "pallet-utility 38.0.0", + "pallet-vesting 38.0.0", + "pallet-whitelist", + "pallet-xcm", + "pallet-xcm-benchmarks", + "pallet-xcm-bridge-hub", + "pallet-xcm-bridge-hub-router", + "parachains-common", + "parachains-runtimes-test-utils", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0", + "polkadot-runtime-common", + "polkadot-runtime-metrics", + "polkadot-runtime-parachains", + "polkadot-sdk-frame", + "sc-executor 0.40.1", + "slot-range-helper", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-outbound-queue-merkle-tree", + "snowbridge-outbound-queue-runtime-api", + "snowbridge-pallet-ethereum-client", + "snowbridge-pallet-ethereum-client-fixtures", + "snowbridge-pallet-inbound-queue", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-pallet-outbound-queue", + "snowbridge-pallet-system", + "snowbridge-router-primitives", + "snowbridge-runtime-common", + "snowbridge-runtime-test-common", + "snowbridge-system-runtime-api", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-api-proc-macro 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery", + "sp-block-builder 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-babe 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-beefy", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-pow", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core-hashing", + "sp-crypto-ec-utils", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-genesis-builder 0.15.1", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mixnet 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mmr-primitives", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-offchain 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-session 36.0.0", + "sp-staking 36.0.0", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-statement-store 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1", + "sp-transaction-pool 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-transaction-storage-proof 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-parachain-info", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", + "substrate-bip39 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "testnet-parachains-constants", + "xcm-runtime-apis", +] + +[[package]] +name = "polkadot-sdk-frame" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbdeb15ce08142082461afe1a62c15f7ce10a731d91b203ad6a8dc8d2e4a6a54" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0", + "frame-executive 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "frame-system-benchmarking 38.0.0", + "frame-system-rpc-runtime-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-try-runtime 0.44.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-block-builder 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-offchain 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-session 36.0.0", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-transaction-pool 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -10595,9 +14194,22 @@ checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" dependencies = [ "libc", "log", - "polkavm-assembler", - "polkavm-common", - "polkavm-linux-raw", + "polkavm-assembler 0.9.0", + "polkavm-common 0.9.0", + "polkavm-linux-raw 0.9.0", +] + +[[package]] +name = "polkavm" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ec0c5935f2eff23cfc4653002f4f8d12b37f87a720e0631282d188c32089d6" +dependencies = [ + "libc", + "log", + "polkavm-assembler 0.10.0", + "polkavm-common 0.10.0", + "polkavm-linux-raw 0.10.0", ] [[package]] @@ -10609,6 +14221,15 @@ dependencies = [ "log", ] +[[package]] +name = "polkavm-assembler" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8e4fd5a43100bf1afe9727b8130d01f966f5cfc9144d5604b21e795c2bcd80e" +dependencies = [ + "log", +] + [[package]] name = "polkavm-common" version = "0.9.0" @@ -10618,13 +14239,32 @@ dependencies = [ "log", ] +[[package]] +name = "polkavm-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0097b48bc0bedf9f3f537ce8f37e8f1202d8d83f9b621bdb21ff2c59b9097c50" +dependencies = [ + "log", + "polkavm-assembler 0.10.0", +] + [[package]] name = "polkavm-derive" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" dependencies = [ - "polkavm-derive-impl-macro", + "polkavm-derive-impl-macro 0.9.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dcc701385c08c31bdb0569f0c51a290c580d892fa77f1dd88a7352a62679ecf" +dependencies = [ + "polkavm-derive-impl-macro 0.10.0", ] [[package]] @@ -10633,7 +14273,19 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" dependencies = [ - "polkavm-common", + "polkavm-common 0.9.0", + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7855353a5a783dd5d09e3b915474bddf66575f5a3cf45dec8d1c5e051ba320dc" +dependencies = [ + "polkavm-common 0.10.0", "proc-macro2", "quote", "syn 2.0.90", @@ -10645,7 +14297,17 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ - "polkavm-derive-impl", + "polkavm-derive-impl 0.9.0", + "syn 2.0.90", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9324fe036de37c17829af233b46ef6b5562d4a0c09bb7fdb9f8378856dee30cf" +dependencies = [ + "polkavm-derive-impl 0.10.0", "syn 2.0.90", ] @@ -10653,13 +14315,28 @@ dependencies = [ name = "polkavm-linker" version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.5", + "log", + "object 0.32.2", + "polkavm-common 0.9.0", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linker" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d704edfe7bdcc876784f19436d53d515b65eb07bc9a0fae77085d552c2dbbb5" dependencies = [ "gimli 0.28.1", "hashbrown 0.14.5", "log", - "object 0.32.2", - "polkavm-common", + "object 0.36.5", + "polkavm-common 0.10.0", "regalloc2 0.9.3", "rustc-demangle", ] @@ -10670,6 +14347,12 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" +[[package]] +name = "polkavm-linux-raw" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e45fa59c7e1bb12ef5289080601e9ec9b31435f6e32800a5c90c132453d126" + [[package]] name = "polling" version = "3.7.4" @@ -10750,8 +14433,8 @@ dependencies = [ "environmental", "evm", "fp-evm", - "frame-support", - "frame-system", + "frame-support 37.0.1", + "frame-system 37.1.0", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -10763,11 +14446,11 @@ dependencies = [ "scale-info", "serde", "similar-asserts", - "sp-core", - "sp-io", - "sp-runtime", - "sp-weights", - "staging-xcm", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "staging-xcm 14.1.0", ] [[package]] @@ -10900,8 +14583,8 @@ version = "0.1.0" dependencies = [ "evm-tracing-events", "parity-scale-codec", - "sp-runtime-interface", - "sp-std", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -11730,6 +15413,23 @@ dependencies = [ "librocksdb-sys", ] +[[package]] +name = "rococo-runtime-constants" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1ec6683a2e52fe3be2eaf942a80619abd99eb36e973c5ab4489a2f3b100db5c" +dependencies = [ + "frame-support 38.2.0", + "polkadot-primitives 16.0.0", + "polkadot-runtime-common", + "smallvec", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", +] + [[package]] name = "route-recognizer" version = "0.3.1" @@ -11760,7 +15460,7 @@ dependencies = [ "rpc-core-types", "serde", "serde_json", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -11813,11 +15513,11 @@ dependencies = [ "rpc-primitives-debug", "sc-client-api", "sc-utils", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-io", - "sp-runtime", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "tokio", ] @@ -11828,9 +15528,9 @@ dependencies = [ "ethereum", "ethereum-types", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -11840,9 +15540,9 @@ dependencies = [ "ethereum", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -11862,10 +15562,10 @@ dependencies = [ "rpc-primitives-debug", "sc-client-api", "sc-utils", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", "tokio", "tracing", @@ -11884,9 +15584,9 @@ dependencies = [ "sc-transaction-pool-api", "serde", "sha3", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.3", ] [[package]] @@ -12252,14 +15952,26 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "sc-allocator" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b975ee3a95eaacb611e7b415737a7fa2db4d8ad7b880cc1b97371b04e95c7903" +dependencies = [ + "log", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1", + "thiserror 1.0.69", +] + [[package]] name = "sc-allocator" version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ "log", - "sp-core", - "sp-wasm-interface", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-wasm-interface 21.0.0", "thiserror 1.0.69", ] @@ -12276,12 +15988,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", ] @@ -12291,13 +16003,13 @@ version = "0.42.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-trie", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -12312,19 +16024,19 @@ dependencies = [ "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", - "sc-executor", + "sc-executor 0.40.0", "sc-network", "sc-telemetry", "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-genesis-builder", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-tracing", + "sp-genesis-builder 0.15.0", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", ] [[package]] @@ -12369,12 +16081,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", - "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-panic-handler 13.0.0", + "sp-runtime 39.0.3", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", "tokio", ] @@ -12389,20 +16101,20 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor", + "sc-executor 0.40.0", "sc-transaction-pool-api", "sc-utils", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-database", - "sp-externalities", - "sp-runtime", - "sp-state-machine", - "sp-statement-store", - "sp-storage", - "sp-trie", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-statement-store 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "substrate-prometheus-endpoint", ] @@ -12423,13 +16135,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -12446,12 +16158,12 @@ dependencies = [ "sc-network-types", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] @@ -12470,17 +16182,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-aura", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-slots 0.40.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] @@ -12505,18 +16217,18 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", - "sp-application-crypto", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-core", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-slots 0.40.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] @@ -12532,14 +16244,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] @@ -12553,7 +16265,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.3", ] [[package]] @@ -12561,7 +16273,7 @@ name = "sc-consensus-grandpa" version = "0.29.1" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "ahash", + "ahash 0.8.11", "array-bytes", "async-trait", "dyn-clone", @@ -12586,16 +16298,16 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-grandpa", - "sp-core", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] @@ -12615,8 +16327,8 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] @@ -12640,17 +16352,17 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-timestamp", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-slots 0.40.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] @@ -12668,14 +16380,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-consensus-slots 0.40.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -12685,44 +16397,113 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor-common", - "sc-executor-polkavm", - "sc-executor-wasmtime", + "sc-executor-common 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sc-executor-polkavm 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sc-executor-wasmtime 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "schnellru", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-panic-handler 13.0.0", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-wasm-interface 21.0.0", + "tracing", +] + +[[package]] +name = "sc-executor" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f0cc0a3728fd033589183460c5a49b2e7545d09dc89a098216ef9e9aadcd9dc" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-polkavm 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-wasmtime 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", "schnellru", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", - "sp-wasm-interface", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 13.0.1", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1", "tracing", ] +[[package]] +name = "sc-executor-common" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3b703a33dcb7cddf19176fdf12294b9a6408125836b0f4afee3e6969e7f190" +dependencies = [ + "polkavm 0.9.3", + "sc-allocator 29.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1", + "thiserror 1.0.69", + "wasm-instrument", +] + [[package]] name = "sc-executor-common" version = "0.35.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "polkavm", - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface", + "polkavm 0.9.3", + "sc-allocator 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-wasm-interface 21.0.0", "thiserror 1.0.69", "wasm-instrument", ] +[[package]] +name = "sc-executor-polkavm" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26fe58d9cacfab73e5595fa84b80f7bd03efebe54a0574daaeb221a1d1f7ab80" +dependencies = [ + "log", + "polkavm 0.9.3", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1", +] + [[package]] name = "sc-executor-polkavm" version = "0.32.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ "log", - "polkavm", - "sc-executor-common", - "sp-wasm-interface", + "polkavm 0.9.3", + "sc-executor-common 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-wasm-interface 21.0.0", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd498f2f77ec1f861c30804f5bfd796d4afcc8ce44ea1f11bfbe2847551d161" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "parking_lot 0.12.3", + "rustix 0.36.17", + "sc-allocator 29.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1", + "wasmtime", ] [[package]] @@ -12736,10 +16517,10 @@ dependencies = [ "log", "parking_lot 0.12.3", "rustix 0.36.17", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sc-allocator 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sc-executor-common 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-wasm-interface 21.0.0", "wasmtime", ] @@ -12757,7 +16538,7 @@ dependencies = [ "sc-network-common", "sc-network-sync", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.3", ] [[package]] @@ -12768,9 +16549,9 @@ dependencies = [ "array-bytes", "parking_lot 0.12.3", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", ] @@ -12794,12 +16575,12 @@ dependencies = [ "sc-network", "sc-network-types", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-consensus", - "sp-core", - "sp-keystore", - "sp-mixnet", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-mixnet 0.12.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] @@ -12840,10 +16621,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -12868,8 +16649,8 @@ dependencies = [ "sc-consensus", "sc-network-types", "sp-consensus", - "sp-consensus-grandpa", - "sp-runtime", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] @@ -12877,7 +16658,7 @@ name = "sc-network-gossip" version = "0.44.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "ahash", + "ahash 0.8.11", "futures 0.3.31", "futures-timer", "log", @@ -12886,7 +16667,7 @@ dependencies = [ "sc-network-sync", "sc-network-types", "schnellru", - "sp-runtime", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", "tracing", ] @@ -12907,8 +16688,8 @@ dependencies = [ "sc-network", "sc-network-types", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] @@ -12937,12 +16718,12 @@ dependencies = [ "sc-utils", "schnellru", "smallvec", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-grandpa", - "sp-core", - "sp-runtime", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -12964,7 +16745,7 @@ dependencies = [ "sc-network-types", "sc-utils", "sp-consensus", - "sp-runtime", + "sp-runtime 39.0.3", "substrate-prometheus-endpoint", ] @@ -13009,12 +16790,12 @@ dependencies = [ "sc-network-types", "sc-transaction-pool-api", "sc-utils", - "sp-api", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-offchain", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "threadpool", "tracing", ] @@ -13047,16 +16828,16 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-offchain", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-rpc", - "sp-runtime", - "sp-session", - "sp-statement-store", - "sp-version", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-statement-store 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "tokio", ] @@ -13073,10 +16854,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 39.0.3", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", ] @@ -13123,12 +16904,12 @@ dependencies = [ "sc-utils", "schnellru", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 39.0.3", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", "tokio", "tokio-stream", @@ -13154,7 +16935,7 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-consensus", - "sc-executor", + "sc-executor 0.40.0", "sc-informant", "sc-keystore", "sc-network", @@ -13175,20 +16956,20 @@ dependencies = [ "schnellru", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", - "sp-session", - "sp-state-machine", - "sp-storage", - "sp-transaction-pool", - "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-transaction-storage-proof 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -13206,7 +16987,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -13224,10 +17005,10 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-io", - "sp-std", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -13268,12 +17049,12 @@ dependencies = [ "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-rpc", - "sp-runtime", - "sp-tracing", + "sp-runtime 39.0.3", + "sp-tracing 17.0.0", "thiserror 1.0.69", "tracing", "tracing-log", @@ -13307,13 +17088,13 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-runtime", - "sp-tracing", - "sp-transaction-pool", + "sp-runtime 39.0.3", + "sp-tracing 17.0.0", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] @@ -13329,8 +17110,8 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] @@ -13346,7 +17127,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -13354,6 +17135,16 @@ name = "scale-bits" version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" +dependencies = [ + "parity-scale-codec", + "scale-type-resolver", +] + +[[package]] +name = "scale-bits" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27243ab0d2d6235072b017839c5f0cd1a3b1ce45c0f7a715363b0c7d36c76c94" dependencies = [ "parity-scale-codec", "scale-info", @@ -13369,31 +17160,31 @@ checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ "derive_more 0.99.18", "parity-scale-codec", - "scale-bits", + "scale-bits 0.6.0", "scale-type-resolver", "smallvec", ] [[package]] name = "scale-decode" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ae9cc099ae85ff28820210732b00f019546f36f33225f509fe25d5816864a0" +checksum = "4d78196772d25b90a98046794ce0fe2588b39ebdfbdc1e45b4c6c85dd43bebad" dependencies = [ - "derive_more 1.0.0", "parity-scale-codec", "primitive-types 0.13.1", - "scale-bits", + "scale-bits 0.7.0", "scale-decode-derive", "scale-type-resolver", "smallvec", + "thiserror 2.0.8", ] [[package]] name = "scale-decode-derive" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ed9401effa946b493f9f84dc03714cca98119b230497df6f3df6b84a2b03648" +checksum = "2f4b54a1211260718b92832b661025d1f1a4b6930fbadd6908e00edd265fa5f7" dependencies = [ "darling", "proc-macro2", @@ -13403,24 +17194,24 @@ dependencies = [ [[package]] name = "scale-encode" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9271284d05d0749c40771c46180ce89905fd95aa72a2a2fddb4b7c0aa424db" +checksum = "64901733157f9d25ef86843bd783eda439fac7efb0ad5a615d12d2cf3a29464b" dependencies = [ - "derive_more 1.0.0", "parity-scale-codec", "primitive-types 0.13.1", - "scale-bits", + "scale-bits 0.7.0", "scale-encode-derive", "scale-type-resolver", "smallvec", + "thiserror 2.0.8", ] [[package]] name = "scale-encode-derive" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "102fbc6236de6c53906c0b262f12c7aa69c2bdc604862c12728f5f4d370bc137" +checksum = "78a3993a13b4eafa89350604672c8757b7ea84c7c5947d4b3691e3169c96379b" dependencies = [ "darling", "proc-macro-crate 3.2.0", @@ -13467,34 +17258,33 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc4c70c7fea2eef1740f0081d3fe385d8bee1eef11e9272d3bec7dc8e5438e0" +checksum = "dc3173be608895eb117cf397ab4f31f00e2ed2c7af1c6e0b8f5d51d0a0967053" dependencies = [ "proc-macro2", "quote", "scale-info", "syn 2.0.90", - "thiserror 1.0.69", + "thiserror 2.0.8", ] [[package]] name = "scale-value" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5e0ef2a0ee1e02a69ada37feb87ea1616ce9808aca072befe2d3131bf28576e" +checksum = "8ca8b26b451ecb7fd7b62b259fa28add63d12ec49bbcac0e01fcb4b5ae0c09aa" dependencies = [ "base58", "blake2 0.10.6", - "derive_more 1.0.0", "either", "parity-scale-codec", - "scale-bits", - "scale-decode 0.14.0", + "scale-bits 0.7.0", + "scale-decode 0.16.0", "scale-encode", - "scale-info", "scale-type-resolver", "serde", + "thiserror 2.0.8", "yap", ] @@ -13513,7 +17303,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -13765,6 +17555,15 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "serde-big-array" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd31f59f6fe2b0c055371bb2f16d7f0aa7d8881676c04a55b1596d1a17cd10a4" +dependencies = [ + "serde", +] + [[package]] name = "serde_bytes" version = "0.11.15" @@ -14057,6 +17856,18 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" +[[package]] +name = "slot-range-helper" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e34f1146a457a5c554dedeae6c7273aa54c3b031f3e9eb0abd037b5511e2ce9" +dependencies = [ + "enumn", + "parity-scale-codec", + "paste", + "sp-runtime 39.0.5", +] + [[package]] name = "smallvec" version = "1.13.2" @@ -14170,7 +17981,7 @@ dependencies = [ "hex", "itertools 0.13.0", "log", - "lru", + "lru 0.12.5", "parking_lot 0.12.3", "pin-project", "rand", @@ -14208,27 +18019,341 @@ dependencies = [ ] [[package]] -name = "snowbridge-amcl" -version = "1.0.2" +name = "snowbridge-amcl" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460a9ed63cdf03c1b9847e8a12a5f5ba19c4efd5869e4a737e05be25d7c427e5" +dependencies = [ + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "snowbridge-beacon-primitives" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10bd720997e558beb556d354238fa90781deb38241cf31c1b6368738ef21c279" +dependencies = [ + "byte-slice-cast", + "frame-support 38.2.0", + "hex", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "snowbridge-ethereum", + "snowbridge-milagro-bls 1.5.4 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ssz_rs", + "ssz_rs_derive", +] + +[[package]] +name = "snowbridge-core" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6be61e4db95d1e253a1d5e722953b2d2f6605e5f9761f0a919e5d3fbdbff9da9" +dependencies = [ + "ethabi-decode", + "frame-support 38.2.0", + "frame-system 38.0.0", + "hex-literal 0.4.1", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", +] + +[[package]] +name = "snowbridge-ethereum" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc3d6d549c57df27cf89ec852f932fa4008eea877a6911a87e03e8002104eabd" +dependencies = [ + "ethabi-decode", + "ethbloom", + "ethereum-types", + "hex-literal 0.4.1", + "parity-bytes", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "serde-big-array", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-milagro-bls" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "026aa8638f690a53e3f7676024b9e913b1cab0111d1b7b92669d40a188f9d7e6" +dependencies = [ + "hex", + "lazy_static", + "parity-scale-codec", + "rand", + "scale-info", + "snowbridge-amcl", + "zeroize", +] + +[[package]] +name = "snowbridge-milagro-bls" +version = "1.5.4" +source = "git+https://github.com/Snowfork/milagro_bls?rev=43a5d480ed6e3b83de4cf54888680d51604199e6#43a5d480ed6e3b83de4cf54888680d51604199e6" +dependencies = [ + "hex", + "lazy_static", + "parity-scale-codec", + "rand", + "scale-info", + "snowbridge-amcl", + "zeroize", +] + +[[package]] +name = "snowbridge-outbound-queue-merkle-tree" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74c6a9b65fa61711b704f0c6afb3663c6288288e8822ddae5cc1146fe3ad9ce8" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "snowbridge-outbound-queue-runtime-api" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d27b8d9cb8022637a5ce4f52692520fa75874f393e04ef5cd75bd8795087f6" +dependencies = [ + "frame-support 38.2.0", + "parity-scale-codec", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-ethereum-client" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d53d32d8470c643f9f8c1f508e1e34263f76297e4c9150e10e8f2e0b63992e1" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-timestamp 37.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-pallet-ethereum-client-fixtures", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", +] + +[[package]] +name = "snowbridge-pallet-ethereum-client-fixtures" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3984b98465af1d862d4e87ba783e1731f2a3f851b148d6cb98d526cebd351185" +dependencies = [ + "hex-literal 0.4.1", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-inbound-queue" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2e6a9d00e60e3744e6b6f0c21fea6694b9c6401ac40e41340a96e561dcf1935" +dependencies = [ + "alloy-primitives 0.4.2", + "alloy-sol-types 0.4.2", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "pallet-balances 39.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-router-primitives", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", +] + +[[package]] +name = "snowbridge-pallet-inbound-queue-fixtures" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f251e579b3d3d93cf833c8e503122808742dee33e7ea53b0f292a76c024d66" +dependencies = [ + "hex-literal 0.4.1", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-outbound-queue" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d49478041b6512c710d0d4655675d146fe00a8e0c1624e5d8a1d6c161d490f" +dependencies = [ + "bridge-hub-common", + "ethabi-decode", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-system" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "674db59b3c8013382e5c07243ad9439b64d81d2e8b3c4f08d752b55aa5de697e" +dependencies = [ + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", + "frame-system 38.0.0", + "log", + "parity-scale-codec", + "scale-info", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", +] + +[[package]] +name = "snowbridge-router-primitives" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aefe74eafeac92e1d9e46b7bb76ec297f6182b4a023f7e7eb7eb8be193f93bef" +dependencies = [ + "frame-support 38.2.0", + "hex-literal 0.4.1", + "log", + "parity-scale-codec", + "scale-info", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", +] + +[[package]] +name = "snowbridge-runtime-common" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460a9ed63cdf03c1b9847e8a12a5f5ba19c4efd5869e4a737e05be25d7c427e5" +checksum = "6093f0e73d6cfdd2eea8712155d1d75b5063fc9b1d854d2665b097b4bb29570d" dependencies = [ + "frame-support 38.2.0", + "log", "parity-scale-codec", - "scale-info", + "snowbridge-core", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", ] [[package]] -name = "snowbridge-milagro-bls" -version = "1.5.4" -source = "git+https://github.com/Snowfork/milagro_bls?rev=43a5d480ed6e3b83de4cf54888680d51604199e6#43a5d480ed6e3b83de4cf54888680d51604199e6" +name = "snowbridge-runtime-test-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "893480d6cde2489051c65efb5d27fa87efe047b3b61216d8e27bb2f0509b7faf" +dependencies = [ + "cumulus-pallet-parachain-system", + "frame-support 38.2.0", + "frame-system 38.0.0", + "pallet-balances 39.0.0", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-session 38.0.0", + "pallet-timestamp 37.0.0", + "pallet-utility 38.0.0", + "pallet-xcm", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "snowbridge-core", + "snowbridge-pallet-ethereum-client", + "snowbridge-pallet-ethereum-client-fixtures", + "snowbridge-pallet-outbound-queue", + "snowbridge-pallet-system", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "staging-parachain-info", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", +] + +[[package]] +name = "snowbridge-system-runtime-api" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68b8b83b3db781c49844312a23965073e4d93341739a35eafe526c53b578d3b7" dependencies = [ - "hex", - "lazy_static", "parity-scale-codec", - "rand", - "scale-info", - "snowbridge-amcl", - "zeroize", + "snowbridge-core", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", ] [[package]] @@ -14281,6 +18406,29 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "sp-api" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbce492e0482134128b7729ea36f5ef1a9f9b4de2d48ff8dde7b5e464e28ce75" +dependencies = [ + "docify", + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", +] + [[package]] name = "sp-api" version = "34.0.0" @@ -14291,18 +18439,33 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-externalities", - "sp-metadata-ir", - "sp-runtime", - "sp-runtime-interface", - "sp-state-machine", - "sp-trie", - "sp-version", + "sp-api-proc-macro 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-metadata-ir 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", ] +[[package]] +name = "sp-api-proc-macro" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9aadf9e97e694f0e343978aa632938c5de309cbcc8afed4136cb71596737278" +dependencies = [ + "Inflector", + "blake2 0.10.6", + "expander", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "sp-api-proc-macro" version = "20.0.0" @@ -14317,6 +18480,19 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "sp-application-crypto" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8133012faa5f75b2f0b1619d9f720c1424ac477152c143e5f7dbde2fe1a958" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-application-crypto" version = "38.0.0" @@ -14325,8 +18501,24 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-arithmetic" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" +dependencies = [ + "docify", + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", ] [[package]] @@ -14343,14 +18535,38 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "sp-authority-discovery" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "519c33af0e25ba2dd2eb3790dc404d634b6e4ce0801bcc8fa3574e07c365e734" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "sp-block-builder" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74738809461e3d4bd707b5b94e0e0c064a623a74a6a8fe5c98514417a02858dd" +dependencies = [ + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + [[package]] name = "sp-block-builder" version = "34.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "sp-api", - "sp-inherents", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] @@ -14362,12 +18578,12 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "schnellru", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-consensus", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", "tracing", ] @@ -14380,13 +18596,30 @@ dependencies = [ "async-trait", "futures 0.3.31", "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", ] +[[package]] +name = "sp-consensus-aura" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a8faaa05bbcb9c41f0cc535c4c1315abf6df472b53eae018678d1b4d811ac47" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-slots 0.40.1", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-consensus-aura" version = "0.40.0" @@ -14395,12 +18628,31 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-timestamp", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-slots 0.40.0", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-consensus-babe" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36ee95e17ee8dcd14db7d584b899a426565ca9abe5a266ab82277977fc547f86" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -14412,13 +18664,53 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-timestamp", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-slots 0.40.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-consensus-beefy" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d97e8cd75d85d15cda6f1923cf3834e848f80d5a6de1cf4edbbc5f0ad607eb" +dependencies = [ + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mmr-primitives", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "strum 0.26.3", +] + +[[package]] +name = "sp-consensus-grandpa" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "587b791efe6c5f18e09dbbaf1ece0ee7b5fe51602c233e7151a3676b0de0260b" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] @@ -14431,11 +18723,23 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "sp-consensus-pow" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fa6b7d199a1c16cea1b74ee7cee174bf08f2120ab66a87bee7b12353100b47c" +dependencies = [ + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] @@ -14446,7 +18750,66 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-timestamp", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-consensus-slots" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbafb7ed44f51c22fa277fb39b33dc601fa426133a8e2b53f3f46b10f07fba43" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-core" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c961a5e33fb2962fa775c044ceba43df9c6f917e2c35d63bfe23738468fa76a7" +dependencies = [ + "array-bytes", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra", + "futures 0.3.31", + "hash-db", + "hash256-std-hasher", + "impl-serde 0.4.0", + "itertools 0.11.0", + "k256", + "libsecp256k1", + "log", + "merlin", + "parity-bip39", + "parity-scale-codec", + "parking_lot 0.12.3", + "paste", + "primitive-types 0.12.2", + "rand", + "scale-info", + "schnorrkel", + "secp256k1 0.28.2", + "secrecy 0.8.0", + "serde", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ss58-registry", + "substrate-bip39 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", + "tracing", + "w3f-bls", + "zeroize", ] [[package]] @@ -14482,19 +18845,49 @@ dependencies = [ "secrecy 0.8.0", "serde", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "ss58-registry", - "substrate-bip39", + "substrate-bip39 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", "tracing", "w3f-bls", "zeroize", ] +[[package]] +name = "sp-core-hashing" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f812cb2dff962eb378c507612a50f1c59f52d92eb97b710f35be3c2346a3cd7" +dependencies = [ + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-crypto-ec-utils" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acb24f8a607a48a87f0ee4c090fc5d577eee49ff39ced6a3c491e06eca03c37" +dependencies = [ + "ark-bls12-377", + "ark-bls12-377-ext", + "ark-bls12-381", + "ark-bls12-381-ext", + "ark-bw6-761", + "ark-bw6-761-ext", + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ed-on-bls12-377-ext", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ed-on-bls12-381-bandersnatch-ext", + "ark-scale", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-crypto-hashing" version = "0.1.0" @@ -14522,6 +18915,17 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" +dependencies = [ + "quote", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 2.0.90", +] + [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" @@ -14541,6 +18945,17 @@ dependencies = [ "parking_lot 0.12.3", ] +[[package]] +name = "sp-debug-derive" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "sp-debug-derive" version = "14.0.0" @@ -14554,23 +18969,61 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a904407d61cb94228c71b55a9d3708e9d6558991f9e83bd42bd91df37a159d30" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-externalities" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.15.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "environmental", "parity-scale-codec", - "sp-storage", + "scale-info", + "serde_json", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a646ed222fd86d5680faa4a8967980eb32f644cae6c8523e1c689a6deda3e8" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde_json", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] -name = "sp-genesis-builder" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +name = "sp-inherents" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afffbddc380d99a90c459ba1554bbbc01d62e892de9f1485af6940b89c4c0d57" dependencies = [ + "async-trait", + "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "serde_json", - "sp-api", - "sp-runtime", + "sp-runtime 39.0.5", + "thiserror 1.0.69", ] [[package]] @@ -14582,10 +19035,37 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] +[[package]] +name = "sp-io" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ef7eb561bb4839cc8424ce58c5ea236cbcca83f26fcc0426d8decfe8aa97d4" +dependencies = [ + "bytes", + "docify", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "polkavm-derive 0.9.1", + "rustversion", + "secp256k1 0.28.2", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", + "tracing-core", +] + [[package]] name = "sp-io" version = "38.0.0" @@ -14597,31 +19077,54 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.9.1", "rustversion", "secp256k1 0.28.2", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", - "sp-tracing", - "sp-trie", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "tracing", "tracing-core", ] +[[package]] +name = "sp-keyring" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c0e20624277f578b27f44ecfbe2ebc2e908488511ee2c900c5281599f700ab3" +dependencies = [ + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "strum 0.26.3", +] + [[package]] name = "sp-keyring" version = "39.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "strum 0.26.3", ] +[[package]] +name = "sp-keystore" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0248b4d784cb4a01472276928977121fa39d977a5bb24793b6b15e64b046df42" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-keystore" version = "0.40.0" @@ -14629,8 +19132,18 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core", - "sp-externalities", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" +dependencies = [ + "thiserror 1.0.69", + "zstd 0.12.4", ] [[package]] @@ -14642,6 +19155,17 @@ dependencies = [ "zstd 0.12.4", ] +[[package]] +name = "sp-metadata-ir" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a616fa51350b35326682a472ee8e6ba742fdacb18babac38ecd46b3e05ead869" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", +] + [[package]] name = "sp-metadata-ir" version = "0.7.0" @@ -14652,6 +19176,18 @@ dependencies = [ "scale-info", ] +[[package]] +name = "sp-mixnet" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0b017dd54823b6e62f9f7171a1df350972e5c6d0bf17e0c2f78680b5c31942" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-mixnet" version = "0.12.0" @@ -14659,8 +19195,40 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-mmr-primitives" +version = "34.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a12dd76e368f1e48144a84b4735218b712f84b3f976970e2f25a29b30440e10" +dependencies = [ + "log", + "parity-scale-codec", + "polkadot-ckb-merkle-mountain-range", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-npos-elections" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af922f112c7c1ed199eabe14f12a82ceb75e1adf0804870eccfbcf3399492847" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] @@ -14671,9 +19239,20 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "sp-offchain" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d9de237d72ecffd07f90826eef18360208b16d8de939d54e61591fac0fcbf99" +dependencies = [ + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] @@ -14681,9 +19260,9 @@ name = "sp-offchain" version = "34.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] @@ -14696,6 +19275,16 @@ dependencies = [ "regex", ] +[[package]] +name = "sp-panic-handler" +version = "13.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81478b3740b357fa0ea10fcdc1ee02ebae7734e50f80342c4743476d9f78eeea" +dependencies = [ + "backtrace", + "regex", +] + [[package]] name = "sp-rpc" version = "32.0.0" @@ -14703,7 +19292,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "rustc-hash 1.1.0", "serde", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -14723,15 +19312,62 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", - "sp-weights", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "tracing", +] + +[[package]] +name = "sp-runtime" +version = "39.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e00503b83cf48fffe48746b91b9b832d6785d4e2eeb0941558371eac6baac6" +dependencies = [ + "docify", + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "num-traits", + "parity-scale-codec", + "paste", + "rand", + "scale-info", + "serde", + "simple-mermaid", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", ] +[[package]] +name = "sp-runtime-interface" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985eb981f40c689c6a0012c937b68ed58dabb4341d06f2dfe4dfd5ed72fa4017" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "polkavm-derive 0.9.1", + "primitive-types 0.12.2", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface-proc-macro 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1", + "sp-wasm-interface 21.0.1", + "static_assertions", +] + [[package]] name = "sp-runtime-interface" version = "28.0.0" @@ -14740,17 +19376,31 @@ dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.9.1", "primitive-types 0.12.2", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime-interface-proc-macro 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", + "sp-wasm-interface 21.0.0", "static_assertions", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" +dependencies = [ + "Inflector", + "expander", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" @@ -14771,11 +19421,40 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-staking", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-session" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00a3a307fedc423fb8cd2a7726a3bbb99014f1b4b52f26153993e2aae3338fe6" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-staking 36.0.0", +] + +[[package]] +name = "sp-staking" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "143a764cacbab58347d8b2fd4c8909031fb0888d7b02a0ec9fa44f81f780d732" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", ] [[package]] @@ -14787,8 +19466,43 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "sp-staking" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a73eedb4b85f4cd420d31764827546aa22f82ce1646d0fd258993d051de7a90" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + +[[package]] +name = "sp-state-machine" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "930104d6ae882626e8880d9b1578da9300655d337a3ffb45e130c608b6c89660" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand", + "smallvec", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 13.0.1", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", + "tracing", + "trie-db", ] [[package]] @@ -14802,15 +19516,40 @@ dependencies = [ "parking_lot 0.12.3", "rand", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-trie", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-panic-handler 13.0.0", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", "tracing", "trie-db", ] +[[package]] +name = "sp-statement-store" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c219bc34ef4d1f9835f3ed881f965643c32034fcc030eb33b759dadbc802c1c2" +dependencies = [ + "aes-gcm", + "curve25519-dalek", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand", + "scale-info", + "sha2 0.10.8", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", + "x25519-dalek", +] + [[package]] name = "sp-statement-store" version = "18.0.0" @@ -14824,22 +19563,41 @@ dependencies = [ "rand", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", - "sp-externalities", - "sp-runtime", - "sp-runtime-interface", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", "x25519-dalek", ] +[[package]] +name = "sp-std" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" + [[package]] name = "sp-std" version = "14.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" +[[package]] +name = "sp-storage" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" +dependencies = [ + "impl-serde 0.4.0", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-storage" version = "21.0.0" @@ -14849,7 +19607,20 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-timestamp" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72a1cb4df653d62ccc0dbce1db45d1c9443ec60247ee9576962d24da4c9c6f07" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "thiserror 1.0.69", ] [[package]] @@ -14859,8 +19630,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081 dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", "thiserror 1.0.69", ] @@ -14875,13 +19646,50 @@ dependencies = [ "tracing-subscriber 0.3.19", ] +[[package]] +name = "sp-tracing" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf641a1d17268c8fcfdb8e0fa51a79c2d4222f4cfda5f3944dbdbc384dced8d5" +dependencies = [ + "parity-scale-codec", + "tracing", + "tracing-core", + "tracing-subscriber 0.3.19", +] + +[[package]] +name = "sp-transaction-pool" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc4bf251059485a7dd38fe4afeda8792983511cc47f342ff4695e2dcae6b5247" +dependencies = [ + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", +] + [[package]] name = "sp-transaction-pool" version = "34.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", +] + +[[package]] +name = "sp-transaction-storage-proof" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c765c2e9817d95f13d42a9f2295c60723464669765c6e5acbacebd2f54932f67" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -14892,10 +19700,34 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-trie", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "sp-trie" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6282aef9f4b6ecd95a67a45bcdb67a71f4a4155c09a53c10add4ffe823db18cd" +dependencies = [ + "ahash 0.8.11", + "hash-db", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand", + "scale-info", + "schnellru", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", + "tracing", + "trie-db", + "trie-root", ] [[package]] @@ -14903,7 +19735,7 @@ name = "sp-trie" version = "37.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "ahash", + "ahash 0.8.11", "hash-db", "lazy_static", "memory-db", @@ -14913,14 +19745,32 @@ dependencies = [ "rand", "scale-info", "schnellru", - "sp-core", - "sp-externalities", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", "tracing", "trie-db", "trie-root", ] +[[package]] +name = "sp-version" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d521a405707b5be561367cd3d442ff67588993de24062ce3adefcf8437ee9fe1" +dependencies = [ + "impl-serde 0.4.0", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-crypto-hashing-proc-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version-proc-macro 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", +] + [[package]] name = "sp-version" version = "37.0.0" @@ -14931,13 +19781,25 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-crypto-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version-proc-macro 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "thiserror 1.0.69", ] +[[package]] +name = "sp-version-proc-macro" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aee8f6730641a65fcf0c8f9b1e448af4b3bb083d08058b47528188bccc7b7a7" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "sp-version-proc-macro" version = "14.0.0" @@ -14961,6 +19823,34 @@ dependencies = [ "wasmtime", ] +[[package]] +name = "sp-wasm-interface" +version = "21.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b066baa6d57951600b14ffe1243f54c47f9c23dd89c262e17ca00ae8dca58be9" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "wasmtime", +] + +[[package]] +name = "sp-weights" +version = "31.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93cdaf72a1dad537bbb130ba4d47307ebe5170405280ed1aa31fa712718a400e" +dependencies = [ + "bounded-collections", + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-weights" version = "31.0.0" @@ -14971,8 +19861,8 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-debug-derive", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] @@ -15036,7 +19926,7 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6" dependencies = [ - "ahash", + "ahash 0.8.11", "atoi", "byteorder", "bytes", @@ -15144,12 +20034,49 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "ssz_rs" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "057291e5631f280978fa9c8009390663ca4613359fc1318e36a8c24c392f6d1f" +dependencies = [ + "bitvec", + "num-bigint 0.4.6", + "sha2 0.9.9", + "ssz_rs_derive", +] + +[[package]] +name = "ssz_rs_derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f07d54c4d01a1713eb363b55ba51595da15f6f1211435b71466460da022aa140" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "staging-parachain-info" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d28266dfddbfff721d70ad2f873380845b569adfab32f257cf97d9cedd894b68" +dependencies = [ + "cumulus-primitives-core", + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.5", +] + [[package]] name = "staging-xcm" version = "14.1.0" @@ -15164,8 +20091,28 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights", - "xcm-procedural", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "xcm-procedural 10.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", +] + +[[package]] +name = "staging-xcm" +version = "14.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96bee7cd999e9cdf10f8db72342070d456e21e82a0f5962ff3b87edbd5f2b20e" +dependencies = [ + "array-bytes", + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "xcm-procedural 10.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -15173,20 +20120,43 @@ name = "staging-xcm-builder" version = "16.0.3" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ - "frame-support", - "frame-system", + "frame-support 37.0.1", + "frame-system 37.1.0", + "impl-trait-for-tuples", + "log", + "pallet-transaction-payment 37.0.1", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "staging-xcm 14.1.0", + "staging-xcm-executor 16.0.0", +] + +[[package]] +name = "staging-xcm-builder" +version = "17.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f7a92cfaec55a5ed0f9cbbb9076aa8ec0aff1ba90b9804cc5c8f2369fde59c" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", "impl-trait-for-tuples", "log", - "pallet-transaction-payment", + "pallet-asset-conversion", + "pallet-transaction-payment 38.0.2", "parity-scale-codec", - "polkadot-parachain-primitives", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-weights", - "staging-xcm", - "staging-xcm-executor", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", ] [[package]] @@ -15195,17 +20165,38 @@ version = "16.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ "environmental", - "frame-benchmarking", - "frame-support", + "frame-benchmarking 37.0.0", + "frame-support 37.0.1", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "staging-xcm 14.1.0", + "tracing", +] + +[[package]] +name = "staging-xcm-executor" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c89045f495097293ce29df1f3f459e9ccc991ff2ee88a4a91e8110a6886d2c8" +dependencies = [ + "environmental", + "frame-benchmarking 38.0.0", + "frame-support 38.2.0", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-weights", - "staging-xcm", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", "tracing", ] @@ -15326,6 +20317,7 @@ checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" dependencies = [ "cfg-if", "hashbrown 0.14.5", + "serde", ] [[package]] @@ -15388,6 +20380,19 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "substrate-bip39" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" +dependencies = [ + "hmac 0.12.1", + "pbkdf2 0.12.2", + "schnorrkel", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "substrate-bip39" version = "0.6.0" @@ -15425,18 +20430,18 @@ version = "38.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2407#f2081f6657f011634a483e3a4c91e54150c974c7" dependencies = [ "docify", - "frame-system-rpc-runtime-api", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "futures 0.3.31", "jsonrpsee 0.23.2", "log", "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", ] [[package]] @@ -15467,13 +20472,34 @@ dependencies = [ "merkleized-metadata", "parity-scale-codec", "parity-wasm", - "polkavm-linker", - "sc-executor", - "sp-core", - "sp-io", - "sp-maybe-compressed-blob", - "sp-tracing", - "sp-version", + "polkavm-linker 0.9.2", + "sc-executor 0.40.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "strum 0.26.3", + "tempfile", + "toml 0.8.19", + "walkdir", + "wasm-opt", +] + +[[package]] +name = "substrate-wasm-builder" +version = "24.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf035ffe7335fb24053edfe4d0a5780250eda772082a1b80ae25835dd4c09265" +dependencies = [ + "build-helper", + "cargo_metadata 0.15.4", + "console", + "filetime", + "jobserver", + "parity-wasm", + "polkavm-linker 0.9.2", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "strum 0.26.3", "tempfile", "toml 0.8.19", @@ -15495,15 +20521,15 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subxt" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c53029d133e4e0cb7933f1fe06f2c68804b956de9bb8fa930ffca44e9e5e4230" +checksum = "797dd0ed45245ea027fc6a2afadcf4c03027aa7bcb06dc7043e75a060d7ce180" dependencies = [ "async-trait", "derive-where", "either", "finito", - "frame-metadata 17.0.0", + "frame-metadata 18.0.0", "futures 0.3.31", "getrandom", "hex", @@ -15512,8 +20538,8 @@ dependencies = [ "parity-scale-codec", "polkadot-sdk", "primitive-types 0.13.1", - "scale-bits", - "scale-decode 0.14.0", + "scale-bits 0.7.0", + "scale-decode 0.16.0", "scale-encode", "scale-info", "scale-value", @@ -15523,7 +20549,7 @@ dependencies = [ "subxt-lightclient", "subxt-macro", "subxt-metadata", - "thiserror 1.0.69", + "thiserror 2.0.8", "tokio", "tokio-util", "tracing", @@ -15534,9 +20560,9 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cfcfb7d9589f3df0ac87c4988661cf3fb370761fcb19f2fd33104cc59daf22a" +checksum = "8b622b426e571fdd86b08ad0bec4ef0e323d937bb56ff5edcfaf4716f50384ca" dependencies = [ "getrandom", "heck 0.5.0", @@ -15547,20 +20573,20 @@ dependencies = [ "scale-typegen", "subxt-metadata", "syn 2.0.90", - "thiserror 1.0.69", + "thiserror 2.0.8", ] [[package]] name = "subxt-core" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ea28114366780d23684bd55ab879cd04c9d4cbba3b727a3854a3eca6bf29a1a" +checksum = "7e7617b6c7ed846d3f69c0eafb11884730c9161217c82e1edc370e3872c2e5cf" dependencies = [ "base58", "blake2 0.10.6", "derive-where", "frame-decode", - "frame-metadata 17.0.0", + "frame-metadata 18.0.0", "hashbrown 0.14.5", "hex", "impl-serde 0.5.0", @@ -15568,22 +20594,23 @@ dependencies = [ "parity-scale-codec", "polkadot-sdk", "primitive-types 0.13.1", - "scale-bits", - "scale-decode 0.14.0", + "scale-bits 0.7.0", + "scale-decode 0.16.0", "scale-encode", "scale-info", "scale-value", "serde", "serde_json", "subxt-metadata", + "thiserror 2.0.8", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534d4b725183a9fa09ce0e0f135674473297fdd97dee4d683f41117f365ae997" +checksum = "fcf5e44c8eb70f4f95e7017df85bc626356c633384b2615900ee09825ee79ef1" dependencies = [ "futures 0.3.31", "futures-timer", @@ -15596,7 +20623,7 @@ dependencies = [ "serde_json", "smoldot", "smoldot-light", - "thiserror 1.0.69", + "thiserror 2.0.8", "tokio", "tokio-stream", "tracing", @@ -15608,9 +20635,9 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "228db9a5c95a6d8dc6152b4d6cdcbabc4f60821dd3f482a4f8791e022b7caadb" +checksum = "a12ac44222225bf0eb96a32d663d00fac8d2917f4873e4f6b5d00cdd1f5b6e7b" dependencies = [ "darling", "parity-scale-codec", @@ -15624,23 +20651,24 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee13e6862eda035557d9a2871955306aff540d2b89c06e0a62a1136a700aed28" +checksum = "330f692b6e2c590265d222be717e9f88c017ee4b2ddb50907f31fffdf26072a5" dependencies = [ "frame-decode", - "frame-metadata 17.0.0", + "frame-metadata 18.0.0", "hashbrown 0.14.5", "parity-scale-codec", "polkadot-sdk", "scale-info", + "thiserror 2.0.8", ] [[package]] name = "subxt-signer" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e7a336d6a1f86f126100a4a717be58352de4c8214300c4f7807f974494efdb9" +checksum = "dcd700f4d7cc146414ca7bdc47eac84f3465418ce310e10232a67c2040afd704" dependencies = [ "base64 0.22.1", "bip39", @@ -15661,18 +20689,19 @@ dependencies = [ "serde_json", "sha2 0.10.8", "subxt-core", + "thiserror 2.0.8", "zeroize", ] [[package]] name = "subxt-utils-fetchmetadata" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3082b17a86e3c3fe45d858d94d68f6b5247caace193dad6201688f24db8ba9bb" +checksum = "526a07767a8f16a9471dda6e3d41c23f9656b302e9cdefdcd7d5a74830284a5d" dependencies = [ "hex", "parity-scale-codec", - "thiserror 1.0.69", + "thiserror 2.0.8", ] [[package]] @@ -15717,6 +20746,18 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn-solidity" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b837ef12ab88835251726eb12237655e61ec8dc8a280085d1961cdc3dfd047" +dependencies = [ + "paste", + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "syn-solidity" version = "0.8.18" @@ -15811,7 +20852,7 @@ dependencies = [ [[package]] name = "tangle" -version = "1.2.7" +version = "1.2.8" dependencies = [ "alloy", "anyhow", @@ -15828,11 +20869,11 @@ dependencies = [ "fp-dynamic-fee", "fp-evm", "fp-rpc", - "frame-benchmarking", + "frame-benchmarking 37.0.0", "frame-benchmarking-cli", - "frame-metadata-hash-extension", - "frame-system", - "frame-system-rpc-runtime-api", + "frame-metadata-hash-extension 0.5.0", + "frame-system 37.1.0", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "futures 0.3.31", "futures-timer", "hex", @@ -15840,12 +20881,12 @@ dependencies = [ "jsonrpsee 0.23.2", "log", "pallet-airdrop-claims", - "pallet-im-online", + "pallet-im-online 36.0.0", "pallet-rewards-rpc", "pallet-services-rpc", - "pallet-transaction-payment", + "pallet-transaction-payment 37.0.1", "pallet-transaction-payment-rpc", - "pallet-transaction-payment-rpc-runtime-api", + "pallet-transaction-payment-rpc-runtime-api 37.0.0", "parity-scale-codec", "primitives-ext", "rand", @@ -15865,7 +20906,7 @@ dependencies = [ "sc-consensus-grandpa-rpc", "sc-consensus-manual-seal", "sc-consensus-slots", - "sc-executor", + "sc-executor 0.40.0", "sc-network", "sc-network-sync", "sc-offchain", @@ -15876,24 +20917,24 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde_json", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-consensus-grandpa", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keyring", - "sp-keystore", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-timestamp", - "sp-tracing", - "sp-transaction-pool", - "sp-transaction-storage-proof", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-tracing 17.0.0", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-transaction-storage-proof 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -15907,16 +20948,16 @@ dependencies = [ [[package]] name = "tangle-crypto-primitives" -version = "1.2.7" +version = "1.2.8" dependencies = [ "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] name = "tangle-primitives" -version = "1.2.7" +version = "1.2.8" dependencies = [ "ark-bn254", "ark-crypto-primitives", @@ -15928,8 +20969,8 @@ dependencies = [ "educe 0.6.0", "ethabi", "fp-evm", - "frame-support", - "frame-system", + "frame-support 37.0.1", + "frame-system 37.1.0", "hex", "impl-trait-for-tuples", "log", @@ -15937,46 +20978,46 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-consensus-babe", - "sp-core", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", ] [[package]] name = "tangle-runtime" -version = "1.2.7" +version = "1.2.8" dependencies = [ "evm-tracer", "fp-evm", "fp-rpc", "fp-self-contained", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-metadata-hash-extension", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-executive 37.0.0", + "frame-metadata-hash-extension 0.5.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "frame-system-benchmarking 37.0.0", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "log", "num_enum", "pallet-airdrop-claims", - "pallet-assets", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", + "pallet-assets 39.0.0", + "pallet-authorship 37.0.0", + "pallet-babe 37.0.0", + "pallet-bags-list 36.0.0", + "pallet-balances 38.0.0", "pallet-base-fee", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-democracy", + "pallet-bounties 36.0.0", + "pallet-child-bounties 36.0.0", + "pallet-collective 37.0.0", + "pallet-democracy 37.0.0", "pallet-dynamic-fee", - "pallet-election-provider-multi-phase", - "pallet-elections-phragmen", + "pallet-election-provider-multi-phase 36.0.0", + "pallet-elections-phragmen 38.0.0", "pallet-ethereum", "pallet-evm", "pallet-evm-chain-id", @@ -16004,65 +21045,65 @@ dependencies = [ "pallet-evm-precompile-verify-schnorr-signatures", "pallet-evm-precompile-vesting", "pallet-evm-precompileset-assets-erc20", - "pallet-grandpa", + "pallet-grandpa 37.0.0", "pallet-hotfix-sufficients", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-insecure-randomness-collective-flip", + "pallet-identity 37.0.0", + "pallet-im-online 36.0.0", + "pallet-indices 37.0.0", + "pallet-insecure-randomness-collective-flip 25.0.0", "pallet-multi-asset-delegation", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-offences", - "pallet-preimage", - "pallet-proxy", + "pallet-multisig 37.0.0", + "pallet-nomination-pools 36.0.0", + "pallet-offences 36.0.0", + "pallet-preimage 37.0.0", + "pallet-proxy 37.0.0", "pallet-rewards", "pallet-rewards-rpc-runtime-api", - "pallet-scheduler", + "pallet-scheduler 38.0.0", "pallet-services", "pallet-services-rpc-runtime-api", - "pallet-session", - "pallet-staking", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", "pallet-staking-reward-curve", - "pallet-sudo", + "pallet-sudo 37.0.0", "pallet-tangle-lst", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-tx-pause", - "pallet-utility", - "pallet-vesting", + "pallet-timestamp 36.0.1", + "pallet-transaction-payment 37.0.1", + "pallet-transaction-payment-rpc-runtime-api 37.0.0", + "pallet-treasury 36.0.1", + "pallet-tx-pause 18.0.0", + "pallet-utility 37.0.1", + "pallet-vesting 37.0.0", "parity-scale-codec", "precompile-utils", "rpc-primitives-debug", "rpc-primitives-txpool", "scale-info", "serde", - "sp-api", - "sp-block-builder", - "sp-consensus-babe", - "sp-core", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-genesis-builder 0.15.0", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "static_assertions", - "substrate-wasm-builder", + "substrate-wasm-builder 24.0.0", "tangle-crypto-primitives", "tangle-primitives", ] [[package]] name = "tangle-subxt" -version = "0.10.0" +version = "0.11.0" dependencies = [ "parity-scale-codec", "scale-info", @@ -16074,39 +21115,39 @@ dependencies = [ [[package]] name = "tangle-testnet-runtime" -version = "1.2.7" +version = "1.2.8" dependencies = [ "evm-tracer", "fixed", "fp-evm", "fp-rpc", "fp-self-contained", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-metadata-hash-extension", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", + "frame-benchmarking 37.0.0", + "frame-election-provider-support 37.0.0", + "frame-executive 37.0.0", + "frame-metadata-hash-extension 0.5.0", + "frame-support 37.0.1", + "frame-system 37.1.0", + "frame-system-benchmarking 37.0.0", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "hex", "hex-literal 0.4.1", "log", "num_enum", "pallet-airdrop-claims", - "pallet-assets", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", + "pallet-assets 39.0.0", + "pallet-authorship 37.0.0", + "pallet-babe 37.0.0", + "pallet-bags-list 36.0.0", + "pallet-balances 38.0.0", "pallet-base-fee", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-democracy", + "pallet-bounties 36.0.0", + "pallet-child-bounties 36.0.0", + "pallet-collective 37.0.0", + "pallet-democracy 37.0.0", "pallet-dynamic-fee", - "pallet-election-provider-multi-phase", - "pallet-elections-phragmen", + "pallet-election-provider-multi-phase 36.0.0", + "pallet-elections-phragmen 38.0.0", "pallet-ethereum", "pallet-evm", "pallet-evm-chain-id", @@ -16136,64 +21177,64 @@ dependencies = [ "pallet-evm-precompile-verify-schnorr-signatures", "pallet-evm-precompile-vesting", "pallet-evm-precompileset-assets-erc20", - "pallet-grandpa", + "pallet-grandpa 37.0.0", "pallet-hotfix-sufficients", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-insecure-randomness-collective-flip", + "pallet-identity 37.0.0", + "pallet-im-online 36.0.0", + "pallet-indices 37.0.0", + "pallet-insecure-randomness-collective-flip 25.0.0", "pallet-multi-asset-delegation", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-offences", - "pallet-preimage", - "pallet-proxy", + "pallet-multisig 37.0.0", + "pallet-nomination-pools 36.0.0", + "pallet-offences 36.0.0", + "pallet-preimage 37.0.0", + "pallet-proxy 37.0.0", "pallet-rewards", "pallet-rewards-rpc-runtime-api", - "pallet-scheduler", + "pallet-scheduler 38.0.0", "pallet-services", "pallet-services-rpc-runtime-api", - "pallet-session", - "pallet-staking", + "pallet-session 37.0.0", + "pallet-staking 37.0.0", "pallet-staking-reward-curve", - "pallet-sudo", + "pallet-sudo 37.0.0", "pallet-tangle-lst", "pallet-tangle-lst-benchmarking", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-tx-pause", - "pallet-utility", - "pallet-vesting", - "parity-scale-codec", - "polkadot-parachain-primitives", + "pallet-timestamp 36.0.1", + "pallet-transaction-payment 37.0.1", + "pallet-transaction-payment-rpc-runtime-api 37.0.0", + "pallet-treasury 36.0.1", + "pallet-tx-pause 18.0.0", + "pallet-utility 37.0.1", + "pallet-vesting 37.0.0", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "precompile-utils", "primitive-types 0.12.2", "rpc-primitives-debug", "rpc-primitives-txpool", "scale-info", "serde", - "sp-api", - "sp-block-builder", - "sp-consensus-babe", - "sp-core", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-genesis-builder 0.15.0", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-runtime 39.0.3", + "sp-session 35.0.0", + "sp-staking 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", + "staging-xcm 14.1.0", + "staging-xcm-builder 16.0.3", + "staging-xcm-executor 16.0.0", "static_assertions", - "substrate-wasm-builder", + "substrate-wasm-builder 24.0.0", "tangle-crypto-primitives", "tangle-primitives", ] @@ -16259,9 +21300,25 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" +[[package]] +name = "testnet-parachains-constants" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94bceae6f7c89d47daff6c7e05f712551a01379f61b07d494661941144878589" +dependencies = [ + "cumulus-primitives-core", + "frame-support 38.2.0", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rococo-runtime-constants", + "smallvec", + "sp-runtime 39.0.5", + "staging-xcm 14.2.0", + "westend-runtime-constants", +] + [[package]] name = "tg-frost-core" -version = "1.2.7" +version = "1.2.8" dependencies = [ "byteorder", "const-crc32-nostd", @@ -16281,7 +21338,7 @@ dependencies = [ "serde", "serde_json", "serdect 0.2.0", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2407)", "subtle 2.6.1", "thiserror 2.0.8", "thiserror-nostd-notrait", @@ -16754,6 +21811,7 @@ dependencies = [ "sharded-slab", "smallvec", "thread_local", + "time", "tracing", "tracing-core", "tracing-log", @@ -16904,6 +21962,12 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tuplex" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "676ac81d5454c4dcf37955d34fa8626ede3490f744b86ca14a7b90168d2a08aa" + [[package]] name = "twox-hash" version = "1.6.3" @@ -17371,7 +22435,7 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" dependencies = [ - "ahash", + "ahash 0.8.11", "hashbrown 0.14.5", "string-interner", ] @@ -17661,6 +22725,23 @@ dependencies = [ "rustls-pki-types", ] +[[package]] +name = "westend-runtime-constants" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06861bf945aadac59f4be23b44c85573029520ea9bd3d6c9ab21c8b306e81cdc" +dependencies = [ + "frame-support 38.2.0", + "polkadot-primitives 16.0.0", + "polkadot-runtime-common", + "smallvec", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", +] + [[package]] name = "which" version = "4.4.2" @@ -18122,6 +23203,18 @@ dependencies = [ "time", ] +[[package]] +name = "xcm-procedural" +version = "10.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87fb4f14094d65c500a59bcf540cf42b99ee82c706edd6226a92e769ad60563e" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "xcm-procedural" version = "10.1.0" @@ -18133,6 +23226,44 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "xcm-runtime-apis" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f3d96bd7362d9e6884ef6762f08737d89205a358d059a0451353f3e91985ca5" +dependencies = [ + "frame-support 38.2.0", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-executor 17.0.1", +] + +[[package]] +name = "xcm-simulator" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "058e21bfc3e1180bbd83cad3690d0e63f34f43ab309e338afe988160aa776fcf" +dependencies = [ + "frame-support 38.2.0", + "frame-system 38.0.0", + "parity-scale-codec", + "paste", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0", + "polkadot-runtime-parachains", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.5", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0", + "staging-xcm-builder 17.0.3", + "staging-xcm-executor 17.0.1", +] + [[package]] name = "xml-rs" version = "0.8.24" @@ -18171,9 +23302,9 @@ checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" [[package]] name = "yap" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4524214bc4629eba08d78ceb1d6507070cc0bcbbed23af74e19e6e924a24cf" +checksum = "bfe269e7b803a5e8e20cbd97860e136529cd83bf2c9c6d37b142467e7e1f051f" [[package]] name = "yasna" diff --git a/Cargo.toml b/Cargo.toml index ada29a2bc..87484bee9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "1.2.7" +version = "1.2.8" authors = ["Tangle Foundation."] edition = "2021" license = "Unlicense" @@ -381,9 +381,9 @@ xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-s polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "stable2407", default-features = false } # Subxt -subxt = { version = "0.38.0", default-features = false } -subxt-core = { version = "0.38.0", default-features = false } -subxt-signer = { version = "0.38.0", default-features = false } +subxt = { version = "0.39.0", default-features = false } +subxt-core = { version = "0.39.0", default-features = false } +subxt-signer = { version = "0.39.0", default-features = false } [profile.release] panic = "unwind" diff --git a/node/tests/evm_restaking.rs b/node/tests/evm_restaking.rs index 553890a06..f7fd5cdb6 100644 --- a/node/tests/evm_restaking.rs +++ b/node/tests/evm_restaking.rs @@ -924,7 +924,7 @@ fn lrt_deposit_withdraw_erc20() { } #[test] -fn lrt_rewards() { +fn mad_rewards() { run_mad_test(|t| async move { let alice = TestAccount::Alice; let alice_provider = alloy_provider_with_wallet(&t.provider, alice.evm_wallet()); @@ -963,17 +963,32 @@ fn lrt_rewards() { assert!(approve_result.status()); info!("Approved {} WETH for deposit in LRT", format_ether(deposit_amount)); - // Deposit WETH to LRT - let lrt = TangleLiquidRestakingVault::new(lrt_address, &bob_provider); - let deposit_result = lrt - .deposit(deposit_amount, bob.address()) + // // Deposit WETH to LRT + // let lrt = TangleLiquidRestakingVault::new(lrt_address, &bob_provider); + // let deposit_result = lrt + // .deposit(deposit_amount, bob.address()) + // .send() + // .await? + // .with_timeout(Some(Duration::from_secs(5))) + // .get_receipt() + // .await?; + // assert!(deposit_result.status()); + // info!("Deposited {} WETH in LRT", format_ether(deposit_amount)); + + // Delegate assets + let precompile = MultiAssetDelegation::new(MULTI_ASSET_DELEGATION, &bob_provider); + let deposit_amount = U256::from(100_000_000u128); + + // Deposit and delegate using asset ID + let deposit_result = precompile + .deposit(U256::from(t.usdc_asset_id), Address::ZERO, U256::from(deposit_amount), 0) + .from(bob.address()) .send() .await? .with_timeout(Some(Duration::from_secs(5))) .get_receipt() .await?; assert!(deposit_result.status()); - info!("Deposited {} WETH in LRT", format_ether(deposit_amount)); // Wait for one year to pass wait_for_more_blocks(&t.provider, 51).await; diff --git a/pallets/multi-asset-delegation/src/functions/delegate.rs b/pallets/multi-asset-delegation/src/functions/delegate.rs index 4dd784975..af1393ba4 100644 --- a/pallets/multi-asset-delegation/src/functions/delegate.rs +++ b/pallets/multi-asset-delegation/src/functions/delegate.rs @@ -921,7 +921,6 @@ impl Pallet { *operator_updates.entry(delegation_key).or_default() += request.amount; indices_to_remove.push(idx); } - println!("indices_to_remove: {:?}", indices_to_remove); ensure!(!indices_to_remove.is_empty(), Error::::BondLessNotReady); Ok((deposit_updates, delegation_updates, operator_updates, indices_to_remove)) } diff --git a/pallets/rewards/fuzzer/call.rs b/pallets/rewards/fuzzer/call.rs index 121d1b1c6..bcad9593b 100644 --- a/pallets/rewards/fuzzer/call.rs +++ b/pallets/rewards/fuzzer/call.rs @@ -25,7 +25,7 @@ use crate::runtime::*; use frame_support::pallet_prelude::*; use pallet_rewards::{Call as RewardsCall, Config, Error, RewardConfigForAssetVault}; -use sp_runtime::{traits::Zero, Percent}; +use sp_runtime::{traits::Zero, Perbill}; use tangle_primitives::types::rewards::LockMultiplier; #[derive(Debug)] @@ -126,7 +126,7 @@ impl RewardsCallGenerator { boost_multiplier: Option, ) -> RewardsCall { let config = RewardConfigForAssetVault { - apy: Percent::from_percent(apy.min(100)), + apy: Perbill::from_percent(apy.min(100)), deposit_cap, incentive_cap, boost_multiplier: boost_multiplier.map(|m| m.min(500)), // Cap at 5x @@ -155,7 +155,7 @@ impl RewardsCallExecutor { boost_multiplier: Option, ) -> DispatchResultWithPostInfo { let config = RewardConfigForAssetVault { - apy: Percent::from_percent(apy.min(100)), + apy: Perbill::from_percent(apy.min(100)), deposit_cap, incentive_cap, boost_multiplier: boost_multiplier.map(|m| m.min(500)), // Cap at 5x @@ -202,7 +202,7 @@ impl RewardsCallVerifier { ) { // Verify that config was updated by checking storage if let Some(config) = RewardConfigStorage::::get(vault_id) { - config.apy == Percent::from_percent(apy.min(100)) + config.apy == Perbill::from_percent(apy.min(100)) && config.deposit_cap == deposit_cap && config.incentive_cap == incentive_cap && config.boost_multiplier == boost_multiplier.map(|m| m.min(500)) diff --git a/pallets/rewards/src/benchmarking.rs b/pallets/rewards/src/benchmarking.rs index 641292fb5..00cfdf228 100644 --- a/pallets/rewards/src/benchmarking.rs +++ b/pallets/rewards/src/benchmarking.rs @@ -34,7 +34,7 @@ fn setup_vault() -> (T::VaultId, T::AccountId) { // Setup reward config let reward_config = RewardConfigForAssetVault { - apy: Percent::from_percent(10), + apy: Perbill::from_percent(10), deposit_cap: balance, incentive_cap: balance, boost_multiplier: Some(150), @@ -73,7 +73,7 @@ benchmarks! { update_vault_reward_config { let (vault_id, _) = setup_vault::(); let new_config = RewardConfigForAssetVault { - apy: Percent::from_percent(20), + apy: Perbill::from_percent(20), deposit_cap: BalanceOf::::from(2000u32), incentive_cap: BalanceOf::::from(2000u32), boost_multiplier: Some(200), diff --git a/pallets/rewards/src/functions/rewards.rs b/pallets/rewards/src/functions/rewards.rs index e933b38bf..e7bfaa118 100644 --- a/pallets/rewards/src/functions/rewards.rs +++ b/pallets/rewards/src/functions/rewards.rs @@ -24,7 +24,7 @@ use frame_system::pallet_prelude::BlockNumberFor; use scale_info::prelude::vec; use sp_runtime::{ traits::{CheckedMul, Saturating, Zero}, - DispatchError, DispatchResult, Percent, SaturatedConversion, + DispatchError, DispatchResult, Perbill, SaturatedConversion, }; use sp_std::vec::Vec; use tangle_primitives::{ @@ -168,7 +168,7 @@ impl Pallet { /// The goal is to ensure the APY is proportional to the total deposit. /// /// # Returns - /// * `Ok(Percent)` - The normalized APY + /// * `Ok(Perbill)` - The normalized APY /// * `Err(DispatchError)` - If any arithmetic operation overflows /// /// # Arguments @@ -178,15 +178,15 @@ impl Pallet { pub fn calculate_propotional_apy( total_deposit: BalanceOf, deposit_cap: BalanceOf, - original_apy: Percent, - ) -> Option { + original_apy: Perbill, + ) -> Option { if deposit_cap.is_zero() { return None; } log::debug!(target: LOG_TARGET, "calculate_propotional_apy : total_deposit: {:?}, deposit_cap: {:?}, original_apy: {:?}", total_deposit, deposit_cap, original_apy); - let propotion = Percent::from_rational(total_deposit, deposit_cap); + let propotion = Perbill::from_rational(total_deposit, deposit_cap); original_apy.checked_mul(&propotion) } @@ -213,20 +213,20 @@ impl Pallet { fn calculate_decay_factor( current_block: BlockNumberFor, last_claim_block: BlockNumberFor, - ) -> Percent { + ) -> Perbill { let blocks_since_last_claim = current_block.saturating_sub(last_claim_block); let start_period = DecayStartPeriod::::get(); // If we haven't reached the decay period yet, no decay if blocks_since_last_claim <= start_period { - return Percent::from_percent(100); + return Perbill::from_percent(100); } let decay_rate = DecayRate::::get(); - let decay_percent = 100_u8.saturating_sub(decay_rate.deconstruct()); + let decay_percentage = 100_u32.saturating_sub(decay_rate.deconstruct()); // Ensure we don't decay below 90% - Percent::from_percent(decay_percent.max(90)) + Perbill::from_percent(decay_percentage.max(90_u32)) } /// Calculates rewards for deposits considering both unlocked amounts and locked amounts with @@ -377,7 +377,7 @@ impl Pallet { let mut total_rewards_to_be_paid_to_user = BalanceOf::::zero(); for (score, blocks) in user_rewards_score_by_blocks { - let user_proportion = Percent::from_rational(score, total_asset_score); + let user_proportion = Perbill::from_rational(score, total_asset_score); log::debug!(target: LOG_TARGET, "user_proportion: {:?}", user_proportion); let user_reward_per_block = user_proportion.mul_floor(total_reward_per_block); diff --git a/pallets/rewards/src/lib.rs b/pallets/rewards/src/lib.rs index 6b17a1936..59add9595 100644 --- a/pallets/rewards/src/lib.rs +++ b/pallets/rewards/src/lib.rs @@ -29,7 +29,7 @@ //! ## Reward Vaults //! //! Each vault is identified by a unique `VaultId` and has its own reward configuration: -//! - `apy`: Annual Percentage Yield for the vault +//! - `apy`: Annual Perbillage Yield for the vault //! - `deposit_cap`: Maximum amount that can be deposited //! - `incentive_cap`: Maximum amount of incentives that can be distributed //! - `boost_multiplier`: Optional multiplier to boost rewards @@ -90,7 +90,7 @@ pub mod pallet { PalletId, }; use frame_system::pallet_prelude::*; - use sp_runtime::{traits::AccountIdConversion, Percent}; + use sp_runtime::{traits::AccountIdConversion, Perbill}; use tangle_primitives::rewards::LockMultiplier; #[pallet::config] @@ -216,7 +216,7 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn decay_rate)] /// Per-block decay rate in basis points (1/10000). e.g., 1 = 0.01% per block - pub type DecayRate = StorageValue<_, Percent, ValueQuery>; + pub type DecayRate = StorageValue<_, Perbill, ValueQuery>; #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] @@ -224,7 +224,7 @@ pub mod pallet { /// Rewards have been claimed by an account RewardsClaimed { account: T::AccountId, asset: Asset, amount: BalanceOf }, /// Event emitted when an incentive APY and cap are set for a reward vault - IncentiveAPYAndCapSet { vault_id: T::VaultId, apy: sp_runtime::Percent, cap: BalanceOf }, + IncentiveAPYAndCapSet { vault_id: T::VaultId, apy: sp_runtime::Perbill, cap: BalanceOf }, /// Event emitted when a blueprint is whitelisted for rewards BlueprintWhitelisted { blueprint_id: BlueprintId }, /// Asset has been updated to reward vault @@ -258,7 +258,7 @@ pub mod pallet { total_deposit: BalanceOf, }, /// Decay configuration was updated - DecayConfigUpdated { start_period: BlockNumberFor, rate: Percent }, + DecayConfigUpdated { start_period: BlockNumberFor, rate: Perbill }, /// The number of blocks for APY calculation has been updated ApyBlocksUpdated { blocks: BlockNumberFor }, } @@ -314,7 +314,7 @@ pub mod pallet { /// Number of blocks after which decay starts pub decay_start_period: BlockNumberFor, /// Per-block decay rate in basis points - pub decay_rate: Percent, + pub decay_rate: Perbill, } impl Default for GenesisConfig { @@ -325,7 +325,7 @@ pub mod pallet { // Default to 30 days worth of blocks decay_start_period: BlockNumberFor::::from(432000u32), // Default to 1% per block - decay_rate: Percent::from_percent(1), + decay_rate: Perbill::from_percent(1), } } } @@ -420,7 +420,7 @@ pub mod pallet { /// * `origin` - Origin of the call, must pass `ForceOrigin` check /// * `vault_id` - The ID of the vault to update /// * `new_config` - The new reward configuration containing: - /// * `apy` - Annual Percentage Yield for the vault + /// * `apy` - Annual Perbillage Yield for the vault /// * `deposit_cap` - Maximum amount that can be deposited /// * `incentive_cap` - Maximum amount of incentives that can be distributed /// * `boost_multiplier` - Optional multiplier to boost rewards @@ -464,7 +464,7 @@ pub mod pallet { /// * `origin` - Origin of the call, must pass `ForceOrigin` check /// * `vault_id` - The ID of the vault to update /// * `new_config` - The new reward configuration containing: - /// * `apy` - Annual Percentage Yield for the vault + /// * `apy` - Annual Perbillage Yield for the vault /// * `deposit_cap` - Maximum amount that can be deposited /// * `incentive_cap` - Maximum amount of incentives that can be distributed /// * `boost_multiplier` - Optional multiplier to boost rewards @@ -507,12 +507,12 @@ pub mod pallet { pub fn update_decay_config( origin: OriginFor, start_period: BlockNumberFor, - rate: Percent, + rate: Perbill, ) -> DispatchResult { T::ForceOrigin::ensure_origin(origin)?; // Ensure rate is reasonable (max 10% decay) - ensure!(rate <= Percent::from_percent(10), Error::::InvalidDecayRate); + ensure!(rate <= Perbill::from_percent(10), Error::::InvalidDecayRate); DecayStartPeriod::::put(start_period); DecayRate::::put(rate); diff --git a/pallets/rewards/src/tests.rs b/pallets/rewards/src/tests.rs index ebd21eee8..2be8658c3 100644 --- a/pallets/rewards/src/tests.rs +++ b/pallets/rewards/src/tests.rs @@ -15,7 +15,7 @@ // along with Tangle. If not, see . use crate::{mock::*, types::*, AssetAction, Error, Pallet as RewardsPallet}; use frame_support::assert_err; -use sp_runtime::{DispatchError, Percent}; +use sp_runtime::{DispatchError, Perbill}; use tangle_primitives::services::Asset; pub mod apy_calc; diff --git a/pallets/rewards/src/tests/apy_calc.rs b/pallets/rewards/src/tests/apy_calc.rs index d2bed2a99..27fd794f0 100644 --- a/pallets/rewards/src/tests/apy_calc.rs +++ b/pallets/rewards/src/tests/apy_calc.rs @@ -1,13 +1,13 @@ use super::*; use crate::ApyBlocks; -use sp_runtime::Percent; +use sp_runtime::Perbill; #[test] fn test_calculate_proportional_apy_zero_deposit() { new_test_ext().execute_with(|| { let total_deposit = 0; let deposit_cap = 1000; - let original_apy = Percent::from_percent(10); + let original_apy = Perbill::from_percent(10); let result = RewardsPallet::::calculate_propotional_apy( total_deposit, @@ -16,7 +16,7 @@ fn test_calculate_proportional_apy_zero_deposit() { ); // With zero deposit, APY should be zero - assert_eq!(result, Some(Percent::zero())); + assert_eq!(result, Some(Perbill::zero())); }); } @@ -25,7 +25,7 @@ fn test_calculate_proportional_apy_full_cap() { new_test_ext().execute_with(|| { let deposit_cap = 1000; let total_deposit = deposit_cap; // Full capacity - let original_apy = Percent::from_percent(10); + let original_apy = Perbill::from_percent(10); let result = RewardsPallet::::calculate_propotional_apy( total_deposit, @@ -43,7 +43,7 @@ fn test_calculate_proportional_apy_half_cap() { new_test_ext().execute_with(|| { let deposit_cap = 1000; let total_deposit = deposit_cap / 2; // Half capacity - let original_apy = Percent::from_percent(10); + let original_apy = Perbill::from_percent(10); let result = RewardsPallet::::calculate_propotional_apy( total_deposit, @@ -52,7 +52,7 @@ fn test_calculate_proportional_apy_half_cap() { ); // At half capacity, should return half of original APY - assert_eq!(result, Some(Percent::from_percent(5))); + assert_eq!(result, Some(Perbill::from_percent(5))); }); } @@ -61,7 +61,7 @@ fn test_calculate_proportional_apy_zero_cap() { new_test_ext().execute_with(|| { let deposit_cap = 0; let total_deposit = 100; - let original_apy = Percent::from_percent(10); + let original_apy = Perbill::from_percent(10); let result = RewardsPallet::::calculate_propotional_apy( total_deposit, @@ -79,7 +79,7 @@ fn test_calculate_proportional_apy_over_cap() { new_test_ext().execute_with(|| { let deposit_cap = 1000; let total_deposit = deposit_cap * 2; // Double the cap - let original_apy = Percent::from_percent(10); + let original_apy = Perbill::from_percent(10); let result = RewardsPallet::::calculate_propotional_apy( total_deposit, @@ -88,7 +88,7 @@ fn test_calculate_proportional_apy_over_cap() { ); // Over capacity should still work, but will return full APY - // This is because Percent::from_rational clamps to 100% + // This is because Perbill::from_rational clamps to 100% assert_eq!(result, Some(original_apy)); }); } @@ -98,7 +98,7 @@ fn test_calculate_proportional_apy_max_values() { new_test_ext().execute_with(|| { let deposit_cap = u128::MAX; let total_deposit = deposit_cap; // Max value - let original_apy = Percent::from_percent(100); + let original_apy = Perbill::from_percent(100); let result = RewardsPallet::::calculate_propotional_apy( total_deposit, @@ -116,7 +116,7 @@ fn test_calculate_proportional_apy_small_values() { new_test_ext().execute_with(|| { let deposit_cap = 1_000_000; let total_deposit = 1; // Minimal deposit - let original_apy = Percent::from_percent(10); + let original_apy = Perbill::from_percent(10); let result = RewardsPallet::::calculate_propotional_apy( total_deposit, @@ -125,8 +125,8 @@ fn test_calculate_proportional_apy_small_values() { ); // Should handle very small proportions - // Expected: 0.0001% of 10% = ~0% - assert!(result.unwrap().is_zero()); + // Expected: 0.0001% of 10% + assert_eq!(result, Some(Perbill::from_parts(100))); }); } diff --git a/pallets/rewards/src/tests/claim.rs b/pallets/rewards/src/tests/claim.rs index fb03d4a45..01b23cdca 100644 --- a/pallets/rewards/src/tests/claim.rs +++ b/pallets/rewards/src/tests/claim.rs @@ -4,7 +4,7 @@ use crate::{ TotalRewardVaultDeposit, TotalRewardVaultScore, UserClaimedReward, }; use frame_support::{assert_noop, assert_ok, traits::Currency}; -use sp_runtime::Percent; +use sp_runtime::Perbill; use tangle_primitives::{ rewards::UserDepositWithLocks, services::Asset, @@ -16,7 +16,7 @@ const EIGHTEEN_DECIMALS: u128 = 1_000_000_000_000_000_000_000; const MOCK_DEPOSIT_CAP: u128 = 1_000_000 * EIGHTEEN_DECIMALS; // 1M tokens with 18 decimals const MOCK_TOTAL_ISSUANCE: u128 = 100_000_000 * EIGHTEEN_DECIMALS; // 100M tokens with 18 decimals const MOCK_INCENTIVE_CAP: u128 = 10_000 * EIGHTEEN_DECIMALS; // 10k tokens with 18 decimals -const MOCK_APY: u8 = 10; // 10% APY +const MOCK_APY: u32 = 10; // 10% APY const MOCK_DEPOSIT: u128 = 100_000 * EIGHTEEN_DECIMALS; // 100k tokens with 18 decimals fn run_to_block(n: u64) { @@ -38,7 +38,7 @@ fn setup_vault( RuntimeOrigin::root(), vault_id, RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: Some(1), @@ -72,7 +72,7 @@ fn setup_vault( // Finally fund the pot account with rewards let vault_pot_account = RewardsPallet::::reward_vaults_pot_account(vault_id) .expect("Vault pot account not found"); - let initial_funding = Percent::from_percent(MOCK_APY) * MOCK_TOTAL_ISSUANCE; + let initial_funding = Perbill::from_percent(MOCK_APY) * MOCK_TOTAL_ISSUANCE; Balances::make_free_balance_be(&vault_pot_account, initial_funding); // Set total issuance for APY calculations @@ -354,7 +354,7 @@ fn test_claim_rewards_with_zero_cap() { RuntimeOrigin::root(), vault_id, RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: 0, // Zero incentive cap boost_multiplier: Some(1), @@ -402,7 +402,7 @@ fn test_claim_frequency_with_decay() { RuntimeOrigin::root(), vault_id, RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: Some(1), @@ -453,7 +453,7 @@ fn test_claim_frequency_with_decay() { // Fund the pot account with rewards let vault_pot_account = RewardsPallet::::reward_vaults_pot_account(vault_id) .expect("Vault pot account not found"); - let initial_funding = Percent::from_percent(MOCK_APY) * MOCK_TOTAL_ISSUANCE * 2; // Double funding to ensure enough rewards + let initial_funding = Perbill::from_percent(MOCK_APY) * MOCK_TOTAL_ISSUANCE * 2; // Double funding to ensure enough rewards Balances::make_free_balance_be(&vault_pot_account, initial_funding); // Set total issuance for APY calculations @@ -462,7 +462,7 @@ fn test_claim_frequency_with_decay() { // Set decay to start after 30 days (144000 blocks) with 5% decay DecayStartPeriod::::set(144_000); // decay rate to counteract 1% permonth inflation - DecayRate::::set(Percent::from_percent(10)); + DecayRate::::set(Perbill::from_percent(10)); let blocks_per_month = 144_000_u64; let total_months = 10; @@ -481,7 +481,7 @@ fn test_claim_frequency_with_decay() { // simulate inflation, 1% per month let supply = pallet_balances::TotalIssuance::::get(); - let inflation = Percent::from_percent(1).mul_floor(supply); + let inflation = Perbill::from_percent(1).mul_floor(supply); pallet_balances::TotalIssuance::::set(supply + inflation); } let frequent_total_rewards = @@ -498,8 +498,8 @@ fn test_claim_frequency_with_decay() { Balances::free_balance(&infrequent_claimer) - infrequent_starting_balance; let difference = frequent_total_rewards.saturating_sub(infrequent_total_rewards); - let difference_percent = (difference / frequent_total_rewards) * 100; - assert!(difference_percent < 1); + let difference_perbill = (difference / frequent_total_rewards) * 100; + assert!(difference_perbill < 1); }); } diff --git a/pallets/rewards/src/tests/reward_calc.rs b/pallets/rewards/src/tests/reward_calc.rs index 353ddad9a..da0f68fc1 100644 --- a/pallets/rewards/src/tests/reward_calc.rs +++ b/pallets/rewards/src/tests/reward_calc.rs @@ -1,7 +1,7 @@ use super::*; use crate::ApyBlocks; use frame_support::assert_ok; -use sp_runtime::Percent; +use sp_runtime::Perbill; use tangle_primitives::types::rewards::{LockInfo, LockMultiplier, UserDepositWithLocks}; // Mock values for consistent testing @@ -10,7 +10,7 @@ const EIGHTEEN_DECIMALS: u128 = 1_000_000_000_000_000_000_000; const MOCK_DEPOSIT_CAP: u128 = 1_000_000 * EIGHTEEN_DECIMALS; // 1M tokens with 18 decimals const MOCK_TOTAL_ISSUANCE: u128 = 100_000_000 * EIGHTEEN_DECIMALS; // 100M tokens with 18 decimals const MOCK_INCENTIVE_CAP: u128 = 10_000 * EIGHTEEN_DECIMALS; // 10k tokens with 18 decimals -const MOCK_APY: u8 = 10; // 10% APY +const MOCK_APY: u32 = 10; // 10% APY const MOCK_DEPOSIT: u128 = 100_000 * EIGHTEEN_DECIMALS; // 100k tokens with 18 decimals const BLOCKS_PER_YEAR: u64 = 5_256_000; // ~6 second blocks = ~1 year @@ -30,7 +30,7 @@ fn test_calculate_rewards_zero_deposit() { let total_asset_score = 0; let deposit = UserDepositWithLocks { unlocked_amount: 0, amount_with_locks: None }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: None, @@ -62,7 +62,7 @@ fn test_calculate_rewards_only_unlocked() { UserDepositWithLocks { unlocked_amount: user_deposit, amount_with_locks: None }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: None, @@ -119,7 +119,7 @@ fn test_calculate_rewards_with_expired_lock() { }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: Some(1), @@ -186,7 +186,7 @@ fn test_calculate_rewards_with_active_locks() { }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: Some(1), @@ -211,7 +211,7 @@ fn test_calculate_rewards_with_active_locks() { // 6. Per block = 1M / 5,256,000 blocks = 0.19 tokens // 7. User reward per block = 0.19 * 46% = 0.0874 tokens // 8. Total for 1000 blocks = 0.0874 * 1000 = 87.4 tokens - let expected_to_pay = 87 * EIGHTEEN_DECIMALS; // 87 tokens with 18 decimals + let expected_to_pay = 88 * EIGHTEEN_DECIMALS; // ~88 tokens with 18 decimals // Allow for some precision loss // assert precision loss is less than 1 TNT @@ -231,7 +231,7 @@ fn test_calculate_rewards_with_previous_claim() { let deposit = UserDepositWithLocks { unlocked_amount: user_deposit, amount_with_locks: None }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: None, @@ -275,7 +275,7 @@ fn test_calculate_rewards_zero_cap() { }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: 0, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: None, @@ -306,7 +306,7 @@ fn test_calculate_rewards_same_block_claim() { let deposit = UserDepositWithLocks { unlocked_amount: user_deposit, amount_with_locks: None }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: None, @@ -359,7 +359,7 @@ fn test_calculate_rewards_with_multiple_claims() { // Reward config with 10% APY (MOCK_APY = 10) let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: Some(1), @@ -483,7 +483,7 @@ fn test_decay_rate_works_as_expected() { }; let reward = RewardConfigForAssetVault { - apy: Percent::from_percent(MOCK_APY), + apy: Perbill::from_percent(MOCK_APY), deposit_cap: MOCK_DEPOSIT_CAP, incentive_cap: MOCK_INCENTIVE_CAP, boost_multiplier: Some(1), @@ -491,7 +491,7 @@ fn test_decay_rate_works_as_expected() { DecayStartPeriod::::set(BLOCKS_PER_YEAR / 10); // 5% decay after grace period - DecayRate::::set(Percent::from_percent(5)); + DecayRate::::set(Perbill::from_percent(5)); System::set_block_number(BLOCKS_PER_YEAR / 5); let result = RewardsPallet::::calculate_deposit_rewards_with_lock_multiplier( diff --git a/pallets/rewards/src/tests/vault.rs b/pallets/rewards/src/tests/vault.rs index 0575cfc8c..cd825918a 100644 --- a/pallets/rewards/src/tests/vault.rs +++ b/pallets/rewards/src/tests/vault.rs @@ -5,7 +5,7 @@ use super::*; fn update_vault_config_non_force_origin() { new_test_ext().execute_with(|| { let vault_id = 1u32; - let apy = Percent::from_percent(10); + let apy = Perbill::from_percent(10); let deposit_cap = 1000; let boost_multiplier = Some(150); let incentive_cap = 1000; diff --git a/pallets/rewards/src/types.rs b/pallets/rewards/src/types.rs index a738dbcab..88b223d8b 100644 --- a/pallets/rewards/src/types.rs +++ b/pallets/rewards/src/types.rs @@ -17,7 +17,7 @@ use crate::Config; use frame_support::traits::Currency; use parity_scale_codec::{Decode, Encode}; use scale_info::TypeInfo; -use sp_runtime::{Percent, RuntimeDebug}; +use sp_runtime::{Perbill, RuntimeDebug}; use sp_std::{collections::btree_map::BTreeMap, vec::Vec}; pub type BalanceOf = @@ -26,8 +26,8 @@ pub type BalanceOf = /// Configuration for rewards associated with a specific asset. #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo, Eq, PartialEq)] pub struct RewardConfigForAssetVault { - // The annual percentage yield (APY) for the asset, represented as a Percent - pub apy: Percent, + // The annual Perbillage yield (APY) for the asset, represented as a Perbill + pub apy: Perbill, // The minimum amount required before the asset can be rewarded. pub incentive_cap: Balance, // The maximum amount of asset that can be deposited. diff --git a/runtime/mainnet/src/lib.rs b/runtime/mainnet/src/lib.rs index 45051d770..7995a3c46 100644 --- a/runtime/mainnet/src/lib.rs +++ b/runtime/mainnet/src/lib.rs @@ -164,7 +164,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("tangle"), impl_name: create_runtime_str!("tangle"), authoring_version: 1, - spec_version: 1207, // v1.2.7 + spec_version: 1208, // v1.2.8 impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/testnet/src/lib.rs b/runtime/testnet/src/lib.rs index d12ec527d..de7f560d2 100644 --- a/runtime/testnet/src/lib.rs +++ b/runtime/testnet/src/lib.rs @@ -169,7 +169,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("tangle-testnet"), impl_name: create_runtime_str!("tangle-testnet"), authoring_version: 1, - spec_version: 1207, // v1.2.7 + spec_version: 1208, // v1.2.8 impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -829,7 +829,7 @@ where ); let raw_payload = SignedPayload::new(call, extra) .map_err(|e| { - log::warn!("Unable to create signed payload: {e}"); + log::warn!("Unable to create signed payload: {e:?}"); }) .ok()?; let signature = raw_payload.using_encoded(|payload| C::sign(payload, public))?; diff --git a/tangle-subxt/Cargo.toml b/tangle-subxt/Cargo.toml index 42b2f6a94..45d4b4766 100644 --- a/tangle-subxt/Cargo.toml +++ b/tangle-subxt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tangle-subxt" -version = "0.10.0" +version = "0.11.0" description = "Rust bindings and interface to interact with Tangle Network using subxt" authors = { workspace = true } edition = { workspace = true } diff --git a/tangle-subxt/README.md b/tangle-subxt/README.md index 87cc566d1..6205fcca7 100644 --- a/tangle-subxt/README.md +++ b/tangle-subxt/README.md @@ -14,7 +14,7 @@ Use the [`subxt-cli`](https://lib.rs/crates/subxt-cli) tool to download the meta 1. Install: ```bash -cargo install subxt-cli@0.38.0 --force +cargo install subxt-cli@0.39.0 --force ``` 2. To Save the metadata of `tangle`: diff --git a/tangle-subxt/metadata/tangle-testnet-runtime.scale b/tangle-subxt/metadata/tangle-testnet-runtime.scale index 362a611bd7cd5045b787e8ac3b0b2c074ca70741..4abcd33a6690943b44cb506380651d0a04d33467 100644 GIT binary patch delta 234 zcmeB~DzSU2#D?_Ej1H4CHeb_qsw_z@W?@idVr+2AFU?CyO$kd)wkfsHQE;}h@=dI8 z%S_ElDGtu8O0{F)ZnoLdZnK3Eh?#(xdArRPmNYfSt=kvhVhLbo+QGg3>s^-Zs!SVL zrmtgWeaTcHzI`SOtC9foffWqf_ldA7Gjb`&Fn|Helj*i%tm4y|#8?fP4|Fn4Hxpy^ z1gmQjV+~|tZYW@weocZk2rQ&6$!f_BQnfu@g;mOn*};NgdrKZ`A2WzGU9^a`n7Kii Sd3$#etCR&;*@{)HPvQaF2}%Y4 delta 175 zcmdlzRibCA#D?_Ej5d=qHeYMb-O`@Bg%OCEfS7rE?iQ95HOB4RFWq7ZU}pNlxLxHQ z%XU>J1)1r0nOR>ly%P=7vDV?VIyh` core::Core { @@ -166,11 +166,11 @@ pub mod api { #[doc = " Returns the version of the runtime."] pub fn version( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::Version, types::version::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "Core", "version", types::Version {}, @@ -186,11 +186,11 @@ pub mod api { pub fn execute_block( &self, block: types::execute_block::Block, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::ExecuteBlock, types::execute_block::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "Core", "execute_block", types::ExecuteBlock { block }, @@ -206,11 +206,11 @@ pub mod api { pub fn initialize_block( &self, header: types::initialize_block::Header, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::InitializeBlock, types::initialize_block::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "Core", "initialize_block", types::InitializeBlock { header }, @@ -232,50 +232,42 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; pub type Output = (); } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ExecuteBlock { pub block: execute_block::Block, } @@ -289,23 +281,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct InitializeBlock { pub header: initialize_block::Header, } @@ -320,11 +308,11 @@ pub mod api { #[doc = " Returns the metadata of a runtime."] pub fn metadata( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::Metadata, types::metadata::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "Metadata", "metadata", types::Metadata {}, @@ -342,11 +330,11 @@ pub mod api { pub fn metadata_at_version( &self, version: types::metadata_at_version::Version, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::MetadataAtVersion, types::metadata_at_version::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "Metadata", "metadata_at_version", types::MetadataAtVersion { version }, @@ -363,11 +351,11 @@ pub mod api { #[doc = " This can be used to call `metadata_at_version`."] pub fn metadata_versions( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::MetadataVersions, types::metadata_versions::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "Metadata", "metadata_versions", types::MetadataVersions {}, @@ -390,23 +378,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Metadata {} pub mod metadata_at_version { use super::runtime_types; @@ -418,23 +402,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MetadataAtVersion { pub version: metadata_at_version::Version, } @@ -442,28 +422,23 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + pub type Output = ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MetadataVersions {} } } @@ -480,11 +455,11 @@ pub mod api { pub fn apply_extrinsic( &self, extrinsic: types::apply_extrinsic::Extrinsic, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::ApplyExtrinsic, types::apply_extrinsic::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "apply_extrinsic", types::ApplyExtrinsic { extrinsic }, @@ -498,11 +473,11 @@ pub mod api { #[doc = " Finish the current block."] pub fn finalize_block( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::FinalizeBlock, types::finalize_block::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "finalize_block", types::FinalizeBlock {}, @@ -517,11 +492,11 @@ pub mod api { pub fn inherent_extrinsics( &self, inherent: types::inherent_extrinsics::Inherent, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::InherentExtrinsics, types::inherent_extrinsics::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "inherent_extrinsics", types::InherentExtrinsics { inherent }, @@ -538,11 +513,11 @@ pub mod api { &self, block: types::check_inherents::Block, data: types::check_inherents::Data, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CheckInherents, types::check_inherents::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "check_inherents", types::CheckInherents { block, data }, @@ -558,30 +533,26 @@ pub mod api { use super::runtime_types; pub mod apply_extrinsic { use super::runtime_types; - pub type Extrinsic = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Extrinsic = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ApplyExtrinsic { pub extrinsic: apply_extrinsic::Extrinsic, } @@ -595,56 +566,48 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Output = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub type Data = runtime_types::sp_inherents::InherentData; pub mod output { use super::runtime_types; @@ -652,23 +615,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CheckInherents { pub block: check_inherents::Block, pub data: check_inherents::Data, @@ -689,11 +648,11 @@ pub mod api { pub fn query_services_with_blueprints_by_operator( &self, operator: types::query_services_with_blueprints_by_operator::Operator, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::QueryServicesWithBlueprintsByOperator, types::query_services_with_blueprints_by_operator::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "ServicesApi", "query_services_with_blueprints_by_operator", types::QueryServicesWithBlueprintsByOperator { operator }, @@ -710,30 +669,26 @@ pub mod api { use super::runtime_types; pub mod query_services_with_blueprints_by_operator { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub mod output { use super::runtime_types; - pub type Output = :: core :: result :: Result < :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: tangle_primitives :: services :: RpcServicesWithBlueprint < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u64 , :: core :: primitive :: u128 > > , runtime_types :: sp_runtime :: DispatchError > ; + pub type Output = :: core :: result :: Result < :: subxt_core :: alloc :: vec :: Vec < runtime_types :: tangle_primitives :: services :: RpcServicesWithBlueprint < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u64 , :: core :: primitive :: u128 > > , runtime_types :: sp_runtime :: DispatchError > ; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct QueryServicesWithBlueprintsByOperator { pub operator: query_services_with_blueprints_by_operator::Operator, } @@ -754,11 +709,11 @@ pub mod api { &self, account_id: types::query_user_rewards::AccountId, asset_id: types::query_user_rewards::AssetId, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::QueryUserRewards, types::query_user_rewards::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "RewardsApi", "query_user_rewards", types::QueryUserRewards { account_id, asset_id }, @@ -774,7 +729,7 @@ pub mod api { use super::runtime_types; pub mod query_user_rewards { use super::runtime_types; - pub type AccountId = ::subxt::ext::subxt_core::utils::AccountId32; + pub type AccountId = ::subxt_core::utils::AccountId32; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub mod output { @@ -786,23 +741,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct QueryUserRewards { pub account_id: query_user_rewards::AccountId, pub asset_id: query_user_rewards::AssetId, @@ -818,11 +769,11 @@ pub mod api { #[doc = " Returns runtime defined pallet_evm::ChainId."] pub fn chain_id( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::ChainId, types::chain_id::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "chain_id", types::ChainId {}, @@ -838,11 +789,11 @@ pub mod api { pub fn account_basic( &self, address: types::account_basic::Address, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::AccountBasic, types::account_basic::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "account_basic", types::AccountBasic { address }, @@ -857,11 +808,11 @@ pub mod api { #[doc = " Returns FixedGasPrice::min_gas_price"] pub fn gas_price( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::GasPrice, types::gas_price::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "gas_price", types::GasPrice {}, @@ -877,11 +828,11 @@ pub mod api { pub fn account_code_at( &self, address: types::account_code_at::Address, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::AccountCodeAt, types::account_code_at::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "account_code_at", types::AccountCodeAt { address }, @@ -896,11 +847,11 @@ pub mod api { #[doc = " Returns the converted FindAuthor::find_author authority id."] pub fn author( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::Author, types::author::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "author", types::Author {}, @@ -917,11 +868,11 @@ pub mod api { &self, address: types::storage_at::Address, index: types::storage_at::Index, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::StorageAt, types::storage_at::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "storage_at", types::StorageAt { address, index }, @@ -944,11 +895,11 @@ pub mod api { nonce: types::call::Nonce, estimate: types::call::Estimate, access_list: types::call::AccessList, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::Call, types::call::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "call", types::Call { @@ -981,11 +932,11 @@ pub mod api { nonce: types::create::Nonce, estimate: types::create::Estimate, access_list: types::create::AccessList, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::Create, types::create::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "create", types::Create { @@ -1009,11 +960,11 @@ pub mod api { #[doc = " Return the current block."] pub fn current_block( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CurrentBlock, types::current_block::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_block", types::CurrentBlock {}, @@ -1028,11 +979,11 @@ pub mod api { #[doc = " Return the current receipt."] pub fn current_receipts( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CurrentReceipts, types::current_receipts::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_receipts", types::CurrentReceipts {}, @@ -1047,11 +998,11 @@ pub mod api { #[doc = " Return the current transaction status."] pub fn current_transaction_statuses( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CurrentTransactionStatuses, types::current_transaction_statuses::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_transaction_statuses", types::CurrentTransactionStatuses {}, @@ -1065,11 +1016,11 @@ pub mod api { } pub fn current_all( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CurrentAll, types::current_all::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_all", types::CurrentAll {}, @@ -1084,11 +1035,11 @@ pub mod api { pub fn extrinsic_filter( &self, xts: types::extrinsic_filter::Xts, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::ExtrinsicFilter, types::extrinsic_filter::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "extrinsic_filter", types::ExtrinsicFilter { xts }, @@ -1103,11 +1054,11 @@ pub mod api { #[doc = " Return the elasticity multiplier."] pub fn elasticity( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::Elasticity, types::elasticity::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "elasticity", types::Elasticity {}, @@ -1122,11 +1073,11 @@ pub mod api { #[doc = " is supported."] pub fn gas_limit_multiplier_support( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::GasLimitMultiplierSupport, types::gas_limit_multiplier_support::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "gas_limit_multiplier_support", types::GasLimitMultiplierSupport {}, @@ -1142,11 +1093,11 @@ pub mod api { pub fn pending_block( &self, xts: types::pending_block::Xts, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::PendingBlock, types::pending_block::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "pending_block", types::PendingBlock { xts }, @@ -1166,11 +1117,11 @@ pub mod api { pub fn initialize_pending_block( &self, header: types::initialize_pending_block::Header, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::InitializePendingBlock, types::initialize_pending_block::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "initialize_pending_block", types::InitializePendingBlock { header }, @@ -1193,50 +1144,42 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ChainId {} pub mod account_basic { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; pub mod output { use super::runtime_types; pub type Output = runtime_types::evm::backend::Basic; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AccountBasic { pub address: account_basic::Address, } @@ -1248,51 +1191,42 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GasPrice {} pub mod account_code_at { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; pub mod output { use super::runtime_types; - pub type Output = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Output = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AccountCodeAt { pub address: account_code_at::Address, } @@ -1300,65 +1234,56 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::subxt::ext::subxt_core::utils::H160; + pub type Output = ::subxt_core::utils::H160; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Author {} pub mod storage_at { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; pub type Index = runtime_types::primitive_types::U256; pub mod output { use super::runtime_types; - pub type Output = ::subxt::ext::subxt_core::utils::H256; + pub type Output = ::subxt_core::utils::H256; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct StorageAt { pub address: storage_at::Address, pub index: storage_at::Index, } pub mod call { use super::runtime_types; - pub type From = ::subxt::ext::subxt_core::utils::H160; - pub type To = ::subxt::ext::subxt_core::utils::H160; - pub type Data = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt_core::utils::H160; + pub type To = ::subxt_core::utils::H160; + pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = runtime_types::primitive_types::U256; pub type MaxFeePerGas = @@ -1368,41 +1293,35 @@ pub mod api { pub type Nonce = ::core::option::Option; pub type Estimate = ::core::primitive::bool; pub type AccessList = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>, >; pub mod output { use super::runtime_types; pub type Output = ::core::result::Result< runtime_types::fp_evm::ExecutionInfoV2< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, runtime_types::sp_runtime::DispatchError, >; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Call { pub from: call::From, pub to: call::To, @@ -1417,9 +1336,8 @@ pub mod api { } pub mod create { use super::runtime_types; - pub type From = ::subxt::ext::subxt_core::utils::H160; - pub type Data = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt_core::utils::H160; + pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = runtime_types::primitive_types::U256; pub type MaxFeePerGas = @@ -1429,41 +1347,33 @@ pub mod api { pub type Nonce = ::core::option::Option; pub type Estimate = ::core::primitive::bool; pub type AccessList = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>, >; pub mod output { use super::runtime_types; pub type Output = ::core::result::Result< - runtime_types::fp_evm::ExecutionInfoV2< - ::subxt::ext::subxt_core::utils::H160, - >, + runtime_types::fp_evm::ExecutionInfoV2<::subxt_core::utils::H160>, runtime_types::sp_runtime::DispatchError, >; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Create { pub from: create::From, pub data: create::Data, @@ -1487,83 +1397,69 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CurrentBlock {} pub mod current_receipts { use super::runtime_types; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec< runtime_types::ethereum::receipt::ReceiptV3, >, >; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CurrentReceipts {} pub mod current_transaction_statuses { use super::runtime_types; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::fp_rpc::TransactionStatus, - >, + ::subxt_core::alloc::vec::Vec, >; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CurrentTransactionStatuses {} pub mod current_all { use super::runtime_types; @@ -1576,12 +1472,12 @@ pub mod api { >, >, ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec< runtime_types::ethereum::receipt::ReceiptV3, >, >, ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec< runtime_types::fp_rpc::TransactionStatus, >, >, @@ -1589,52 +1485,44 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CurrentAll {} pub mod extrinsic_filter { use super::runtime_types; - pub type Xts = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Xts = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; - pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Output = ::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::TransactionV2, >; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ExtrinsicFilter { pub xts: extrinsic_filter::Xts, } @@ -1648,23 +1536,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Elasticity {} pub mod gas_limit_multiplier_support { use super::runtime_types; @@ -1674,27 +1558,23 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GasLimitMultiplierSupport {} pub mod pending_block { use super::runtime_types; - pub type Xts = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Xts = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; pub type Output = ( @@ -1704,7 +1584,7 @@ pub mod api { >, >, ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec< runtime_types::fp_rpc::TransactionStatus, >, >, @@ -1712,23 +1592,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PendingBlock { pub xts: pending_block::Xts, } @@ -1742,23 +1618,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct InitializePendingBlock { pub header: initialize_pending_block::Header, } @@ -1772,11 +1644,11 @@ pub mod api { pub fn convert_transaction( &self, transaction: types::convert_transaction::Transaction, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::ConvertTransaction, types::convert_transaction::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "ConvertTransactionRuntimeApi", "convert_transaction", types::ConvertTransaction { transaction }, @@ -1795,27 +1667,23 @@ pub mod api { pub type Transaction = runtime_types::ethereum::transaction::TransactionV2; pub mod output { use super::runtime_types; - pub type Output = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Output = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ConvertTransaction { pub transaction: convert_transaction::Transaction, } @@ -1841,11 +1709,11 @@ pub mod api { source: types::validate_transaction::Source, tx: types::validate_transaction::Tx, block_hash: types::validate_transaction::BlockHash, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::ValidateTransaction, types::validate_transaction::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "TaggedTransactionQueue", "validate_transaction", types::ValidateTransaction { source, tx, block_hash }, @@ -1863,31 +1731,27 @@ pub mod api { use super::runtime_types; pub type Source = runtime_types::sp_runtime::transaction_validity::TransactionSource; - pub type Tx = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; - pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; + pub type Tx = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type BlockHash = ::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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ValidateTransaction { pub source: validate_transaction::Source, pub tx: validate_transaction::Tx, @@ -1905,11 +1769,11 @@ pub mod api { pub fn offchain_worker( &self, header: types::offchain_worker::Header, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::OffchainWorker, types::offchain_worker::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "OffchainWorkerApi", "offchain_worker", types::OffchainWorker { header }, @@ -1933,23 +1797,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OffchainWorker { pub header: offchain_worker::Header, } @@ -1971,11 +1831,11 @@ pub mod api { pub fn generate_session_keys( &self, seed: types::generate_session_keys::Seed, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::GenerateSessionKeys, types::generate_session_keys::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "SessionKeys", "generate_session_keys", types::GenerateSessionKeys { seed }, @@ -1992,11 +1852,11 @@ pub mod api { pub fn decode_session_keys( &self, encoded: types::decode_session_keys::Encoded, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::DecodeSessionKeys, types::decode_session_keys::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "SessionKeys", "decode_session_keys", types::DecodeSessionKeys { encoded }, @@ -2014,67 +1874,57 @@ pub mod api { pub mod generate_session_keys { use super::runtime_types; pub type Seed = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >; pub mod output { use super::runtime_types; - pub type Output = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Output = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Encoded = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<( + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, runtime_types::sp_core::crypto::KeyTypeId, )>, >; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct DecodeSessionKeys { pub encoded: decode_session_keys::Encoded, } @@ -2089,11 +1939,11 @@ pub mod api { #[doc = " Return the configuration for BABE."] pub fn configuration( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::Configuration, types::configuration::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "configuration", types::Configuration {}, @@ -2107,11 +1957,11 @@ pub mod api { #[doc = " Returns the slot that started the current epoch."] pub fn current_epoch_start( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CurrentEpochStart, types::current_epoch_start::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "current_epoch_start", types::CurrentEpochStart {}, @@ -2126,11 +1976,11 @@ pub mod api { #[doc = " Returns information regarding the current epoch."] pub fn current_epoch( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CurrentEpoch, types::current_epoch::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "current_epoch", types::CurrentEpoch {}, @@ -2146,11 +1996,11 @@ pub mod api { #[doc = " previously announced)."] pub fn next_epoch( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::NextEpoch, types::next_epoch::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "next_epoch", types::NextEpoch {}, @@ -2177,11 +2027,11 @@ pub mod api { &self, slot: types::generate_key_ownership_proof::Slot, authority_id: types::generate_key_ownership_proof::AuthorityId, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::GenerateKeyOwnershipProof, types::generate_key_ownership_proof::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { slot, authority_id }, @@ -2204,11 +2054,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::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::SubmitReportEquivocationUnsignedExtrinsic, types::submit_report_equivocation_unsigned_extrinsic::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { @@ -2234,23 +2084,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Configuration {} pub mod current_epoch_start { use super::runtime_types; @@ -2260,23 +2106,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CurrentEpochStart {} pub mod current_epoch { use super::runtime_types; @@ -2286,23 +2128,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CurrentEpoch {} pub mod next_epoch { use super::runtime_types; @@ -2312,23 +2150,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct NextEpoch {} pub mod generate_key_ownership_proof { use super::runtime_types; @@ -2342,23 +2176,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GenerateKeyOwnershipProof { pub slot: generate_key_ownership_proof::Slot, pub authority_id: generate_key_ownership_proof::AuthorityId, @@ -2380,23 +2210,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SubmitReportEquivocationUnsignedExtrinsic { pub equivocation_proof: submit_report_equivocation_unsigned_extrinsic::EquivocationProof, @@ -2415,11 +2241,11 @@ pub mod api { pub fn account_nonce( &self, account: types::account_nonce::Account, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::AccountNonce, types::account_nonce::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "AccountNonceApi", "account_nonce", types::AccountNonce { account }, @@ -2436,30 +2262,26 @@ pub mod api { use super::runtime_types; pub mod account_nonce { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub mod output { use super::runtime_types; pub type Output = ::core::primitive::u32; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AccountNonce { pub account: account_nonce::Account, } @@ -2474,11 +2296,11 @@ pub mod api { &self, uxt: types::query_info::Uxt, len: types::query_info::Len, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::QueryInfo, types::query_info::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_info", types::QueryInfo { uxt, len }, @@ -2493,11 +2315,11 @@ pub mod api { &self, uxt: types::query_fee_details::Uxt, len: types::query_fee_details::Len, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::QueryFeeDetails, types::query_fee_details::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_fee_details", types::QueryFeeDetails { uxt, len }, @@ -2511,11 +2333,11 @@ pub mod api { pub fn query_weight_to_fee( &self, weight: types::query_weight_to_fee::Weight, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::QueryWeightToFee, types::query_weight_to_fee::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_weight_to_fee", types::QueryWeightToFee { weight }, @@ -2530,11 +2352,11 @@ pub mod api { pub fn query_length_to_fee( &self, length: types::query_length_to_fee::Length, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::QueryLengthToFee, types::query_length_to_fee::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_length_to_fee", types::QueryLengthToFee { length }, @@ -2550,7 +2372,7 @@ pub mod api { use super::runtime_types; pub mod query_info { use super::runtime_types; - pub type Uxt = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Uxt = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; pub type Len = ::core::primitive::u32; pub mod output { use super::runtime_types; @@ -2562,30 +2384,26 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Uxt = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; pub type Len = ::core::primitive::u32; pub mod output { use super::runtime_types; @@ -2596,23 +2414,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct QueryFeeDetails { pub uxt: query_fee_details::Uxt, pub len: query_fee_details::Len, @@ -2626,23 +2440,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct QueryWeightToFee { pub weight: query_weight_to_fee::Weight, } @@ -2655,23 +2465,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct QueryLengthToFee { pub length: query_length_to_fee::Length, } @@ -2699,11 +2505,11 @@ pub mod api { #[doc = " is finalized by the authorities from block B-1."] pub fn grandpa_authorities( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::GrandpaAuthorities, types::grandpa_authorities::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "grandpa_authorities", types::GrandpaAuthorities {}, @@ -2726,11 +2532,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::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::SubmitReportEquivocationUnsignedExtrinsic, types::submit_report_equivocation_unsigned_extrinsic::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { @@ -2760,11 +2566,11 @@ pub mod api { &self, set_id: types::generate_key_ownership_proof::SetId, authority_id: types::generate_key_ownership_proof::AuthorityId, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::GenerateKeyOwnershipProof, types::generate_key_ownership_proof::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { set_id, authority_id }, @@ -2778,11 +2584,11 @@ pub mod api { #[doc = " Get current GRANDPA authority set id."] pub fn current_set_id( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::CurrentSetId, types::current_set_id::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "current_set_id", types::CurrentSetId {}, @@ -2801,36 +2607,32 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub type Output = ::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, ::core::primitive::u64, >; pub type KeyOwnerProof = runtime_types::sp_runtime::OpaqueValue; @@ -2840,23 +2642,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SubmitReportEquivocationUnsignedExtrinsic { pub equivocation_proof: submit_report_equivocation_unsigned_extrinsic::EquivocationProof, @@ -2874,23 +2672,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GenerateKeyOwnershipProof { pub set_id: generate_key_ownership_proof::SetId, pub authority_id: generate_key_ownership_proof::AuthorityId, @@ -2903,23 +2697,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CurrentSetId {} } } @@ -2933,11 +2723,11 @@ pub mod api { extrinsics: types::trace_transaction::Extrinsics, transaction: types::trace_transaction::Transaction, header: types::trace_transaction::Header, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::TraceTransaction, types::trace_transaction::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "DebugRuntimeApi", "trace_transaction", types::TraceTransaction { extrinsics, transaction, header }, @@ -2954,11 +2744,11 @@ pub mod api { extrinsics: types::trace_block::Extrinsics, known_transactions: types::trace_block::KnownTransactions, header: types::trace_block::Header, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::TraceBlock, types::trace_block::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "DebugRuntimeApi", "trace_block", types::TraceBlock { extrinsics, known_transactions, header }, @@ -2982,11 +2772,11 @@ pub mod api { max_priority_fee_per_gas: types::trace_call::MaxPriorityFeePerGas, nonce: types::trace_call::Nonce, access_list: types::trace_call::AccessList, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::TraceCall, types::trace_call::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "DebugRuntimeApi", "trace_call", types::TraceCall { @@ -3013,7 +2803,7 @@ pub mod api { use super::runtime_types; pub mod trace_transaction { use super::runtime_types; - pub type Extrinsics = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Extrinsics = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub type Transaction = runtime_types::ethereum::transaction::TransactionV2; pub type Header = runtime_types::sp_runtime::generic::header::Header<::core::primitive::u64>; @@ -3024,23 +2814,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TraceTransaction { pub extrinsics: trace_transaction::Extrinsics, pub transaction: trace_transaction::Transaction, @@ -3048,10 +2834,9 @@ pub mod api { } pub mod trace_block { use super::runtime_types; - pub type Extrinsics = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; - pub type KnownTransactions = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >; + pub type Extrinsics = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type KnownTransactions = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>; pub type Header = runtime_types::sp_runtime::generic::header::Header<::core::primitive::u64>; pub mod output { @@ -3061,23 +2846,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TraceBlock { pub extrinsics: trace_block::Extrinsics, pub known_transactions: trace_block::KnownTransactions, @@ -3087,10 +2868,9 @@ pub mod api { use super::runtime_types; pub type Header = runtime_types::sp_runtime::generic::header::Header<::core::primitive::u64>; - pub type From = ::subxt::ext::subxt_core::utils::H160; - pub type To = ::subxt::ext::subxt_core::utils::H160; - pub type Data = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt_core::utils::H160; + pub type To = ::subxt_core::utils::H160; + pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = runtime_types::primitive_types::U256; pub type MaxFeePerGas = @@ -3099,11 +2879,9 @@ pub mod api { ::core::option::Option; pub type Nonce = ::core::option::Option; pub type AccessList = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>, >; pub mod output { @@ -3113,23 +2891,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TraceCall { pub header: trace_call::Header, pub from: trace_call::From, @@ -3153,11 +2927,11 @@ pub mod api { &self, xt_ready: types::extrinsic_filter::XtReady, xt_future: types::extrinsic_filter::XtFuture, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::ExtrinsicFilter, types::extrinsic_filter::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "TxPoolRuntimeApi", "extrinsic_filter", types::ExtrinsicFilter { xt_ready, xt_future }, @@ -3173,31 +2947,27 @@ pub mod api { use super::runtime_types; pub mod extrinsic_filter { use super::runtime_types; - pub type XtReady = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; - pub type XtFuture = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type XtReady = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type XtFuture = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_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 , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; pub type Output = runtime_types::rpc_primitives_txpool::TxPoolResponse; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ExtrinsicFilter { pub xt_ready: extrinsic_filter::XtReady, pub xt_future: extrinsic_filter::XtFuture, @@ -3222,11 +2992,11 @@ pub mod api { pub fn build_state( &self, json: types::build_state::Json, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::BuildState, types::build_state::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "GenesisBuilder", "build_state", types::BuildState { json }, @@ -3254,11 +3024,11 @@ pub mod api { pub fn get_preset( &self, id: types::get_preset::Id, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::GetPreset, types::get_preset::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "GenesisBuilder", "get_preset", types::GetPreset { id }, @@ -3276,11 +3046,11 @@ pub mod api { #[doc = " no named presets are provided by the runtime the list is empty."] pub fn preset_names( &self, - ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt_core::runtime_api::payload::StaticPayload< types::PresetNames, types::preset_names::output::Output, > { - ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt_core::runtime_api::payload::StaticPayload::new_static( "GenesisBuilder", "preset_names", types::PresetNames {}, @@ -3297,66 +3067,54 @@ pub mod api { use super::runtime_types; pub mod build_state { use super::runtime_types; - pub type Json = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Json = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub mod output { use super::runtime_types; - pub type Output = ::core::result::Result< - (), - ::subxt::ext::subxt_core::alloc::string::String, - >; + pub type Output = + ::core::result::Result<(), ::subxt_core::alloc::string::String>; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BuildState { pub json: build_state::Json, } pub mod get_preset { use super::runtime_types; - pub type Id = - ::core::option::Option<::subxt::ext::subxt_core::alloc::string::String>; + pub type Id = ::core::option::Option<::subxt_core::alloc::string::String>; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GetPreset { pub id: get_preset::Id, } @@ -3364,29 +3122,24 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::string::String, - >; + pub type Output = + ::subxt_core::alloc::vec::Vec<::subxt_core::alloc::string::String>; } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PresetNames {} } } @@ -3744,7 +3497,7 @@ pub mod api { } } #[doc = r" check whether the metadata provided is aligned with this statically generated code."] - pub fn is_codegen_valid_for(metadata: &::subxt::ext::subxt_core::Metadata) -> bool { + pub fn is_codegen_valid_for(metadata: &::subxt_core::Metadata) -> bool { let runtime_metadata_hash = metadata .hasher() .only_these_pallets(&PALLETS) @@ -3771,23 +3524,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Make some on-chain remark."] #[doc = ""] #[doc = "Can be executed by every `origin`."] @@ -3796,31 +3545,26 @@ pub mod api { } pub mod remark { use super::runtime_types; - pub type Remark = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Remark = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Remark { + impl ::subxt_core::blocks::StaticExtrinsic for Remark { const PALLET: &'static str = "System"; const CALL: &'static str = "remark"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the number of pages in the WebAssembly environment's heap."] pub struct SetHeapPages { pub pages: set_heap_pages::Pages, @@ -3829,59 +3573,50 @@ pub mod api { use super::runtime_types; pub type Pages = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHeapPages { + impl ::subxt_core::blocks::StaticExtrinsic for SetHeapPages { const PALLET: &'static str = "System"; const CALL: &'static str = "set_heap_pages"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the new runtime code."] pub struct SetCode { pub code: set_code::Code, } pub mod set_code { use super::runtime_types; - pub type Code = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Code = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCode { + impl ::subxt_core::blocks::StaticExtrinsic for SetCode { const PALLET: &'static str = "System"; const CALL: &'static str = "set_code"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -3891,96 +3626,83 @@ pub mod api { } pub mod set_code_without_checks { use super::runtime_types; - pub type Code = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Code = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCodeWithoutChecks { + impl ::subxt_core::blocks::StaticExtrinsic for SetCodeWithoutChecks { const PALLET: &'static str = "System"; const CALL: &'static str = "set_code_without_checks"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set some items of storage."] pub struct SetStorage { pub items: set_storage::Items, } pub mod set_storage { use super::runtime_types; - 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>, + pub type Items = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetStorage { + impl ::subxt_core::blocks::StaticExtrinsic for SetStorage { const PALLET: &'static str = "System"; const CALL: &'static str = "set_storage"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Kill some items from storage."] pub struct KillStorage { pub keys: kill_storage::Keys, } pub mod kill_storage { use super::runtime_types; - pub type Keys = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub type Keys = ::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillStorage { + impl ::subxt_core::blocks::StaticExtrinsic for KillStorage { const PALLET: &'static str = "System"; const CALL: &'static str = "kill_storage"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -3991,63 +3713,53 @@ pub mod api { } pub mod kill_prefix { use super::runtime_types; - pub type Prefix = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Prefix = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Subkeys = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillPrefix { + impl ::subxt_core::blocks::StaticExtrinsic for KillPrefix { const PALLET: &'static str = "System"; const CALL: &'static str = "kill_prefix"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Make some on-chain remark and emit event."] pub struct RemarkWithEvent { pub remark: remark_with_event::Remark, } pub mod remark_with_event { use super::runtime_types; - pub type Remark = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Remark = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemarkWithEvent { + impl ::subxt_core::blocks::StaticExtrinsic for RemarkWithEvent { const PALLET: &'static str = "System"; const CALL: &'static str = "remark_with_event"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] #[doc = "later."] #[doc = ""] @@ -4057,30 +3769,26 @@ pub mod api { } pub mod authorize_upgrade { use super::runtime_types; - pub type CodeHash = ::subxt::ext::subxt_core::utils::H256; + pub type CodeHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgrade { + impl ::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgrade { const PALLET: &'static str = "System"; const CALL: &'static str = "authorize_upgrade"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] #[doc = "later."] #[doc = ""] @@ -4094,30 +3802,26 @@ pub mod api { } pub mod authorize_upgrade_without_checks { use super::runtime_types; - pub type CodeHash = ::subxt::ext::subxt_core::utils::H256; + pub type CodeHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgradeWithoutChecks { + impl ::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgradeWithoutChecks { const PALLET: &'static str = "System"; const CALL: &'static str = "authorize_upgrade_without_checks"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -4132,10 +3836,9 @@ pub mod api { } pub mod apply_authorized_upgrade { use super::runtime_types; - pub type Code = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Code = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApplyAuthorizedUpgrade { + impl ::subxt_core::blocks::StaticExtrinsic for ApplyAuthorizedUpgrade { const PALLET: &'static str = "System"; const CALL: &'static str = "apply_authorized_upgrade"; } @@ -4148,8 +3851,8 @@ pub mod api { pub fn remark( &self, remark: types::remark::Remark, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "remark", types::Remark { remark }, @@ -4165,8 +3868,8 @@ pub mod api { pub fn set_heap_pages( &self, pages: types::set_heap_pages::Pages, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_heap_pages", types::SetHeapPages { pages }, @@ -4182,8 +3885,8 @@ pub mod api { pub fn set_code( &self, code: types::set_code::Code, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_code", types::SetCode { code }, @@ -4201,9 +3904,8 @@ pub mod api { pub fn set_code_without_checks( &self, code: types::set_code_without_checks::Code, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_code_without_checks", types::SetCodeWithoutChecks { code }, @@ -4219,8 +3921,8 @@ pub mod api { pub fn set_storage( &self, items: types::set_storage::Items, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_storage", types::SetStorage { items }, @@ -4236,8 +3938,8 @@ pub mod api { pub fn kill_storage( &self, keys: types::kill_storage::Keys, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "kill_storage", types::KillStorage { keys }, @@ -4257,8 +3959,8 @@ pub mod api { &self, prefix: types::kill_prefix::Prefix, subkeys: types::kill_prefix::Subkeys, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "kill_prefix", types::KillPrefix { prefix, subkeys }, @@ -4274,9 +3976,8 @@ pub mod api { pub fn remark_with_event( &self, remark: types::remark_with_event::Remark, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "remark_with_event", types::RemarkWithEvent { remark }, @@ -4294,9 +3995,8 @@ pub mod api { pub fn authorize_upgrade( &self, code_hash: types::authorize_upgrade::CodeHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "authorize_upgrade", types::AuthorizeUpgrade { code_hash }, @@ -4319,10 +4019,9 @@ pub mod api { pub fn authorize_upgrade_without_checks( &self, code_hash: types::authorize_upgrade_without_checks::CodeHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::AuthorizeUpgradeWithoutChecks, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "authorize_upgrade_without_checks", types::AuthorizeUpgradeWithoutChecks { code_hash }, @@ -4346,10 +4045,8 @@ pub mod api { pub fn apply_authorized_upgrade( &self, code: types::apply_authorized_upgrade::Code, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ApplyAuthorizedUpgrade, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "System", "apply_authorized_upgrade", types::ApplyAuthorizedUpgrade { code }, @@ -4367,19 +4064,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An extrinsic completed successfully."] pub struct ExtrinsicSuccess { pub dispatch_info: extrinsic_success::DispatchInfo, @@ -4388,24 +4085,24 @@ pub mod api { use super::runtime_types; pub type DispatchInfo = runtime_types::frame_support::dispatch::DispatchInfo; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ExtrinsicSuccess { + impl ::subxt_core::events::StaticEvent for ExtrinsicSuccess { const PALLET: &'static str = "System"; const EVENT: &'static str = "ExtrinsicSuccess"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An extrinsic failed."] pub struct ExtrinsicFailed { pub dispatch_error: extrinsic_failed::DispatchError, @@ -4416,96 +4113,96 @@ pub mod api { pub type DispatchError = runtime_types::sp_runtime::DispatchError; pub type DispatchInfo = runtime_types::frame_support::dispatch::DispatchInfo; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ExtrinsicFailed { + impl ::subxt_core::events::StaticEvent for ExtrinsicFailed { const PALLET: &'static str = "System"; const EVENT: &'static str = "ExtrinsicFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "`:code` was updated."] pub struct CodeUpdated; - impl ::subxt::ext::subxt_core::events::StaticEvent for CodeUpdated { + impl ::subxt_core::events::StaticEvent for CodeUpdated { const PALLET: &'static str = "System"; const EVENT: &'static str = "CodeUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NewAccount { + impl ::subxt_core::events::StaticEvent for NewAccount { const PALLET: &'static str = "System"; const EVENT: &'static str = "NewAccount"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for KilledAccount { + impl ::subxt_core::events::StaticEvent for KilledAccount { const PALLET: &'static str = "System"; const EVENT: &'static str = "KilledAccount"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "On on-chain remark happened."] pub struct Remarked { pub sender: remarked::Sender, @@ -4513,27 +4210,27 @@ pub mod api { } pub mod remarked { use super::runtime_types; - pub type Sender = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Hash = ::subxt::ext::subxt_core::utils::H256; + pub type Sender = ::subxt_core::utils::AccountId32; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Remarked { + impl ::subxt_core::events::StaticEvent for Remarked { const PALLET: &'static str = "System"; const EVENT: &'static str = "Remarked"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An upgrade was authorized."] pub struct UpgradeAuthorized { pub code_hash: upgrade_authorized::CodeHash, @@ -4541,10 +4238,10 @@ pub mod api { } pub mod upgrade_authorized { use super::runtime_types; - pub type CodeHash = ::subxt::ext::subxt_core::utils::H256; + pub type CodeHash = ::subxt_core::utils::H256; pub type CheckVersion = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::events::StaticEvent for UpgradeAuthorized { + impl ::subxt_core::events::StaticEvent for UpgradeAuthorized { const PALLET: &'static str = "System"; const EVENT: &'static str = "UpgradeAuthorized"; } @@ -4559,7 +4256,7 @@ pub mod api { ::core::primitive::u32, runtime_types::pallet_balances::types::AccountData<::core::primitive::u128>, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod extrinsic_count { use super::runtime_types; @@ -4581,13 +4278,12 @@ pub mod api { } pub mod block_hash { use super::runtime_types; - pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; + pub type BlockHash = ::subxt_core::utils::H256; pub type Param0 = ::core::primitive::u64; } pub mod extrinsic_data { use super::runtime_types; - pub type ExtrinsicData = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type ExtrinsicData = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Param0 = ::core::primitive::u32; } pub mod number { @@ -4596,7 +4292,7 @@ pub mod api { } pub mod parent_hash { use super::runtime_types; - pub type ParentHash = ::subxt::ext::subxt_core::utils::H256; + pub type ParentHash = ::subxt_core::utils::H256; } pub mod digest { use super::runtime_types; @@ -4604,10 +4300,10 @@ pub mod api { } pub mod events { use super::runtime_types; - pub type Events = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Events = ::subxt_core::alloc::vec::Vec< runtime_types::frame_system::EventRecord< runtime_types::tangle_testnet_runtime::RuntimeEvent, - ::subxt::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, >, >; } @@ -4617,11 +4313,11 @@ pub mod api { } pub mod event_topics { use super::runtime_types; - pub type EventTopics = ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub type EventTopics = ::subxt_core::alloc::vec::Vec<( ::core::primitive::u64, ::core::primitive::u32, )>; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod last_runtime_upgrade { use super::runtime_types; @@ -4651,14 +4347,14 @@ pub mod api { #[doc = " The full account information for a particular account ID."] pub fn account_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::account::Account, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "Account", (), @@ -4673,21 +4369,17 @@ pub mod api { pub fn account( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::account::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::account::Account, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "Account", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -4698,14 +4390,14 @@ pub mod api { #[doc = " Total extrinsics count for the current block."] pub fn extrinsic_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::extrinsic_count::ExtrinsicCount, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "ExtrinsicCount", (), @@ -4720,14 +4412,14 @@ pub mod api { #[doc = " Whether all inherents have been applied."] pub fn inherents_applied( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::inherents_applied::InherentsApplied, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "InherentsApplied", (), @@ -4741,14 +4433,14 @@ pub mod api { #[doc = " The current weight for the block."] pub fn block_weight( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::block_weight::BlockWeight, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "BlockWeight", (), @@ -4762,14 +4454,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::all_extrinsics_len::AllExtrinsicsLen, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "AllExtrinsicsLen", (), @@ -4784,14 +4476,14 @@ pub mod api { #[doc = " Map of block numbers to block hashes."] pub fn block_hash_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::block_hash::BlockHash, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "BlockHash", (), @@ -4806,21 +4498,17 @@ pub mod api { pub fn block_hash( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::block_hash::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::block_hash::BlockHash, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "BlockHash", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 231u8, 203u8, 53u8, 62u8, 34u8, 38u8, 27u8, 62u8, 10u8, 209u8, 96u8, 2u8, 207u8, 136u8, 240u8, 67u8, 183u8, 74u8, 239u8, 218u8, 18u8, 200u8, @@ -4831,14 +4519,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::extrinsic_data::ExtrinsicData, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "ExtrinsicData", (), @@ -4853,21 +4541,17 @@ pub mod api { pub fn extrinsic_data( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::extrinsic_data::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::extrinsic_data::ExtrinsicData, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "ExtrinsicData", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -4878,14 +4562,14 @@ pub mod api { #[doc = " The current block number being processed. Set by `execute_block`."] pub fn number( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::number::Number, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "Number", (), @@ -4899,14 +4583,14 @@ pub mod api { #[doc = " Hash of the previous block."] pub fn parent_hash( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::parent_hash::ParentHash, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "ParentHash", (), @@ -4920,14 +4604,14 @@ pub mod api { #[doc = " Digest of the current block, also part of the block header."] pub fn digest( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::digest::Digest, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "Digest", (), @@ -4947,14 +4631,14 @@ pub mod api { #[doc = " just in case someone still reads them from within the runtime."] pub fn events( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::events::Events, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "Events", (), @@ -4969,14 +4653,14 @@ pub mod api { #[doc = " The number of events in the `Events` list."] pub fn event_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::event_count::EventCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "EventCount", (), @@ -5000,14 +4684,14 @@ pub mod api { #[doc = " no notification will be triggered thus the event might be lost."] pub fn event_topics_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::event_topics::EventTopics, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "EventTopics", (), @@ -5031,21 +4715,17 @@ pub mod api { pub fn event_topics( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::event_topics::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::event_topics::EventTopics, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "EventTopics", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 190u8, 220u8, 184u8, 246u8, 192u8, 219u8, 183u8, 210u8, 216u8, 1u8, 239u8, 142u8, 255u8, 35u8, 134u8, 39u8, 114u8, 27u8, 34u8, 194u8, 90u8, @@ -5056,14 +4736,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::last_runtime_upgrade::LastRuntimeUpgrade, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "LastRuntimeUpgrade", (), @@ -5077,14 +4757,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::upgraded_to_u32_ref_count::UpgradedToU32RefCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "UpgradedToU32RefCount", (), @@ -5099,14 +4779,14 @@ pub mod api { #[doc = " (default) if not."] pub fn upgraded_to_triple_ref_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::upgraded_to_triple_ref_count::UpgradedToTripleRefCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "UpgradedToTripleRefCount", (), @@ -5121,14 +4801,14 @@ pub mod api { #[doc = " The execution phase of the block."] pub fn execution_phase( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::execution_phase::ExecutionPhase, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "ExecutionPhase", (), @@ -5142,14 +4822,14 @@ pub mod api { #[doc = " `Some` if a code upgrade has been authorized."] pub fn authorized_upgrade( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::authorized_upgrade::AuthorizedUpgrade, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "System", "AuthorizedUpgrade", (), @@ -5169,10 +4849,10 @@ pub mod api { #[doc = " Block & extrinsics weights: base values and limits."] pub fn block_weights( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::frame_system::limits::BlockWeights, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "System", "BlockWeights", [ @@ -5185,10 +4865,10 @@ pub mod api { #[doc = " The maximum length of a block (in bytes)."] pub fn block_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::frame_system::limits::BlockLength, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "System", "BlockLength", [ @@ -5201,10 +4881,8 @@ 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::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "System", "BlockHashCount", [ @@ -5218,10 +4896,10 @@ pub mod api { #[doc = " The weight of runtime database operations the runtime can invoke."] pub fn db_weight( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::RuntimeDbWeight, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "System", "DbWeight", [ @@ -5235,10 +4913,10 @@ pub mod api { #[doc = " Get the chain's in-code version."] pub fn version( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_version::RuntimeVersion, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "System", "Version", [ @@ -5256,10 +4934,8 @@ pub mod api { #[doc = " an identifier of the chain."] pub fn ss58_prefix( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u16, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u16> { + ::subxt_core::constants::address::StaticAddress::new_static( "System", "SS58Prefix", [ @@ -5284,23 +4960,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -5328,7 +5000,7 @@ pub mod api { use super::runtime_types; pub type Now = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Set { + impl ::subxt_core::blocks::StaticExtrinsic for Set { const PALLET: &'static str = "Timestamp"; const CALL: &'static str = "set"; } @@ -5357,8 +5029,8 @@ pub mod api { pub fn set( &self, now: types::set::Now, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Timestamp", "set", types::Set { now }, @@ -5389,14 +5061,14 @@ pub mod api { #[doc = " The current time for the current block."] pub fn now( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::now::Now, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Timestamp", "Now", (), @@ -5413,14 +5085,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::did_update::DidUpdate, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Timestamp", "DidUpdate", (), @@ -5446,10 +5118,8 @@ pub mod api { #[doc = " period on default settings."] pub fn minimum_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Timestamp", "MinimumPeriod", [ @@ -5477,61 +5147,52 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] pub struct Sudo { - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod sudo { use super::runtime_types; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Sudo { + impl ::subxt_core::blocks::StaticExtrinsic for Sudo { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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_."] pub struct SudoUncheckedWeight { - pub call: - ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, pub weight: sudo_unchecked_weight::Weight, } pub mod sudo_unchecked_weight { @@ -5539,28 +5200,24 @@ pub mod api { pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type Weight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoUncheckedWeight { + impl ::subxt_core::blocks::StaticExtrinsic for SudoUncheckedWeight { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo_unchecked_weight"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] #[doc = "key."] pub struct SetKey { @@ -5568,76 +5225,68 @@ pub mod api { } pub mod set_key { use super::runtime_types; - pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type New = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetKey { + impl ::subxt_core::blocks::StaticExtrinsic for SetKey { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "set_key"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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_."] pub struct SudoAs { pub who: sudo_as::Who, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod sudo_as { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoAs { + impl ::subxt_core::blocks::StaticExtrinsic for SudoAs { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo_as"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Permanently removes the sudo key."] #[doc = ""] #[doc = "**This cannot be un-done.**"] pub struct RemoveKey; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveKey { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveKey { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "remove_key"; } @@ -5648,13 +5297,11 @@ pub mod api { pub fn sudo( &self, call: types::sudo::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "sudo", - types::Sudo { - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), - }, + types::Sudo { call: ::subxt_core::alloc::boxed::Box::new(call) }, [ 9u8, 97u8, 236u8, 106u8, 2u8, 175u8, 20u8, 197u8, 142u8, 65u8, 159u8, 112u8, 218u8, 87u8, 69u8, 215u8, 226u8, 41u8, 158u8, 33u8, 64u8, 28u8, @@ -5671,13 +5318,12 @@ pub mod api { &self, call: types::sudo_unchecked_weight::Call, weight: types::sudo_unchecked_weight::Weight, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "sudo_unchecked_weight", types::SudoUncheckedWeight { - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), weight, }, [ @@ -5693,8 +5339,8 @@ pub mod api { pub fn set_key( &self, new: types::set_key::New, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "set_key", types::SetKey { new }, @@ -5714,14 +5360,11 @@ pub mod api { &self, who: types::sudo_as::Who, call: types::sudo_as::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "sudo_as", - types::SudoAs { - who, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), - }, + types::SudoAs { who, call: ::subxt_core::alloc::boxed::Box::new(call) }, [ 132u8, 223u8, 191u8, 55u8, 96u8, 32u8, 254u8, 93u8, 188u8, 92u8, 105u8, 120u8, 155u8, 117u8, 131u8, 67u8, 208u8, 118u8, 86u8, 103u8, 52u8, @@ -5734,8 +5377,8 @@ pub mod api { #[doc = "**This cannot be un-done.**"] pub fn remove_key( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "remove_key", types::RemoveKey {}, @@ -5754,19 +5397,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A sudo call just took place."] pub struct Sudid { pub sudo_result: sudid::SudoResult, @@ -5776,24 +5419,24 @@ pub mod api { pub type SudoResult = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Sudid { + impl ::subxt_core::events::StaticEvent for Sudid { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "Sudid"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The sudo key has been updated."] pub struct KeyChanged { pub old: key_changed::Old, @@ -5801,47 +5444,47 @@ pub mod api { } pub mod key_changed { use super::runtime_types; - pub type Old = ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; - pub type New = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Old = ::core::option::Option<::subxt_core::utils::AccountId32>; + pub type New = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for KeyChanged { + impl ::subxt_core::events::StaticEvent for KeyChanged { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "KeyChanged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The key was permanently removed."] pub struct KeyRemoved; - impl ::subxt::ext::subxt_core::events::StaticEvent for KeyRemoved { + impl ::subxt_core::events::StaticEvent for KeyRemoved { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "KeyRemoved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -5851,7 +5494,7 @@ pub mod api { pub type SudoResult = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SudoAsDone { + impl ::subxt_core::events::StaticEvent for SudoAsDone { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "SudoAsDone"; } @@ -5862,7 +5505,7 @@ pub mod api { use super::runtime_types; pub mod key { use super::runtime_types; - pub type Key = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Key = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -5870,14 +5513,14 @@ pub mod api { #[doc = " The `AccountId` of the sudo key."] pub fn key( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::key::Key, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Sudo", "Key", (), @@ -5902,7 +5545,7 @@ pub mod api { use super::runtime_types; pub type RandomMaterial = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, >; } } @@ -5913,14 +5556,14 @@ pub mod api { #[doc = " the oldest hash."] pub fn random_material( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::random_material::RandomMaterial, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "RandomnessCollectiveFlip", "RandomMaterial", (), @@ -5949,23 +5592,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Issue a new class of fungible assets from a public origin."] #[doc = ""] #[doc = "This new asset class has no assets initially and its owner is the origin."] @@ -5994,34 +5633,30 @@ pub mod api { pub mod create { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Admin = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Admin = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type MinBalance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "Assets"; const CALL: &'static str = "create"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Issue a new class of fungible assets from a privileged origin."] #[doc = ""] #[doc = "This new asset class has no assets initially."] @@ -6052,35 +5687,31 @@ pub mod api { pub mod force_create { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Owner = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type IsSufficient = ::core::primitive::bool; pub type MinBalance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceCreate { + impl ::subxt_core::blocks::StaticExtrinsic for ForceCreate { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_create"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Start the process of destroying a fungible asset class."] #[doc = ""] #[doc = "`start_destroy` is the first in a series of extrinsics that should be called, to allow"] @@ -6100,28 +5731,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for StartDestroy { + impl ::subxt_core::blocks::StaticExtrinsic for StartDestroy { const PALLET: &'static str = "Assets"; const CALL: &'static str = "start_destroy"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Destroy all accounts associated with a given asset."] #[doc = ""] #[doc = "`destroy_accounts` should only be called after `start_destroy` has been called, and the"] @@ -6142,28 +5769,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DestroyAccounts { + impl ::subxt_core::blocks::StaticExtrinsic for DestroyAccounts { const PALLET: &'static str = "Assets"; const CALL: &'static str = "destroy_accounts"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit)."] #[doc = ""] #[doc = "`destroy_approvals` should only be called after `start_destroy` has been called, and the"] @@ -6184,28 +5807,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DestroyApprovals { + impl ::subxt_core::blocks::StaticExtrinsic for DestroyApprovals { const PALLET: &'static str = "Assets"; const CALL: &'static str = "destroy_approvals"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Complete destroying asset and unreserve currency."] #[doc = ""] #[doc = "`finish_destroy` should only be called after `start_destroy` has been called, and the"] @@ -6224,28 +5843,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FinishDestroy { + impl ::subxt_core::blocks::StaticExtrinsic for FinishDestroy { const PALLET: &'static str = "Assets"; const CALL: &'static str = "finish_destroy"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Mint assets of a particular class."] #[doc = ""] #[doc = "The origin must be Signed and the sender must be the Issuer of the asset `id`."] @@ -6268,34 +5883,30 @@ pub mod api { pub mod mint { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Mint { + impl ::subxt_core::blocks::StaticExtrinsic for Mint { const PALLET: &'static str = "Assets"; const CALL: &'static str = "mint"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Reduce the balance of `who` by as much as possible up to `amount` assets of `id`."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Manager of the asset `id`."] @@ -6321,34 +5932,30 @@ pub mod api { pub mod burn { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Burn { + impl ::subxt_core::blocks::StaticExtrinsic for Burn { const PALLET: &'static str = "Assets"; const CALL: &'static str = "burn"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Move some assets from the sender account to another."] #[doc = ""] #[doc = "Origin must be Signed."] @@ -6377,34 +5984,30 @@ pub mod api { pub mod transfer { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Transfer { + impl ::subxt_core::blocks::StaticExtrinsic for Transfer { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Move some assets from the sender account to another, keeping the sender account alive."] #[doc = ""] #[doc = "Origin must be Signed."] @@ -6433,34 +6036,30 @@ pub mod api { pub mod transfer_keep_alive { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { + impl ::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer_keep_alive"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Move some assets from one account to another."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Admin of the asset `id`."] @@ -6491,38 +6090,34 @@ pub mod api { pub mod force_transfer { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Source = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Dest = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`"] #[doc = "must already exist as an entry in `Account`s of the asset. If you want to freeze an"] #[doc = "account that does not have an entry, use `touch_other` first."] @@ -6543,33 +6138,29 @@ pub mod api { pub mod freeze { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Freeze { + impl ::subxt_core::blocks::StaticExtrinsic for Freeze { const PALLET: &'static str = "Assets"; const CALL: &'static str = "freeze"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allow unprivileged transfers to and from an account again."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Admin of the asset `id`."] @@ -6588,33 +6179,29 @@ pub mod api { pub mod thaw { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Thaw { + impl ::subxt_core::blocks::StaticExtrinsic for Thaw { const PALLET: &'static str = "Assets"; const CALL: &'static str = "thaw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Disallow further unprivileged transfers for the asset class."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Freezer of the asset `id`."] @@ -6632,28 +6219,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FreezeAsset { + impl ::subxt_core::blocks::StaticExtrinsic for FreezeAsset { const PALLET: &'static str = "Assets"; const CALL: &'static str = "freeze_asset"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allow unprivileged transfers for the asset again."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Admin of the asset `id`."] @@ -6671,28 +6254,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ThawAsset { + impl ::subxt_core::blocks::StaticExtrinsic for ThawAsset { const PALLET: &'static str = "Assets"; const CALL: &'static str = "thaw_asset"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Change the Owner of an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6711,33 +6290,29 @@ pub mod api { pub mod transfer_ownership { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Owner = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferOwnership { + impl ::subxt_core::blocks::StaticExtrinsic for TransferOwnership { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer_ownership"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Change the Issuer, Admin and Freezer of an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6760,41 +6335,37 @@ pub mod api { pub mod set_team { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Issuer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Issuer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Admin = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Admin = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Freezer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Freezer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetTeam { + impl ::subxt_core::blocks::StaticExtrinsic for SetTeam { const PALLET: &'static str = "Assets"; const CALL: &'static str = "set_team"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the metadata for an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6821,34 +6392,28 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Name = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Symbol = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Name = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Symbol = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Decimals = ::core::primitive::u8; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "set_metadata"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Clear the metadata for an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6868,28 +6433,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearMetadata { + impl ::subxt_core::blocks::StaticExtrinsic for ClearMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "clear_metadata"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force the metadata for an asset to some value."] #[doc = ""] #[doc = "Origin must be ForceOrigin."] @@ -6915,35 +6476,29 @@ pub mod api { pub mod force_set_metadata { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Name = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Symbol = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Name = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Symbol = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Decimals = ::core::primitive::u8; pub type IsFrozen = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetMetadata { + impl ::subxt_core::blocks::StaticExtrinsic for ForceSetMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_set_metadata"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Clear the metadata for an asset."] #[doc = ""] #[doc = "Origin must be ForceOrigin."] @@ -6963,28 +6518,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceClearMetadata { + impl ::subxt_core::blocks::StaticExtrinsic for ForceClearMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_clear_metadata"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Alter the attributes of a given asset."] #[doc = ""] #[doc = "Origin must be `ForceOrigin`."] @@ -7022,48 +6573,44 @@ pub mod api { pub mod force_asset_status { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Owner = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Issuer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Issuer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Admin = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Admin = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Freezer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Freezer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type MinBalance = ::core::primitive::u128; pub type IsSufficient = ::core::primitive::bool; pub type IsFrozen = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceAssetStatus { + impl ::subxt_core::blocks::StaticExtrinsic for ForceAssetStatus { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_asset_status"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Approve an amount of asset for transfer by a delegated third-party account."] #[doc = ""] #[doc = "Origin must be Signed."] @@ -7094,34 +6641,30 @@ pub mod api { pub mod approve_transfer { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveTransfer { + impl ::subxt_core::blocks::StaticExtrinsic for ApproveTransfer { const PALLET: &'static str = "Assets"; const CALL: &'static str = "approve_transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel all of some asset approved for delegated transfer by a third-party account."] #[doc = ""] #[doc = "Origin must be Signed and there must be an approval in place between signer and"] @@ -7143,33 +6686,29 @@ pub mod api { pub mod cancel_approval { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelApproval { + impl ::subxt_core::blocks::StaticExtrinsic for CancelApproval { const PALLET: &'static str = "Assets"; const CALL: &'static str = "cancel_approval"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel all of some asset approved for delegated transfer by a third-party account."] #[doc = ""] #[doc = "Origin must be either ForceOrigin or Signed origin with the signer being the Admin"] @@ -7192,37 +6731,33 @@ pub mod api { pub mod force_cancel_approval { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Owner = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceCancelApproval { + impl ::subxt_core::blocks::StaticExtrinsic for ForceCancelApproval { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_cancel_approval"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Transfer some asset balance from a previously delegated account to some third-party"] #[doc = "account."] #[doc = ""] @@ -7252,38 +6787,34 @@ pub mod api { pub mod transfer_approved { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Owner = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Destination = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Destination = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferApproved { + impl ::subxt_core::blocks::StaticExtrinsic for TransferApproved { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer_approved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create an asset account for non-provider assets."] #[doc = ""] #[doc = "A deposit will be taken from the signer account."] @@ -7301,28 +6832,24 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Touch { + impl ::subxt_core::blocks::StaticExtrinsic for Touch { const PALLET: &'static str = "Assets"; const CALL: &'static str = "touch"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Return the deposit (if any) of an asset account or a consumer reference (if any) of an"] #[doc = "account."] #[doc = ""] @@ -7343,28 +6870,24 @@ pub mod api { pub type Id = ::core::primitive::u128; pub type AllowBurn = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Refund { + impl ::subxt_core::blocks::StaticExtrinsic for Refund { const PALLET: &'static str = "Assets"; const CALL: &'static str = "refund"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Sets the minimum balance of an asset."] #[doc = ""] #[doc = "Only works if there aren't any accounts that are holding the asset or if"] @@ -7387,28 +6910,24 @@ pub mod api { pub type Id = ::core::primitive::u128; pub type MinBalance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinBalance { + impl ::subxt_core::blocks::StaticExtrinsic for SetMinBalance { const PALLET: &'static str = "Assets"; const CALL: &'static str = "set_min_balance"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create an asset account for `who`."] #[doc = ""] #[doc = "A deposit will be taken from the signer account."] @@ -7427,33 +6946,29 @@ pub mod api { pub mod touch_other { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TouchOther { + impl ::subxt_core::blocks::StaticExtrinsic for TouchOther { const PALLET: &'static str = "Assets"; const CALL: &'static str = "touch_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Return the deposit (if any) of a target asset account. Useful if you are the depositor."] #[doc = ""] #[doc = "The origin must be Signed and either the account owner, depositor, or asset `Admin`. In"] @@ -7472,33 +6987,29 @@ pub mod api { pub mod refund_other { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RefundOther { + impl ::subxt_core::blocks::StaticExtrinsic for RefundOther { const PALLET: &'static str = "Assets"; const CALL: &'static str = "refund_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Disallow further unprivileged transfers of an asset `id` to and from an account `who`."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Freezer of the asset `id`."] @@ -7517,12 +7028,12 @@ pub mod api { pub mod block { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Block { + impl ::subxt_core::blocks::StaticExtrinsic for Block { const PALLET: &'static str = "Assets"; const CALL: &'static str = "block"; } @@ -7553,8 +7064,8 @@ pub mod api { id: types::create::Id, admin: types::create::Admin, min_balance: types::create::MinBalance, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "create", types::Create { id, admin, min_balance }, @@ -7590,8 +7101,8 @@ pub mod api { owner: types::force_create::Owner, is_sufficient: types::force_create::IsSufficient, min_balance: types::force_create::MinBalance, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_create", types::ForceCreate { id, owner, is_sufficient, min_balance }, @@ -7616,8 +7127,8 @@ pub mod api { pub fn start_destroy( &self, id: types::start_destroy::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "start_destroy", types::StartDestroy { id }, @@ -7643,9 +7154,8 @@ pub mod api { pub fn destroy_accounts( &self, id: types::destroy_accounts::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "destroy_accounts", types::DestroyAccounts { id }, @@ -7671,9 +7181,8 @@ pub mod api { pub fn destroy_approvals( &self, id: types::destroy_approvals::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "destroy_approvals", types::DestroyApprovals { id }, @@ -7698,9 +7207,8 @@ pub mod api { pub fn finish_destroy( &self, id: types::finish_destroy::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "finish_destroy", types::FinishDestroy { id }, @@ -7728,8 +7236,8 @@ pub mod api { id: types::mint::Id, beneficiary: types::mint::Beneficiary, amount: types::mint::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "mint", types::Mint { id, beneficiary, amount }, @@ -7761,8 +7269,8 @@ pub mod api { id: types::burn::Id, who: types::burn::Who, amount: types::burn::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "burn", types::Burn { id, who, amount }, @@ -7797,8 +7305,8 @@ pub mod api { id: types::transfer::Id, target: types::transfer::Target, amount: types::transfer::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer", types::Transfer { id, target, amount }, @@ -7833,9 +7341,8 @@ pub mod api { id: types::transfer_keep_alive::Id, target: types::transfer_keep_alive::Target, amount: types::transfer_keep_alive::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer_keep_alive", types::TransferKeepAlive { id, target, amount }, @@ -7872,9 +7379,8 @@ pub mod api { source: types::force_transfer::Source, dest: types::force_transfer::Dest, amount: types::force_transfer::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_transfer", types::ForceTransfer { id, source, dest, amount }, @@ -7901,8 +7407,8 @@ pub mod api { &self, id: types::freeze::Id, who: types::freeze::Who, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "freeze", types::Freeze { id, who }, @@ -7927,8 +7433,8 @@ pub mod api { &self, id: types::thaw::Id, who: types::thaw::Who, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "thaw", types::Thaw { id, who }, @@ -7951,8 +7457,8 @@ pub mod api { pub fn freeze_asset( &self, id: types::freeze_asset::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "freeze_asset", types::FreezeAsset { id }, @@ -7976,8 +7482,8 @@ pub mod api { pub fn thaw_asset( &self, id: types::thaw_asset::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "thaw_asset", types::ThawAsset { id }, @@ -8002,9 +7508,8 @@ pub mod api { &self, id: types::transfer_ownership::Id, owner: types::transfer_ownership::Owner, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer_ownership", types::TransferOwnership { id, owner }, @@ -8033,8 +7538,8 @@ pub mod api { issuer: types::set_team::Issuer, admin: types::set_team::Admin, freezer: types::set_team::Freezer, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "set_team", types::SetTeam { id, issuer, admin, freezer }, @@ -8068,8 +7573,8 @@ pub mod api { name: types::set_metadata::Name, symbol: types::set_metadata::Symbol, decimals: types::set_metadata::Decimals, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "set_metadata", types::SetMetadata { id, name, symbol, decimals }, @@ -8095,9 +7600,8 @@ pub mod api { pub fn clear_metadata( &self, id: types::clear_metadata::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "clear_metadata", types::ClearMetadata { id }, @@ -8129,9 +7633,8 @@ pub mod api { symbol: types::force_set_metadata::Symbol, decimals: types::force_set_metadata::Decimals, is_frozen: types::force_set_metadata::IsFrozen, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_set_metadata", types::ForceSetMetadata { id, name, symbol, decimals, is_frozen }, @@ -8157,9 +7660,8 @@ pub mod api { pub fn force_clear_metadata( &self, id: types::force_clear_metadata::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_clear_metadata", types::ForceClearMetadata { id }, @@ -8203,9 +7705,8 @@ pub mod api { min_balance: types::force_asset_status::MinBalance, is_sufficient: types::force_asset_status::IsSufficient, is_frozen: types::force_asset_status::IsFrozen, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_asset_status", types::ForceAssetStatus { @@ -8250,9 +7751,8 @@ pub mod api { id: types::approve_transfer::Id, delegate: types::approve_transfer::Delegate, amount: types::approve_transfer::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "approve_transfer", types::ApproveTransfer { id, delegate, amount }, @@ -8280,9 +7780,8 @@ pub mod api { &self, id: types::cancel_approval::Id, delegate: types::cancel_approval::Delegate, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "cancel_approval", types::CancelApproval { id, delegate }, @@ -8311,9 +7810,8 @@ pub mod api { id: types::force_cancel_approval::Id, owner: types::force_cancel_approval::Owner, delegate: types::force_cancel_approval::Delegate, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_cancel_approval", types::ForceCancelApproval { id, owner, delegate }, @@ -8349,9 +7847,8 @@ pub mod api { owner: types::transfer_approved::Owner, destination: types::transfer_approved::Destination, amount: types::transfer_approved::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer_approved", types::TransferApproved { id, owner, destination, amount }, @@ -8374,8 +7871,8 @@ pub mod api { pub fn touch( &self, id: types::touch::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "touch", types::Touch { id }, @@ -8400,8 +7897,8 @@ pub mod api { &self, id: types::refund::Id, allow_burn: types::refund::AllowBurn, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "refund", types::Refund { id, allow_burn }, @@ -8429,9 +7926,8 @@ pub mod api { &self, id: types::set_min_balance::Id, min_balance: types::set_min_balance::MinBalance, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "set_min_balance", types::SetMinBalance { id, min_balance }, @@ -8456,8 +7952,8 @@ pub mod api { &self, id: types::touch_other::Id, who: types::touch_other::Who, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "touch_other", types::TouchOther { id, who }, @@ -8482,8 +7978,8 @@ pub mod api { &self, id: types::refund_other::Id, who: types::refund_other::Who, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "refund_other", types::RefundOther { id, who }, @@ -8508,8 +8004,8 @@ pub mod api { &self, id: types::block::Id, who: types::block::Who, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "block", types::Block { id, who }, @@ -8527,19 +8023,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some asset class was created."] pub struct Created { pub asset_id: created::AssetId, @@ -8549,27 +8045,27 @@ pub mod api { pub mod created { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Creator = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Creator = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Created { + impl ::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Created"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were issued."] pub struct Issued { pub asset_id: issued::AssetId, @@ -8579,27 +8075,27 @@ pub mod api { pub mod issued { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Issued { + impl ::subxt_core::events::StaticEvent for Issued { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Issued"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were transferred."] pub struct Transferred { pub asset_id: transferred::AssetId, @@ -8610,28 +8106,28 @@ pub mod api { pub mod transferred { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type From = ::subxt::ext::subxt_core::utils::AccountId32; - pub type To = ::subxt::ext::subxt_core::utils::AccountId32; + pub type From = ::subxt_core::utils::AccountId32; + pub type To = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Transferred { + impl ::subxt_core::events::StaticEvent for Transferred { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Transferred"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were destroyed."] pub struct Burned { pub asset_id: burned::AssetId, @@ -8641,27 +8137,27 @@ pub mod api { pub mod burned { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; pub type Balance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Burned { + impl ::subxt_core::events::StaticEvent for Burned { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Burned"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The management team changed."] pub struct TeamChanged { pub asset_id: team_changed::AssetId, @@ -8672,28 +8168,28 @@ pub mod api { pub mod team_changed { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Issuer = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Admin = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Freezer = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Issuer = ::subxt_core::utils::AccountId32; + pub type Admin = ::subxt_core::utils::AccountId32; + pub type Freezer = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for TeamChanged { + impl ::subxt_core::events::StaticEvent for TeamChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "TeamChanged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The owner changed."] pub struct OwnerChanged { pub asset_id: owner_changed::AssetId, @@ -8702,26 +8198,26 @@ pub mod api { pub mod owner_changed { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OwnerChanged { + impl ::subxt_core::events::StaticEvent for OwnerChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "OwnerChanged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was frozen."] pub struct Frozen { pub asset_id: frozen::AssetId, @@ -8730,26 +8226,26 @@ pub mod api { pub mod frozen { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Frozen { + impl ::subxt_core::events::StaticEvent for Frozen { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Frozen"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was thawed."] pub struct Thawed { pub asset_id: thawed::AssetId, @@ -8758,26 +8254,26 @@ pub mod api { pub mod thawed { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Thawed { + impl ::subxt_core::events::StaticEvent for Thawed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Thawed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some asset `asset_id` was frozen."] pub struct AssetFrozen { pub asset_id: asset_frozen::AssetId, @@ -8786,24 +8282,24 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AssetFrozen { + impl ::subxt_core::events::StaticEvent for AssetFrozen { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetFrozen"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some asset `asset_id` was thawed."] pub struct AssetThawed { pub asset_id: asset_thawed::AssetId, @@ -8812,24 +8308,24 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AssetThawed { + impl ::subxt_core::events::StaticEvent for AssetThawed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetThawed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Accounts were destroyed for given asset."] pub struct AccountsDestroyed { pub asset_id: accounts_destroyed::AssetId, @@ -8842,24 +8338,24 @@ pub mod api { pub type AccountsDestroyed = ::core::primitive::u32; pub type AccountsRemaining = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AccountsDestroyed { + impl ::subxt_core::events::StaticEvent for AccountsDestroyed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AccountsDestroyed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Approvals were destroyed for given asset."] pub struct ApprovalsDestroyed { pub asset_id: approvals_destroyed::AssetId, @@ -8872,24 +8368,24 @@ pub mod api { pub type ApprovalsDestroyed = ::core::primitive::u32; pub type ApprovalsRemaining = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ApprovalsDestroyed { + impl ::subxt_core::events::StaticEvent for ApprovalsDestroyed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ApprovalsDestroyed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An asset class is in the process of being destroyed."] pub struct DestructionStarted { pub asset_id: destruction_started::AssetId, @@ -8898,24 +8394,24 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for DestructionStarted { + impl ::subxt_core::events::StaticEvent for DestructionStarted { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "DestructionStarted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An asset class was destroyed."] pub struct Destroyed { pub asset_id: destroyed::AssetId, @@ -8924,24 +8420,24 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Destroyed { + impl ::subxt_core::events::StaticEvent for Destroyed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Destroyed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some asset class was force-created."] pub struct ForceCreated { pub asset_id: force_created::AssetId, @@ -8950,26 +8446,26 @@ pub mod api { pub mod force_created { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ForceCreated { + impl ::subxt_core::events::StaticEvent for ForceCreated { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ForceCreated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "New metadata has been set for an asset."] pub struct MetadataSet { pub asset_id: metadata_set::AssetId, @@ -8981,29 +8477,29 @@ pub mod api { pub mod metadata_set { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Name = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Symbol = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Name = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Symbol = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Decimals = ::core::primitive::u8; pub type IsFrozen = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataSet { + impl ::subxt_core::events::StaticEvent for MetadataSet { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "MetadataSet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Metadata has been cleared for an asset."] pub struct MetadataCleared { pub asset_id: metadata_cleared::AssetId, @@ -9012,24 +8508,24 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataCleared { + impl ::subxt_core::events::StaticEvent for MetadataCleared { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "MetadataCleared"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "(Additional) funds have been approved for transfer to a destination account."] pub struct ApprovedTransfer { pub asset_id: approved_transfer::AssetId, @@ -9040,28 +8536,28 @@ pub mod api { pub mod approved_transfer { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Source = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Delegate = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Source = ::subxt_core::utils::AccountId32; + pub type Delegate = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ApprovedTransfer { + impl ::subxt_core::events::StaticEvent for ApprovedTransfer { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ApprovedTransfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An approval for account `delegate` was cancelled by `owner`."] pub struct ApprovalCancelled { pub asset_id: approval_cancelled::AssetId, @@ -9071,27 +8567,27 @@ pub mod api { pub mod approval_cancelled { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Delegate = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; + pub type Delegate = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ApprovalCancelled { + impl ::subxt_core::events::StaticEvent for ApprovalCancelled { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ApprovalCancelled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An `amount` was transferred in its entirety from `owner` to `destination` by"] #[doc = "the approved `delegate`."] pub struct TransferredApproved { @@ -9104,29 +8600,29 @@ pub mod api { pub mod transferred_approved { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Delegate = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Destination = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; + pub type Delegate = ::subxt_core::utils::AccountId32; + pub type Destination = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for TransferredApproved { + impl ::subxt_core::events::StaticEvent for TransferredApproved { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "TransferredApproved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An asset has had its attributes changed by the `Force` origin."] pub struct AssetStatusChanged { pub asset_id: asset_status_changed::AssetId, @@ -9135,24 +8631,24 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AssetStatusChanged { + impl ::subxt_core::events::StaticEvent for AssetStatusChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetStatusChanged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The min_balance of an asset has been updated by the asset owner."] pub struct AssetMinBalanceChanged { pub asset_id: asset_min_balance_changed::AssetId, @@ -9163,24 +8659,24 @@ pub mod api { pub type AssetId = ::core::primitive::u128; pub type NewMinBalance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AssetMinBalanceChanged { + impl ::subxt_core::events::StaticEvent for AssetMinBalanceChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetMinBalanceChanged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was created with a deposit from `depositor`."] pub struct Touched { pub asset_id: touched::AssetId, @@ -9190,27 +8686,27 @@ pub mod api { pub mod touched { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Depositor = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; + pub type Depositor = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Touched { + impl ::subxt_core::events::StaticEvent for Touched { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Touched"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was blocked."] pub struct Blocked { pub asset_id: blocked::AssetId, @@ -9219,26 +8715,26 @@ pub mod api { pub mod blocked { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Blocked { + impl ::subxt_core::events::StaticEvent for Blocked { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Blocked"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were deposited (e.g. for transaction fees)."] pub struct Deposited { pub asset_id: deposited::AssetId, @@ -9248,27 +8744,27 @@ pub mod api { pub mod deposited { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Deposited { + impl ::subxt_core::events::StaticEvent for Deposited { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Deposited"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were withdrawn from the account (e.g. for transaction fees)."] pub struct Withdrawn { pub asset_id: withdrawn::AssetId, @@ -9278,10 +8774,10 @@ pub mod api { pub mod withdrawn { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Withdrawn"; } @@ -9294,7 +8790,7 @@ pub mod api { use super::runtime_types; pub type Asset = runtime_types::pallet_assets::types::AssetDetails< ::core::primitive::u128, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u128; @@ -9305,10 +8801,10 @@ pub mod api { ::core::primitive::u128, ::core::primitive::u128, (), - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u128; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod approvals { use super::runtime_types; @@ -9317,8 +8813,8 @@ pub mod api { ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u128; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Param2 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param2 = ::subxt_core::utils::AccountId32; } pub mod metadata { use super::runtime_types; @@ -9340,14 +8836,14 @@ pub mod api { #[doc = " Details of an asset."] pub fn asset_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::asset::Asset, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Asset", (), @@ -9363,21 +8859,17 @@ pub mod api { pub fn asset( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::asset::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::asset::Asset, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Asset", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 184u8, 117u8, 212u8, 54u8, 227u8, 128u8, 105u8, 48u8, 129u8, 209u8, 93u8, 65u8, 239u8, 81u8, 138u8, 169u8, 70u8, 73u8, 193u8, 150u8, 58u8, @@ -9389,14 +8881,14 @@ pub mod api { #[doc = " The holdings of a specific account for a specific asset."] pub fn account_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::account::Account, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Account", (), @@ -9411,21 +8903,17 @@ pub mod api { pub fn account_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::account::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::account::Account, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Account", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 193u8, 248u8, 7u8, 31u8, 182u8, 62u8, 151u8, 45u8, 186u8, 167u8, 187u8, 86u8, 254u8, 71u8, 30u8, 36u8, 169u8, 145u8, 195u8, 93u8, 76u8, 108u8, @@ -9438,30 +8926,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::account::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::account::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::account::Account, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Account", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 193u8, 248u8, 7u8, 31u8, 182u8, 62u8, 151u8, 45u8, 186u8, 167u8, 187u8, @@ -9475,14 +8955,14 @@ pub mod api { #[doc = " First key is the asset ID, second key is the owner and third key is the delegate."] pub fn approvals_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::approvals::Approvals, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", (), @@ -9500,21 +8980,17 @@ pub mod api { pub fn approvals_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::approvals::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::approvals::Approvals, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 88u8, 12u8, 250u8, 89u8, 74u8, 8u8, 18u8, 23u8, 160u8, 172u8, 27u8, 182u8, 30u8, 140u8, 109u8, 106u8, 158u8, 104u8, 53u8, 86u8, 112u8, @@ -9530,30 +9006,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::approvals::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::approvals::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::approvals::Approvals, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 88u8, 12u8, 250u8, 89u8, 74u8, 8u8, 18u8, 23u8, 160u8, 172u8, 27u8, @@ -9571,36 +9039,24 @@ pub mod api { _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, _2: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::approvals::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::approvals::Param1, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::approvals::Param2, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::approvals::Approvals, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", ( - ::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(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_2.borrow()), ), [ 88u8, 12u8, 250u8, 89u8, 74u8, 8u8, 18u8, 23u8, 160u8, 172u8, 27u8, @@ -9613,14 +9069,14 @@ pub mod api { #[doc = " Metadata of an asset."] pub fn metadata_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::metadata::Metadata, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Metadata", (), @@ -9635,21 +9091,17 @@ pub mod api { pub fn metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::metadata::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::metadata::Metadata, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Metadata", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 9u8, 154u8, 67u8, 209u8, 73u8, 219u8, 203u8, 105u8, 197u8, 101u8, 174u8, 94u8, 37u8, 239u8, 121u8, 52u8, 186u8, 127u8, 29u8, 182u8, 32u8, @@ -9668,14 +9120,14 @@ pub mod api { #[doc = " [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration."] pub fn next_asset_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_asset_id::NextAssetId, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Assets", "NextAssetId", (), @@ -9697,10 +9149,8 @@ pub mod api { #[doc = " Must be configured to result in a weight that makes each call fit in a block."] pub fn remove_items_limit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Assets", "RemoveItemsLimit", [ @@ -9714,10 +9164,8 @@ pub mod api { #[doc = " The basic amount of funds that must be reserved for an asset."] pub fn asset_deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Assets", "AssetDeposit", [ @@ -9731,10 +9179,8 @@ pub mod api { #[doc = " maintained."] pub fn asset_account_deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Assets", "AssetAccountDeposit", [ @@ -9747,10 +9193,8 @@ pub mod api { #[doc = " The basic amount of funds that must be reserved when adding metadata to your asset."] pub fn metadata_deposit_base( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Assets", "MetadataDepositBase", [ @@ -9764,10 +9208,8 @@ pub mod api { #[doc = " metadata."] pub fn metadata_deposit_per_byte( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Assets", "MetadataDepositPerByte", [ @@ -9780,10 +9222,8 @@ pub mod api { #[doc = " The amount of funds that must be reserved when creating a new approval."] pub fn approval_deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Assets", "ApprovalDeposit", [ @@ -9796,10 +9236,8 @@ pub mod api { #[doc = " The maximum length of a name or symbol stored on-chain."] pub fn string_limit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Assets", "StringLimit", [ @@ -9827,23 +9265,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -9858,34 +9292,30 @@ pub mod api { } pub mod transfer_allow_death { use super::runtime_types; - pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Dest = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAllowDeath { + impl ::subxt_core::blocks::StaticExtrinsic for TransferAllowDeath { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_allow_death"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] #[doc = "may be specified."] pub struct ForceTransfer { @@ -9896,38 +9326,34 @@ pub mod api { } pub mod force_transfer { use super::runtime_types; - pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Source = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Dest = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -9941,34 +9367,30 @@ pub mod api { } pub mod transfer_keep_alive { use super::runtime_types; - pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Dest = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { + impl ::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_keep_alive"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -9990,34 +9412,30 @@ pub mod api { } pub mod transfer_all { use super::runtime_types; - pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Dest = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type KeepAlive = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAll { + impl ::subxt_core::blocks::StaticExtrinsic for TransferAll { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_all"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unreserve some balance from a user by force."] #[doc = ""] #[doc = "Can only be called by ROOT."] @@ -10027,34 +9445,30 @@ pub mod api { } pub mod force_unreserve { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnreserve { + impl ::subxt_core::blocks::StaticExtrinsic for ForceUnreserve { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_unreserve"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Upgrade a specified account."] #[doc = ""] #[doc = "- `origin`: Must be `Signed`."] @@ -10068,32 +9482,26 @@ pub mod api { } pub mod upgrade_accounts { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Who = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpgradeAccounts { + impl ::subxt_core::blocks::StaticExtrinsic for UpgradeAccounts { const PALLET: &'static str = "Balances"; const CALL: &'static str = "upgrade_accounts"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the regular balance of a given account."] #[doc = ""] #[doc = "The dispatch origin for this call is `root`."] @@ -10104,34 +9512,30 @@ pub mod api { } pub mod force_set_balance { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type NewFree = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetBalance { + impl ::subxt_core::blocks::StaticExtrinsic for ForceSetBalance { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_set_balance"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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`."] @@ -10147,28 +9551,24 @@ pub mod api { pub type Direction = runtime_types::pallet_balances::types::AdjustmentDirection; pub type Delta = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceAdjustTotalIssuance { + impl ::subxt_core::blocks::StaticExtrinsic for ForceAdjustTotalIssuance { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_adjust_total_issuance"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Burn the specified liquid free balance from the origin account."] #[doc = ""] #[doc = "If the origin's account ends up below the existential deposit as a result"] @@ -10186,7 +9586,7 @@ pub mod api { pub type Value = ::core::primitive::u128; pub type KeepAlive = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Burn { + impl ::subxt_core::blocks::StaticExtrinsic for Burn { const PALLET: &'static str = "Balances"; const CALL: &'static str = "burn"; } @@ -10204,9 +9604,8 @@ pub mod api { &self, dest: types::transfer_allow_death::Dest, value: types::transfer_allow_death::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "transfer_allow_death", types::TransferAllowDeath { dest, value }, @@ -10225,9 +9624,8 @@ pub mod api { source: types::force_transfer::Source, dest: types::force_transfer::Dest, value: types::force_transfer::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_transfer", types::ForceTransfer { source, dest, value }, @@ -10248,9 +9646,8 @@ pub mod api { &self, dest: types::transfer_keep_alive::Dest, value: types::transfer_keep_alive::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "transfer_keep_alive", types::TransferKeepAlive { dest, value }, @@ -10281,8 +9678,8 @@ pub mod api { &self, dest: types::transfer_all::Dest, keep_alive: types::transfer_all::KeepAlive, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "transfer_all", types::TransferAll { dest, keep_alive }, @@ -10301,9 +9698,8 @@ pub mod api { &self, who: types::force_unreserve::Who, amount: types::force_unreserve::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_unreserve", types::ForceUnreserve { who, amount }, @@ -10325,9 +9721,8 @@ pub mod api { pub fn upgrade_accounts( &self, who: types::upgrade_accounts::Who, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "upgrade_accounts", types::UpgradeAccounts { who }, @@ -10345,9 +9740,8 @@ pub mod api { &self, who: types::force_set_balance::Who, new_free: types::force_set_balance::NewFree, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_set_balance", types::ForceSetBalance { who, new_free }, @@ -10368,10 +9762,8 @@ pub mod api { &self, direction: types::force_adjust_total_issuance::Direction, delta: types::force_adjust_total_issuance::Delta, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ForceAdjustTotalIssuance, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_adjust_total_issuance", types::ForceAdjustTotalIssuance { direction, delta }, @@ -10394,8 +9786,8 @@ pub mod api { &self, value: types::burn::Value, keep_alive: types::burn::KeepAlive, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "burn", types::Burn { value, keep_alive }, @@ -10413,19 +9805,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account was created with some free balance."] pub struct Endowed { pub account: endowed::Account, @@ -10433,27 +9825,27 @@ pub mod api { } pub mod endowed { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub type FreeBalance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Endowed { + impl ::subxt_core::events::StaticEvent for Endowed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Endowed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -10462,27 +9854,27 @@ pub mod api { } pub mod dust_lost { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for DustLost { + impl ::subxt_core::events::StaticEvent for DustLost { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "DustLost"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Transfer succeeded."] pub struct Transfer { pub from: transfer::From, @@ -10491,28 +9883,28 @@ pub mod api { } pub mod transfer { use super::runtime_types; - pub type From = ::subxt::ext::subxt_core::utils::AccountId32; - pub type To = ::subxt::ext::subxt_core::utils::AccountId32; + pub type From = ::subxt_core::utils::AccountId32; + pub type To = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Transfer { + impl ::subxt_core::events::StaticEvent for Transfer { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A balance was set by root."] pub struct BalanceSet { pub who: balance_set::Who, @@ -10520,27 +9912,27 @@ pub mod api { } pub mod balance_set { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Free = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BalanceSet { + impl ::subxt_core::events::StaticEvent for BalanceSet { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "BalanceSet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was reserved (moved from free to reserved)."] pub struct Reserved { pub who: reserved::Who, @@ -10548,27 +9940,27 @@ pub mod api { } pub mod reserved { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Reserved { + impl ::subxt_core::events::StaticEvent for Reserved { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Reserved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unreserved (moved from reserved to free)."] pub struct Unreserved { pub who: unreserved::Who, @@ -10576,27 +9968,27 @@ pub mod api { } pub mod unreserved { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Unreserved { + impl ::subxt_core::events::StaticEvent for Unreserved { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Unreserved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -10607,30 +9999,30 @@ pub mod api { } pub mod reserve_repatriated { use super::runtime_types; - pub type From = ::subxt::ext::subxt_core::utils::AccountId32; - pub type To = ::subxt::ext::subxt_core::utils::AccountId32; + pub type From = ::subxt_core::utils::AccountId32; + pub type To = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type DestinationStatus = runtime_types::frame_support::traits::tokens::misc::BalanceStatus; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ReserveRepatriated { + impl ::subxt_core::events::StaticEvent for ReserveRepatriated { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "ReserveRepatriated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was deposited (e.g. for transaction fees)."] pub struct Deposit { pub who: deposit::Who, @@ -10638,27 +10030,27 @@ pub mod api { } pub mod deposit { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { + impl ::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Deposit"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -10666,27 +10058,27 @@ pub mod api { } pub mod withdraw { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Withdraw { + impl ::subxt_core::events::StaticEvent for Withdraw { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Withdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] pub struct Slashed { pub who: slashed::Who, @@ -10694,27 +10086,27 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { + impl ::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Slashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was minted into an account."] pub struct Minted { pub who: minted::Who, @@ -10722,27 +10114,27 @@ pub mod api { } pub mod minted { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Minted { + impl ::subxt_core::events::StaticEvent for Minted { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Minted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was burned from an account."] pub struct Burned { pub who: burned::Who, @@ -10750,27 +10142,27 @@ pub mod api { } pub mod burned { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Burned { + impl ::subxt_core::events::StaticEvent for Burned { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Burned"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -10778,27 +10170,27 @@ pub mod api { } pub mod suspended { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Suspended { + impl ::subxt_core::events::StaticEvent for Suspended { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Suspended"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was restored into an account."] pub struct Restored { pub who: restored::Who, @@ -10806,53 +10198,53 @@ pub mod api { } pub mod restored { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Restored { + impl ::subxt_core::events::StaticEvent for Restored { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Restored"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Upgraded { + impl ::subxt_core::events::StaticEvent for Upgraded { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Upgraded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -10861,24 +10253,24 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Issued { + impl ::subxt_core::events::StaticEvent for Issued { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Issued"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -10887,24 +10279,24 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Rescinded { + impl ::subxt_core::events::StaticEvent for Rescinded { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Rescinded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was locked."] pub struct Locked { pub who: locked::Who, @@ -10912,27 +10304,27 @@ pub mod api { } pub mod locked { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Locked { + impl ::subxt_core::events::StaticEvent for Locked { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Locked"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unlocked."] pub struct Unlocked { pub who: unlocked::Who, @@ -10940,27 +10332,27 @@ pub mod api { } pub mod unlocked { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Unlocked { + impl ::subxt_core::events::StaticEvent for Unlocked { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Unlocked"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was frozen."] pub struct Frozen { pub who: frozen::Who, @@ -10968,27 +10360,27 @@ pub mod api { } pub mod frozen { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Frozen { + impl ::subxt_core::events::StaticEvent for Frozen { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Frozen"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was thawed."] pub struct Thawed { pub who: thawed::Who, @@ -10996,27 +10388,27 @@ pub mod api { } pub mod thawed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Thawed { + impl ::subxt_core::events::StaticEvent for Thawed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Thawed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `TotalIssuance` was forcefully changed."] pub struct TotalIssuanceForced { pub old: total_issuance_forced::Old, @@ -11027,7 +10419,7 @@ pub mod api { pub type Old = ::core::primitive::u128; pub type New = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for TotalIssuanceForced { + impl ::subxt_core::events::StaticEvent for TotalIssuanceForced { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "TotalIssuanceForced"; } @@ -11048,7 +10440,7 @@ pub mod api { use super::runtime_types; pub type Account = runtime_types::pallet_balances::types::AccountData<::core::primitive::u128>; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod locks { use super::runtime_types; @@ -11058,7 +10450,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod reserves { use super::runtime_types; @@ -11068,7 +10460,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod holds { use super::runtime_types; @@ -11078,7 +10470,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod freezes { use super::runtime_types; @@ -11088,7 +10480,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -11096,14 +10488,14 @@ pub mod api { #[doc = " The total units issued in the system."] pub fn total_issuance( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::total_issuance::TotalIssuance, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "TotalIssuance", (), @@ -11118,14 +10510,14 @@ pub mod api { #[doc = " The total units of outstanding deactivated balance in the system."] pub fn inactive_issuance( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::inactive_issuance::InactiveIssuance, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "InactiveIssuance", (), @@ -11162,14 +10554,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::account::Account, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Account", (), @@ -11207,21 +10599,17 @@ pub mod api { pub fn account( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::account::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::account::Account, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Account", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -11235,14 +10623,14 @@ pub mod api { #[doc = " Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn locks_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::locks::Locks, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Locks", (), @@ -11260,21 +10648,17 @@ pub mod api { pub fn locks( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::locks::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::locks::Locks, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Locks", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -11287,14 +10671,14 @@ pub mod api { #[doc = " Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn reserves_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reserves::Reserves, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Reserves", (), @@ -11311,21 +10695,17 @@ pub mod api { pub fn reserves( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::reserves::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::reserves::Reserves, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Reserves", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -11336,14 +10716,14 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::holds::Holds, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Holds", (), @@ -11359,21 +10739,17 @@ pub mod api { pub fn holds( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::holds::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::holds::Holds, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Holds", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 129u8, 137u8, 55u8, 91u8, 69u8, 138u8, 47u8, 168u8, 33u8, 159u8, 81u8, 44u8, 125u8, 21u8, 124u8, 211u8, 190u8, 246u8, 14u8, 154u8, 233u8, @@ -11385,14 +10761,14 @@ pub mod api { #[doc = " Freeze locks on account balances."] pub fn freezes_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::freezes::Freezes, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Freezes", (), @@ -11407,21 +10783,17 @@ pub mod api { pub fn freezes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::freezes::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::freezes::Freezes, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Freezes", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 17u8, 244u8, 16u8, 167u8, 197u8, 87u8, 174u8, 75u8, 172u8, 154u8, 157u8, 40u8, 70u8, 169u8, 39u8, 30u8, 253u8, 1u8, 74u8, 227u8, 122u8, @@ -11445,10 +10817,8 @@ pub mod api { #[doc = " Bottom line: Do yourself a favour and make it at least one!"] pub fn existential_deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Balances", "ExistentialDeposit", [ @@ -11464,10 +10834,8 @@ pub mod api { #[doc = " Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn max_locks( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Balances", "MaxLocks", [ @@ -11483,10 +10851,8 @@ pub mod api { #[doc = " Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn max_reserves( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Balances", "MaxReserves", [ @@ -11500,10 +10866,8 @@ pub mod api { #[doc = " The maximum number of individual freeze locks that can exist on an account at any time."] pub fn max_freezes( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Balances", "MaxFreezes", [ @@ -11525,19 +10889,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -11547,11 +10911,11 @@ pub mod api { } pub mod transaction_fee_paid { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type ActualFee = ::core::primitive::u128; pub type Tip = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for TransactionFeePaid { + impl ::subxt_core::events::StaticEvent for TransactionFeePaid { const PALLET: &'static str = "TransactionPayment"; const EVENT: &'static str = "TransactionFeePaid"; } @@ -11574,14 +10938,14 @@ pub mod api { impl StorageApi { pub fn next_fee_multiplier( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_fee_multiplier::NextFeeMultiplier, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "TransactionPayment", "NextFeeMultiplier", (), @@ -11595,14 +10959,14 @@ pub mod api { } pub fn storage_version( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::storage_version::StorageVersion, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "TransactionPayment", "StorageVersion", (), @@ -11643,10 +11007,8 @@ pub mod api { #[doc = " transactions."] pub fn operational_fee_multiplier( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u8, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u8> { + ::subxt_core::constants::address::StaticAddress::new_static( "TransactionPayment", "OperationalFeeMultiplier", [ @@ -11669,7 +11031,7 @@ pub mod api { use super::runtime_types; pub mod author { use super::runtime_types; - pub type Author = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Author = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -11677,14 +11039,14 @@ pub mod api { #[doc = " Author of current block."] pub fn author( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::author::Author, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Authorship", "Author", (), @@ -11713,31 +11075,26 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] pub struct ReportEquivocation { - pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< - report_equivocation::EquivocationProof, - >, + pub equivocation_proof: + ::subxt_core::alloc::boxed::Box, pub key_owner_proof: report_equivocation::KeyOwnerProof, } pub mod report_equivocation { @@ -11751,28 +11108,24 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { + impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { const PALLET: &'static str = "Babe"; 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -11782,7 +11135,7 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] pub struct ReportEquivocationUnsigned { - pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + pub equivocation_proof: ::subxt_core::alloc::boxed::Box< report_equivocation_unsigned::EquivocationProof, >, pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, @@ -11798,28 +11151,24 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { const PALLET: &'static str = "Babe"; 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -11832,7 +11181,7 @@ pub mod api { pub type Config = runtime_types::sp_consensus_babe::digests::NextConfigDescriptor; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlanConfigChange { + impl ::subxt_core::blocks::StaticExtrinsic for PlanConfigChange { const PALLET: &'static str = "Babe"; const CALL: &'static str = "plan_config_change"; } @@ -11847,13 +11196,12 @@ pub mod api { &self, equivocation_proof: types::report_equivocation::EquivocationProof, key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Babe", "report_equivocation", types::ReportEquivocation { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -11877,14 +11225,13 @@ pub mod api { &self, equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ReportEquivocationUnsigned, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "Babe", "report_equivocation_unsigned", types::ReportEquivocationUnsigned { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -11903,9 +11250,8 @@ pub mod api { pub fn plan_config_change( &self, config: types::plan_config_change::Config, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Babe", "plan_config_change", types::PlanConfigChange { config }, @@ -12018,14 +11364,14 @@ pub mod api { #[doc = " Current epoch index."] pub fn epoch_index( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::epoch_index::EpochIndex, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "EpochIndex", (), @@ -12040,14 +11386,14 @@ pub mod api { #[doc = " Current epoch authorities."] pub fn authorities( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::authorities::Authorities, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Authorities", (), @@ -12063,14 +11409,14 @@ pub mod api { #[doc = " until the first block of the chain."] pub fn genesis_slot( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::genesis_slot::GenesisSlot, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "GenesisSlot", (), @@ -12085,14 +11431,14 @@ pub mod api { #[doc = " Current slot number."] pub fn current_slot( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_slot::CurrentSlot, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "CurrentSlot", (), @@ -12116,14 +11462,14 @@ pub mod api { #[doc = " adversary, for purposes such as public-coin zero-knowledge proofs."] pub fn randomness( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::randomness::Randomness, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Randomness", (), @@ -12138,14 +11484,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::pending_epoch_config_change::PendingEpochConfigChange, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "PendingEpochConfigChange", (), @@ -12159,14 +11505,14 @@ pub mod api { #[doc = " Next epoch randomness."] pub fn next_randomness( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_randomness::NextRandomness, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "NextRandomness", (), @@ -12180,14 +11526,14 @@ pub mod api { #[doc = " Next epoch authorities."] pub fn next_authorities( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_authorities::NextAuthorities, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "NextAuthorities", (), @@ -12209,14 +11555,14 @@ pub mod api { #[doc = " epoch."] pub fn segment_index( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::segment_index::SegmentIndex, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "SegmentIndex", (), @@ -12231,14 +11577,14 @@ pub mod api { #[doc = " TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay."] pub fn under_construction_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::under_construction::UnderConstruction, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "UnderConstruction", (), @@ -12253,21 +11599,19 @@ pub mod api { pub fn under_construction( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::under_construction::Param0, >, types::under_construction::UnderConstruction, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "UnderConstruction", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -12279,14 +11623,14 @@ pub mod api { #[doc = " if per-block initialization has already been called for current block."] pub fn initialized( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::initialized::Initialized, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Initialized", (), @@ -12304,14 +11648,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::author_vrf_randomness::AuthorVrfRandomness, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "AuthorVrfRandomness", (), @@ -12330,14 +11674,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::epoch_start::EpochStart, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "EpochStart", (), @@ -12355,14 +11699,14 @@ pub mod api { #[doc = " execution context should always yield zero."] pub fn lateness( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::lateness::Lateness, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Lateness", (), @@ -12377,14 +11721,14 @@ pub mod api { #[doc = " genesis."] pub fn epoch_config( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::epoch_config::EpochConfig, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "EpochConfig", (), @@ -12400,14 +11744,14 @@ pub mod api { #[doc = " (you can fallback to `EpochConfig` instead in that case)."] pub fn next_epoch_config( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_epoch_config::NextEpochConfig, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "NextEpochConfig", (), @@ -12429,14 +11773,14 @@ pub mod api { #[doc = " active epoch index was during that session."] pub fn skipped_epochs( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::skipped_epochs::SkippedEpochs, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Babe", "SkippedEpochs", (), @@ -12458,10 +11802,8 @@ pub mod api { #[doc = " the chain has started. Attempting to do so will brick block production."] pub fn epoch_duration( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Babe", "EpochDuration", [ @@ -12479,10 +11821,8 @@ pub mod api { #[doc = " the probability of a slot being empty)."] pub fn expected_block_time( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Babe", "ExpectedBlockTime", [ @@ -12496,10 +11836,8 @@ pub mod api { #[doc = " Max number of authorities allowed"] pub fn max_authorities( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Babe", "MaxAuthorities", [ @@ -12513,10 +11851,8 @@ pub mod api { #[doc = " The maximum number of nominators for each validator."] pub fn max_nominators( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Babe", "MaxNominators", [ @@ -12544,64 +11880,55 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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: ::subxt::ext::subxt_core::alloc::boxed::Box< - report_equivocation::EquivocationProof, - >, + pub equivocation_proof: + ::subxt_core::alloc::boxed::Box, 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::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, ::core::primitive::u64, >; pub type KeyOwnerProof = runtime_types::sp_core::Void; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { + impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { const PALLET: &'static str = "Grandpa"; 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -12612,7 +11939,7 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] pub struct ReportEquivocationUnsigned { - pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + pub equivocation_proof: ::subxt_core::alloc::boxed::Box< report_equivocation_unsigned::EquivocationProof, >, pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, @@ -12621,33 +11948,29 @@ pub mod api { use super::runtime_types; pub type EquivocationProof = runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, ::core::primitive::u64, >; pub type KeyOwnerProof = runtime_types::sp_core::Void; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { const PALLET: &'static str = "Grandpa"; 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -12669,7 +11992,7 @@ pub mod api { pub type Delay = ::core::primitive::u64; pub type BestFinalizedBlockNumber = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NoteStalled { + impl ::subxt_core::blocks::StaticExtrinsic for NoteStalled { const PALLET: &'static str = "Grandpa"; const CALL: &'static str = "note_stalled"; } @@ -12684,13 +12007,12 @@ pub mod api { &self, equivocation_proof: types::report_equivocation::EquivocationProof, key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Grandpa", "report_equivocation", types::ReportEquivocation { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -12715,14 +12037,13 @@ pub mod api { &self, equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ReportEquivocationUnsigned, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "Grandpa", "report_equivocation_unsigned", types::ReportEquivocationUnsigned { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -12750,8 +12071,8 @@ pub mod api { &self, delay: types::note_stalled::Delay, best_finalized_block_number: types::note_stalled::BestFinalizedBlockNumber, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Grandpa", "note_stalled", types::NoteStalled { delay, best_finalized_block_number }, @@ -12770,71 +12091,71 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 = ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub type AuthoritySet = ::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NewAuthorities { + impl ::subxt_core::events::StaticEvent for NewAuthorities { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "NewAuthorities"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Current authority set has been paused."] pub struct Paused; - impl ::subxt::ext::subxt_core::events::StaticEvent for Paused { + impl ::subxt_core::events::StaticEvent for Paused { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "Paused"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Current authority set has been resumed."] pub struct Resumed; - impl ::subxt::ext::subxt_core::events::StaticEvent for Resumed { + impl ::subxt_core::events::StaticEvent for Resumed { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "Resumed"; } @@ -12884,14 +12205,14 @@ pub mod api { #[doc = " State of the current authority set."] pub fn state( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::state::State, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "State", (), @@ -12905,14 +12226,14 @@ pub mod api { #[doc = " Pending change: (signaled at, scheduled change)."] pub fn pending_change( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::pending_change::PendingChange, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "PendingChange", (), @@ -12926,14 +12247,14 @@ pub mod api { #[doc = " next block number where we can force a change."] pub fn next_forced( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_forced::NextForced, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "NextForced", (), @@ -12948,14 +12269,14 @@ pub mod api { #[doc = " `true` if we are currently stalled."] pub fn stalled( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::stalled::Stalled, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "Stalled", (), @@ -12970,14 +12291,14 @@ pub mod api { #[doc = " in the \"set\" of Grandpa validators from genesis."] pub fn current_set_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_set_id::CurrentSetId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "CurrentSetId", (), @@ -13001,14 +12322,14 @@ pub mod api { #[doc = " TWOX-NOTE: `SetId` is not under user control."] pub fn set_id_session_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::set_id_session::SetIdSession, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "SetIdSession", (), @@ -13032,21 +12353,17 @@ pub mod api { pub fn set_id_session( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::set_id_session::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::set_id_session::SetIdSession, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "SetIdSession", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -13057,14 +12374,14 @@ pub mod api { #[doc = " The current list of authorities."] pub fn authorities( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::authorities::Authorities, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "Authorities", (), @@ -13085,10 +12402,8 @@ pub mod api { #[doc = " Max Authorities in use"] pub fn max_authorities( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Grandpa", "MaxAuthorities", [ @@ -13102,10 +12417,8 @@ pub mod api { #[doc = " The maximum number of nominators for each validator."] pub fn max_nominators( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Grandpa", "MaxNominators", [ @@ -13124,10 +12437,8 @@ pub mod api { #[doc = " can be zero."] pub fn max_set_id_session_entries( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Grandpa", "MaxSetIdSessionEntries", [ @@ -13155,23 +12466,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Assign an previously unassigned index."] #[doc = ""] #[doc = "Payment: `Deposit` is reserved from the sender account."] @@ -13191,28 +12498,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Claim { + impl ::subxt_core::blocks::StaticExtrinsic for Claim { const PALLET: &'static str = "Indices"; const CALL: &'static str = "claim"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -13231,34 +12534,30 @@ pub mod api { } pub mod transfer { use super::runtime_types; - pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type New = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Transfer { + impl ::subxt_core::blocks::StaticExtrinsic for Transfer { const PALLET: &'static str = "Indices"; const CALL: &'static str = "transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -13278,28 +12577,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Free { + impl ::subxt_core::blocks::StaticExtrinsic for Free { const PALLET: &'static str = "Indices"; const CALL: &'static str = "free"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -13320,35 +12615,31 @@ pub mod api { } pub mod force_transfer { use super::runtime_types; - pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type New = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Index = ::core::primitive::u32; pub type Freeze = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Indices"; const CALL: &'static str = "force_transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Freeze an index so it will always point to the sender account. This consumes the"] #[doc = "deposit."] #[doc = ""] @@ -13368,7 +12659,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Freeze { + impl ::subxt_core::blocks::StaticExtrinsic for Freeze { const PALLET: &'static str = "Indices"; const CALL: &'static str = "freeze"; } @@ -13390,8 +12681,8 @@ pub mod api { pub fn claim( &self, index: types::claim::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "claim", types::Claim { index }, @@ -13418,8 +12709,8 @@ pub mod api { &self, new: types::transfer::New, index: types::transfer::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "transfer", types::Transfer { new, index }, @@ -13446,8 +12737,8 @@ pub mod api { pub fn free( &self, index: types::free::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "free", types::Free { index }, @@ -13477,9 +12768,8 @@ pub mod api { new: types::force_transfer::New, index: types::force_transfer::Index, freeze: types::force_transfer::Freeze, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "force_transfer", types::ForceTransfer { new, index, freeze }, @@ -13506,8 +12796,8 @@ pub mod api { pub fn freeze( &self, index: types::freeze::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "freeze", types::Freeze { index }, @@ -13526,19 +12816,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A account index was assigned."] pub struct IndexAssigned { pub who: index_assigned::Who, @@ -13546,27 +12836,27 @@ pub mod api { } pub mod index_assigned { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for IndexAssigned { + impl ::subxt_core::events::StaticEvent for IndexAssigned { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexAssigned"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A account index has been freed up (unassigned)."] pub struct IndexFreed { pub index: index_freed::Index, @@ -13575,24 +12865,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for IndexFreed { + impl ::subxt_core::events::StaticEvent for IndexFreed { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexFreed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -13601,9 +12891,9 @@ pub mod api { pub mod index_frozen { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for IndexFrozen { + impl ::subxt_core::events::StaticEvent for IndexFrozen { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexFrozen"; } @@ -13615,7 +12905,7 @@ pub mod api { pub mod accounts { use super::runtime_types; pub type Accounts = ( - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::bool, ); @@ -13627,14 +12917,14 @@ pub mod api { #[doc = " The lookup from index to account."] pub fn accounts_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::accounts::Accounts, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Indices", "Accounts", (), @@ -13650,21 +12940,17 @@ pub mod api { pub fn accounts( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::accounts::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::accounts::Accounts, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Indices", "Accounts", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -13682,10 +12968,8 @@ pub mod api { #[doc = " The deposit needed for reserving an index."] pub fn deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Indices", "Deposit", [ @@ -13712,23 +12996,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Propose a sensitive action to be taken."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Signed_ and the sender must"] @@ -13751,28 +13031,24 @@ pub mod api { >; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Propose { + impl ::subxt_core::blocks::StaticExtrinsic for Propose { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "propose"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Signals agreement with a particular proposal."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Signed_ and the sender"] @@ -13787,28 +13063,24 @@ pub mod api { use super::runtime_types; pub type Proposal = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Second { + impl ::subxt_core::blocks::StaticExtrinsic for Second { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "second"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal;"] #[doc = "otherwise it is a vote to keep the status quo."] #[doc = ""] @@ -13827,28 +13099,24 @@ pub mod api { pub type Vote = runtime_types::pallet_democracy::vote::AccountVote<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { + impl ::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "vote"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule an emergency cancellation of a referendum. Cannot happen twice to the same"] #[doc = "referendum."] #[doc = ""] @@ -13864,28 +13132,24 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for EmergencyCancel { + impl ::subxt_core::blocks::StaticExtrinsic for EmergencyCancel { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "emergency_cancel"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule a referendum to be tabled once it is legal to schedule an external"] #[doc = "referendum."] #[doc = ""] @@ -13902,28 +13166,24 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExternalPropose { + impl ::subxt_core::blocks::StaticExtrinsic for ExternalPropose { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "external_propose"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule a majority-carries referendum to be tabled next once it is legal to schedule"] #[doc = "an external referendum."] #[doc = ""] @@ -13945,28 +13205,24 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExternalProposeMajority { + impl ::subxt_core::blocks::StaticExtrinsic for ExternalProposeMajority { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "external_propose_majority"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule a negative-turnout-bias referendum to be tabled next once it is legal to"] #[doc = "schedule an external referendum."] #[doc = ""] @@ -13988,28 +13244,24 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExternalProposeDefault { + impl ::subxt_core::blocks::StaticExtrinsic for ExternalProposeDefault { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "external_propose_default"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule the currently externally-proposed majority-carries referendum to be tabled"] #[doc = "immediately. If there is no externally-proposed referendum currently, or if there is one"] #[doc = "but it is not a majority-carries referendum then it fails."] @@ -14033,32 +13285,28 @@ pub mod api { } pub mod fast_track { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; pub type VotingPeriod = ::core::primitive::u64; pub type Delay = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FastTrack { + impl ::subxt_core::blocks::StaticExtrinsic for FastTrack { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "fast_track"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Veto and blacklist the external proposal hash."] #[doc = ""] #[doc = "The dispatch origin of this call must be `VetoOrigin`."] @@ -14073,30 +13321,26 @@ pub mod api { } pub mod veto_external { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VetoExternal { + impl ::subxt_core::blocks::StaticExtrinsic for VetoExternal { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "veto_external"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove a referendum."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Root_."] @@ -14112,28 +13356,24 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelReferendum { + impl ::subxt_core::blocks::StaticExtrinsic for CancelReferendum { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "cancel_referendum"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Delegate the voting power (with some given conviction) of the sending account."] #[doc = ""] #[doc = "The balance delegated is locked for as long as it's delegated, and thereafter for the"] @@ -14161,35 +13401,31 @@ pub mod api { } pub mod delegate { use super::runtime_types; - pub type To = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type To = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Conviction = runtime_types::pallet_democracy::conviction::Conviction; pub type Balance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Delegate { + impl ::subxt_core::blocks::StaticExtrinsic for Delegate { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "delegate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Undelegate the voting power of the sending account."] #[doc = ""] #[doc = "Tokens may be unlocked following once an amount of time consistent with the lock period"] @@ -14203,56 +13439,48 @@ pub mod api { #[doc = "Weight: `O(R)` where R is the number of referendums the voter delegating to has"] #[doc = " voted on. Weight is charged as if maximum votes."] pub struct Undelegate; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Undelegate { + impl ::subxt_core::blocks::StaticExtrinsic for Undelegate { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "undelegate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Clears all public proposals."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Root_."] #[doc = ""] #[doc = "Weight: `O(1)`."] pub struct ClearPublicProposals; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearPublicProposals { + impl ::subxt_core::blocks::StaticExtrinsic for ClearPublicProposals { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "clear_public_proposals"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unlock tokens that have an expired lock."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Signed_."] @@ -14265,33 +13493,29 @@ pub mod api { } pub mod unlock { use super::runtime_types; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unlock { + impl ::subxt_core::blocks::StaticExtrinsic for Unlock { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "unlock"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove a vote for a referendum."] #[doc = ""] #[doc = "If:"] @@ -14326,28 +13550,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveVote { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveVote { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "remove_vote"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove a vote for a referendum."] #[doc = ""] #[doc = "If the `target` is equal to the signer, then this function is exactly equivalent to"] @@ -14369,34 +13589,30 @@ pub mod api { } pub mod remove_other_vote { use super::runtime_types; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveOtherVote { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveOtherVote { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "remove_other_vote"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Permanently place a proposal into the blacklist. This prevents it from ever being"] #[doc = "proposed again."] #[doc = ""] @@ -14418,31 +13634,27 @@ pub mod api { } pub mod blacklist { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; pub type MaybeRefIndex = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Blacklist { + impl ::subxt_core::blocks::StaticExtrinsic for Blacklist { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "blacklist"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove a proposal."] #[doc = ""] #[doc = "The dispatch origin of this call must be `CancelProposalOrigin`."] @@ -14458,28 +13670,24 @@ pub mod api { use super::runtime_types; pub type PropIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelProposal { + impl ::subxt_core::blocks::StaticExtrinsic for CancelProposal { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "cancel_proposal"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set or clear a metadata of a proposal or a referendum."] #[doc = ""] #[doc = "Parameters:"] @@ -14502,10 +13710,9 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type MaybeHash = - ::core::option::Option<::subxt::ext::subxt_core::utils::H256>; + pub type MaybeHash = ::core::option::Option<::subxt_core::utils::H256>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "set_metadata"; } @@ -14525,8 +13732,8 @@ pub mod api { &self, proposal: types::propose::Proposal, value: types::propose::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "propose", types::Propose { proposal, value }, @@ -14547,8 +13754,8 @@ pub mod api { pub fn second( &self, proposal: types::second::Proposal, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "second", types::Second { proposal }, @@ -14571,8 +13778,8 @@ pub mod api { &self, ref_index: types::vote::RefIndex, vote: types::vote::Vote, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "vote", types::Vote { ref_index, vote }, @@ -14594,9 +13801,8 @@ pub mod api { pub fn emergency_cancel( &self, ref_index: types::emergency_cancel::RefIndex, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "emergency_cancel", types::EmergencyCancel { ref_index }, @@ -14616,9 +13822,8 @@ pub mod api { pub fn external_propose( &self, proposal: types::external_propose::Proposal, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "external_propose", types::ExternalPropose { proposal }, @@ -14643,10 +13848,8 @@ pub mod api { pub fn external_propose_majority( &self, proposal: types::external_propose_majority::Proposal, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ExternalProposeMajority, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "external_propose_majority", types::ExternalProposeMajority { proposal }, @@ -14671,10 +13874,8 @@ pub mod api { pub fn external_propose_default( &self, proposal: types::external_propose_default::Proposal, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ExternalProposeDefault, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "external_propose_default", types::ExternalProposeDefault { proposal }, @@ -14706,8 +13907,8 @@ pub mod api { proposal_hash: types::fast_track::ProposalHash, voting_period: types::fast_track::VotingPeriod, delay: types::fast_track::Delay, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "fast_track", types::FastTrack { proposal_hash, voting_period, delay }, @@ -14730,8 +13931,8 @@ pub mod api { pub fn veto_external( &self, proposal_hash: types::veto_external::ProposalHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "veto_external", types::VetoExternal { proposal_hash }, @@ -14753,9 +13954,8 @@ pub mod api { pub fn cancel_referendum( &self, ref_index: types::cancel_referendum::RefIndex, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "cancel_referendum", types::CancelReferendum { ref_index }, @@ -14792,8 +13992,8 @@ pub mod api { to: types::delegate::To, conviction: types::delegate::Conviction, balance: types::delegate::Balance, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "delegate", types::Delegate { to, conviction, balance }, @@ -14818,8 +14018,8 @@ pub mod api { #[doc = " voted on. Weight is charged as if maximum votes."] pub fn undelegate( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "undelegate", types::Undelegate {}, @@ -14838,9 +14038,8 @@ pub mod api { #[doc = "Weight: `O(1)`."] pub fn clear_public_proposals( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "clear_public_proposals", types::ClearPublicProposals {}, @@ -14862,8 +14061,8 @@ pub mod api { pub fn unlock( &self, target: types::unlock::Target, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "unlock", types::Unlock { target }, @@ -14905,8 +14104,8 @@ pub mod api { pub fn remove_vote( &self, index: types::remove_vote::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "remove_vote", types::RemoveVote { index }, @@ -14937,9 +14136,8 @@ pub mod api { &self, target: types::remove_other_vote::Target, index: types::remove_other_vote::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "remove_other_vote", types::RemoveOtherVote { target, index }, @@ -14969,8 +14167,8 @@ pub mod api { &self, proposal_hash: types::blacklist::ProposalHash, maybe_ref_index: types::blacklist::MaybeRefIndex, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "blacklist", types::Blacklist { proposal_hash, maybe_ref_index }, @@ -14992,9 +14190,8 @@ pub mod api { pub fn cancel_proposal( &self, prop_index: types::cancel_proposal::PropIndex, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "cancel_proposal", types::CancelProposal { prop_index }, @@ -15024,8 +14221,8 @@ pub mod api { &self, owner: types::set_metadata::Owner, maybe_hash: types::set_metadata::MaybeHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "set_metadata", types::SetMetadata { owner, maybe_hash }, @@ -15043,19 +14240,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A motion has been proposed by a public account."] pub struct Proposed { pub proposal_index: proposed::ProposalIndex, @@ -15066,24 +14263,24 @@ pub mod api { pub type ProposalIndex = ::core::primitive::u32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Proposed { + impl ::subxt_core::events::StaticEvent for Proposed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Proposed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A public proposal has been tabled for referendum vote."] pub struct Tabled { pub proposal_index: tabled::ProposalIndex, @@ -15094,44 +14291,44 @@ pub mod api { pub type ProposalIndex = ::core::primitive::u32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Tabled { + impl ::subxt_core::events::StaticEvent for Tabled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Tabled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An external proposal has been tabled."] pub struct ExternalTabled; - impl ::subxt::ext::subxt_core::events::StaticEvent for ExternalTabled { + impl ::subxt_core::events::StaticEvent for ExternalTabled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "ExternalTabled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has begun."] pub struct Started { pub ref_index: started::RefIndex, @@ -15142,24 +14339,24 @@ pub mod api { pub type RefIndex = ::core::primitive::u32; pub type Threshold = runtime_types::pallet_democracy::vote_threshold::VoteThreshold; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Started { + impl ::subxt_core::events::StaticEvent for Started { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Started"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proposal has been approved by referendum."] pub struct Passed { pub ref_index: passed::RefIndex, @@ -15168,24 +14365,24 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Passed { + impl ::subxt_core::events::StaticEvent for Passed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Passed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proposal has been rejected by referendum."] pub struct NotPassed { pub ref_index: not_passed::RefIndex, @@ -15194,24 +14391,24 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NotPassed { + impl ::subxt_core::events::StaticEvent for NotPassed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "NotPassed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been cancelled."] pub struct Cancelled { pub ref_index: cancelled::RefIndex, @@ -15220,24 +14417,24 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Cancelled { + impl ::subxt_core::events::StaticEvent for Cancelled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Cancelled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has delegated their vote to another account."] pub struct Delegated { pub who: delegated::Who, @@ -15245,53 +14442,53 @@ pub mod api { } pub mod delegated { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Target = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; + pub type Target = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Delegated { + impl ::subxt_core::events::StaticEvent for Delegated { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Delegated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has cancelled a previous delegation operation."] pub struct Undelegated { pub account: undelegated::Account, } pub mod undelegated { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Undelegated { + impl ::subxt_core::events::StaticEvent for Undelegated { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Undelegated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An external proposal has been vetoed."] pub struct Vetoed { pub who: vetoed::Who, @@ -15300,54 +14497,54 @@ pub mod api { } pub mod vetoed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type Who = ::subxt_core::utils::AccountId32; + pub type ProposalHash = ::subxt_core::utils::H256; pub type Until = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Vetoed { + impl ::subxt_core::events::StaticEvent for Vetoed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Vetoed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proposal_hash has been blacklisted permanently."] pub struct Blacklisted { pub proposal_hash: blacklisted::ProposalHash, } pub mod blacklisted { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Blacklisted { + impl ::subxt_core::events::StaticEvent for Blacklisted { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Blacklisted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has voted in a referendum"] pub struct Voted { pub voter: voted::Voter, @@ -15356,29 +14553,29 @@ pub mod api { } pub mod voted { use super::runtime_types; - pub type Voter = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Voter = ::subxt_core::utils::AccountId32; pub type RefIndex = ::core::primitive::u32; pub type Vote = runtime_types::pallet_democracy::vote::AccountVote<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Voted { + impl ::subxt_core::events::StaticEvent for Voted { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Voted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has seconded a proposal"] pub struct Seconded { pub seconder: seconded::Seconder, @@ -15386,27 +14583,27 @@ pub mod api { } pub mod seconded { use super::runtime_types; - pub type Seconder = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Seconder = ::subxt_core::utils::AccountId32; pub type PropIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Seconded { + impl ::subxt_core::events::StaticEvent for Seconded { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Seconded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proposal got canceled."] pub struct ProposalCanceled { pub prop_index: proposal_canceled::PropIndex, @@ -15415,24 +14612,24 @@ pub mod api { use super::runtime_types; pub type PropIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ProposalCanceled { + impl ::subxt_core::events::StaticEvent for ProposalCanceled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "ProposalCanceled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a proposal or a referendum has been set."] pub struct MetadataSet { pub owner: metadata_set::Owner, @@ -15441,26 +14638,26 @@ pub mod api { pub mod metadata_set { use super::runtime_types; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type Hash = ::subxt::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataSet { + impl ::subxt_core::events::StaticEvent for MetadataSet { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "MetadataSet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a proposal or a referendum has been cleared."] pub struct MetadataCleared { pub owner: metadata_cleared::Owner, @@ -15469,26 +14666,26 @@ pub mod api { pub mod metadata_cleared { use super::runtime_types; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type Hash = ::subxt::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataCleared { + impl ::subxt_core::events::StaticEvent for MetadataCleared { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "MetadataCleared"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Metadata has been transferred to new owner."] pub struct MetadataTransferred { pub prev_owner: metadata_transferred::PrevOwner, @@ -15499,9 +14696,9 @@ pub mod api { use super::runtime_types; pub type PrevOwner = runtime_types::pallet_democracy::types::MetadataOwner; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type Hash = ::subxt::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataTransferred { + impl ::subxt_core::events::StaticEvent for MetadataTransferred { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "MetadataTransferred"; } @@ -15523,14 +14720,14 @@ pub mod api { runtime_types::tangle_testnet_runtime::RuntimeCall, runtime_types::sp_runtime::traits::BlakeTwo256, >, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>; } pub mod deposit_of { use super::runtime_types; pub type DepositOf = ( runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, ::core::primitive::u128, ); @@ -15561,10 +14758,10 @@ pub mod api { use super::runtime_types; pub type VotingOf = runtime_types::pallet_democracy::vote::Voting< ::core::primitive::u128, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u64, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod last_tabled_was_external { use super::runtime_types; @@ -15585,19 +14782,19 @@ pub mod api { pub type Blacklist = ( ::core::primitive::u64, runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, ); - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod cancellations { use super::runtime_types; pub type Cancellations = ::core::primitive::bool; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod metadata_of { use super::runtime_types; - pub type MetadataOf = ::subxt::ext::subxt_core::utils::H256; + pub type MetadataOf = ::subxt_core::utils::H256; pub type Param0 = runtime_types::pallet_democracy::types::MetadataOwner; } } @@ -15606,14 +14803,14 @@ pub mod api { #[doc = " The number of (public) proposals that have been made so far."] pub fn public_prop_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::public_prop_count::PublicPropCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "PublicPropCount", (), @@ -15628,14 +14825,14 @@ pub mod api { #[doc = " The public proposals. Unsorted. The second item is the proposal."] pub fn public_props( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::public_props::PublicProps, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "PublicProps", (), @@ -15651,14 +14848,14 @@ pub mod api { #[doc = " TWOX-NOTE: Safe, as increasing integer keys are safe."] pub fn deposit_of_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::deposit_of::DepositOf, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "DepositOf", (), @@ -15675,21 +14872,17 @@ pub mod api { pub fn deposit_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::deposit_of::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::deposit_of::DepositOf, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "DepositOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 115u8, 12u8, 250u8, 191u8, 201u8, 165u8, 90u8, 140u8, 101u8, 47u8, 46u8, 3u8, 78u8, 30u8, 180u8, 22u8, 28u8, 154u8, 36u8, 99u8, 255u8, @@ -15700,14 +14893,14 @@ pub mod api { #[doc = " The next free referendum index, aka the number of referenda started so far."] pub fn referendum_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::referendum_count::ReferendumCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "ReferendumCount", (), @@ -15723,14 +14916,14 @@ pub mod api { #[doc = " `ReferendumCount` if there isn't a unbaked referendum."] pub fn lowest_unbaked( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::lowest_unbaked::LowestUnbaked, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "LowestUnbaked", (), @@ -15746,14 +14939,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE as indexes are not under an attacker’s control."] pub fn referendum_info_of_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::referendum_info_of::ReferendumInfoOf, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "ReferendumInfoOf", (), @@ -15771,21 +14964,19 @@ pub mod api { pub fn referendum_info_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::referendum_info_of::Param0, >, types::referendum_info_of::ReferendumInfoOf, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "ReferendumInfoOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 217u8, 175u8, 87u8, 114u8, 161u8, 182u8, 123u8, 182u8, 138u8, 13u8, 118u8, 20u8, 166u8, 149u8, 55u8, 214u8, 114u8, 159u8, 92u8, 25u8, 27u8, @@ -15800,14 +14991,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway."] pub fn voting_of_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::voting_of::VotingOf, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "VotingOf", (), @@ -15825,21 +15016,17 @@ pub mod api { pub fn voting_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::voting_of::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::voting_of::VotingOf, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "VotingOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 186u8, 236u8, 158u8, 48u8, 144u8, 152u8, 83u8, 86u8, 60u8, 19u8, 171u8, 90u8, 26u8, 143u8, 170u8, 108u8, 82u8, 2u8, 38u8, 163u8, 80u8, 8u8, @@ -15851,14 +15038,14 @@ pub mod api { #[doc = " proposal."] pub fn last_tabled_was_external( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::last_tabled_was_external::LastTabledWasExternal, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "LastTabledWasExternal", (), @@ -15875,14 +15062,14 @@ pub mod api { #[doc = " - `PublicProps` is empty."] pub fn next_external( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_external::NextExternal, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "NextExternal", (), @@ -15898,14 +15085,14 @@ pub mod api { #[doc = " (until when it may not be resubmitted) and who vetoed it."] pub fn blacklist_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::blacklist::Blacklist, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Blacklist", (), @@ -15922,21 +15109,17 @@ pub mod api { pub fn blacklist( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::blacklist::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::blacklist::Blacklist, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Blacklist", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 154u8, 19u8, 120u8, 140u8, 124u8, 231u8, 105u8, 73u8, 99u8, 132u8, 186u8, 213u8, 121u8, 255u8, 5u8, 160u8, 95u8, 68u8, 229u8, 185u8, @@ -15948,14 +15131,14 @@ pub mod api { #[doc = " Record of all proposals that have been subject to emergency cancellation."] pub fn cancellations_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::cancellations::Cancellations, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Cancellations", (), @@ -15971,21 +15154,17 @@ pub mod api { pub fn cancellations( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::cancellations::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::cancellations::Cancellations, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Cancellations", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 80u8, 190u8, 98u8, 105u8, 129u8, 25u8, 167u8, 180u8, 74u8, 128u8, 232u8, 29u8, 193u8, 209u8, 185u8, 60u8, 18u8, 180u8, 59u8, 192u8, @@ -16002,14 +15181,14 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::metadata_of::MetadataOf, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "MetadataOf", (), @@ -16030,21 +15209,17 @@ pub mod api { pub fn metadata_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::metadata_of::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::metadata_of::MetadataOf, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "MetadataOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 52u8, 151u8, 124u8, 110u8, 85u8, 173u8, 181u8, 86u8, 174u8, 183u8, 102u8, 22u8, 8u8, 36u8, 224u8, 114u8, 98u8, 0u8, 220u8, 215u8, 19u8, @@ -16066,10 +15241,8 @@ pub mod api { #[doc = " where they are on the losing side of a vote."] pub fn enactment_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "EnactmentPeriod", [ @@ -16083,10 +15256,8 @@ pub mod api { #[doc = " How often (in blocks) new public referenda are launched."] pub fn launch_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "LaunchPeriod", [ @@ -16100,10 +15271,8 @@ pub mod api { #[doc = " How often (in blocks) to check for new votes."] pub fn voting_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "VotingPeriod", [ @@ -16120,10 +15289,8 @@ pub mod api { #[doc = " those successful voters are locked into the consequences that their votes entail."] pub fn vote_locking_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "VoteLockingPeriod", [ @@ -16137,10 +15304,8 @@ pub mod api { #[doc = " The minimum amount to be used as a deposit for a public referendum proposal."] pub fn minimum_deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MinimumDeposit", [ @@ -16155,10 +15320,8 @@ pub mod api { #[doc = " as an upgrade having happened recently."] pub fn instant_allowed( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::bool, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::bool> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "InstantAllowed", [ @@ -16171,10 +15334,8 @@ pub mod api { #[doc = " Minimum voting period allowed for a fast-track referendum."] pub fn fast_track_voting_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "FastTrackVotingPeriod", [ @@ -16188,10 +15349,8 @@ pub mod api { #[doc = " Period in blocks where an external proposal may not be re-submitted after being vetoed."] pub fn cooloff_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "CooloffPeriod", [ @@ -16208,10 +15367,8 @@ pub mod api { #[doc = " lead to extrinsic with very big weight: see `delegate` for instance."] pub fn max_votes( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxVotes", [ @@ -16225,10 +15382,8 @@ pub mod api { #[doc = " The maximum number of public proposals that can exist at any time."] pub fn max_proposals( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxProposals", [ @@ -16242,10 +15397,8 @@ pub mod api { #[doc = " The maximum number of deposits a public proposal may have at any time."] pub fn max_deposits( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxDeposits", [ @@ -16259,10 +15412,8 @@ pub mod api { #[doc = " The maximum number of items which can be blacklisted."] pub fn max_blacklisted( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxBlacklisted", [ @@ -16290,23 +15441,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the collective's membership."] #[doc = ""] #[doc = "- `new_members`: The new member list. Be nice to the chain and provide it sorted."] @@ -16338,35 +15485,29 @@ pub mod api { } pub mod set_members { use super::runtime_types; - pub type NewMembers = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; - pub type Prime = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + pub type NewMembers = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Prime = ::core::option::Option<::subxt_core::utils::AccountId32>; pub type OldCount = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMembers { + impl ::subxt_core::blocks::StaticExtrinsic for SetMembers { const PALLET: &'static str = "Council"; const CALL: &'static str = "set_members"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Dispatch a proposal from a member using the `Member` origin."] #[doc = ""] #[doc = "Origin must be a member of the collective."] @@ -16377,7 +15518,7 @@ pub mod api { #[doc = "- `M` members-count (code-bounded)"] #[doc = "- `P` complexity of dispatching `proposal`"] pub struct Execute { - pub proposal: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub proposal: ::subxt_core::alloc::boxed::Box, #[codec(compact)] pub length_bound: execute::LengthBound, } @@ -16386,28 +15527,24 @@ pub mod api { pub type Proposal = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type LengthBound = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Execute { + impl ::subxt_core::blocks::StaticExtrinsic for Execute { const PALLET: &'static str = "Council"; const CALL: &'static str = "execute"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Add a new proposal to either be voted on or executed directly."] #[doc = ""] #[doc = "Requires the sender to be member."] @@ -16425,7 +15562,7 @@ pub mod api { pub struct Propose { #[codec(compact)] pub threshold: propose::Threshold, - pub proposal: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub proposal: ::subxt_core::alloc::boxed::Box, #[codec(compact)] pub length_bound: propose::LengthBound, } @@ -16435,28 +15572,24 @@ pub mod api { pub type Proposal = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type LengthBound = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Propose { + impl ::subxt_core::blocks::StaticExtrinsic for Propose { const PALLET: &'static str = "Council"; const CALL: &'static str = "propose"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Add an aye or nay vote for the sender to the given proposal."] #[doc = ""] #[doc = "Requires the sender to be a member."] @@ -16474,32 +15607,28 @@ pub mod api { } pub mod vote { use super::runtime_types; - pub type Proposal = ::subxt::ext::subxt_core::utils::H256; + pub type Proposal = ::subxt_core::utils::H256; pub type Index = ::core::primitive::u32; pub type Approve = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { + impl ::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "Council"; const CALL: &'static str = "vote"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Disapprove a proposal, close, and remove it from the system, regardless of its current"] #[doc = "state."] #[doc = ""] @@ -16515,30 +15644,26 @@ pub mod api { } pub mod disapprove_proposal { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DisapproveProposal { + impl ::subxt_core::blocks::StaticExtrinsic for DisapproveProposal { const PALLET: &'static str = "Council"; const CALL: &'static str = "disapprove_proposal"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Close a vote that is either approved, disapproved or whose voting period has ended."] #[doc = ""] #[doc = "May be called by any signed account in order to finish voting and close the proposal."] @@ -16573,12 +15698,12 @@ pub mod api { } pub mod close { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; pub type Index = ::core::primitive::u32; pub type ProposalWeightBound = runtime_types::sp_weights::weight_v2::Weight; pub type LengthBound = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Close { + impl ::subxt_core::blocks::StaticExtrinsic for Close { const PALLET: &'static str = "Council"; const CALL: &'static str = "close"; } @@ -16614,8 +15739,8 @@ pub mod api { new_members: types::set_members::NewMembers, prime: types::set_members::Prime, old_count: types::set_members::OldCount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Council", "set_members", types::SetMembers { new_members, prime, old_count }, @@ -16640,12 +15765,12 @@ pub mod api { &self, proposal: types::execute::Proposal, length_bound: types::execute::LengthBound, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Council", "execute", types::Execute { - proposal: ::subxt::ext::subxt_core::alloc::boxed::Box::new(proposal), + proposal: ::subxt_core::alloc::boxed::Box::new(proposal), length_bound, }, [ @@ -16675,13 +15800,13 @@ pub mod api { threshold: types::propose::Threshold, proposal: types::propose::Proposal, length_bound: types::propose::LengthBound, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Council", "propose", types::Propose { threshold, - proposal: ::subxt::ext::subxt_core::alloc::boxed::Box::new(proposal), + proposal: ::subxt_core::alloc::boxed::Box::new(proposal), length_bound, }, [ @@ -16705,8 +15830,8 @@ pub mod api { proposal: types::vote::Proposal, index: types::vote::Index, approve: types::vote::Approve, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Council", "vote", types::Vote { proposal, index, approve }, @@ -16731,9 +15856,8 @@ pub mod api { pub fn disapprove_proposal( &self, proposal_hash: types::disapprove_proposal::ProposalHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Council", "disapprove_proposal", types::DisapproveProposal { proposal_hash }, @@ -16774,8 +15898,8 @@ pub mod api { index: types::close::Index, proposal_weight_bound: types::close::ProposalWeightBound, length_bound: types::close::LengthBound, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Council", "close", types::Close { proposal_hash, index, proposal_weight_bound, length_bound }, @@ -16793,19 +15917,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A motion (given hash) has been proposed (by given account) with a threshold (given"] #[doc = "`MemberCount`)."] pub struct Proposed { @@ -16816,29 +15940,29 @@ pub mod api { } pub mod proposed { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub type ProposalIndex = ::core::primitive::u32; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; pub type Threshold = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Proposed { + impl ::subxt_core::events::StaticEvent for Proposed { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Proposed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A motion (given hash) has been voted on by given account, leaving"] #[doc = "a tally (yes votes and no votes given respectively as `MemberCount`)."] pub struct Voted { @@ -16850,82 +15974,82 @@ pub mod api { } pub mod voted { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type Account = ::subxt_core::utils::AccountId32; + pub type ProposalHash = ::subxt_core::utils::H256; pub type Voted = ::core::primitive::bool; pub type Yes = ::core::primitive::u32; pub type No = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Voted { + impl ::subxt_core::events::StaticEvent for Voted { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Voted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A motion was approved by the required threshold."] pub struct Approved { pub proposal_hash: approved::ProposalHash, } pub mod approved { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Approved { + impl ::subxt_core::events::StaticEvent for Approved { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Approved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A motion was not approved by the required threshold."] pub struct Disapproved { pub proposal_hash: disapproved::ProposalHash, } pub mod disapproved { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Disapproved { + impl ::subxt_core::events::StaticEvent for Disapproved { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Disapproved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A motion was executed; result will be `Ok` if it returned without error."] pub struct Executed { pub proposal_hash: executed::ProposalHash, @@ -16933,28 +16057,28 @@ pub mod api { } pub mod executed { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Executed { + impl ::subxt_core::events::StaticEvent for Executed { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Executed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A single member did some action; result will be `Ok` if it returned without error."] pub struct MemberExecuted { pub proposal_hash: member_executed::ProposalHash, @@ -16962,28 +16086,28 @@ pub mod api { } pub mod member_executed { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MemberExecuted { + impl ::subxt_core::events::StaticEvent for MemberExecuted { const PALLET: &'static str = "Council"; const EVENT: &'static str = "MemberExecuted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] pub struct Closed { pub proposal_hash: closed::ProposalHash, @@ -16992,11 +16116,11 @@ pub mod api { } pub mod closed { use super::runtime_types; - pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; + pub type ProposalHash = ::subxt_core::utils::H256; pub type Yes = ::core::primitive::u32; pub type No = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Closed { + impl ::subxt_core::events::StaticEvent for Closed { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Closed"; } @@ -17009,21 +16133,21 @@ pub mod api { use super::runtime_types; pub type Proposals = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, >; } pub mod proposal_of { use super::runtime_types; pub type ProposalOf = runtime_types::tangle_testnet_runtime::RuntimeCall; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod voting { use super::runtime_types; pub type Voting = runtime_types::pallet_collective::Votes< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u64, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod proposal_count { use super::runtime_types; @@ -17031,13 +16155,12 @@ pub mod api { } pub mod members { use super::runtime_types; - pub type Members = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Members = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } pub mod prime { use super::runtime_types; - pub type Prime = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Prime = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -17045,14 +16168,14 @@ pub mod api { #[doc = " The hashes of the active proposals."] pub fn proposals( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::proposals::Proposals, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "Proposals", (), @@ -17066,14 +16189,14 @@ pub mod api { #[doc = " Actual proposal for a given hash, if it's current."] pub fn proposal_of_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::proposal_of::ProposalOf, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "ProposalOf", (), @@ -17088,21 +16211,17 @@ pub mod api { pub fn proposal_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::proposal_of::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::proposal_of::ProposalOf, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "ProposalOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 118u8, 58u8, 81u8, 186u8, 92u8, 43u8, 186u8, 132u8, 78u8, 0u8, 78u8, 177u8, 5u8, 175u8, 199u8, 9u8, 118u8, 53u8, 5u8, 220u8, 206u8, 223u8, @@ -17113,14 +16232,14 @@ pub mod api { #[doc = " Votes on a given proposal, if it is ongoing."] pub fn voting_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::voting::Voting, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "Voting", (), @@ -17135,21 +16254,17 @@ pub mod api { pub fn voting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::voting::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::voting::Voting, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "Voting", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 224u8, 140u8, 244u8, 24u8, 39u8, 198u8, 146u8, 44u8, 158u8, 251u8, 1u8, 108u8, 40u8, 35u8, 34u8, 27u8, 98u8, 168u8, 153u8, 39u8, 174u8, 84u8, @@ -17160,14 +16275,14 @@ pub mod api { #[doc = " Proposals so far."] pub fn proposal_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::proposal_count::ProposalCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "ProposalCount", (), @@ -17181,14 +16296,14 @@ pub mod api { #[doc = " The current members of the collective. This is stored sorted (just by value)."] pub fn members( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::members::Members, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "Members", (), @@ -17202,14 +16317,14 @@ pub mod api { #[doc = " The prime member that helps determine the default vote behavior in case of abstentions."] pub fn prime( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::prime::Prime, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Council", "Prime", (), @@ -17229,10 +16344,10 @@ pub mod api { #[doc = " The maximum weight of a dispatch call that can be proposed and executed."] pub fn max_proposal_weight( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Council", "MaxProposalWeight", [ @@ -17260,23 +16375,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -17287,28 +16398,24 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] pub struct Vest; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vest { + impl ::subxt_core::blocks::StaticExtrinsic for Vest { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vest"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unlock any vested funds of a `target` account."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -17325,33 +16432,29 @@ pub mod api { } pub mod vest_other { use super::runtime_types; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VestOther { + impl ::subxt_core::blocks::StaticExtrinsic for VestOther { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vest_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create a vested transfer."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -17371,8 +16474,8 @@ pub mod api { } pub mod vested_transfer { use super::runtime_types; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Schedule = runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -17380,28 +16483,24 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VestedTransfer { + impl ::subxt_core::blocks::StaticExtrinsic for VestedTransfer { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vested_transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force a vested transfer."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -17423,12 +16522,12 @@ pub mod api { } pub mod force_vested_transfer { use super::runtime_types; - pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Source = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Schedule = runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -17436,28 +16535,24 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceVestedTransfer { + impl ::subxt_core::blocks::StaticExtrinsic for ForceVestedTransfer { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "force_vested_transfer"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -17488,28 +16583,24 @@ pub mod api { pub type Schedule1Index = ::core::primitive::u32; pub type Schedule2Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MergeSchedules { + impl ::subxt_core::blocks::StaticExtrinsic for MergeSchedules { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "merge_schedules"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force remove a vesting schedule"] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -17522,13 +16613,13 @@ pub mod api { } pub mod force_remove_vesting_schedule { use super::runtime_types; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ScheduleIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceRemoveVestingSchedule { + impl ::subxt_core::blocks::StaticExtrinsic for ForceRemoveVestingSchedule { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "force_remove_vesting_schedule"; } @@ -17544,10 +16635,8 @@ pub mod api { #[doc = ""] #[doc = "## Complexity"] #[doc = "- `O(1)`."] - pub fn vest( - &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + pub fn vest(&self) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "vest", types::Vest {}, @@ -17573,8 +16662,8 @@ pub mod api { pub fn vest_other( &self, target: types::vest_other::Target, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "vest_other", types::VestOther { target }, @@ -17602,9 +16691,8 @@ pub mod api { &self, target: types::vested_transfer::Target, schedule: types::vested_transfer::Schedule, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "vested_transfer", types::VestedTransfer { target, schedule }, @@ -17635,9 +16723,8 @@ pub mod api { source: types::force_vested_transfer::Source, target: types::force_vested_transfer::Target, schedule: types::force_vested_transfer::Schedule, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "force_vested_transfer", types::ForceVestedTransfer { source, target, schedule }, @@ -17673,9 +16760,8 @@ pub mod api { &self, schedule1_index: types::merge_schedules::Schedule1Index, schedule2_index: types::merge_schedules::Schedule2Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "merge_schedules", types::MergeSchedules { schedule1_index, schedule2_index }, @@ -17696,10 +16782,9 @@ pub mod api { &self, target: types::force_remove_vesting_schedule::Target, schedule_index: types::force_remove_vesting_schedule::ScheduleIndex, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ForceRemoveVestingSchedule, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "force_remove_vesting_schedule", types::ForceRemoveVestingSchedule { target, schedule_index }, @@ -17718,19 +16803,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -17739,36 +16824,36 @@ pub mod api { } pub mod vesting_updated { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub type Unvested = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for VestingUpdated { + impl ::subxt_core::events::StaticEvent for VestingUpdated { const PALLET: &'static str = "Vesting"; const EVENT: &'static str = "VestingUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for VestingCompleted { + impl ::subxt_core::events::StaticEvent for VestingCompleted { const PALLET: &'static str = "Vesting"; const EVENT: &'static str = "VestingCompleted"; } @@ -17785,7 +16870,7 @@ pub mod api { ::core::primitive::u64, >, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod storage_version { use super::runtime_types; @@ -17797,14 +16882,14 @@ pub mod api { #[doc = " Information regarding the vesting of a given account."] pub fn vesting_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::vesting::Vesting, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Vesting", "Vesting", (), @@ -17819,21 +16904,17 @@ pub mod api { pub fn vesting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::vesting::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::vesting::Vesting, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Vesting", "Vesting", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 37u8, 146u8, 66u8, 220u8, 99u8, 154u8, 82u8, 170u8, 197u8, 250u8, 73u8, 125u8, 96u8, 104u8, 37u8, 226u8, 30u8, 111u8, 75u8, 18u8, 130u8, 206u8, @@ -17846,14 +16927,14 @@ pub mod api { #[doc = " New networks start with latest version, as determined by the genesis build."] pub fn storage_version( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::storage_version::StorageVersion, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Vesting", "StorageVersion", (), @@ -17873,10 +16954,8 @@ pub mod api { #[doc = " The minimum amount transferred to call `vested_transfer`."] pub fn min_vested_transfer( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Vesting", "MinVestedTransfer", [ @@ -17888,10 +16967,8 @@ pub mod api { } pub fn max_vesting_schedules( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Vesting", "MaxVestingSchedules", [ @@ -17919,23 +16996,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Vote for a set of candidates for the upcoming round of election. This can be called to"] #[doc = "set the initial votes, or update already existing votes."] #[doc = ""] @@ -17962,61 +17035,52 @@ pub mod api { } pub mod vote { use super::runtime_types; - pub type Votes = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Votes = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { + impl ::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "Elections"; const CALL: &'static str = "vote"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove `origin` as a voter."] #[doc = ""] #[doc = "This removes the lock and returns the deposit."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed and be a voter."] pub struct RemoveVoter; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveVoter { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveVoter { const PALLET: &'static str = "Elections"; const CALL: &'static str = "remove_voter"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Submit oneself for candidacy. A fixed amount of deposit is recorded."] #[doc = ""] #[doc = "All candidates are wiped at the end of the term. They either become a member/runner-up,"] @@ -18040,28 +17104,24 @@ pub mod api { use super::runtime_types; pub type CandidateCount = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SubmitCandidacy { + impl ::subxt_core::blocks::StaticExtrinsic for SubmitCandidacy { const PALLET: &'static str = "Elections"; const CALL: &'static str = "submit_candidacy"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Renounce one's intention to be a candidate for the next election round. 3 potential"] #[doc = "outcomes exist:"] #[doc = ""] @@ -18089,28 +17149,24 @@ pub mod api { use super::runtime_types; pub type Renouncing = runtime_types::pallet_elections_phragmen::Renouncing; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RenounceCandidacy { + impl ::subxt_core::blocks::StaticExtrinsic for RenounceCandidacy { const PALLET: &'static str = "Elections"; const CALL: &'static str = "renounce_candidacy"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove a particular member from the set. This is effective immediately and the bond of"] #[doc = "the outgoing member is slashed."] #[doc = ""] @@ -18134,35 +17190,31 @@ pub mod api { } pub mod remove_member { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type SlashBond = ::core::primitive::bool; pub type RerunElection = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveMember { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveMember { const PALLET: &'static str = "Elections"; const CALL: &'static str = "remove_member"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Clean all voters who are defunct (i.e. they do not serve any purpose at all). The"] #[doc = "deposit of the removed voters are returned."] #[doc = ""] @@ -18181,7 +17233,7 @@ pub mod api { pub type NumVoters = ::core::primitive::u32; pub type NumDefunct = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CleanDefunctVoters { + impl ::subxt_core::blocks::StaticExtrinsic for CleanDefunctVoters { const PALLET: &'static str = "Elections"; const CALL: &'static str = "clean_defunct_voters"; } @@ -18211,8 +17263,8 @@ pub mod api { &self, votes: types::vote::Votes, value: types::vote::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "vote", types::Vote { votes, value }, @@ -18230,8 +17282,8 @@ pub mod api { #[doc = "The dispatch origin of this call must be signed and be a voter."] pub fn remove_voter( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "remove_voter", types::RemoveVoter {}, @@ -18261,9 +17313,8 @@ pub mod api { pub fn submit_candidacy( &self, candidate_count: types::submit_candidacy::CandidateCount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "submit_candidacy", types::SubmitCandidacy { candidate_count }, @@ -18298,9 +17349,8 @@ pub mod api { pub fn renounce_candidacy( &self, renouncing: types::renounce_candidacy::Renouncing, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "renounce_candidacy", types::RenounceCandidacy { renouncing }, @@ -18333,8 +17383,8 @@ pub mod api { who: types::remove_member::Who, slash_bond: types::remove_member::SlashBond, rerun_election: types::remove_member::RerunElection, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "remove_member", types::RemoveMember { who, slash_bond, rerun_election }, @@ -18359,9 +17409,8 @@ pub mod api { &self, num_voters: types::clean_defunct_voters::NumVoters, num_defunct: types::clean_defunct_voters::NumDefunct, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "clean_defunct_voters", types::CleanDefunctVoters { num_voters, num_defunct }, @@ -18379,19 +17428,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new term with new_members. This indicates that enough candidates existed to run"] #[doc = "the election, not that enough have has been elected. The inner value must be examined"] #[doc = "for this purpose. A `NewTerm(\\[\\])` indicates that some candidates got their bond"] @@ -18402,70 +17451,70 @@ pub mod api { } pub mod new_term { use super::runtime_types; - pub type NewMembers = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, + pub type NewMembers = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, ::core::primitive::u128, )>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NewTerm { + impl ::subxt_core::events::StaticEvent for NewTerm { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "NewTerm"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "No (or not enough) candidates existed for this round. This is different from"] #[doc = "`NewTerm(\\[\\])`. See the description of `NewTerm`."] pub struct EmptyTerm; - impl ::subxt::ext::subxt_core::events::StaticEvent for EmptyTerm { + impl ::subxt_core::events::StaticEvent for EmptyTerm { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "EmptyTerm"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Internal error happened while trying to perform election."] pub struct ElectionError; - impl ::subxt::ext::subxt_core::events::StaticEvent for ElectionError { + impl ::subxt_core::events::StaticEvent for ElectionError { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "ElectionError"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has been removed. This should always be followed by either `NewTerm` or"] #[doc = "`EmptyTerm`."] pub struct MemberKicked { @@ -18473,52 +17522,52 @@ pub mod api { } pub mod member_kicked { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MemberKicked { + impl ::subxt_core::events::StaticEvent for MemberKicked { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "MemberKicked"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Someone has renounced their candidacy."] pub struct Renounced { pub candidate: renounced::Candidate, } pub mod renounced { use super::runtime_types; - pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Candidate = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Renounced { + impl ::subxt_core::events::StaticEvent for Renounced { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "Renounced"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A candidate was slashed by amount due to failing to obtain a seat as member or"] #[doc = "runner-up."] #[doc = ""] @@ -18529,27 +17578,27 @@ pub mod api { } pub mod candidate_slashed { use super::runtime_types; - pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Candidate = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for CandidateSlashed { + impl ::subxt_core::events::StaticEvent for CandidateSlashed { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "CandidateSlashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A seat holder was slashed by amount by being forcefully removed from the set."] pub struct SeatHolderSlashed { pub seat_holder: seat_holder_slashed::SeatHolder, @@ -18557,10 +17606,10 @@ pub mod api { } pub mod seat_holder_slashed { use super::runtime_types; - pub type SeatHolder = ::subxt::ext::subxt_core::utils::AccountId32; + pub type SeatHolder = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SeatHolderSlashed { + impl ::subxt_core::events::StaticEvent for SeatHolderSlashed { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "SeatHolderSlashed"; } @@ -18571,26 +17620,26 @@ pub mod api { use super::runtime_types; pub mod members { use super::runtime_types; - pub type Members = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Members = ::subxt_core::alloc::vec::Vec< runtime_types::pallet_elections_phragmen::SeatHolder< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >, >; } pub mod runners_up { use super::runtime_types; - pub type RunnersUp = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type RunnersUp = ::subxt_core::alloc::vec::Vec< runtime_types::pallet_elections_phragmen::SeatHolder< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >, >; } pub mod candidates { use super::runtime_types; - pub type Candidates = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Candidates = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, ::core::primitive::u128, )>; } @@ -18601,10 +17650,10 @@ pub mod api { pub mod voting { use super::runtime_types; pub type Voting = runtime_types::pallet_elections_phragmen::Voter< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -18614,14 +17663,14 @@ pub mod api { #[doc = " Invariant: Always sorted based on account id."] pub fn members( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::members::Members, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Members", (), @@ -18639,14 +17688,14 @@ pub mod api { #[doc = " last (i.e. _best_) runner-up will be replaced."] pub fn runners_up( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::runners_up::RunnersUp, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Elections", "RunnersUp", (), @@ -18665,14 +17714,14 @@ pub mod api { #[doc = " Invariant: Always sorted based on account id."] pub fn candidates( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::candidates::Candidates, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Candidates", (), @@ -18686,14 +17735,14 @@ pub mod api { #[doc = " The total number of vote rounds that have happened, excluding the upcoming one."] pub fn election_rounds( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::election_rounds::ElectionRounds, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Elections", "ElectionRounds", (), @@ -18709,14 +17758,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE as `AccountId` is a crypto hash."] pub fn voting_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::voting::Voting, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Voting", (), @@ -18733,21 +17782,17 @@ pub mod api { pub fn voting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::voting::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::voting::Voting, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Voting", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 37u8, 74u8, 221u8, 188u8, 168u8, 43u8, 125u8, 246u8, 191u8, 21u8, 85u8, 87u8, 124u8, 180u8, 218u8, 43u8, 186u8, 170u8, 140u8, 186u8, 88u8, @@ -18764,10 +17809,9 @@ pub mod api { #[doc = " Identifier for the elections-phragmen pallet's lock"] pub fn pallet_id( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - [::core::primitive::u8; 8usize], - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<[::core::primitive::u8; 8usize]> + { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "PalletId", [ @@ -18780,10 +17824,8 @@ pub mod api { #[doc = " How much should be locked up in order to submit one's candidacy."] pub fn candidacy_bond( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "CandidacyBond", [ @@ -18799,10 +17841,8 @@ pub mod api { #[doc = " creating a gigantic number of votes."] pub fn voting_bond_base( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "VotingBondBase", [ @@ -18815,10 +17855,8 @@ pub mod api { #[doc = " The amount of bond that need to be locked for each vote (32 bytes)."] pub fn voting_bond_factor( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "VotingBondFactor", [ @@ -18831,10 +17869,8 @@ pub mod api { #[doc = " Number of members to elect."] pub fn desired_members( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "DesiredMembers", [ @@ -18848,10 +17884,8 @@ pub mod api { #[doc = " Number of runners_up to keep."] pub fn desired_runners_up( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "DesiredRunnersUp", [ @@ -18867,10 +17901,8 @@ pub mod api { #[doc = " be in passive mode."] pub fn term_duration( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "TermDuration", [ @@ -18889,10 +17921,8 @@ pub mod api { #[doc = " When this limit is reached no more candidates are accepted in the election."] pub fn max_candidates( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "MaxCandidates", [ @@ -18911,10 +17941,8 @@ pub mod api { #[doc = " When the limit is reached the new voters are ignored."] pub fn max_voters( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "MaxVoters", [ @@ -18931,10 +17959,8 @@ pub mod api { #[doc = " consider how it will impact `T::WeightInfo::election_phragmen`."] pub fn max_votes_per_voter( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Elections", "MaxVotesPerVoter", [ @@ -18962,23 +17988,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Submit a solution for the unsigned phase."] #[doc = ""] #[doc = "The dispatch origin fo this call must be __none__."] @@ -18994,8 +18016,7 @@ pub mod api { #[doc = ""] #[doc = "No deposit or reward is associated with this submission."] pub struct SubmitUnsigned { - pub raw_solution: - ::subxt::ext::subxt_core::alloc::boxed::Box, + pub raw_solution: ::subxt_core::alloc::boxed::Box, pub witness: submit_unsigned::Witness, } pub mod submit_unsigned { @@ -19007,28 +18028,24 @@ pub mod api { pub type Witness = runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SubmitUnsigned { + impl ::subxt_core::blocks::StaticExtrinsic for SubmitUnsigned { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "submit_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set a new value for `MinimumUntrustedScore`."] #[doc = ""] #[doc = "Dispatch origin must be aligned with `T::ForceOrigin`."] @@ -19042,28 +18059,24 @@ pub mod api { pub type MaybeNextScore = ::core::option::Option; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinimumUntrustedScore { + impl ::subxt_core::blocks::StaticExtrinsic for SetMinimumUntrustedScore { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "set_minimum_untrusted_score"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set a solution in the queue, to be handed out to the client of this pallet in the next"] #[doc = "call to `ElectionProvider::elect`."] #[doc = ""] @@ -19077,35 +18090,29 @@ pub mod api { } pub mod set_emergency_election_result { use super::runtime_types; - pub type Supports = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, - runtime_types::sp_npos_elections::Support< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + pub type Supports = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, + runtime_types::sp_npos_elections::Support<::subxt_core::utils::AccountId32>, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetEmergencyElectionResult { + impl ::subxt_core::blocks::StaticExtrinsic for SetEmergencyElectionResult { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "set_emergency_election_result"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Submit a solution for the signed phase."] #[doc = ""] #[doc = "The dispatch origin fo this call must be __signed__."] @@ -19116,8 +18123,7 @@ pub mod api { #[doc = "A deposit is reserved and recorded for the solution. Based on the outcome, the solution"] #[doc = "might be rewarded, slashed, or get all or a part of the deposit back."] pub struct Submit { - pub raw_solution: - ::subxt::ext::subxt_core::alloc::boxed::Box, + pub raw_solution: ::subxt_core::alloc::boxed::Box, } pub mod submit { use super::runtime_types; @@ -19126,28 +18132,24 @@ pub mod api { runtime_types::tangle_testnet_runtime::NposSolution16, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Submit { + impl ::subxt_core::blocks::StaticExtrinsic for Submit { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "submit"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Trigger the governance fallback."] #[doc = ""] #[doc = "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to"] @@ -19161,7 +18163,7 @@ pub mod api { pub type MaybeMaxVoters = ::core::option::Option<::core::primitive::u32>; pub type MaybeMaxTargets = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for GovernanceFallback { + impl ::subxt_core::blocks::StaticExtrinsic for GovernanceFallback { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "governance_fallback"; } @@ -19186,15 +18188,12 @@ pub mod api { &self, raw_solution: types::submit_unsigned::RawSolution, witness: types::submit_unsigned::Witness, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "submit_unsigned", types::SubmitUnsigned { - raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box::new( - raw_solution, - ), + raw_solution: ::subxt_core::alloc::boxed::Box::new(raw_solution), witness, }, [ @@ -19212,10 +18211,8 @@ pub mod api { pub fn set_minimum_untrusted_score( &self, maybe_next_score: types::set_minimum_untrusted_score::MaybeNextScore, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::SetMinimumUntrustedScore, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "set_minimum_untrusted_score", types::SetMinimumUntrustedScore { maybe_next_score }, @@ -19238,10 +18235,9 @@ pub mod api { pub fn set_emergency_election_result( &self, supports: types::set_emergency_election_result::Supports, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::SetEmergencyElectionResult, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "set_emergency_election_result", types::SetEmergencyElectionResult { supports }, @@ -19265,14 +18261,12 @@ pub mod api { pub fn submit( &self, raw_solution: types::submit::RawSolution, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "submit", types::Submit { - raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box::new( - raw_solution, - ), + raw_solution: ::subxt_core::alloc::boxed::Box::new(raw_solution), }, [ 55u8, 254u8, 53u8, 183u8, 136u8, 93u8, 56u8, 39u8, 98u8, 132u8, 8u8, @@ -19289,9 +18283,8 @@ pub mod api { &self, maybe_max_voters: types::governance_fallback::MaybeMaxVoters, maybe_max_targets: types::governance_fallback::MaybeMaxTargets, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "governance_fallback", types::GovernanceFallback { maybe_max_voters, maybe_max_targets }, @@ -19309,19 +18302,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A solution was stored with the given compute."] #[doc = ""] #[doc = "The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,"] @@ -19338,28 +18331,27 @@ pub mod api { use super::runtime_types; pub type Compute = runtime_types::pallet_election_provider_multi_phase::ElectionCompute; - pub type Origin = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + pub type Origin = ::core::option::Option<::subxt_core::utils::AccountId32>; pub type PrevEjected = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SolutionStored { + impl ::subxt_core::events::StaticEvent for SolutionStored { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "SolutionStored"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The election has been finalized, with the given computation and score."] pub struct ElectionFinalized { pub compute: election_finalized::Compute, @@ -19371,46 +18363,46 @@ pub mod api { runtime_types::pallet_election_provider_multi_phase::ElectionCompute; pub type Score = runtime_types::sp_npos_elections::ElectionScore; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ElectionFinalized { + impl ::subxt_core::events::StaticEvent for ElectionFinalized { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "ElectionFinalized"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An election failed."] #[doc = ""] #[doc = "Not much can be said about which computes failed in the process."] pub struct ElectionFailed; - impl ::subxt::ext::subxt_core::events::StaticEvent for ElectionFailed { + impl ::subxt_core::events::StaticEvent for ElectionFailed { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "ElectionFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has been rewarded for their signed submission being finalized."] pub struct Rewarded { pub account: rewarded::Account, @@ -19418,27 +18410,27 @@ pub mod api { } pub mod rewarded { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Rewarded { + impl ::subxt_core::events::StaticEvent for Rewarded { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "Rewarded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has been slashed for submitting an invalid signed submission."] pub struct Slashed { pub account: slashed::Account, @@ -19446,27 +18438,27 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { + impl ::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "Slashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "There was a phase transition in a given round."] pub struct PhaseTransitioned { pub from: phase_transitioned::From, @@ -19483,7 +18475,7 @@ pub mod api { >; pub type Round = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PhaseTransitioned { + impl ::subxt_core::events::StaticEvent for PhaseTransitioned { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "PhaseTransitioned"; } @@ -19512,12 +18504,12 @@ pub mod api { use super::runtime_types; pub type Snapshot = runtime_types::pallet_election_provider_multi_phase::RoundSnapshot< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ( - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u64, runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, ), >; @@ -19546,7 +18538,7 @@ pub mod api { } pub mod signed_submissions_map { use super::runtime_types; - pub type SignedSubmissionsMap = runtime_types :: pallet_election_provider_multi_phase :: signed :: SignedSubmission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: NposSolution16 > ; + pub type SignedSubmissionsMap = runtime_types :: pallet_election_provider_multi_phase :: signed :: SignedSubmission < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: NposSolution16 > ; pub type Param0 = ::core::primitive::u32; } pub mod minimum_untrusted_score { @@ -19565,14 +18557,14 @@ pub mod api { #[doc = " This is merely incremented once per every time that an upstream `elect` is called."] pub fn round( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::round::Round, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "Round", (), @@ -19586,14 +18578,14 @@ pub mod api { #[doc = " Current phase."] pub fn current_phase( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_phase::CurrentPhase, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "CurrentPhase", (), @@ -19610,14 +18602,14 @@ pub mod api { #[doc = " Always sorted by score."] pub fn queued_solution( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::queued_solution::QueuedSolution, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "QueuedSolution", (), @@ -19635,14 +18627,14 @@ pub mod api { #[doc = " Note: This storage type must only be mutated through [`SnapshotWrapper`]."] pub fn snapshot( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::snapshot::Snapshot, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "Snapshot", (), @@ -19659,14 +18651,14 @@ pub mod api { #[doc = " Note: This storage type must only be mutated through [`SnapshotWrapper`]."] pub fn desired_targets( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::desired_targets::DesiredTargets, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "DesiredTargets", (), @@ -19683,14 +18675,14 @@ pub mod api { #[doc = " Note: This storage type must only be mutated through [`SnapshotWrapper`]."] pub fn snapshot_metadata( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::snapshot_metadata::SnapshotMetadata, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SnapshotMetadata", (), @@ -19712,14 +18704,14 @@ pub mod api { #[doc = " because iteration is slow. Instead, we store the value here."] pub fn signed_submission_next_index( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::signed_submission_next_index::SignedSubmissionNextIndex, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionNextIndex", (), @@ -19738,14 +18730,14 @@ pub mod api { #[doc = " them one at a time instead of reading and decoding all of them at once."] pub fn signed_submission_indices( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::signed_submission_indices::SignedSubmissionIndices, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionIndices", (), @@ -19765,14 +18757,14 @@ pub mod api { #[doc = " affect; we shouldn't need a cryptographically secure hasher."] pub fn signed_submissions_map_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::signed_submissions_map::SignedSubmissionsMap, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionsMap", (), @@ -19793,21 +18785,19 @@ pub mod api { pub fn signed_submissions_map( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::signed_submissions_map::Param0, >, types::signed_submissions_map::SignedSubmissionsMap, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionsMap", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 118u8, 12u8, 234u8, 73u8, 238u8, 134u8, 20u8, 105u8, 248u8, 39u8, 23u8, 96u8, 157u8, 187u8, 14u8, 143u8, 135u8, 121u8, 77u8, 90u8, 154u8, @@ -19821,14 +18811,14 @@ pub mod api { #[doc = " Can be set via `set_minimum_untrusted_score`."] pub fn minimum_untrusted_score( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::minimum_untrusted_score::MinimumUntrustedScore, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinimumUntrustedScore", (), @@ -19849,10 +18839,10 @@ pub mod api { #[doc = " \"better\" in the Signed phase."] pub fn better_signed_threshold( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_arithmetic::per_things::Perbill, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "BetterSignedThreshold", [ @@ -19868,10 +18858,8 @@ pub mod api { #[doc = " to submit the worker's solution."] pub fn offchain_repeat( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "OffchainRepeat", [ @@ -19885,10 +18873,8 @@ pub mod api { #[doc = " The priority of the unsigned transaction submitted in the unsigned-phase"] pub fn miner_tx_priority( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerTxPriority", [ @@ -19908,10 +18894,8 @@ pub mod api { #[doc = " attempts to submit new solutions may cause a runtime panic."] pub fn signed_max_submissions( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedMaxSubmissions", [ @@ -19929,10 +18913,10 @@ pub mod api { #[doc = " this value."] pub fn signed_max_weight( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedMaxWeight", [ @@ -19946,10 +18930,8 @@ pub mod api { #[doc = " The maximum amount of unchecked solutions to refund the call fee for."] pub fn signed_max_refunds( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedMaxRefunds", [ @@ -19963,10 +18945,8 @@ pub mod api { #[doc = " Base reward for a signed solution"] pub fn signed_reward_base( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedRewardBase", [ @@ -19979,10 +18959,8 @@ pub mod api { #[doc = " Per-byte deposit for a signed solution."] pub fn signed_deposit_byte( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedDepositByte", [ @@ -19995,10 +18973,8 @@ pub mod api { #[doc = " Per-weight deposit for a signed solution."] pub fn signed_deposit_weight( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedDepositWeight", [ @@ -20014,10 +18990,8 @@ pub mod api { #[doc = " Note: This must always be greater or equal to `T::DataProvider::desired_targets()`."] pub fn max_winners( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MaxWinners", [ @@ -20030,10 +19004,8 @@ pub mod api { } pub fn miner_max_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxLength", [ @@ -20046,10 +19018,10 @@ pub mod api { } pub fn miner_max_weight( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxWeight", [ @@ -20062,10 +19034,8 @@ pub mod api { } pub fn miner_max_votes_per_voter( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxVotesPerVoter", [ @@ -20078,10 +19048,8 @@ pub mod api { } pub fn miner_max_winners( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxWinners", [ @@ -20109,23 +19077,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Take the origin account as a stash and lock up `value` of its balance. `controller` will"] #[doc = "be the account that controls it."] #[doc = ""] @@ -20151,31 +19115,27 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; pub type Payee = runtime_types::pallet_staking::RewardDestination< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Bond { + impl ::subxt_core::blocks::StaticExtrinsic for Bond { const PALLET: &'static str = "Staking"; const CALL: &'static str = "bond"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Add some extra amount that have appeared in the stash `free_balance` into the balance up"] #[doc = "for staking."] #[doc = ""] @@ -20198,28 +19158,24 @@ pub mod api { use super::runtime_types; pub type MaxAdditional = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtra { + impl ::subxt_core::blocks::StaticExtrinsic for BondExtra { const PALLET: &'static str = "Staking"; const CALL: &'static str = "bond_extra"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule a portion of the stash to be unlocked ready for transfer out after the bond"] #[doc = "period ends. If this leaves an amount actively bonded less than"] #[doc = "T::Currency::minimum_balance(), then it is increased to the full amount."] @@ -20247,28 +19203,24 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unbond { + impl ::subxt_core::blocks::StaticExtrinsic for Unbond { const PALLET: &'static str = "Staking"; const CALL: &'static str = "unbond"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove any unlocked chunks from the `unlocking` queue from our management."] #[doc = ""] #[doc = "This essentially frees up that balance to be used by the stash account to do whatever"] @@ -20299,28 +19251,24 @@ pub mod api { use super::runtime_types; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { + impl ::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { const PALLET: &'static str = "Staking"; const CALL: &'static str = "withdraw_unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Declare the desire to validate for the origin controller."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -20333,28 +19281,24 @@ pub mod api { use super::runtime_types; pub type Prefs = runtime_types::pallet_staking::ValidatorPrefs; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Validate { + impl ::subxt_core::blocks::StaticExtrinsic for Validate { const PALLET: &'static str = "Staking"; const CALL: &'static str = "validate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Declare the desire to nominate `targets` for the origin controller."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -20370,35 +19314,31 @@ pub mod api { } pub mod nominate { use super::runtime_types; - pub type Targets = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Targets = ::subxt_core::alloc::vec::Vec< + ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Nominate { + impl ::subxt_core::blocks::StaticExtrinsic for Nominate { const PALLET: &'static str = "Staking"; const CALL: &'static str = "nominate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Declare no desire to either validate or nominate."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -20410,28 +19350,24 @@ pub mod api { #[doc = "- Contains one read."] #[doc = "- Writes are limited to the `origin` account key."] pub struct Chill; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Chill { + impl ::subxt_core::blocks::StaticExtrinsic for Chill { const PALLET: &'static str = "Staking"; const CALL: &'static str = "chill"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "(Re-)set the payment target for a controller."] #[doc = ""] #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] @@ -20450,31 +19386,27 @@ pub mod api { pub mod set_payee { use super::runtime_types; pub type Payee = runtime_types::pallet_staking::RewardDestination< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetPayee { + impl ::subxt_core::blocks::StaticExtrinsic for SetPayee { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_payee"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "(Re-)sets the controller of a stash to the stash itself. This function previously"] #[doc = "accepted a `controller` argument to set the controller to an account other than the"] #[doc = "stash itself. This functionality has now been removed, now only setting the controller"] @@ -20490,28 +19422,24 @@ pub mod api { #[doc = "- Contains a limited number of reads."] #[doc = "- Writes are limited to the `origin` account key."] pub struct SetController; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetController { + impl ::subxt_core::blocks::StaticExtrinsic for SetController { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_controller"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Sets the ideal number of validators."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -20526,28 +19454,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetValidatorCount { + impl ::subxt_core::blocks::StaticExtrinsic for SetValidatorCount { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_validator_count"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Increments the ideal number of validators up to maximum of"] #[doc = "`ElectionProviderBase::MaxWinners`."] #[doc = ""] @@ -20563,28 +19487,24 @@ pub mod api { use super::runtime_types; pub type Additional = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for IncreaseValidatorCount { + impl ::subxt_core::blocks::StaticExtrinsic for IncreaseValidatorCount { const PALLET: &'static str = "Staking"; const CALL: &'static str = "increase_validator_count"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Scale up the ideal number of validators by a factor up to maximum of"] #[doc = "`ElectionProviderBase::MaxWinners`."] #[doc = ""] @@ -20599,28 +19519,24 @@ pub mod api { use super::runtime_types; pub type Factor = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScaleValidatorCount { + impl ::subxt_core::blocks::StaticExtrinsic for ScaleValidatorCount { const PALLET: &'static str = "Staking"; const CALL: &'static str = "scale_validator_count"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force there to be no new eras indefinitely."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -20635,28 +19551,24 @@ pub mod api { #[doc = "- No arguments."] #[doc = "- Weight: O(1)"] pub struct ForceNoEras; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceNoEras { + impl ::subxt_core::blocks::StaticExtrinsic for ForceNoEras { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_no_eras"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force there to be a new era at the end of the next session. After this, it will be"] #[doc = "reset to normal (non-forced) behaviour."] #[doc = ""] @@ -20672,28 +19584,24 @@ pub mod api { #[doc = "- No arguments."] #[doc = "- Weight: O(1)"] pub struct ForceNewEra; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceNewEra { + impl ::subxt_core::blocks::StaticExtrinsic for ForceNewEra { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_new_era"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the validators who cannot be slashed (if any)."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -20702,32 +19610,27 @@ pub mod api { } pub mod set_invulnerables { use super::runtime_types; - pub type Invulnerables = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Invulnerables = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetInvulnerables { + impl ::subxt_core::blocks::StaticExtrinsic for SetInvulnerables { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_invulnerables"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force a current staker to become completely unstaked, immediately."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -20742,31 +19645,27 @@ pub mod api { } pub mod force_unstake { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnstake { + impl ::subxt_core::blocks::StaticExtrinsic for ForceUnstake { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_unstake"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force there to be a new era at the end of sessions indefinitely."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -20777,28 +19676,24 @@ pub mod api { #[doc = "If this is called just before a new era is triggered, the election process may not"] #[doc = "have enough blocks to get a result."] pub struct ForceNewEraAlways; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceNewEraAlways { + impl ::subxt_core::blocks::StaticExtrinsic for ForceNewEraAlways { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_new_era_always"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel enactment of a deferred slash."] #[doc = ""] #[doc = "Can be called by the `T::AdminOrigin`."] @@ -20811,31 +19706,26 @@ pub mod api { pub mod cancel_deferred_slash { use super::runtime_types; pub type Era = ::core::primitive::u32; - pub type SlashIndices = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + pub type SlashIndices = ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelDeferredSlash { + impl ::subxt_core::blocks::StaticExtrinsic for CancelDeferredSlash { const PALLET: &'static str = "Staking"; const CALL: &'static str = "cancel_deferred_slash"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pay out next page of the stakers behind a validator for the given era."] #[doc = ""] #[doc = "- `validator_stash` is the stash account of the validator."] @@ -20855,31 +19745,27 @@ pub mod api { } pub mod payout_stakers { use super::runtime_types; - pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt_core::utils::AccountId32; pub type Era = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PayoutStakers { + impl ::subxt_core::blocks::StaticExtrinsic for PayoutStakers { const PALLET: &'static str = "Staking"; const CALL: &'static str = "payout_stakers"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Rebond a portion of the stash scheduled to be unlocked."] #[doc = ""] #[doc = "The dispatch origin must be signed by the controller."] @@ -20895,28 +19781,24 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Rebond { + impl ::subxt_core::blocks::StaticExtrinsic for Rebond { const PALLET: &'static str = "Staking"; const CALL: &'static str = "rebond"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove all data structures concerning a staker/stash once it is at a state where it can"] #[doc = "be considered `dust` in the staking system. The requirements are:"] #[doc = ""] @@ -20941,31 +19823,27 @@ pub mod api { } pub mod reap_stash { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReapStash { + impl ::subxt_core::blocks::StaticExtrinsic for ReapStash { const PALLET: &'static str = "Staking"; const CALL: &'static str = "reap_stash"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Remove the given nominations from the calling validator."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -20982,35 +19860,31 @@ pub mod api { } pub mod kick { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::alloc::vec::Vec< + ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Kick { + impl ::subxt_core::blocks::StaticExtrinsic for Kick { const PALLET: &'static str = "Staking"; const CALL: &'static str = "kick"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Update the various staking configurations ."] #[doc = ""] #[doc = "* `min_nominator_bond`: The minimum active bond needed to be a nominator."] @@ -21068,28 +19942,24 @@ pub mod api { runtime_types::sp_arithmetic::per_things::Percent, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetStakingConfigs { + impl ::subxt_core::blocks::StaticExtrinsic for SetStakingConfigs { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_staking_configs"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Declare a `controller` to stop participating as either a validator or nominator."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -21121,30 +19991,26 @@ pub mod api { } pub mod chill_other { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ChillOther { + impl ::subxt_core::blocks::StaticExtrinsic for ChillOther { const PALLET: &'static str = "Staking"; const CALL: &'static str = "chill_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force a validator to have at least the minimum commission. This will not affect a"] #[doc = "validator who already has a commission greater than or equal to the minimum. Any account"] #[doc = "can call this."] @@ -21153,30 +20019,26 @@ pub mod api { } pub mod force_apply_min_commission { use super::runtime_types; - pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceApplyMinCommission { + impl ::subxt_core::blocks::StaticExtrinsic for ForceApplyMinCommission { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_apply_min_commission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Sets the minimum amount of commission that each validators must maintain."] #[doc = ""] #[doc = "This call has lower privilege requirements than `set_staking_config` and can be called"] @@ -21188,28 +20050,24 @@ pub mod api { use super::runtime_types; pub type New = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinCommission { + impl ::subxt_core::blocks::StaticExtrinsic for SetMinCommission { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_min_commission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pay out a page of the stakers behind a validator for the given era and page."] #[doc = ""] #[doc = "- `validator_stash` is the stash account of the validator."] @@ -21234,32 +20092,28 @@ pub mod api { } pub mod payout_stakers_by_page { use super::runtime_types; - pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt_core::utils::AccountId32; pub type Era = ::core::primitive::u32; pub type Page = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PayoutStakersByPage { + impl ::subxt_core::blocks::StaticExtrinsic for PayoutStakersByPage { const PALLET: &'static str = "Staking"; const CALL: &'static str = "payout_stakers_by_page"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Migrates an account's `RewardDestination::Controller` to"] #[doc = "`RewardDestination::Account(controller)`."] #[doc = ""] @@ -21271,30 +20125,26 @@ pub mod api { } pub mod update_payee { use super::runtime_types; - pub type Controller = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Controller = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdatePayee { + impl ::subxt_core::blocks::StaticExtrinsic for UpdatePayee { const PALLET: &'static str = "Staking"; const CALL: &'static str = "update_payee"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updates a batch of controller accounts to their corresponding stash account if they are"] #[doc = "not the same. Ignores any controller accounts that do not exist, and does not operate if"] #[doc = "the stash and controller are already the same."] @@ -21309,31 +20159,27 @@ pub mod api { use super::runtime_types; pub type Controllers = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DeprecateControllerBatch { + impl ::subxt_core::blocks::StaticExtrinsic for DeprecateControllerBatch { const PALLET: &'static str = "Staking"; const CALL: &'static str = "deprecate_controller_batch"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Restores the state of a ledger which is in an inconsistent state."] #[doc = ""] #[doc = "The requirements to restore a ledger are the following:"] @@ -21353,9 +20199,9 @@ pub mod api { } pub mod restore_ledger { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type MaybeController = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + ::core::option::Option<::subxt_core::utils::AccountId32>; pub type MaybeTotal = ::core::option::Option<::core::primitive::u128>; pub type MaybeUnlocking = ::core::option::Option< runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -21363,7 +20209,7 @@ pub mod api { >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RestoreLedger { + impl ::subxt_core::blocks::StaticExtrinsic for RestoreLedger { const PALLET: &'static str = "Staking"; const CALL: &'static str = "restore_ledger"; } @@ -21390,8 +20236,8 @@ pub mod api { &self, value: types::bond::Value, payee: types::bond::Payee, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "bond", types::Bond { value, payee }, @@ -21419,8 +20265,8 @@ pub mod api { pub fn bond_extra( &self, max_additional: types::bond_extra::MaxAdditional, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "bond_extra", types::BondExtra { max_additional }, @@ -21453,8 +20299,8 @@ pub mod api { pub fn unbond( &self, value: types::unbond::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "unbond", types::Unbond { value }, @@ -21491,9 +20337,8 @@ pub mod api { pub fn withdraw_unbonded( &self, num_slashing_spans: types::withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "withdraw_unbonded", types::WithdrawUnbonded { num_slashing_spans }, @@ -21513,8 +20358,8 @@ pub mod api { pub fn validate( &self, prefs: types::validate::Prefs, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "validate", types::Validate { prefs }, @@ -21538,8 +20383,8 @@ pub mod api { pub fn nominate( &self, targets: types::nominate::Targets, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "nominate", types::Nominate { targets }, @@ -21561,10 +20406,8 @@ pub mod api { #[doc = "- Independent of the arguments. Insignificant complexity."] #[doc = "- Contains one read."] #[doc = "- Writes are limited to the `origin` account key."] - pub fn chill( - &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + pub fn chill(&self) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "chill", types::Chill {}, @@ -21590,8 +20433,8 @@ pub mod api { pub fn set_payee( &self, payee: types::set_payee::Payee, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_payee", types::SetPayee { payee }, @@ -21619,9 +20462,8 @@ pub mod api { #[doc = "- Writes are limited to the `origin` account key."] pub fn set_controller( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_controller", types::SetController {}, @@ -21642,9 +20484,8 @@ pub mod api { pub fn set_validator_count( &self, new: types::set_validator_count::New, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_validator_count", types::SetValidatorCount { new }, @@ -21666,10 +20507,8 @@ pub mod api { pub fn increase_validator_count( &self, additional: types::increase_validator_count::Additional, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::IncreaseValidatorCount, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "increase_validator_count", types::IncreaseValidatorCount { additional }, @@ -21691,9 +20530,8 @@ pub mod api { pub fn scale_validator_count( &self, factor: types::scale_validator_count::Factor, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "scale_validator_count", types::ScaleValidatorCount { factor }, @@ -21720,8 +20558,8 @@ pub mod api { #[doc = "- Weight: O(1)"] pub fn force_no_eras( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_no_eras", types::ForceNoEras {}, @@ -21749,8 +20587,8 @@ pub mod api { #[doc = "- Weight: O(1)"] pub fn force_new_era( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_new_era", types::ForceNewEra {}, @@ -21767,9 +20605,8 @@ pub mod api { pub fn set_invulnerables( &self, invulnerables: types::set_invulnerables::Invulnerables, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_invulnerables", types::SetInvulnerables { invulnerables }, @@ -21792,8 +20629,8 @@ pub mod api { &self, stash: types::force_unstake::Stash, num_slashing_spans: types::force_unstake::NumSlashingSpans, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_unstake", types::ForceUnstake { stash, num_slashing_spans }, @@ -21815,9 +20652,8 @@ pub mod api { #[doc = "have enough blocks to get a result."] pub fn force_new_era_always( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_new_era_always", types::ForceNewEraAlways {}, @@ -21837,9 +20673,8 @@ pub mod api { &self, era: types::cancel_deferred_slash::Era, slash_indices: types::cancel_deferred_slash::SlashIndices, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "cancel_deferred_slash", types::CancelDeferredSlash { era, slash_indices }, @@ -21868,9 +20703,8 @@ pub mod api { &self, validator_stash: types::payout_stakers::ValidatorStash, era: types::payout_stakers::Era, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "payout_stakers", types::PayoutStakers { validator_stash, era }, @@ -21891,8 +20725,8 @@ pub mod api { pub fn rebond( &self, value: types::rebond::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "rebond", types::Rebond { value }, @@ -21925,8 +20759,8 @@ pub mod api { &self, stash: types::reap_stash::Stash, num_slashing_spans: types::reap_stash::NumSlashingSpans, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "reap_stash", types::ReapStash { stash, num_slashing_spans }, @@ -21951,8 +20785,8 @@ pub mod api { pub fn kick( &self, who: types::kick::Who, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "kick", types::Kick { who }, @@ -21989,9 +20823,8 @@ pub mod api { chill_threshold: types::set_staking_configs::ChillThreshold, min_commission: types::set_staking_configs::MinCommission, max_staked_rewards: types::set_staking_configs::MaxStakedRewards, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_staking_configs", types::SetStakingConfigs { @@ -22040,8 +20873,8 @@ pub mod api { pub fn chill_other( &self, stash: types::chill_other::Stash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "chill_other", types::ChillOther { stash }, @@ -22059,10 +20892,8 @@ pub mod api { pub fn force_apply_min_commission( &self, validator_stash: types::force_apply_min_commission::ValidatorStash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ForceApplyMinCommission, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_apply_min_commission", types::ForceApplyMinCommission { validator_stash }, @@ -22080,9 +20911,8 @@ pub mod api { pub fn set_min_commission( &self, new: types::set_min_commission::New, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_min_commission", types::SetMinCommission { new }, @@ -22116,9 +20946,8 @@ pub mod api { validator_stash: types::payout_stakers_by_page::ValidatorStash, era: types::payout_stakers_by_page::Era, page: types::payout_stakers_by_page::Page, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "payout_stakers_by_page", types::PayoutStakersByPage { validator_stash, era, page }, @@ -22138,8 +20967,8 @@ pub mod api { pub fn update_payee( &self, controller: types::update_payee::Controller, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "update_payee", types::UpdatePayee { controller }, @@ -22161,10 +20990,8 @@ pub mod api { pub fn deprecate_controller_batch( &self, controllers: types::deprecate_controller_batch::Controllers, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::DeprecateControllerBatch, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "deprecate_controller_batch", types::DeprecateControllerBatch { controllers }, @@ -22193,9 +21020,8 @@ pub mod api { maybe_controller: types::restore_ledger::MaybeController, maybe_total: types::restore_ledger::MaybeTotal, maybe_unlocking: types::restore_ledger::MaybeUnlocking, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "restore_ledger", types::RestoreLedger { @@ -22218,19 +21044,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The era payout has been set; the first balance is the validator-payout; the second is"] #[doc = "the remainder from the maximum amount of reward."] pub struct EraPaid { @@ -22244,24 +21070,24 @@ pub mod api { pub type ValidatorPayout = ::core::primitive::u128; pub type Remainder = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for EraPaid { + impl ::subxt_core::events::StaticEvent for EraPaid { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "EraPaid"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The nominator has been rewarded by this amount to this destination."] pub struct Rewarded { pub stash: rewarded::Stash, @@ -22270,30 +21096,30 @@ pub mod api { } pub mod rewarded { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type Dest = runtime_types::pallet_staking::RewardDestination< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Rewarded { + impl ::subxt_core::events::StaticEvent for Rewarded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Rewarded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A staker (validator or nominator) has been slashed by the given amount."] pub struct Slashed { pub staker: slashed::Staker, @@ -22301,27 +21127,27 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Staker = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Staker = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { + impl ::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Slashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A slash for the given validator, for the given percentage of their stake, at the given"] #[doc = "era as been reported."] pub struct SlashReported { @@ -22331,28 +21157,28 @@ pub mod api { } pub mod slash_reported { use super::runtime_types; - pub type Validator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Validator = ::subxt_core::utils::AccountId32; pub type Fraction = runtime_types::sp_arithmetic::per_things::Perbill; pub type SlashEra = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SlashReported { + impl ::subxt_core::events::StaticEvent for SlashReported { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "SlashReported"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An old slashing report from a prior era was discarded because it could"] #[doc = "not be processed."] pub struct OldSlashingReportDiscarded { @@ -22362,44 +21188,44 @@ pub mod api { use super::runtime_types; pub type SessionIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OldSlashingReportDiscarded { + impl ::subxt_core::events::StaticEvent for OldSlashingReportDiscarded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "OldSlashingReportDiscarded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new set of stakers was elected."] pub struct StakersElected; - impl ::subxt::ext::subxt_core::events::StaticEvent for StakersElected { + impl ::subxt_core::events::StaticEvent for StakersElected { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "StakersElected"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has bonded this amount. \\[stash, amount\\]"] #[doc = ""] #[doc = "NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,"] @@ -22410,27 +21236,27 @@ pub mod api { } pub mod bonded { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Bonded { + impl ::subxt_core::events::StaticEvent for Bonded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Bonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has unbonded this amount."] pub struct Unbonded { pub stash: unbonded::Stash, @@ -22438,27 +21264,27 @@ pub mod api { } pub mod unbonded { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Unbonded { + impl ::subxt_core::events::StaticEvent for Unbonded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`"] #[doc = "from the unlocking queue."] pub struct Withdrawn { @@ -22467,27 +21293,27 @@ pub mod api { } pub mod withdrawn { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Withdrawn"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A nominator has been kicked from a validator."] pub struct Kicked { pub nominator: kicked::Nominator, @@ -22495,73 +21321,73 @@ pub mod api { } pub mod kicked { use super::runtime_types; - pub type Nominator = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Nominator = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Kicked { + impl ::subxt_core::events::StaticEvent for Kicked { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Kicked"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The election failed. No new era is planned."] pub struct StakingElectionFailed; - impl ::subxt::ext::subxt_core::events::StaticEvent for StakingElectionFailed { + impl ::subxt_core::events::StaticEvent for StakingElectionFailed { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "StakingElectionFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An account has stopped participating as either a validator or nominator."] pub struct Chilled { pub stash: chilled::Stash, } pub mod chilled { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Chilled { + impl ::subxt_core::events::StaticEvent for Chilled { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Chilled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The stakers' rewards are getting paid."] pub struct PayoutStarted { pub era_index: payout_started::EraIndex, @@ -22570,26 +21396,26 @@ pub mod api { pub mod payout_started { use super::runtime_types; pub type EraIndex = ::core::primitive::u32; - pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PayoutStarted { + impl ::subxt_core::events::StaticEvent for PayoutStarted { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "PayoutStarted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A validator has set their preferences."] pub struct ValidatorPrefsSet { pub stash: validator_prefs_set::Stash, @@ -22597,27 +21423,27 @@ pub mod api { } pub mod validator_prefs_set { use super::runtime_types; - pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt_core::utils::AccountId32; pub type Prefs = runtime_types::pallet_staking::ValidatorPrefs; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ValidatorPrefsSet { + impl ::subxt_core::events::StaticEvent for ValidatorPrefsSet { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "ValidatorPrefsSet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Voters size limit reached."] pub struct SnapshotVotersSizeExceeded { pub size: snapshot_voters_size_exceeded::Size, @@ -22626,24 +21452,24 @@ pub mod api { use super::runtime_types; pub type Size = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SnapshotVotersSizeExceeded { + impl ::subxt_core::events::StaticEvent for SnapshotVotersSizeExceeded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "SnapshotVotersSizeExceeded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Targets size limit reached."] pub struct SnapshotTargetsSizeExceeded { pub size: snapshot_targets_size_exceeded::Size, @@ -22652,24 +21478,24 @@ pub mod api { use super::runtime_types; pub type Size = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SnapshotTargetsSizeExceeded { + impl ::subxt_core::events::StaticEvent for SnapshotTargetsSizeExceeded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "SnapshotTargetsSizeExceeded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new force era mode was set."] pub struct ForceEra { pub mode: force_era::Mode, @@ -22678,24 +21504,24 @@ pub mod api { use super::runtime_types; pub type Mode = runtime_types::pallet_staking::Forcing; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ForceEra { + impl ::subxt_core::events::StaticEvent for ForceEra { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "ForceEra"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Report of a controller batch deprecation."] pub struct ControllerBatchDeprecated { pub failures: controller_batch_deprecated::Failures, @@ -22704,7 +21530,7 @@ pub mod api { use super::runtime_types; pub type Failures = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ControllerBatchDeprecated { + impl ::subxt_core::events::StaticEvent for ControllerBatchDeprecated { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "ControllerBatchDeprecated"; } @@ -22723,14 +21549,13 @@ pub mod api { } pub mod invulnerables { use super::runtime_types; - pub type Invulnerables = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Invulnerables = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } pub mod bonded { use super::runtime_types; - pub type Bonded = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Bonded = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod min_nominator_bond { use super::runtime_types; @@ -22751,19 +21576,19 @@ pub mod api { pub mod ledger { use super::runtime_types; pub type Ledger = runtime_types::pallet_staking::StakingLedger; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod payee { use super::runtime_types; pub type Payee = runtime_types::pallet_staking::RewardDestination< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod validators { use super::runtime_types; pub type Validators = runtime_types::pallet_staking::ValidatorPrefs; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_validators { use super::runtime_types; @@ -22776,7 +21601,7 @@ pub mod api { pub mod nominators { use super::runtime_types; pub type Nominators = runtime_types::pallet_staking::Nominations; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_nominators { use super::runtime_types; @@ -22785,7 +21610,7 @@ pub mod api { pub mod virtual_stakers { use super::runtime_types; pub type VirtualStakers = (); - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_virtual_stakers { use super::runtime_types; @@ -22811,50 +21636,49 @@ pub mod api { pub mod eras_stakers { use super::runtime_types; pub type ErasStakers = runtime_types::sp_staking::Exposure< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod eras_stakers_overview { use super::runtime_types; pub type ErasStakersOverview = runtime_types::sp_staking::PagedExposureMetadata<::core::primitive::u128>; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod eras_stakers_clipped { use super::runtime_types; pub type ErasStakersClipped = runtime_types::sp_staking::Exposure< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod eras_stakers_paged { use super::runtime_types; pub type ErasStakersPaged = runtime_types::sp_staking::ExposurePage< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; pub type Param2 = ::core::primitive::u32; } pub mod claimed_rewards { use super::runtime_types; - pub type ClaimedRewards = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + pub type ClaimedRewards = ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod eras_validator_prefs { use super::runtime_types; pub type ErasValidatorPrefs = runtime_types::pallet_staking::ValidatorPrefs; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod eras_validator_reward { use super::runtime_types; @@ -22864,7 +21688,7 @@ pub mod api { pub mod eras_reward_points { use super::runtime_types; pub type ErasRewardPoints = runtime_types::pallet_staking::EraRewardPoints< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u32; } @@ -22892,9 +21716,9 @@ pub mod api { } pub mod unapplied_slashes { use super::runtime_types; - pub type UnappliedSlashes = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type UnappliedSlashes = ::subxt_core::alloc::vec::Vec< runtime_types::pallet_staking::UnappliedSlash< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >, >; @@ -22902,7 +21726,7 @@ pub mod api { } pub mod bonded_eras { use super::runtime_types; - pub type BondedEras = ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub type BondedEras = ::subxt_core::alloc::vec::Vec<( ::core::primitive::u32, ::core::primitive::u32, )>; @@ -22914,25 +21738,25 @@ pub mod api { ::core::primitive::u128, ); pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod nominator_slash_in_era { use super::runtime_types; pub type NominatorSlashInEra = ::core::primitive::u128; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod slashing_spans { use super::runtime_types; pub type SlashingSpans = runtime_types::pallet_staking::slashing::SlashingSpans; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod span_slash { use super::runtime_types; pub type SpanSlash = runtime_types::pallet_staking::slashing::SpanRecord< ::core::primitive::u128, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; pub type Param1 = ::core::primitive::u32; } pub mod current_planned_session { @@ -22942,7 +21766,7 @@ pub mod api { pub mod disabled_validators { use super::runtime_types; pub type DisabledValidators = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } pub mod chill_threshold { use super::runtime_types; @@ -22954,14 +21778,14 @@ pub mod api { #[doc = " The ideal number of active validators."] pub fn validator_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::validator_count::ValidatorCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorCount", (), @@ -22976,14 +21800,14 @@ pub mod api { #[doc = " Minimum number of staking participants before emergency conditions are imposed."] pub fn minimum_validator_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::minimum_validator_count::MinimumValidatorCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinimumValidatorCount", (), @@ -22999,14 +21823,14 @@ pub mod api { #[doc = " invulnerables) and restricted to testnets."] pub fn invulnerables( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::invulnerables::Invulnerables, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Invulnerables", (), @@ -23023,14 +21847,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn bonded_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bonded::Bonded, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Bonded", (), @@ -23048,21 +21872,17 @@ pub mod api { pub fn bonded( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::bonded::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::bonded::Bonded, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Bonded", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 99u8, 128u8, 108u8, 100u8, 235u8, 102u8, 243u8, 95u8, 61u8, 206u8, 220u8, 49u8, 155u8, 85u8, 236u8, 110u8, 99u8, 21u8, 117u8, 127u8, @@ -23074,14 +21894,14 @@ pub mod api { #[doc = " The minimum active bond to become and maintain the role of a nominator."] pub fn min_nominator_bond( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_nominator_bond::MinNominatorBond, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinNominatorBond", (), @@ -23096,14 +21916,14 @@ pub mod api { #[doc = " The minimum active bond to become and maintain the role of a validator."] pub fn min_validator_bond( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_validator_bond::MinValidatorBond, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinValidatorBond", (), @@ -23118,14 +21938,14 @@ pub mod api { #[doc = " The minimum active nominator stake of the last successful election."] pub fn minimum_active_stake( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::minimum_active_stake::MinimumActiveStake, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinimumActiveStake", (), @@ -23141,14 +21961,14 @@ pub mod api { #[doc = " If set to `0`, no limit exists."] pub fn min_commission( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_commission::MinCommission, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinCommission", (), @@ -23165,14 +21985,14 @@ pub mod api { #[doc = " by [`StakingLedger`] to ensure data and lock consistency."] pub fn ledger_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::ledger::Ledger, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Ledger", (), @@ -23190,21 +22010,17 @@ pub mod api { pub fn ledger( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::ledger::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::ledger::Ledger, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Ledger", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 109u8, 240u8, 70u8, 127u8, 227u8, 170u8, 76u8, 152u8, 52u8, 24u8, 90u8, 23u8, 56u8, 59u8, 16u8, 55u8, 68u8, 214u8, 235u8, 142u8, 189u8, 234u8, @@ -23217,14 +22033,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn payee_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::payee::Payee, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Payee", (), @@ -23242,21 +22058,17 @@ pub mod api { pub fn payee( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::payee::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::payee::Payee, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Payee", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 218u8, 38u8, 125u8, 139u8, 146u8, 230u8, 58u8, 61u8, 163u8, 36u8, 81u8, 175u8, 227u8, 148u8, 135u8, 196u8, 132u8, 198u8, 228u8, 137u8, 4u8, @@ -23270,14 +22082,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn validators_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::validators::Validators, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Validators", (), @@ -23294,21 +22106,17 @@ pub mod api { pub fn validators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::validators::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::validators::Validators, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Validators", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 149u8, 207u8, 68u8, 38u8, 24u8, 220u8, 207u8, 84u8, 236u8, 33u8, 210u8, 124u8, 200u8, 99u8, 98u8, 29u8, 235u8, 46u8, 124u8, 4u8, 203u8, 6u8, @@ -23319,14 +22127,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_validators( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_validators::CounterForValidators, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CounterForValidators", (), @@ -23343,14 +22151,14 @@ pub mod api { #[doc = " When this value is not set, no limits are enforced."] pub fn max_validators_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::max_validators_count::MaxValidatorsCount, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MaxValidatorsCount", (), @@ -23383,14 +22191,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn nominators_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::nominators::Nominators, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Nominators", (), @@ -23423,21 +22231,17 @@ pub mod api { pub fn nominators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::nominators::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::nominators::Nominators, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Nominators", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 244u8, 174u8, 214u8, 105u8, 215u8, 218u8, 241u8, 145u8, 155u8, 54u8, 219u8, 34u8, 158u8, 224u8, 251u8, 17u8, 245u8, 9u8, 150u8, 36u8, 2u8, @@ -23448,14 +22252,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_nominators( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_nominators::CounterForNominators, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CounterForNominators", (), @@ -23474,14 +22278,14 @@ pub mod api { #[doc = " via low level apis. We keep track of them to do minimal integrity checks."] pub fn virtual_stakers_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::virtual_stakers::VirtualStakers, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "VirtualStakers", (), @@ -23501,21 +22305,19 @@ pub mod api { pub fn virtual_stakers( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::virtual_stakers::Param0, >, types::virtual_stakers::VirtualStakers, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "VirtualStakers", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 176u8, 114u8, 176u8, 164u8, 4u8, 33u8, 248u8, 152u8, 206u8, 8u8, 241u8, 209u8, 96u8, 131u8, 145u8, 120u8, 74u8, 141u8, 249u8, 208u8, 93u8, @@ -23526,14 +22328,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_virtual_stakers( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_virtual_stakers::CounterForVirtualStakers, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CounterForVirtualStakers", (), @@ -23550,14 +22352,14 @@ pub mod api { #[doc = " When this value is not set, no limits are enforced."] pub fn max_nominators_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::max_nominators_count::MaxNominatorsCount, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MaxNominatorsCount", (), @@ -23574,14 +22376,14 @@ pub mod api { #[doc = " set, it might be active or not."] pub fn current_era( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_era::CurrentEra, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CurrentEra", (), @@ -23599,14 +22401,14 @@ pub mod api { #[doc = " equal to [`SessionInterface::validators`]."] pub fn active_era( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::active_era::ActiveEra, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ActiveEra", (), @@ -23624,14 +22426,14 @@ pub mod api { #[doc = " for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`."] pub fn eras_start_session_index_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_start_session_index::ErasStartSessionIndex, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStartSessionIndex", (), @@ -23649,21 +22451,19 @@ pub mod api { pub fn eras_start_session_index( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_start_session_index::Param0, >, types::eras_start_session_index::ErasStartSessionIndex, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStartSessionIndex", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 104u8, 76u8, 102u8, 20u8, 9u8, 146u8, 55u8, 204u8, 12u8, 15u8, 117u8, 22u8, 54u8, 230u8, 98u8, 105u8, 191u8, 136u8, 140u8, 65u8, 48u8, 29u8, @@ -23681,14 +22481,14 @@ pub mod api { #[doc = " Note: Deprecated since v14. Use `EraInfo` instead to work with exposures."] pub fn eras_stakers_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_stakers::ErasStakers, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakers", (), @@ -23711,21 +22511,17 @@ pub mod api { pub fn eras_stakers_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::eras_stakers::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::eras_stakers::ErasStakers, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakers", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 120u8, 64u8, 232u8, 134u8, 109u8, 212u8, 242u8, 64u8, 68u8, 196u8, 108u8, 91u8, 255u8, 123u8, 245u8, 27u8, 55u8, 254u8, 60u8, 74u8, 183u8, @@ -23746,30 +22542,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers::Param1, >, ), types::eras_stakers::ErasStakers, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakers", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 120u8, 64u8, 232u8, 134u8, 109u8, 212u8, 242u8, 64u8, 68u8, 196u8, @@ -23793,14 +22585,14 @@ pub mod api { #[doc = " If stakers hasn't been set or has been removed then empty overview is returned."] pub fn eras_stakers_overview_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_stakers_overview::ErasStakersOverview, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersOverview", (), @@ -23827,21 +22619,19 @@ pub mod api { pub fn eras_stakers_overview_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_overview::Param0, >, types::eras_stakers_overview::ErasStakersOverview, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersOverview", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 235u8, 255u8, 39u8, 72u8, 235u8, 168u8, 98u8, 191u8, 30u8, 195u8, 141u8, 103u8, 167u8, 115u8, 74u8, 170u8, 117u8, 153u8, 151u8, 186u8, @@ -23866,30 +22656,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_overview::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_overview::Param1, >, ), types::eras_stakers_overview::ErasStakersOverview, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersOverview", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 235u8, 255u8, 39u8, 72u8, 235u8, 168u8, 98u8, 191u8, 30u8, 195u8, @@ -23917,14 +22703,14 @@ pub mod api { #[doc = " Note: Deprecated since v14. Use `EraInfo` instead to work with exposures."] pub fn eras_stakers_clipped_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_stakers_clipped::ErasStakersClipped, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersClipped", (), @@ -23955,21 +22741,19 @@ pub mod api { pub fn eras_stakers_clipped_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_clipped::Param0, >, types::eras_stakers_clipped::ErasStakersClipped, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersClipped", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 85u8, 192u8, 164u8, 53u8, 181u8, 61u8, 132u8, 255u8, 144u8, 41u8, 44u8, 199u8, 34u8, 11u8, 248u8, 81u8, 203u8, 204u8, 152u8, 138u8, 112u8, @@ -23998,30 +22782,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_clipped::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_clipped::Param1, >, ), types::eras_stakers_clipped::ErasStakersClipped, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersClipped", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 85u8, 192u8, 164u8, 53u8, 181u8, 61u8, 132u8, 255u8, 144u8, 41u8, 44u8, @@ -24039,14 +22819,14 @@ pub mod api { #[doc = " This is cleared after [`Config::HistoryDepth`] eras."] pub fn eras_stakers_paged_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_stakers_paged::ErasStakersPaged, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", (), @@ -24067,21 +22847,19 @@ pub mod api { pub fn eras_stakers_paged_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param0, >, types::eras_stakers_paged::ErasStakersPaged, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 111u8, 11u8, 84u8, 186u8, 98u8, 173u8, 68u8, 65u8, 58u8, 241u8, 211u8, 126u8, 10u8, 96u8, 40u8, 20u8, 233u8, 238u8, 116u8, 113u8, 215u8, @@ -24100,30 +22878,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param1, >, ), types::eras_stakers_paged::ErasStakersPaged, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 111u8, 11u8, 84u8, 186u8, 98u8, 173u8, 68u8, 65u8, 58u8, 241u8, 211u8, @@ -24144,36 +22918,30 @@ pub mod api { _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, _2: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param1, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param2, >, ), types::eras_stakers_paged::ErasStakersPaged, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", ( - ::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(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_2.borrow()), ), [ 111u8, 11u8, 84u8, 186u8, 98u8, 173u8, 68u8, 65u8, 58u8, 241u8, 211u8, @@ -24191,14 +22959,14 @@ pub mod api { #[doc = " It is removed after [`Config::HistoryDepth`] eras."] pub fn claimed_rewards_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::claimed_rewards::ClaimedRewards, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ClaimedRewards", (), @@ -24218,21 +22986,19 @@ pub mod api { pub fn claimed_rewards_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::claimed_rewards::Param0, >, types::claimed_rewards::ClaimedRewards, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ClaimedRewards", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 44u8, 248u8, 79u8, 211u8, 69u8, 179u8, 60u8, 185u8, 3u8, 175u8, 51u8, 137u8, 222u8, 150u8, 73u8, 60u8, 178u8, 0u8, 179u8, 117u8, 37u8, 86u8, @@ -24250,30 +23016,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::claimed_rewards::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::claimed_rewards::Param1, >, ), types::claimed_rewards::ClaimedRewards, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ClaimedRewards", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 44u8, 248u8, 79u8, 211u8, 69u8, 179u8, 60u8, 185u8, 3u8, 175u8, 51u8, @@ -24289,14 +23051,14 @@ pub mod api { #[doc = " Is it removed after [`Config::HistoryDepth`] eras."] pub fn eras_validator_prefs_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_validator_prefs::ErasValidatorPrefs, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorPrefs", (), @@ -24315,21 +23077,19 @@ pub mod api { pub fn eras_validator_prefs_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_validator_prefs::Param0, >, types::eras_validator_prefs::ErasValidatorPrefs, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorPrefs", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 134u8, 250u8, 229u8, 21u8, 44u8, 119u8, 43u8, 99u8, 69u8, 94u8, 177u8, 180u8, 174u8, 134u8, 54u8, 25u8, 56u8, 144u8, 194u8, 149u8, 56u8, @@ -24346,30 +23106,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_validator_prefs::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::eras_validator_prefs::Param1, >, ), types::eras_validator_prefs::ErasValidatorPrefs, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorPrefs", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 134u8, 250u8, 229u8, 21u8, 44u8, 119u8, 43u8, 99u8, 69u8, 94u8, 177u8, @@ -24383,14 +23139,14 @@ pub mod api { #[doc = " Eras that haven't finished yet or has been removed doesn't have reward."] pub fn eras_validator_reward_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_validator_reward::ErasValidatorReward, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorReward", (), @@ -24407,21 +23163,19 @@ pub mod api { pub fn eras_validator_reward( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_validator_reward::Param0, >, types::eras_validator_reward::ErasValidatorReward, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorReward", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 185u8, 85u8, 179u8, 163u8, 178u8, 168u8, 141u8, 200u8, 59u8, 77u8, 2u8, 197u8, 36u8, 188u8, 133u8, 117u8, 2u8, 25u8, 105u8, 132u8, 44u8, 75u8, @@ -24433,14 +23187,14 @@ pub mod api { #[doc = " If reward hasn't been set or has been removed then 0 reward is returned."] pub fn eras_reward_points_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_reward_points::ErasRewardPoints, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasRewardPoints", (), @@ -24456,21 +23210,19 @@ pub mod api { pub fn eras_reward_points( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_reward_points::Param0, >, types::eras_reward_points::ErasRewardPoints, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasRewardPoints", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 135u8, 0u8, 85u8, 241u8, 213u8, 133u8, 30u8, 192u8, 251u8, 191u8, 41u8, 38u8, 233u8, 236u8, 218u8, 246u8, 166u8, 93u8, 46u8, 37u8, 48u8, 187u8, @@ -24482,14 +23234,14 @@ pub mod api { #[doc = " If total hasn't been set or has been removed then 0 stake is returned."] pub fn eras_total_stake_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::eras_total_stake::ErasTotalStake, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasTotalStake", (), @@ -24506,21 +23258,19 @@ pub mod api { pub fn eras_total_stake( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::eras_total_stake::Param0, >, types::eras_total_stake::ErasTotalStake, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasTotalStake", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 8u8, 78u8, 101u8, 62u8, 124u8, 126u8, 66u8, 26u8, 47u8, 126u8, 239u8, 204u8, 222u8, 104u8, 19u8, 108u8, 238u8, 160u8, 112u8, 242u8, 56u8, @@ -24532,14 +23282,14 @@ pub mod api { #[doc = " Mode of era forcing."] pub fn force_era( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::force_era::ForceEra, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ForceEra", (), @@ -24556,14 +23306,14 @@ pub mod api { #[doc = " See [Era payout](./index.html#era-payout)."] pub fn max_staked_rewards( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::max_staked_rewards::MaxStakedRewards, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MaxStakedRewards", (), @@ -24579,14 +23329,14 @@ pub mod api { #[doc = " The rest of the slashed value is handled by the `Slash`."] pub fn slash_reward_fraction( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::slash_reward_fraction::SlashRewardFraction, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SlashRewardFraction", (), @@ -24602,14 +23352,14 @@ pub mod api { #[doc = " canceled by extraordinary circumstances (e.g. governance)."] pub fn canceled_slash_payout( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::canceled_slash_payout::CanceledSlashPayout, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CanceledSlashPayout", (), @@ -24624,14 +23374,14 @@ pub mod api { #[doc = " All unapplied slashes that are queued for later."] pub fn unapplied_slashes_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::unapplied_slashes::UnappliedSlashes, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "UnappliedSlashes", (), @@ -24647,21 +23397,19 @@ pub mod api { pub fn unapplied_slashes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param0, >, types::unapplied_slashes::UnappliedSlashes, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "UnappliedSlashes", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 158u8, 134u8, 7u8, 21u8, 200u8, 222u8, 197u8, 166u8, 199u8, 39u8, 1u8, 167u8, 164u8, 154u8, 165u8, 118u8, 92u8, 223u8, 219u8, 136u8, 196u8, @@ -24676,14 +23424,14 @@ pub mod api { #[doc = " `[active_era - bounding_duration; active_era]`"] pub fn bonded_eras( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bonded_eras::BondedEras, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "BondedEras", (), @@ -24699,14 +23447,14 @@ pub mod api { #[doc = " and slash value of the era."] pub fn validator_slash_in_era_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::validator_slash_in_era::ValidatorSlashInEra, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorSlashInEra", (), @@ -24722,21 +23470,19 @@ pub mod api { pub fn validator_slash_in_era_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::validator_slash_in_era::Param0, >, types::validator_slash_in_era::ValidatorSlashInEra, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorSlashInEra", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 245u8, 72u8, 52u8, 22u8, 10u8, 177u8, 127u8, 83u8, 180u8, 246u8, 17u8, 82u8, 6u8, 231u8, 131u8, 68u8, 73u8, 92u8, 241u8, 251u8, 32u8, 97u8, @@ -24750,30 +23496,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::validator_slash_in_era::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::validator_slash_in_era::Param1, >, ), types::validator_slash_in_era::ValidatorSlashInEra, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorSlashInEra", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 245u8, 72u8, 52u8, 22u8, 10u8, 177u8, 127u8, 83u8, 180u8, 246u8, 17u8, @@ -24785,14 +23527,14 @@ pub mod api { #[doc = " All slashing events on nominators, mapped by era to the highest slash value of the era."] pub fn nominator_slash_in_era_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::nominator_slash_in_era::NominatorSlashInEra, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "NominatorSlashInEra", (), @@ -24807,21 +23549,19 @@ pub mod api { pub fn nominator_slash_in_era_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::nominator_slash_in_era::Param0, >, types::nominator_slash_in_era::NominatorSlashInEra, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "NominatorSlashInEra", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 8u8, 89u8, 171u8, 183u8, 64u8, 29u8, 44u8, 185u8, 11u8, 204u8, 67u8, 60u8, 208u8, 132u8, 9u8, 214u8, 13u8, 148u8, 205u8, 26u8, 5u8, 7u8, @@ -24834,30 +23574,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::nominator_slash_in_era::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::nominator_slash_in_era::Param1, >, ), types::nominator_slash_in_era::NominatorSlashInEra, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "NominatorSlashInEra", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 8u8, 89u8, 171u8, 183u8, 64u8, 29u8, 44u8, 185u8, 11u8, 204u8, 67u8, @@ -24869,14 +23605,14 @@ pub mod api { #[doc = " Slashing spans for stash accounts."] pub fn slashing_spans_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::slashing_spans::SlashingSpans, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SlashingSpans", (), @@ -24892,21 +23628,17 @@ pub mod api { pub fn slashing_spans( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::slashing_spans::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::slashing_spans::SlashingSpans, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SlashingSpans", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 74u8, 169u8, 189u8, 252u8, 193u8, 191u8, 114u8, 107u8, 158u8, 125u8, 252u8, 35u8, 177u8, 129u8, 99u8, 24u8, 77u8, 223u8, 238u8, 24u8, 237u8, @@ -24919,14 +23651,14 @@ pub mod api { #[doc = " as well as how much reward has been paid out."] pub fn span_slash_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::span_slash::SpanSlash, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SpanSlash", (), @@ -24942,21 +23674,17 @@ pub mod api { pub fn span_slash_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::span_slash::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::span_slash::SpanSlash, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SpanSlash", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 158u8, 168u8, 151u8, 108u8, 4u8, 168u8, 253u8, 28u8, 69u8, 111u8, 99u8, 235u8, 175u8, 72u8, 48u8, 238u8, 239u8, 142u8, 40u8, 142u8, 97u8, 77u8, @@ -24970,30 +23698,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::span_slash::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::span_slash::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::span_slash::SpanSlash, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SpanSlash", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 158u8, 168u8, 151u8, 108u8, 4u8, 168u8, 253u8, 28u8, 69u8, 111u8, 99u8, @@ -25007,14 +23727,14 @@ pub mod api { #[doc = " This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]."] pub fn current_planned_session( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_planned_session::CurrentPlannedSession, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CurrentPlannedSession", (), @@ -25034,14 +23754,14 @@ pub mod api { #[doc = " offended using binary search."] pub fn disabled_validators( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::disabled_validators::DisabledValidators, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "DisabledValidators", (), @@ -25057,14 +23777,14 @@ pub mod api { #[doc = " (`CountFor*`) in the system compared to the configured max (`Max*Count`)."] pub fn chill_threshold( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::chill_threshold::ChillThreshold, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ChillThreshold", (), @@ -25103,10 +23823,8 @@ pub mod api { #[doc = " The test `reducing_history_depth_abrupt` shows this effect."] pub fn history_depth( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Staking", "HistoryDepth", [ @@ -25120,10 +23838,8 @@ pub mod api { #[doc = " Number of sessions per era."] pub fn sessions_per_era( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Staking", "SessionsPerEra", [ @@ -25137,10 +23853,8 @@ pub mod api { #[doc = " Number of eras that staked funds must remain bonded for."] pub fn bonding_duration( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Staking", "BondingDuration", [ @@ -25157,10 +23871,8 @@ pub mod api { #[doc = " should be applied immediately, without opportunity for intervention."] pub fn slash_defer_duration( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Staking", "SlashDeferDuration", [ @@ -25184,10 +23896,8 @@ pub mod api { #[doc = " without handling it in a migration."] pub fn max_exposure_page_size( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Staking", "MaxExposurePageSize", [ @@ -25210,10 +23920,8 @@ pub mod api { #[doc = " this effect."] pub fn max_unlocking_chunks( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Staking", "MaxUnlockingChunks", [ @@ -25241,23 +23949,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -25274,31 +23978,26 @@ pub mod api { pub mod set_keys { use super::runtime_types; pub type Keys = runtime_types::tangle_testnet_runtime::opaque::SessionKeys; - pub type Proof = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Proof = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetKeys { + impl ::subxt_core::blocks::StaticExtrinsic for SetKeys { const PALLET: &'static str = "Session"; const CALL: &'static str = "set_keys"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Removes any session key(s) of the function caller."] #[doc = ""] #[doc = "This doesn't take effect until the next session."] @@ -25312,7 +24011,7 @@ pub mod api { #[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 struct PurgeKeys; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PurgeKeys { + impl ::subxt_core::blocks::StaticExtrinsic for PurgeKeys { const PALLET: &'static str = "Session"; const CALL: &'static str = "purge_keys"; } @@ -25332,8 +24031,8 @@ pub mod api { &self, keys: types::set_keys::Keys, proof: types::set_keys::Proof, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Session", "set_keys", types::SetKeys { keys, proof }, @@ -25358,8 +24057,8 @@ pub mod api { #[doc = " `T::Keys::key_ids()` which is fixed."] pub fn purge_keys( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Session", "purge_keys", types::PurgeKeys {}, @@ -25378,19 +24077,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -25400,7 +24099,7 @@ pub mod api { use super::runtime_types; pub type SessionIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NewSession { + impl ::subxt_core::events::StaticEvent for NewSession { const PALLET: &'static str = "Session"; const EVENT: &'static str = "NewSession"; } @@ -25411,9 +24110,8 @@ pub mod api { use super::runtime_types; pub mod validators { use super::runtime_types; - pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Validators = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } pub mod current_index { use super::runtime_types; @@ -25425,24 +24123,24 @@ pub mod api { } pub mod queued_keys { use super::runtime_types; - pub type QueuedKeys = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, + pub type QueuedKeys = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, runtime_types::tangle_testnet_runtime::opaque::SessionKeys, )>; } pub mod disabled_validators { use super::runtime_types; pub type DisabledValidators = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } pub mod next_keys { use super::runtime_types; pub type NextKeys = runtime_types::tangle_testnet_runtime::opaque::SessionKeys; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod key_owner { use super::runtime_types; - pub type KeyOwner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type KeyOwner = ::subxt_core::utils::AccountId32; pub type Param0 = runtime_types::sp_core::crypto::KeyTypeId; pub type Param1 = [::core::primitive::u8]; } @@ -25452,14 +24150,14 @@ pub mod api { #[doc = " The current set of validators."] pub fn validators( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::validators::Validators, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "Validators", (), @@ -25474,14 +24172,14 @@ pub mod api { #[doc = " Current index of the session."] pub fn current_index( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_index::CurrentIndex, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "CurrentIndex", (), @@ -25497,14 +24195,14 @@ pub mod api { #[doc = " has changed in the queued validator set."] pub fn queued_changed( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::queued_changed::QueuedChanged, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "QueuedChanged", (), @@ -25520,14 +24218,14 @@ pub mod api { #[doc = " will be used to determine the validator's session keys."] pub fn queued_keys( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::queued_keys::QueuedKeys, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "QueuedKeys", (), @@ -25545,14 +24243,14 @@ pub mod api { #[doc = " a new set of identities."] pub fn disabled_validators( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::disabled_validators::DisabledValidators, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "DisabledValidators", (), @@ -25566,14 +24264,14 @@ pub mod api { #[doc = " The next session keys for a validator."] pub fn next_keys_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_keys::NextKeys, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "NextKeys", (), @@ -25588,21 +24286,17 @@ pub mod api { pub fn next_keys( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::next_keys::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::next_keys::NextKeys, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "NextKeys", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 51u8, 114u8, 107u8, 2u8, 144u8, 184u8, 167u8, 66u8, 213u8, 2u8, 91u8, 69u8, 17u8, 28u8, 34u8, 5u8, 89u8, 79u8, 23u8, 55u8, 5u8, 222u8, 177u8, @@ -25613,14 +24307,14 @@ pub mod api { #[doc = " The owner of a key. The key is the `KeyTypeId` + the encoded key."] pub fn key_owner_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::key_owner::KeyOwner, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "KeyOwner", (), @@ -25636,21 +24330,17 @@ pub mod api { pub fn key_owner_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::key_owner::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::key_owner::KeyOwner, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "KeyOwner", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -25664,30 +24354,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::key_owner::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::key_owner::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::key_owner::KeyOwner, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Session", "KeyOwner", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 217u8, 204u8, 21u8, 114u8, 247u8, 129u8, 32u8, 242u8, 93u8, 91u8, @@ -25710,7 +24392,7 @@ pub mod api { pub mod historical_sessions { use super::runtime_types; pub type HistoricalSessions = - (::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32); + (::subxt_core::utils::H256, ::core::primitive::u32); pub type Param0 = ::core::primitive::u32; } pub mod stored_range { @@ -25723,14 +24405,14 @@ pub mod api { #[doc = " Mapping from historical session indices to session-data root hash and validator count."] pub fn historical_sessions_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::historical_sessions::HistoricalSessions, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Historical", "HistoricalSessions", (), @@ -25746,21 +24428,19 @@ pub mod api { pub fn historical_sessions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::historical_sessions::Param0, >, types::historical_sessions::HistoricalSessions, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Historical", "HistoricalSessions", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 9u8, 138u8, 247u8, 141u8, 178u8, 146u8, 124u8, 81u8, 162u8, 211u8, 205u8, 149u8, 222u8, 254u8, 253u8, 188u8, 170u8, 242u8, 218u8, 41u8, @@ -25772,14 +24452,14 @@ pub mod api { #[doc = " The range of historical sessions we store. [first, last)"] pub fn stored_range( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::stored_range::StoredRange, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Historical", "StoredRange", (), @@ -25807,23 +24487,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Propose and approve a spend of treasury funds."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -25849,33 +24525,29 @@ pub mod api { pub mod spend_local { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SpendLocal { + impl ::subxt_core::blocks::StaticExtrinsic for SpendLocal { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "spend_local"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Force a previously approved proposal to be removed from the approval queue."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -25905,28 +24577,24 @@ pub mod api { use super::runtime_types; pub type ProposalId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveApproval { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveApproval { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "remove_approval"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Propose and approve a spend of treasury funds."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -25954,42 +24622,37 @@ pub mod api { #[doc = ""] #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] pub struct Spend { - pub asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub asset_kind: ::subxt_core::alloc::boxed::Box, #[codec(compact)] pub amount: spend::Amount, - pub beneficiary: - ::subxt::ext::subxt_core::alloc::boxed::Box, + pub beneficiary: ::subxt_core::alloc::boxed::Box, pub valid_from: spend::ValidFrom, } pub mod spend { use super::runtime_types; pub type AssetKind = (); pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt_core::utils::AccountId32; pub type ValidFrom = ::core::option::Option<::core::primitive::u64>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Spend { + impl ::subxt_core::blocks::StaticExtrinsic for Spend { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "spend"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claim a spend."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -26016,28 +24679,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Payout { + impl ::subxt_core::blocks::StaticExtrinsic for Payout { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "payout"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Check the status of the spend and remove it from the storage if processed."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -26064,28 +24723,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CheckStatus { + impl ::subxt_core::blocks::StaticExtrinsic for CheckStatus { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "check_status"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Void previously approved spend."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -26109,7 +24764,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VoidSpend { + impl ::subxt_core::blocks::StaticExtrinsic for VoidSpend { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "void_spend"; } @@ -26137,8 +24792,8 @@ pub mod api { &self, amount: types::spend_local::Amount, beneficiary: types::spend_local::Beneficiary, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "spend_local", types::SpendLocal { amount, beneficiary }, @@ -26173,9 +24828,8 @@ pub mod api { pub fn remove_approval( &self, proposal_id: types::remove_approval::ProposalId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "remove_approval", types::RemoveApproval { proposal_id }, @@ -26219,18 +24873,14 @@ pub mod api { amount: types::spend::Amount, beneficiary: types::spend::Beneficiary, valid_from: types::spend::ValidFrom, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "spend", types::Spend { - asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box::new( - asset_kind, - ), + asset_kind: ::subxt_core::alloc::boxed::Box::new(asset_kind), amount, - beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box::new( - beneficiary, - ), + beneficiary: ::subxt_core::alloc::boxed::Box::new(beneficiary), valid_from, }, [ @@ -26263,8 +24913,8 @@ pub mod api { pub fn payout( &self, index: types::payout::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "payout", types::Payout { index }, @@ -26297,8 +24947,8 @@ pub mod api { pub fn check_status( &self, index: types::check_status::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "check_status", types::CheckStatus { index }, @@ -26328,8 +24978,8 @@ pub mod api { pub fn void_spend( &self, index: types::void_spend::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "void_spend", types::VoidSpend { index }, @@ -26347,19 +24997,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -26368,24 +25018,24 @@ pub mod api { use super::runtime_types; pub type BudgetRemaining = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Spending { + impl ::subxt_core::events::StaticEvent for Spending { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Spending"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some funds have been allocated."] pub struct Awarded { pub proposal_index: awarded::ProposalIndex, @@ -26396,26 +25046,26 @@ pub mod api { use super::runtime_types; pub type ProposalIndex = ::core::primitive::u32; pub type Award = ::core::primitive::u128; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Awarded { + impl ::subxt_core::events::StaticEvent for Awarded { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Awarded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some of our funds have been burnt."] pub struct Burnt { pub burnt_funds: burnt::BurntFunds, @@ -26424,24 +25074,24 @@ pub mod api { use super::runtime_types; pub type BurntFunds = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Burnt { + impl ::subxt_core::events::StaticEvent for Burnt { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Burnt"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -26450,24 +25100,24 @@ pub mod api { use super::runtime_types; pub type RolloverBalance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Rollover { + impl ::subxt_core::events::StaticEvent for Rollover { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Rollover"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Some funds have been deposited."] pub struct Deposit { pub value: deposit::Value, @@ -26476,24 +25126,24 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { + impl ::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Deposit"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new spend proposal has been approved."] pub struct SpendApproved { pub proposal_index: spend_approved::ProposalIndex, @@ -26504,26 +25154,26 @@ pub mod api { use super::runtime_types; pub type ProposalIndex = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SpendApproved { + impl ::subxt_core::events::StaticEvent for SpendApproved { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "SpendApproved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The inactive funds of the pallet have been updated."] pub struct UpdatedInactive { pub reactivated: updated_inactive::Reactivated, @@ -26534,24 +25184,24 @@ pub mod api { pub type Reactivated = ::core::primitive::u128; pub type Deactivated = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for UpdatedInactive { + impl ::subxt_core::events::StaticEvent for UpdatedInactive { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "UpdatedInactive"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new asset spend proposal has been approved."] pub struct AssetSpendApproved { pub index: asset_spend_approved::Index, @@ -26566,28 +25216,28 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type AssetKind = (); pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt_core::utils::AccountId32; pub type ValidFrom = ::core::primitive::u64; pub type ExpireAt = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AssetSpendApproved { + impl ::subxt_core::events::StaticEvent for AssetSpendApproved { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "AssetSpendApproved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An approved spend was voided."] pub struct AssetSpendVoided { pub index: asset_spend_voided::Index, @@ -26596,24 +25246,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AssetSpendVoided { + impl ::subxt_core::events::StaticEvent for AssetSpendVoided { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "AssetSpendVoided"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A payment happened."] pub struct Paid { pub index: paid::Index, @@ -26624,24 +25274,24 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type PaymentId = (); } - impl ::subxt::ext::subxt_core::events::StaticEvent for Paid { + impl ::subxt_core::events::StaticEvent for Paid { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Paid"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A payment failed and can be retried."] pub struct PaymentFailed { pub index: payment_failed::Index, @@ -26652,24 +25302,24 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type PaymentId = (); } - impl ::subxt::ext::subxt_core::events::StaticEvent for PaymentFailed { + impl ::subxt_core::events::StaticEvent for PaymentFailed { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "PaymentFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -26679,7 +25329,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SpendProcessed { + impl ::subxt_core::events::StaticEvent for SpendProcessed { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "SpendProcessed"; } @@ -26695,7 +25345,7 @@ pub mod api { pub mod proposals { use super::runtime_types; pub type Proposals = runtime_types::pallet_treasury::Proposal< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; @@ -26720,7 +25370,7 @@ pub mod api { pub type Spends = runtime_types::pallet_treasury::SpendStatus< (), ::core::primitive::u128, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u64, (), >; @@ -26732,14 +25382,14 @@ pub mod api { #[doc = " Number of proposals that have been made."] pub fn proposal_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::proposal_count::ProposalCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "ProposalCount", (), @@ -26753,14 +25403,14 @@ pub mod api { #[doc = " Proposals that have been made."] pub fn proposals_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::proposals::Proposals, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Proposals", (), @@ -26776,21 +25426,17 @@ pub mod api { pub fn proposals( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::proposals::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::proposals::Proposals, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Proposals", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -26802,14 +25448,14 @@ pub mod api { #[doc = " The amount which has been reported as inactive to Currency."] pub fn deactivated( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::deactivated::Deactivated, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Deactivated", (), @@ -26824,14 +25470,14 @@ pub mod api { #[doc = " Proposal indices that have been approved but not yet awarded."] pub fn approvals( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::approvals::Approvals, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Approvals", (), @@ -26845,14 +25491,14 @@ pub mod api { #[doc = " The count of spends that have been made."] pub fn spend_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::spend_count::SpendCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "SpendCount", (), @@ -26867,14 +25513,14 @@ pub mod api { #[doc = " Spends that have been approved and being processed."] pub fn spends_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::spends::Spends, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Spends", (), @@ -26889,21 +25535,17 @@ pub mod api { pub fn spends( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::spends::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::spends::Spends, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Spends", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 156u8, 92u8, 96u8, 152u8, 53u8, 132u8, 115u8, 226u8, 178u8, 130u8, 50u8, 11u8, 217u8, 191u8, 189u8, 65u8, 91u8, 94u8, 176u8, 90u8, 76u8, @@ -26920,10 +25562,8 @@ pub mod api { #[doc = " Period between successive spends."] pub fn spend_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "SpendPeriod", [ @@ -26937,10 +25577,10 @@ pub mod api { #[doc = " Percentage of spare funds (if any) that are burnt per spend period."] pub fn burn( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_arithmetic::per_things::Permill, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "Burn", [ @@ -26953,10 +25593,10 @@ pub mod api { #[doc = " The treasury's pallet id, used for deriving its sovereign account ID."] pub fn pallet_id( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::frame_support::PalletId, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "PalletId", [ @@ -26971,10 +25611,8 @@ pub mod api { #[doc = " NOTE: This parameter is also used within the Bounties Pallet extension if enabled."] pub fn max_approvals( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "MaxApprovals", [ @@ -26988,10 +25626,8 @@ pub mod api { #[doc = " The period during which an approved treasury spend has to be claimed."] pub fn payout_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "PayoutPeriod", [ @@ -27019,23 +25655,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Propose a new bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -27056,31 +25688,26 @@ pub mod api { pub mod propose_bounty { use super::runtime_types; pub type Value = ::core::primitive::u128; - pub type Description = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Description = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeBounty { + impl ::subxt_core::blocks::StaticExtrinsic for ProposeBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "propose_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -27096,28 +25723,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveBounty { + impl ::subxt_core::blocks::StaticExtrinsic for ApproveBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "approve_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Propose a curator to a funded bounty."] #[doc = ""] #[doc = "May only be called from `T::SpendOrigin`."] @@ -27134,34 +25757,30 @@ pub mod api { pub mod propose_curator { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Curator = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Fee = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeCurator { + impl ::subxt_core::blocks::StaticExtrinsic for ProposeCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "propose_curator"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unassign curator from a bounty."] #[doc = ""] #[doc = "This function can only be called by the `RejectOrigin` a signed origin."] @@ -27187,28 +25806,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnassignCurator { + impl ::subxt_core::blocks::StaticExtrinsic for UnassignCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "unassign_curator"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -27224,28 +25839,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptCurator { + impl ::subxt_core::blocks::StaticExtrinsic for AcceptCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "accept_curator"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Award bounty to a beneficiary account. The beneficiary will be able to claim the funds"] #[doc = "after a delay."] #[doc = ""] @@ -27264,33 +25875,29 @@ pub mod api { pub mod award_bounty { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AwardBounty { + impl ::subxt_core::blocks::StaticExtrinsic for AwardBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "award_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -27307,28 +25914,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimBounty { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "claim_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -27346,28 +25949,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CloseBounty { + impl ::subxt_core::blocks::StaticExtrinsic for CloseBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "close_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -27385,10 +25984,9 @@ pub mod api { pub mod extend_bounty_expiry { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Remark = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Remark = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExtendBountyExpiry { + impl ::subxt_core::blocks::StaticExtrinsic for ExtendBountyExpiry { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "extend_bounty_expiry"; } @@ -27411,9 +26009,8 @@ pub mod api { &self, value: types::propose_bounty::Value, description: types::propose_bounty::Description, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "propose_bounty", types::ProposeBounty { value, description }, @@ -27434,9 +26031,8 @@ pub mod api { pub fn approve_bounty( &self, bounty_id: types::approve_bounty::BountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "approve_bounty", types::ApproveBounty { bounty_id }, @@ -27459,9 +26055,8 @@ pub mod api { bounty_id: types::propose_curator::BountyId, curator: types::propose_curator::Curator, fee: types::propose_curator::Fee, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "propose_curator", types::ProposeCurator { bounty_id, curator, fee }, @@ -27493,9 +26088,8 @@ pub mod api { pub fn unassign_curator( &self, bounty_id: types::unassign_curator::BountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "unassign_curator", types::UnassignCurator { bounty_id }, @@ -27517,9 +26111,8 @@ pub mod api { pub fn accept_curator( &self, bounty_id: types::accept_curator::BountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "accept_curator", types::AcceptCurator { bounty_id }, @@ -27544,8 +26137,8 @@ pub mod api { &self, bounty_id: types::award_bounty::BountyId, beneficiary: types::award_bounty::Beneficiary, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "award_bounty", types::AwardBounty { bounty_id, beneficiary }, @@ -27567,8 +26160,8 @@ pub mod api { pub fn claim_bounty( &self, bounty_id: types::claim_bounty::BountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "claim_bounty", types::ClaimBounty { bounty_id }, @@ -27592,8 +26185,8 @@ pub mod api { pub fn close_bounty( &self, bounty_id: types::close_bounty::BountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "close_bounty", types::CloseBounty { bounty_id }, @@ -27618,9 +26211,8 @@ pub mod api { &self, bounty_id: types::extend_bounty_expiry::BountyId, remark: types::extend_bounty_expiry::Remark, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "extend_bounty_expiry", types::ExtendBountyExpiry { bounty_id, remark }, @@ -27639,19 +26231,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "New bounty proposal."] pub struct BountyProposed { pub index: bounty_proposed::Index, @@ -27660,24 +26252,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyProposed { + impl ::subxt_core::events::StaticEvent for BountyProposed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyProposed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty proposal was rejected; funds were slashed."] pub struct BountyRejected { pub index: bounty_rejected::Index, @@ -27688,24 +26280,24 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Bond = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyRejected { + impl ::subxt_core::events::StaticEvent for BountyRejected { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyRejected"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty proposal is funded and became active."] pub struct BountyBecameActive { pub index: bounty_became_active::Index, @@ -27714,24 +26306,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyBecameActive { + impl ::subxt_core::events::StaticEvent for BountyBecameActive { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyBecameActive"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is awarded to a beneficiary."] pub struct BountyAwarded { pub index: bounty_awarded::Index, @@ -27740,26 +26332,26 @@ pub mod api { pub mod bounty_awarded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyAwarded { + impl ::subxt_core::events::StaticEvent for BountyAwarded { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyAwarded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is claimed by beneficiary."] pub struct BountyClaimed { pub index: bounty_claimed::Index, @@ -27770,26 +26362,26 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyClaimed { + impl ::subxt_core::events::StaticEvent for BountyClaimed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyClaimed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is cancelled."] pub struct BountyCanceled { pub index: bounty_canceled::Index, @@ -27798,24 +26390,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyCanceled { + impl ::subxt_core::events::StaticEvent for BountyCanceled { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyCanceled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty expiry is extended."] pub struct BountyExtended { pub index: bounty_extended::Index, @@ -27824,24 +26416,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyExtended { + impl ::subxt_core::events::StaticEvent for BountyExtended { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyExtended"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is approved."] pub struct BountyApproved { pub index: bounty_approved::Index, @@ -27850,24 +26442,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BountyApproved { + impl ::subxt_core::events::StaticEvent for BountyApproved { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyApproved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is proposed."] pub struct CuratorProposed { pub bounty_id: curator_proposed::BountyId, @@ -27876,26 +26468,26 @@ pub mod api { pub mod curator_proposed { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Curator = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorProposed { + impl ::subxt_core::events::StaticEvent for CuratorProposed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorProposed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is unassigned."] pub struct CuratorUnassigned { pub bounty_id: curator_unassigned::BountyId, @@ -27904,24 +26496,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorUnassigned { + impl ::subxt_core::events::StaticEvent for CuratorUnassigned { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorUnassigned"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is accepted."] pub struct CuratorAccepted { pub bounty_id: curator_accepted::BountyId, @@ -27930,9 +26522,9 @@ pub mod api { pub mod curator_accepted { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Curator = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorAccepted { + impl ::subxt_core::events::StaticEvent for CuratorAccepted { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorAccepted"; } @@ -27948,7 +26540,7 @@ pub mod api { pub mod bounties { use super::runtime_types; pub type Bounties = runtime_types::pallet_bounties::Bounty< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u64, >; @@ -27975,14 +26567,14 @@ pub mod api { #[doc = " Number of bounty proposals that have been made."] pub fn bounty_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bounty_count::BountyCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyCount", (), @@ -27997,14 +26589,14 @@ pub mod api { #[doc = " Bounties that have been made."] pub fn bounties_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bounties::Bounties, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "Bounties", (), @@ -28019,21 +26611,17 @@ pub mod api { pub fn bounties( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::bounties::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::bounties::Bounties, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "Bounties", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 61u8, 113u8, 145u8, 206u8, 130u8, 71u8, 78u8, 125u8, 214u8, 253u8, 128u8, 143u8, 36u8, 0u8, 201u8, 132u8, 215u8, 58u8, 129u8, 34u8, 46u8, @@ -28044,14 +26632,14 @@ pub mod api { #[doc = " The description of each bounty."] pub fn bounty_descriptions_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bounty_descriptions::BountyDescriptions, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyDescriptions", (), @@ -28066,21 +26654,19 @@ pub mod api { pub fn bounty_descriptions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::bounty_descriptions::Param0, >, types::bounty_descriptions::BountyDescriptions, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyDescriptions", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -28091,14 +26677,14 @@ pub mod api { #[doc = " Bounty indices that have been approved but not yet funded."] pub fn bounty_approvals( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bounty_approvals::BountyApprovals, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyApprovals", (), @@ -28118,10 +26704,8 @@ pub mod api { #[doc = " The amount held on deposit for placing a bounty proposal."] pub fn bounty_deposit_base( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyDepositBase", [ @@ -28134,10 +26718,8 @@ 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::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyDepositPayoutDelay", [ @@ -28151,10 +26733,8 @@ pub mod api { #[doc = " Bounty duration in blocks."] pub fn bounty_update_period( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyUpdatePeriod", [ @@ -28171,10 +26751,10 @@ pub mod api { #[doc = " `CuratorDepositMin`."] pub fn curator_deposit_multiplier( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_arithmetic::per_things::Permill, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "CuratorDepositMultiplier", [ @@ -28187,10 +26767,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::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< ::core::option::Option<::core::primitive::u128>, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "CuratorDepositMax", [ @@ -28204,10 +26784,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::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< ::core::option::Option<::core::primitive::u128>, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "CuratorDepositMin", [ @@ -28221,10 +26801,8 @@ pub mod api { #[doc = " Minimum value for a bounty."] pub fn bounty_value_minimum( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyValueMinimum", [ @@ -28237,10 +26815,8 @@ 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::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "DataDepositPerByte", [ @@ -28255,10 +26831,8 @@ 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::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "MaximumReasonLength", [ @@ -28286,23 +26860,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Add a new child-bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be the curator of parent"] @@ -28333,31 +26903,26 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type Value = ::core::primitive::u128; - pub type Description = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Description = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddChildBounty { + impl ::subxt_core::blocks::StaticExtrinsic for AddChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "add_child_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Propose curator for funded child-bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be curator of parent bounty."] @@ -28386,34 +26951,30 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; - pub type Curator = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Curator = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Fee = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeCurator { + impl ::subxt_core::blocks::StaticExtrinsic for ProposeCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "propose_curator"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -28444,28 +27005,24 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptCurator { + impl ::subxt_core::blocks::StaticExtrinsic for AcceptCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "accept_curator"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unassign curator from a child-bounty."] #[doc = ""] #[doc = "The dispatch origin for this call can be either `RejectOrigin`, or"] @@ -28511,28 +27068,24 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnassignCurator { + impl ::subxt_core::blocks::StaticExtrinsic for UnassignCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "unassign_curator"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Award child-bounty to a beneficiary."] #[doc = ""] #[doc = "The beneficiary will be able to claim the funds after a delay."] @@ -28561,33 +27114,29 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AwardChildBounty { + impl ::subxt_core::blocks::StaticExtrinsic for AwardChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "award_child_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -28615,28 +27164,24 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimChildBounty { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "claim_child_bounty"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -28670,7 +27215,7 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CloseChildBounty { + impl ::subxt_core::blocks::StaticExtrinsic for CloseChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "close_child_bounty"; } @@ -28701,9 +27246,8 @@ pub mod api { parent_bounty_id: types::add_child_bounty::ParentBountyId, value: types::add_child_bounty::Value, description: types::add_child_bounty::Description, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "add_child_bounty", types::AddChildBounty { parent_bounty_id, value, description }, @@ -28736,9 +27280,8 @@ pub mod api { child_bounty_id: types::propose_curator::ChildBountyId, curator: types::propose_curator::Curator, fee: types::propose_curator::Fee, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "propose_curator", types::ProposeCurator { parent_bounty_id, child_bounty_id, curator, fee }, @@ -28772,9 +27315,8 @@ pub mod api { &self, parent_bounty_id: types::accept_curator::ParentBountyId, child_bounty_id: types::accept_curator::ChildBountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "accept_curator", types::AcceptCurator { parent_bounty_id, child_bounty_id }, @@ -28824,9 +27366,8 @@ pub mod api { &self, parent_bounty_id: types::unassign_curator::ParentBountyId, child_bounty_id: types::unassign_curator::ChildBountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "unassign_curator", types::UnassignCurator { parent_bounty_id, child_bounty_id }, @@ -28860,9 +27401,8 @@ pub mod api { parent_bounty_id: types::award_child_bounty::ParentBountyId, child_bounty_id: types::award_child_bounty::ChildBountyId, beneficiary: types::award_child_bounty::Beneficiary, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "award_child_bounty", types::AwardChildBounty { parent_bounty_id, child_bounty_id, beneficiary }, @@ -28894,9 +27434,8 @@ pub mod api { &self, parent_bounty_id: types::claim_child_bounty::ParentBountyId, child_bounty_id: types::claim_child_bounty::ChildBountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "claim_child_bounty", types::ClaimChildBounty { parent_bounty_id, child_bounty_id }, @@ -28933,9 +27472,8 @@ pub mod api { &self, parent_bounty_id: types::close_child_bounty::ParentBountyId, child_bounty_id: types::close_child_bounty::ChildBountyId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "close_child_bounty", types::CloseChildBounty { parent_bounty_id, child_bounty_id }, @@ -28953,19 +27491,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is added."] pub struct Added { pub index: added::Index, @@ -28976,24 +27514,24 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Added { + impl ::subxt_core::events::StaticEvent for Added { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Added"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is awarded to a beneficiary."] pub struct Awarded { pub index: awarded::Index, @@ -29004,26 +27542,26 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; - pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Awarded { + impl ::subxt_core::events::StaticEvent for Awarded { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Awarded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is claimed by beneficiary."] pub struct Claimed { pub index: claimed::Index, @@ -29036,26 +27574,26 @@ 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::ext::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Claimed { + impl ::subxt_core::events::StaticEvent for Claimed { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Claimed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is cancelled."] pub struct Canceled { pub index: canceled::Index, @@ -29066,7 +27604,7 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Canceled { + impl ::subxt_core::events::StaticEvent for Canceled { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Canceled"; } @@ -29087,7 +27625,7 @@ pub mod api { pub mod child_bounties { use super::runtime_types; pub type ChildBounties = runtime_types::pallet_child_bounties::ChildBounty< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u64, >; @@ -29113,14 +27651,14 @@ pub mod api { #[doc = " Number of total child bounties."] pub fn child_bounty_count( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::child_bounty_count::ChildBountyCount, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBountyCount", (), @@ -29135,14 +27673,14 @@ pub mod api { #[doc = " Map of parent bounty index to number of child bounties."] pub fn parent_child_bounties_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::parent_child_bounties::ParentChildBounties, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ParentChildBounties", (), @@ -29158,21 +27696,19 @@ pub mod api { pub fn parent_child_bounties( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::parent_child_bounties::Param0, >, types::parent_child_bounties::ParentChildBounties, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ParentChildBounties", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -29183,14 +27719,14 @@ pub mod api { #[doc = " Child bounties that have been added."] pub fn child_bounties_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::child_bounties::ChildBounties, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBounties", (), @@ -29206,21 +27742,17 @@ pub mod api { pub fn child_bounties_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::child_bounties::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::child_bounties::ChildBounties, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBounties", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 147u8, 73u8, 192u8, 132u8, 112u8, 28u8, 88u8, 203u8, 183u8, 170u8, 198u8, 134u8, 5u8, 80u8, 131u8, 179u8, 28u8, 249u8, 195u8, 139u8, @@ -29234,30 +27766,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::child_bounties::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::child_bounties::Param1, >, ), types::child_bounties::ChildBounties, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBounties", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 147u8, 73u8, 192u8, 132u8, 112u8, 28u8, 88u8, 203u8, 183u8, 170u8, @@ -29270,14 +27798,14 @@ pub mod api { #[doc = " The description of each child-bounty."] pub fn child_bounty_descriptions_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::child_bounty_descriptions::ChildBountyDescriptions, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBountyDescriptions", (), @@ -29292,21 +27820,19 @@ pub mod api { pub fn child_bounty_descriptions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::child_bounty_descriptions::Param0, >, types::child_bounty_descriptions::ChildBountyDescriptions, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBountyDescriptions", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -29317,14 +27843,14 @@ pub mod api { #[doc = " The cumulative child-bounty curator fee for each parent bounty."] pub fn children_curator_fees_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::children_curator_fees::ChildrenCuratorFees, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildrenCuratorFees", (), @@ -29339,21 +27865,19 @@ pub mod api { pub fn children_curator_fees( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::children_curator_fees::Param0, >, types::children_curator_fees::ChildrenCuratorFees, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildrenCuratorFees", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -29370,10 +27894,8 @@ 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::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "ChildBounties", "MaxActiveChildBountyCount", [ @@ -29387,10 +27909,8 @@ pub mod api { #[doc = " Minimum value for a child-bounty."] pub fn child_bounty_value_minimum( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "ChildBounties", "ChildBountyValueMinimum", [ @@ -29417,23 +27937,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Declare that some `dislocated` account has, through rewards or penalties, sufficiently"] #[doc = "changed its score that it should properly fall into a different bag than its current"] #[doc = "one."] @@ -29449,33 +27965,29 @@ pub mod api { } pub mod rebag { use super::runtime_types; - pub type Dislocated = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Dislocated = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Rebag { + impl ::subxt_core::blocks::StaticExtrinsic for Rebag { const PALLET: &'static str = "BagsList"; const CALL: &'static str = "rebag"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Move the caller's Id directly in front of `lighter`."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and can only be called by the Id of"] @@ -29491,33 +28003,29 @@ pub mod api { } pub mod put_in_front_of { use super::runtime_types; - pub type Lighter = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Lighter = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PutInFrontOf { + impl ::subxt_core::blocks::StaticExtrinsic for PutInFrontOf { const PALLET: &'static str = "BagsList"; const CALL: &'static str = "put_in_front_of"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Same as [`Pallet::put_in_front_of`], but it can be called by anyone."] #[doc = ""] #[doc = "Fee is paid by the origin under all circumstances."] @@ -29527,16 +28035,16 @@ pub mod api { } pub mod put_in_front_of_other { use super::runtime_types; - pub type Heavier = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Heavier = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Lighter = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Lighter = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PutInFrontOfOther { + impl ::subxt_core::blocks::StaticExtrinsic for PutInFrontOfOther { const PALLET: &'static str = "BagsList"; const CALL: &'static str = "put_in_front_of_other"; } @@ -29556,8 +28064,8 @@ pub mod api { pub fn rebag( &self, dislocated: types::rebag::Dislocated, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "BagsList", "rebag", types::Rebag { dislocated }, @@ -29581,8 +28089,8 @@ pub mod api { pub fn put_in_front_of( &self, lighter: types::put_in_front_of::Lighter, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "BagsList", "put_in_front_of", types::PutInFrontOf { lighter }, @@ -29600,9 +28108,8 @@ pub mod api { &self, heavier: types::put_in_front_of_other::Heavier, lighter: types::put_in_front_of_other::Lighter, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "BagsList", "put_in_front_of_other", types::PutInFrontOfOther { heavier, lighter }, @@ -29621,19 +28128,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Moved an account from one bag to another."] pub struct Rebagged { pub who: rebagged::Who, @@ -29642,28 +28149,28 @@ pub mod api { } pub mod rebagged { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type From = ::core::primitive::u64; pub type To = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Rebagged { + impl ::subxt_core::events::StaticEvent for Rebagged { const PALLET: &'static str = "BagsList"; const EVENT: &'static str = "Rebagged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updated the score of some account to the given amount."] pub struct ScoreUpdated { pub who: score_updated::Who, @@ -29671,10 +28178,10 @@ pub mod api { } pub mod score_updated { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type NewScore = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ScoreUpdated { + impl ::subxt_core::events::StaticEvent for ScoreUpdated { const PALLET: &'static str = "BagsList"; const EVENT: &'static str = "ScoreUpdated"; } @@ -29686,7 +28193,7 @@ pub mod api { pub mod list_nodes { use super::runtime_types; pub type ListNodes = runtime_types::pallet_bags_list::list::Node; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_list_nodes { use super::runtime_types; @@ -29705,14 +28212,14 @@ pub mod api { #[doc = " Nodes store links forward and back within their respective bags."] pub fn list_nodes_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::list_nodes::ListNodes, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListNodes", (), @@ -29729,21 +28236,17 @@ pub mod api { pub fn list_nodes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::list_nodes::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::list_nodes::ListNodes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListNodes", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 240u8, 139u8, 78u8, 185u8, 159u8, 185u8, 33u8, 229u8, 171u8, 222u8, 54u8, 81u8, 104u8, 170u8, 49u8, 232u8, 29u8, 117u8, 193u8, 68u8, 225u8, @@ -29754,14 +28257,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_list_nodes( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_list_nodes::CounterForListNodes, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "CounterForListNodes", (), @@ -29778,14 +28281,14 @@ pub mod api { #[doc = " Stores a `Bag` struct, which stores head and tail pointers to itself."] pub fn list_bags_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::list_bags::ListBags, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListBags", (), @@ -29802,21 +28305,17 @@ pub mod api { pub fn list_bags( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::list_bags::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::list_bags::ListBags, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListBags", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 98u8, 52u8, 177u8, 147u8, 244u8, 169u8, 45u8, 213u8, 76u8, 163u8, 47u8, 96u8, 197u8, 245u8, 17u8, 208u8, 86u8, 15u8, 233u8, 156u8, 165u8, 44u8, @@ -29875,10 +28374,10 @@ pub mod api { #[doc = " With that `List::migrate` can be called, which will perform the appropriate migration."] pub fn bag_thresholds( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>, + ) -> ::subxt_core::constants::address::StaticAddress< + ::subxt_core::alloc::vec::Vec<::core::primitive::u64>, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "BagsList", "BagThresholds", [ @@ -29905,23 +28404,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Stake funds with a pool. The amount to bond is transferred from the member to the"] #[doc = "pools account and immediately increases the pools bond."] #[doc = ""] @@ -29942,28 +28437,24 @@ pub mod api { pub type Amount = ::core::primitive::u128; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Join { + impl ::subxt_core::blocks::StaticExtrinsic for Join { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "join"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Bond `extra` more funds from `origin` into the pool to which they already belong."] #[doc = ""] #[doc = "Additional funds can come from either the free balance of the account, of from the"] @@ -29979,28 +28470,24 @@ pub mod api { pub type Extra = runtime_types::pallet_nomination_pools::BondExtra<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtra { + impl ::subxt_core::blocks::StaticExtrinsic for BondExtra { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "bond_extra"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A bonded member can use this to claim their payout based on the rewards that the pool"] #[doc = "has accumulated since their last claimed payout (OR since joining if this is their first"] #[doc = "time claiming rewards). The payout will be transferred to the member's account."] @@ -30010,28 +28497,24 @@ pub mod api { #[doc = ""] #[doc = "See `claim_payout_other` to claim rewards on behalf of some `other` pool member."] pub struct ClaimPayout; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimPayout { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimPayout { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "claim_payout"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It"] #[doc = "implicitly collects the rewards one last time, since not doing so would mean some"] #[doc = "rewards would be forfeited."] @@ -30070,34 +28553,30 @@ pub mod api { } pub mod unbond { use super::runtime_types; - pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type UnbondingPoints = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unbond { + impl ::subxt_core::blocks::StaticExtrinsic for Unbond { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "unbond"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Call `withdraw_unbonded` for the pools account. This call can be made by any account."] #[doc = ""] #[doc = "This is useful if there are too many unlocking chunks to call `unbond`, and some"] @@ -30113,28 +28592,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { + impl ::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "pool_withdraw_unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an"] #[doc = "error is returned."] #[doc = ""] @@ -30163,34 +28638,30 @@ pub mod api { } pub mod withdraw_unbonded { use super::runtime_types; - pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { + impl ::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "withdraw_unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create a new delegation pool."] #[doc = ""] #[doc = "# Arguments"] @@ -30218,41 +28689,37 @@ pub mod api { pub mod create { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Root = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "create"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create a new delegation pool with a previously used pool id"] #[doc = ""] #[doc = "# Arguments"] @@ -30270,42 +28737,38 @@ pub mod api { pub mod create_with_pool_id { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Root = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { + impl ::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "create_with_pool_id"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Nominate on behalf of the pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] @@ -30325,32 +28788,27 @@ pub mod api { pub mod nominate { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Validators = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Nominate { + impl ::subxt_core::blocks::StaticExtrinsic for Nominate { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "nominate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set a new state for the pool."] #[doc = ""] #[doc = "If a pool is already in the `Destroying` state, then under no condition can its state"] @@ -30370,28 +28828,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type State = runtime_types::pallet_nomination_pools::PoolState; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetState { + impl ::subxt_core::blocks::StaticExtrinsic for SetState { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_state"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set a new metadata for the pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the bouncer, or the root role of the"] @@ -30403,31 +28857,26 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Metadata = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Metadata = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_metadata"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Update configurations for the nomination pools. The origin for this call must be"] #[doc = "[`Config::AdminOrigin`]."] #[doc = ""] @@ -30463,28 +28912,24 @@ pub mod api { runtime_types::sp_arithmetic::per_things::Perbill, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetConfigs { + impl ::subxt_core::blocks::StaticExtrinsic for SetConfigs { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_configs"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Update the roles of the pool."] #[doc = ""] #[doc = "The root is the only entity that can change any of the roles, including itself,"] @@ -30502,37 +28947,33 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; pub type NewRoot = runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type NewNominator = runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type NewBouncer = runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateRoles { + impl ::subxt_core::blocks::StaticExtrinsic for UpdateRoles { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "update_roles"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Chill on behalf of the pool."] #[doc = ""] #[doc = "The dispatch origin of this call can be signed by the pool nominator or the pool"] @@ -30556,28 +28997,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Chill { + impl ::subxt_core::blocks::StaticExtrinsic for Chill { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "chill"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "`origin` bonds funds from `extra` for some pool member `member` into their respective"] #[doc = "pools."] #[doc = ""] @@ -30593,35 +29030,31 @@ pub mod api { } pub mod bond_extra_other { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Member = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Extra = runtime_types::pallet_nomination_pools::BondExtra<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtraOther { + impl ::subxt_core::blocks::StaticExtrinsic for BondExtraOther { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "bond_extra_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allows a pool member to set a claim permission to allow or disallow permissionless"] #[doc = "bonding and withdrawing."] #[doc = ""] @@ -30636,28 +29069,24 @@ pub mod api { use super::runtime_types; pub type Permission = runtime_types::pallet_nomination_pools::ClaimPermission; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetClaimPermission { + impl ::subxt_core::blocks::StaticExtrinsic for SetClaimPermission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_claim_permission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "`origin` can claim payouts on some pool member `other`'s behalf."] #[doc = ""] #[doc = "Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim"] @@ -30667,30 +29096,26 @@ pub mod api { } pub mod claim_payout_other { use super::runtime_types; - pub type Other = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Other = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimPayoutOther { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimPayoutOther { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "claim_payout_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the commission of a pool."] #[doc = "Both a commission percentage and a commission payee must be provided in the `current`"] #[doc = "tuple. Where a `current` of `None` is provided, any current commission will be removed."] @@ -30705,31 +29130,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewCommission = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommission { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the maximum commission of a pool."] #[doc = ""] #[doc = "- Initial max can be set to any `Perbill`, and only smaller values thereafter."] @@ -30744,28 +29165,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission_max"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the commission change rate for a pool."] #[doc = ""] #[doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] @@ -30782,28 +29199,24 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission_change_rate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claim pending commission."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the `root` role of the pool. Pending"] @@ -30816,28 +29229,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimCommission { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimCommission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "claim_commission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Top up the deficit or withdraw the excess ED from the pool."] #[doc = ""] #[doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] @@ -30852,28 +29261,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { + impl ::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "adjust_pool_deposit"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set or remove a pool's commission claim permission."] #[doc = ""] #[doc = "Determines who can claim the pool's pending commission. Only the `Root` role of the pool"] @@ -30887,32 +29292,28 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Permission = ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission_claim_permission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Apply a pending slash on a member."] #[doc = ""] #[doc = "Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:"] @@ -30927,33 +29328,29 @@ pub mod api { } pub mod apply_slash { use super::runtime_types; - pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApplySlash { + impl ::subxt_core::blocks::StaticExtrinsic for ApplySlash { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "apply_slash"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Migrates delegated funds from the pool account to the `member_account`."] #[doc = ""] #[doc = "Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:"] @@ -30968,33 +29365,29 @@ pub mod api { } pub mod migrate_delegation { use super::runtime_types; - pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MigrateDelegation { + impl ::subxt_core::blocks::StaticExtrinsic for MigrateDelegation { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "migrate_delegation"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Migrate pool from [`adapter::StakeStrategyType::Transfer`] to"] #[doc = "[`adapter::StakeStrategyType::Delegate`]."] #[doc = ""] @@ -31011,7 +29404,7 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MigratePoolToDelegateStake { + impl ::subxt_core::blocks::StaticExtrinsic for MigratePoolToDelegateStake { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "migrate_pool_to_delegate_stake"; } @@ -31032,8 +29425,8 @@ pub mod api { &self, amount: types::join::Amount, pool_id: types::join::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "join", types::Join { amount, pool_id }, @@ -31054,8 +29447,8 @@ pub mod api { pub fn bond_extra( &self, extra: types::bond_extra::Extra, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "bond_extra", types::BondExtra { extra }, @@ -31077,8 +29470,8 @@ pub mod api { #[doc = "See `claim_payout_other` to claim rewards on behalf of some `other` pool member."] pub fn claim_payout( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "claim_payout", types::ClaimPayout {}, @@ -31124,8 +29517,8 @@ pub mod api { &self, member_account: types::unbond::MemberAccount, unbonding_points: types::unbond::UnbondingPoints, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "unbond", types::Unbond { member_account, unbonding_points }, @@ -31146,9 +29539,8 @@ pub mod api { &self, pool_id: types::pool_withdraw_unbonded::PoolId, num_slashing_spans: types::pool_withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "pool_withdraw_unbonded", types::PoolWithdrawUnbonded { pool_id, num_slashing_spans }, @@ -31186,9 +29578,8 @@ pub mod api { &self, member_account: types::withdraw_unbonded::MemberAccount, num_slashing_spans: types::withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "withdraw_unbonded", types::WithdrawUnbonded { member_account, num_slashing_spans }, @@ -31223,8 +29614,8 @@ pub mod api { root: types::create::Root, nominator: types::create::Nominator, bouncer: types::create::Bouncer, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "create", types::Create { amount, root, nominator, bouncer }, @@ -31248,9 +29639,8 @@ pub mod api { nominator: types::create_with_pool_id::Nominator, bouncer: types::create_with_pool_id::Bouncer, pool_id: types::create_with_pool_id::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "create_with_pool_id", types::CreateWithPoolId { amount, root, nominator, bouncer, pool_id }, @@ -31278,8 +29668,8 @@ pub mod api { &self, pool_id: types::nominate::PoolId, validators: types::nominate::Validators, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "nominate", types::Nominate { pool_id, validators }, @@ -31304,8 +29694,8 @@ pub mod api { &self, pool_id: types::set_state::PoolId, state: types::set_state::State, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_state", types::SetState { pool_id, state }, @@ -31324,8 +29714,8 @@ pub mod api { &self, pool_id: types::set_metadata::PoolId, metadata: types::set_metadata::Metadata, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_metadata", types::SetMetadata { pool_id, metadata }, @@ -31355,8 +29745,8 @@ pub mod api { max_members: types::set_configs::MaxMembers, max_members_per_pool: types::set_configs::MaxMembersPerPool, global_max_commission: types::set_configs::GlobalMaxCommission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_configs", types::SetConfigs { @@ -31388,8 +29778,8 @@ pub mod api { new_root: types::update_roles::NewRoot, new_nominator: types::update_roles::NewNominator, new_bouncer: types::update_roles::NewBouncer, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "update_roles", types::UpdateRoles { pool_id, new_root, new_nominator, new_bouncer }, @@ -31420,8 +29810,8 @@ pub mod api { pub fn chill( &self, pool_id: types::chill::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "chill", types::Chill { pool_id }, @@ -31445,9 +29835,8 @@ pub mod api { &self, member: types::bond_extra_other::Member, extra: types::bond_extra_other::Extra, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "bond_extra_other", types::BondExtraOther { member, extra }, @@ -31469,9 +29858,8 @@ pub mod api { pub fn set_claim_permission( &self, permission: types::set_claim_permission::Permission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_claim_permission", types::SetClaimPermission { permission }, @@ -31489,9 +29877,8 @@ pub mod api { pub fn claim_payout_other( &self, other: types::claim_payout_other::Other, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "claim_payout_other", types::ClaimPayoutOther { other }, @@ -31512,9 +29899,8 @@ pub mod api { &self, pool_id: types::set_commission::PoolId, new_commission: types::set_commission::NewCommission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission", types::SetCommission { pool_id, new_commission }, @@ -31534,9 +29920,8 @@ pub mod api { &self, pool_id: types::set_commission_max::PoolId, max_commission: types::set_commission_max::MaxCommission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission_max", types::SetCommissionMax { pool_id, max_commission }, @@ -31556,10 +29941,8 @@ pub mod api { &self, pool_id: types::set_commission_change_rate::PoolId, change_rate: types::set_commission_change_rate::ChangeRate, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::SetCommissionChangeRate, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission_change_rate", types::SetCommissionChangeRate { pool_id, change_rate }, @@ -31579,9 +29962,8 @@ pub mod api { pub fn claim_commission( &self, pool_id: types::claim_commission::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "claim_commission", types::ClaimCommission { pool_id }, @@ -31602,9 +29984,8 @@ pub mod api { pub fn adjust_pool_deposit( &self, pool_id: types::adjust_pool_deposit::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "adjust_pool_deposit", types::AdjustPoolDeposit { pool_id }, @@ -31623,10 +30004,9 @@ pub mod api { &self, pool_id: types::set_commission_claim_permission::PoolId, permission: types::set_commission_claim_permission::Permission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::SetCommissionClaimPermission, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission_claim_permission", types::SetCommissionClaimPermission { pool_id, permission }, @@ -31649,8 +30029,8 @@ pub mod api { pub fn apply_slash( &self, member_account: types::apply_slash::MemberAccount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "apply_slash", types::ApplySlash { member_account }, @@ -31673,9 +30053,8 @@ pub mod api { pub fn migrate_delegation( &self, member_account: types::migrate_delegation::MemberAccount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "migrate_delegation", types::MigrateDelegation { member_account }, @@ -31698,10 +30077,9 @@ pub mod api { pub fn migrate_pool_to_delegate_stake( &self, pool_id: types::migrate_pool_to_delegate_stake::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::MigratePoolToDelegateStake, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "migrate_pool_to_delegate_stake", types::MigratePoolToDelegateStake { pool_id }, @@ -31719,19 +30097,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been created."] pub struct Created { pub depositor: created::Depositor, @@ -31739,27 +30117,27 @@ pub mod api { } pub mod created { use super::runtime_types; - pub type Depositor = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Depositor = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Created { + impl ::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Created"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has became bonded in a pool."] pub struct Bonded { pub member: bonded::Member, @@ -31769,29 +30147,29 @@ pub mod api { } pub mod bonded { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Bonded = ::core::primitive::u128; pub type Joined = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Bonded { + impl ::subxt_core::events::StaticEvent for Bonded { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Bonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A payout has been made to a member."] pub struct PaidOut { pub member: paid_out::Member, @@ -31800,28 +30178,28 @@ pub mod api { } pub mod paid_out { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PaidOut { + impl ::subxt_core::events::StaticEvent for PaidOut { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PaidOut"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has unbonded from their pool."] #[doc = ""] #[doc = "- `balance` is the corresponding balance of the number of points that has been"] @@ -31842,30 +30220,30 @@ pub mod api { } pub mod unbonded { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; pub type Era = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Unbonded { + impl ::subxt_core::events::StaticEvent for Unbonded { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has withdrawn from their pool."] #[doc = ""] #[doc = "The given number of `points` have been dissolved in return of `balance`."] @@ -31880,29 +30258,29 @@ pub mod api { } pub mod withdrawn { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Withdrawn"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been destroyed."] pub struct Destroyed { pub pool_id: destroyed::PoolId, @@ -31911,24 +30289,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Destroyed { + impl ::subxt_core::events::StaticEvent for Destroyed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Destroyed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The state of a pool has changed"] pub struct StateChanged { pub pool_id: state_changed::PoolId, @@ -31939,24 +30317,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewState = runtime_types::pallet_nomination_pools::PoolState; } - impl ::subxt::ext::subxt_core::events::StaticEvent for StateChanged { + impl ::subxt_core::events::StaticEvent for StateChanged { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "StateChanged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has been removed from a pool."] #[doc = ""] #[doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] @@ -31967,26 +30345,26 @@ pub mod api { pub mod member_removed { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MemberRemoved { + impl ::subxt_core::events::StaticEvent for MemberRemoved { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "MemberRemoved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] #[doc = "can never change."] pub struct RolesUpdated { @@ -31996,31 +30374,28 @@ pub mod api { } pub mod roles_updated { use super::runtime_types; - pub type Root = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; - pub type Bouncer = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; - pub type Nominator = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; - } - impl ::subxt::ext::subxt_core::events::StaticEvent for RolesUpdated { + pub type Root = ::core::option::Option<::subxt_core::utils::AccountId32>; + pub type Bouncer = ::core::option::Option<::subxt_core::utils::AccountId32>; + pub type Nominator = ::core::option::Option<::subxt_core::utils::AccountId32>; + } + impl ::subxt_core::events::StaticEvent for RolesUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "RolesUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The active balance of pool `pool_id` has been slashed to `balance`."] pub struct PoolSlashed { pub pool_id: pool_slashed::PoolId, @@ -32031,24 +30406,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolSlashed { + impl ::subxt_core::events::StaticEvent for PoolSlashed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolSlashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] pub struct UnbondingPoolSlashed { pub pool_id: unbonding_pool_slashed::PoolId, @@ -32061,24 +30436,24 @@ pub mod api { pub type Era = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for UnbondingPoolSlashed { + impl ::subxt_core::events::StaticEvent for UnbondingPoolSlashed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "UnbondingPoolSlashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission setting has been changed."] pub struct PoolCommissionUpdated { pub pool_id: pool_commission_updated::PoolId, @@ -32089,27 +30464,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Current = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionUpdated { + impl ::subxt_core::events::StaticEvent for PoolCommissionUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool's maximum commission setting has been changed."] pub struct PoolMaxCommissionUpdated { pub pool_id: pool_max_commission_updated::PoolId, @@ -32120,24 +30495,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { + impl ::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolMaxCommissionUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission `change_rate` has been changed."] pub struct PoolCommissionChangeRateUpdated { pub pool_id: pool_commission_change_rate_updated::PoolId, @@ -32150,24 +30525,24 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { + impl ::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionChangeRateUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission claim permission has been updated."] pub struct PoolCommissionClaimPermissionUpdated { pub pool_id: pool_commission_claim_permission_updated::PoolId, @@ -32178,28 +30553,28 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Permission = ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { + impl ::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionClaimPermissionUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission has been claimed."] pub struct PoolCommissionClaimed { pub pool_id: pool_commission_claimed::PoolId, @@ -32210,24 +30585,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Commission = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimed { + impl ::subxt_core::events::StaticEvent for PoolCommissionClaimed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionClaimed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Topped up deficit in frozen ED of the reward pool."] pub struct MinBalanceDeficitAdjusted { pub pool_id: min_balance_deficit_adjusted::PoolId, @@ -32238,24 +30613,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { + impl ::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "MinBalanceDeficitAdjusted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claimed excess frozen ED of af the reward pool."] pub struct MinBalanceExcessAdjusted { pub pool_id: min_balance_excess_adjusted::PoolId, @@ -32266,7 +30641,7 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { + impl ::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "MinBalanceExcessAdjusted"; } @@ -32307,7 +30682,7 @@ pub mod api { pub mod pool_members { use super::runtime_types; pub type PoolMembers = runtime_types::pallet_nomination_pools::PoolMember; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_pool_members { use super::runtime_types; @@ -32358,7 +30733,7 @@ pub mod api { pub mod reverse_pool_id_lookup { use super::runtime_types; pub type ReversePoolIdLookup = ::core::primitive::u32; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_reverse_pool_id_lookup { use super::runtime_types; @@ -32368,7 +30743,7 @@ pub mod api { use super::runtime_types; pub type ClaimPermissions = runtime_types::pallet_nomination_pools::ClaimPermission; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -32380,14 +30755,14 @@ pub mod api { #[doc = " `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s."] pub fn total_value_locked( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::total_value_locked::TotalValueLocked, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "TotalValueLocked", (), @@ -32401,14 +30776,14 @@ pub mod api { #[doc = " Minimum amount to bond to join a pool."] pub fn min_join_bond( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_join_bond::MinJoinBond, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MinJoinBond", (), @@ -32428,14 +30803,14 @@ pub mod api { #[doc = " while all other accounts leave."] pub fn min_create_bond( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_create_bond::MinCreateBond, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MinCreateBond", (), @@ -32451,14 +30826,14 @@ pub mod api { #[doc = " pools can exist."] pub fn max_pools( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::max_pools::MaxPools, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MaxPools", (), @@ -32474,14 +30849,14 @@ pub mod api { #[doc = " members are not bound on a system wide basis."] pub fn max_pool_members( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::max_pool_members::MaxPoolMembers, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MaxPoolMembers", (), @@ -32497,14 +30872,14 @@ pub mod api { #[doc = " members is not bound on a per pool basis."] pub fn max_pool_members_per_pool( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::max_pool_members_per_pool::MaxPoolMembersPerPool, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MaxPoolMembersPerPool", (), @@ -32520,14 +30895,14 @@ pub mod api { #[doc = " `GlobalMaxCommission` is lower than some current pool commissions."] pub fn global_max_commission( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::global_max_commission::GlobalMaxCommission, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "GlobalMaxCommission", (), @@ -32544,14 +30919,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn pool_members_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::pool_members::PoolMembers, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "PoolMembers", (), @@ -32569,21 +30944,17 @@ pub mod api { pub fn pool_members( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::pool_members::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::pool_members::PoolMembers, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "PoolMembers", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 71u8, 14u8, 198u8, 220u8, 13u8, 117u8, 189u8, 187u8, 123u8, 105u8, 247u8, 41u8, 154u8, 176u8, 134u8, 226u8, 195u8, 136u8, 193u8, 6u8, @@ -32595,14 +30966,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_pool_members( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_pool_members::CounterForPoolMembers, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForPoolMembers", (), @@ -32617,14 +30988,14 @@ pub mod api { #[doc = " Storage for bonded pools."] pub fn bonded_pools_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bonded_pools::BondedPools, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "BondedPools", (), @@ -32640,21 +31011,17 @@ pub mod api { pub fn bonded_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::bonded_pools::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::bonded_pools::BondedPools, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "BondedPools", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 237u8, 73u8, 210u8, 142u8, 175u8, 108u8, 4u8, 196u8, 31u8, 179u8, 149u8, 14u8, 4u8, 10u8, 103u8, 135u8, 221u8, 118u8, 124u8, 94u8, 106u8, @@ -32666,14 +31033,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_bonded_pools( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_bonded_pools::CounterForBondedPools, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForBondedPools", (), @@ -32688,14 +31055,14 @@ pub mod api { #[doc = " claimed, the balance comes out of the reward pool. Keyed by the bonded pools account."] pub fn reward_pools_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reward_pools::RewardPools, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "RewardPools", (), @@ -32712,21 +31079,17 @@ pub mod api { pub fn reward_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::reward_pools::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::reward_pools::RewardPools, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "RewardPools", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 9u8, 12u8, 53u8, 236u8, 133u8, 154u8, 71u8, 150u8, 220u8, 31u8, 130u8, 126u8, 208u8, 240u8, 214u8, 66u8, 16u8, 43u8, 202u8, 222u8, 94u8, @@ -32738,14 +31101,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reward_pools( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_reward_pools::CounterForRewardPools, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForRewardPools", (), @@ -32761,14 +31124,14 @@ pub mod api { #[doc = " bonded pool, hence the name sub-pools. Keyed by the bonded pools account."] pub fn sub_pools_storage_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::sub_pools_storage::SubPoolsStorage, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "SubPoolsStorage", (), @@ -32784,21 +31147,19 @@ pub mod api { pub fn sub_pools_storage( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::sub_pools_storage::Param0, >, types::sub_pools_storage::SubPoolsStorage, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "SubPoolsStorage", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 43u8, 35u8, 94u8, 197u8, 201u8, 86u8, 21u8, 118u8, 230u8, 10u8, 66u8, 180u8, 104u8, 146u8, 250u8, 207u8, 159u8, 153u8, 203u8, 58u8, 20u8, @@ -32809,14 +31170,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_sub_pools_storage( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_sub_pools_storage::CounterForSubPoolsStorage, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForSubPoolsStorage", (), @@ -32831,14 +31192,14 @@ pub mod api { #[doc = " Metadata for the pool."] pub fn metadata_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::metadata::Metadata, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "Metadata", (), @@ -32853,21 +31214,17 @@ pub mod api { pub fn metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::metadata::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::metadata::Metadata, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "Metadata", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 10u8, 171u8, 251u8, 5u8, 72u8, 74u8, 86u8, 144u8, 59u8, 67u8, 92u8, 111u8, 217u8, 111u8, 175u8, 107u8, 119u8, 206u8, 199u8, 78u8, 182u8, @@ -32878,14 +31235,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_metadata( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_metadata::CounterForMetadata, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForMetadata", (), @@ -32900,14 +31257,14 @@ pub mod api { #[doc = " Ever increasing number of all pools created so far."] pub fn last_pool_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::last_pool_id::LastPoolId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "LastPoolId", (), @@ -32925,14 +31282,14 @@ pub mod api { #[doc = " pool id is used, and the accounts are deterministically derived from it."] pub fn reverse_pool_id_lookup_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reverse_pool_id_lookup::ReversePoolIdLookup, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ReversePoolIdLookup", (), @@ -32950,21 +31307,19 @@ pub mod api { pub fn reverse_pool_id_lookup( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::reverse_pool_id_lookup::Param0, >, types::reverse_pool_id_lookup::ReversePoolIdLookup, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ReversePoolIdLookup", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 76u8, 76u8, 150u8, 33u8, 64u8, 81u8, 90u8, 75u8, 212u8, 221u8, 59u8, 83u8, 178u8, 45u8, 86u8, 206u8, 196u8, 221u8, 117u8, 94u8, 229u8, @@ -32975,14 +31330,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reverse_pool_id_lookup( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_reverse_pool_id_lookup::CounterForReversePoolIdLookup, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForReversePoolIdLookup", (), @@ -32997,14 +31352,14 @@ pub mod api { #[doc = " Map from a pool member account to their opted claim permission."] pub fn claim_permissions_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::claim_permissions::ClaimPermissions, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ClaimPermissions", (), @@ -33019,21 +31374,19 @@ pub mod api { pub fn claim_permissions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::claim_permissions::Param0, >, types::claim_permissions::ClaimPermissions, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ClaimPermissions", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 127u8, 58u8, 154u8, 103u8, 97u8, 80u8, 68u8, 18u8, 167u8, 41u8, 93u8, 100u8, 94u8, 81u8, 82u8, 98u8, 13u8, 162u8, 122u8, 199u8, 216u8, 139u8, @@ -33050,10 +31403,10 @@ pub mod api { #[doc = " The nomination pool's pallet id."] pub fn pallet_id( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::frame_support::PalletId, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "NominationPools", "PalletId", [ @@ -33077,10 +31430,8 @@ pub mod api { #[doc = " Such a scenario would also be the equivalent of the pool being 90% slashed."] pub fn max_points_to_balance( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u8, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u8> { + ::subxt_core::constants::address::StaticAddress::new_static( "NominationPools", "MaxPointsToBalance", [ @@ -33094,10 +31445,8 @@ pub mod api { #[doc = " The maximum number of simultaneous unbonding chunks that can exist per member."] pub fn max_unbonding( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "NominationPools", "MaxUnbonding", [ @@ -33125,29 +31474,25 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Anonymously schedule a task."] pub struct Schedule { pub when: schedule::When, pub maybe_periodic: schedule::MaybePeriodic, pub priority: schedule::Priority, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod schedule { use super::runtime_types; @@ -33157,28 +31502,24 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Schedule { + impl ::subxt_core::blocks::StaticExtrinsic for Schedule { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel an anonymously scheduled task."] pub struct Cancel { pub when: cancel::When, @@ -33189,35 +31530,31 @@ pub mod api { pub type When = ::core::primitive::u64; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Cancel { + impl ::subxt_core::blocks::StaticExtrinsic for Cancel { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule a named task."] 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: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod schedule_named { use super::runtime_types; @@ -33228,28 +31565,24 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleNamed { + impl ::subxt_core::blocks::StaticExtrinsic for ScheduleNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_named"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel a named scheduled task."] pub struct CancelNamed { pub id: cancel_named::Id, @@ -33258,34 +31591,30 @@ pub mod api { use super::runtime_types; pub type Id = [::core::primitive::u8; 32usize]; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelNamed { + impl ::subxt_core::blocks::StaticExtrinsic for CancelNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel_named"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Anonymously schedule a task after a delay."] pub struct ScheduleAfter { pub after: schedule_after::After, pub maybe_periodic: schedule_after::MaybePeriodic, pub priority: schedule_after::Priority, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod schedule_after { use super::runtime_types; @@ -33295,36 +31624,31 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleAfter { + impl ::subxt_core::blocks::StaticExtrinsic for ScheduleAfter { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_after"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedule a named task after a delay."] 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: - ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod schedule_named_after { use super::runtime_types; @@ -33335,28 +31659,24 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleNamedAfter { + impl ::subxt_core::blocks::StaticExtrinsic for ScheduleNamedAfter { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_named_after"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -33380,28 +31700,24 @@ pub mod api { pub type Retries = ::core::primitive::u8; pub type Period = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetRetry { + impl ::subxt_core::blocks::StaticExtrinsic for SetRetry { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "set_retry"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -33425,28 +31741,24 @@ pub mod api { pub type Retries = ::core::primitive::u8; pub type Period = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetRetryNamed { + impl ::subxt_core::blocks::StaticExtrinsic for SetRetryNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "set_retry_named"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Removes the retry configuration of a task."] pub struct CancelRetry { pub task: cancel_retry::Task, @@ -33455,28 +31767,24 @@ pub mod api { use super::runtime_types; pub type Task = (::core::primitive::u64, ::core::primitive::u32); } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRetry { + impl ::subxt_core::blocks::StaticExtrinsic for CancelRetry { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel_retry"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel the retry configuration of a named task."] pub struct CancelRetryNamed { pub id: cancel_retry_named::Id, @@ -33485,7 +31793,7 @@ pub mod api { use super::runtime_types; pub type Id = [::core::primitive::u8; 32usize]; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRetryNamed { + impl ::subxt_core::blocks::StaticExtrinsic for CancelRetryNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel_retry_named"; } @@ -33499,15 +31807,15 @@ pub mod api { maybe_periodic: types::schedule::MaybePeriodic, priority: types::schedule::Priority, call: types::schedule::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule", types::Schedule { when, maybe_periodic, priority, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 239u8, 200u8, 156u8, 45u8, 223u8, 6u8, 13u8, 135u8, 54u8, 89u8, 217u8, @@ -33521,8 +31829,8 @@ pub mod api { &self, when: types::cancel::When, index: types::cancel::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel", types::Cancel { when, index }, @@ -33542,9 +31850,8 @@ pub mod api { maybe_periodic: types::schedule_named::MaybePeriodic, priority: types::schedule_named::Priority, call: types::schedule_named::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule_named", types::ScheduleNamed { @@ -33552,7 +31859,7 @@ pub mod api { when, maybe_periodic, priority, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 218u8, 234u8, 49u8, 229u8, 251u8, 169u8, 42u8, 39u8, 182u8, 160u8, @@ -33565,8 +31872,8 @@ pub mod api { pub fn cancel_named( &self, id: types::cancel_named::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel_named", types::CancelNamed { id }, @@ -33584,16 +31891,15 @@ pub mod api { maybe_periodic: types::schedule_after::MaybePeriodic, priority: types::schedule_after::Priority, call: types::schedule_after::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule_after", types::ScheduleAfter { after, maybe_periodic, priority, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 15u8, 18u8, 103u8, 111u8, 90u8, 114u8, 56u8, 181u8, 138u8, 133u8, 94u8, @@ -33611,9 +31917,8 @@ pub mod api { maybe_periodic: types::schedule_named_after::MaybePeriodic, priority: types::schedule_named_after::Priority, call: types::schedule_named_after::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule_named_after", types::ScheduleNamedAfter { @@ -33621,7 +31926,7 @@ pub mod api { after, maybe_periodic, priority, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 158u8, 114u8, 222u8, 129u8, 246u8, 8u8, 44u8, 76u8, 187u8, 31u8, 253u8, @@ -33648,8 +31953,8 @@ pub mod api { task: types::set_retry::Task, retries: types::set_retry::Retries, period: types::set_retry::Period, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "set_retry", types::SetRetry { task, retries, period }, @@ -33677,9 +31982,8 @@ pub mod api { id: types::set_retry_named::Id, retries: types::set_retry_named::Retries, period: types::set_retry_named::Period, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "set_retry_named", types::SetRetryNamed { id, retries, period }, @@ -33695,8 +31999,8 @@ pub mod api { pub fn cancel_retry( &self, task: types::cancel_retry::Task, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel_retry", types::CancelRetry { task }, @@ -33711,9 +32015,8 @@ pub mod api { pub fn cancel_retry_named( &self, id: types::cancel_retry_named::Id, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel_retry_named", types::CancelRetryNamed { id }, @@ -33731,19 +32034,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Scheduled some task."] pub struct Scheduled { pub when: scheduled::When, @@ -33754,24 +32057,24 @@ pub mod api { pub type When = ::core::primitive::u64; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Scheduled { + impl ::subxt_core::events::StaticEvent for Scheduled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Scheduled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Canceled some task."] pub struct Canceled { pub when: canceled::When, @@ -33782,24 +32085,24 @@ pub mod api { pub type When = ::core::primitive::u64; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Canceled { + impl ::subxt_core::events::StaticEvent for Canceled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Canceled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Dispatched some task."] pub struct Dispatched { pub task: dispatched::Task, @@ -33813,24 +32116,24 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Dispatched { + impl ::subxt_core::events::StaticEvent for Dispatched { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Dispatched"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set a retry configuration for some task."] pub struct RetrySet { pub task: retry_set::Task, @@ -33845,24 +32148,24 @@ pub mod api { pub type Period = ::core::primitive::u64; pub type Retries = ::core::primitive::u8; } - impl ::subxt::ext::subxt_core::events::StaticEvent for RetrySet { + impl ::subxt_core::events::StaticEvent for RetrySet { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "RetrySet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel a retry configuration for some task."] pub struct RetryCancelled { pub task: retry_cancelled::Task, @@ -33873,24 +32176,24 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for RetryCancelled { + impl ::subxt_core::events::StaticEvent for RetryCancelled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "RetryCancelled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -33901,24 +32204,24 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for CallUnavailable { + impl ::subxt_core::events::StaticEvent for CallUnavailable { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "CallUnavailable"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -33929,24 +32232,24 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PeriodicFailed { + impl ::subxt_core::events::StaticEvent for PeriodicFailed { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "PeriodicFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 { @@ -33958,24 +32261,24 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for RetryFailed { + impl ::subxt_core::events::StaticEvent for RetryFailed { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "RetryFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -33986,7 +32289,7 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PermanentlyOverweight { + impl ::subxt_core::events::StaticEvent for PermanentlyOverweight { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "PermanentlyOverweight"; } @@ -34011,7 +32314,7 @@ pub mod api { >, ::core::primitive::u64, runtime_types::tangle_testnet_runtime::OriginCaller, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, >; @@ -34034,14 +32337,14 @@ pub mod api { impl StorageApi { pub fn incomplete_since( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::incomplete_since::IncompleteSince, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "IncompleteSince", (), @@ -34056,14 +32359,14 @@ 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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::agenda::Agenda, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Agenda", (), @@ -34079,21 +32382,17 @@ pub mod api { pub fn agenda( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::agenda::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::agenda::Agenda, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Agenda", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 207u8, 229u8, 12u8, 111u8, 82u8, 163u8, 230u8, 234u8, 172u8, 240u8, 41u8, 179u8, 64u8, 235u8, 253u8, 139u8, 75u8, 150u8, 218u8, 97u8, @@ -34105,14 +32404,14 @@ pub mod api { #[doc = " Retry configurations for items to be executed, indexed by task address."] pub fn retries_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::retries::Retries, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Retries", (), @@ -34127,21 +32426,17 @@ pub mod api { pub fn retries_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::retries::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::retries::Retries, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Retries", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 226u8, 140u8, 93u8, 197u8, 220u8, 2u8, 34u8, 112u8, 64u8, 9u8, 110u8, 98u8, 192u8, 87u8, 138u8, 168u8, 186u8, 72u8, 27u8, 14u8, 187u8, 75u8, @@ -34154,30 +32449,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::retries::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::retries::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::retries::Retries, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Retries", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 226u8, 140u8, 93u8, 197u8, 220u8, 2u8, 34u8, 112u8, 64u8, 9u8, 110u8, @@ -34192,14 +32479,14 @@ pub mod api { #[doc = " identities."] pub fn lookup_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::lookup::Lookup, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Lookup", (), @@ -34218,21 +32505,17 @@ pub mod api { pub fn lookup( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::lookup::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::lookup::Lookup, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Lookup", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 43u8, 113u8, 203u8, 163u8, 123u8, 137u8, 242u8, 150u8, 151u8, 218u8, 249u8, 222u8, 109u8, 245u8, 242u8, 112u8, 45u8, 96u8, 67u8, 162u8, @@ -34250,10 +32533,10 @@ pub mod api { #[doc = " The maximum weight that may be scheduled per block for any dispatchables."] pub fn maximum_weight( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Scheduler", "MaximumWeight", [ @@ -34271,10 +32554,8 @@ pub mod api { #[doc = " higher limit under `runtime-benchmarks` feature."] pub fn max_scheduled_per_block( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Scheduler", "MaxScheduledPerBlock", [ @@ -34302,23 +32583,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -34328,31 +32605,26 @@ pub mod api { } pub mod note_preimage { use super::runtime_types; - pub type Bytes = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Bytes = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NotePreimage { + impl ::subxt_core::blocks::StaticExtrinsic for NotePreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "note_preimage"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -34364,30 +32636,26 @@ pub mod api { } pub mod unnote_preimage { use super::runtime_types; - pub type Hash = ::subxt::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnnotePreimage { + impl ::subxt_core::blocks::StaticExtrinsic for UnnotePreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "unnote_preimage"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -34397,30 +32665,26 @@ pub mod api { } pub mod request_preimage { use super::runtime_types; - pub type Hash = ::subxt::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RequestPreimage { + impl ::subxt_core::blocks::StaticExtrinsic for RequestPreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "request_preimage"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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`."] @@ -34429,30 +32693,26 @@ pub mod api { } pub mod unrequest_preimage { use super::runtime_types; - pub type Hash = ::subxt::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnrequestPreimage { + impl ::subxt_core::blocks::StaticExtrinsic for UnrequestPreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "unrequest_preimage"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -34461,11 +32721,9 @@ pub mod api { } pub mod ensure_updated { use super::runtime_types; - pub type Hashes = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >; + pub type Hashes = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for EnsureUpdated { + impl ::subxt_core::blocks::StaticExtrinsic for EnsureUpdated { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "ensure_updated"; } @@ -34479,8 +32737,8 @@ pub mod api { pub fn note_preimage( &self, bytes: types::note_preimage::Bytes, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "note_preimage", types::NotePreimage { bytes }, @@ -34500,9 +32758,8 @@ pub mod api { pub fn unnote_preimage( &self, hash: types::unnote_preimage::Hash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "unnote_preimage", types::UnnotePreimage { hash }, @@ -34521,9 +32778,8 @@ pub mod api { pub fn request_preimage( &self, hash: types::request_preimage::Hash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "request_preimage", types::RequestPreimage { hash }, @@ -34540,9 +32796,8 @@ pub mod api { pub fn unrequest_preimage( &self, hash: types::unrequest_preimage::Hash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "unrequest_preimage", types::UnrequestPreimage { hash }, @@ -34560,9 +32815,8 @@ pub mod api { pub fn ensure_updated( &self, hashes: types::ensure_updated::Hashes, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "ensure_updated", types::EnsureUpdated { hashes }, @@ -34581,80 +32835,80 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Noted { + impl ::subxt_core::events::StaticEvent for Noted { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Noted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Requested { + impl ::subxt_core::events::StaticEvent for Requested { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Requested"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::H256; + pub type Hash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Cleared { + impl ::subxt_core::events::StaticEvent for Cleared { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Cleared"; } @@ -34666,18 +32920,18 @@ pub mod api { pub mod status_for { use super::runtime_types; pub type StatusFor = runtime_types::pallet_preimage::OldRequestStatus< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod request_status_for { use super::runtime_types; pub type RequestStatusFor = runtime_types::pallet_preimage::RequestStatus< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, (), >; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod preimage_for { use super::runtime_types; @@ -34685,7 +32939,7 @@ pub mod api { runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; pub type Param1 = ::core::primitive::u32; } } @@ -34694,14 +32948,14 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn status_for_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::status_for::StatusFor, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "StatusFor", (), @@ -34717,21 +32971,17 @@ pub mod api { pub fn status_for( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::status_for::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::status_for::StatusFor, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "StatusFor", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -34743,14 +32993,14 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn request_status_for_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::request_status_for::RequestStatusFor, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "RequestStatusFor", (), @@ -34765,21 +33015,19 @@ pub mod api { pub fn request_status_for( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::request_status_for::Param0, >, types::request_status_for::RequestStatusFor, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "RequestStatusFor", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 60u8, 36u8, 88u8, 121u8, 15u8, 71u8, 245u8, 91u8, 235u8, 58u8, 109u8, 17u8, 249u8, 135u8, 4u8, 132u8, 170u8, 173u8, 142u8, 101u8, 167u8, @@ -34789,14 +33037,14 @@ pub mod api { } pub fn preimage_for_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::preimage_for::PreimageFor, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "PreimageFor", (), @@ -34811,21 +33059,17 @@ pub mod api { pub fn preimage_for_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::preimage_for::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::preimage_for::PreimageFor, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "PreimageFor", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -34838,30 +33082,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::preimage_for::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::preimage_for::Param1, >, ), types::preimage_for::PreimageFor, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "PreimageFor", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 106u8, 5u8, 17u8, 46u8, 6u8, 184u8, 177u8, 113u8, 169u8, 34u8, 119u8, @@ -34882,19 +33122,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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\\]."] @@ -34905,10 +33145,9 @@ pub mod api { pub mod offence { use super::runtime_types; pub type Kind = [::core::primitive::u8; 16usize]; - pub type Timeslot = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Timeslot = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Offence { + impl ::subxt_core::events::StaticEvent for Offence { const PALLET: &'static str = "Offences"; const EVENT: &'static str = "Offence"; } @@ -34920,22 +33159,21 @@ pub mod api { pub mod reports { use super::runtime_types; pub type Reports = runtime_types::sp_staking::offence::OffenceDetails< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ( - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, runtime_types::sp_staking::Exposure< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >, ), >; - pub type Param0 = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H256; } pub mod concurrent_reports_index { use super::runtime_types; - pub type ConcurrentReportsIndex = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >; + pub type ConcurrentReportsIndex = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>; pub type Param0 = [::core::primitive::u8; 16usize]; pub type Param1 = [::core::primitive::u8]; } @@ -34945,14 +33183,14 @@ pub mod api { #[doc = " The primary structure that holds all offence records keyed by report identifiers."] pub fn reports_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reports::Reports, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Offences", "Reports", (), @@ -34967,21 +33205,17 @@ pub mod api { pub fn reports( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::reports::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::reports::Reports, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Offences", "Reports", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 140u8, 14u8, 199u8, 180u8, 83u8, 5u8, 23u8, 57u8, 241u8, 41u8, 240u8, 35u8, 80u8, 12u8, 115u8, 16u8, 2u8, 15u8, 22u8, 77u8, 25u8, 92u8, @@ -34992,14 +33226,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::concurrent_reports_index::ConcurrentReportsIndex, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Offences", "ConcurrentReportsIndex", (), @@ -35015,21 +33249,19 @@ pub mod api { pub fn concurrent_reports_index_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::concurrent_reports_index::Param0, >, types::concurrent_reports_index::ConcurrentReportsIndex, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Offences", "ConcurrentReportsIndex", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -35043,30 +33275,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::concurrent_reports_index::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::concurrent_reports_index::Param1, >, ), types::concurrent_reports_index::ConcurrentReportsIndex, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Offences", "ConcurrentReportsIndex", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 170u8, 186u8, 72u8, 29u8, 251u8, 38u8, 193u8, 195u8, 109u8, 86u8, 0u8, @@ -35093,23 +33321,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pause a call."] #[doc = ""] #[doc = "Can only be called by [`Config::PauseOrigin`]."] @@ -35128,28 +33352,24 @@ pub mod api { >, ); } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Pause { + impl ::subxt_core::blocks::StaticExtrinsic for Pause { const PALLET: &'static str = "TxPause"; const CALL: &'static str = "pause"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Un-pause a call."] #[doc = ""] #[doc = "Can only be called by [`Config::UnpauseOrigin`]."] @@ -35168,7 +33388,7 @@ pub mod api { >, ); } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unpause { + impl ::subxt_core::blocks::StaticExtrinsic for Unpause { const PALLET: &'static str = "TxPause"; const CALL: &'static str = "unpause"; } @@ -35182,8 +33402,8 @@ pub mod api { pub fn pause( &self, full_name: types::pause::FullName, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "TxPause", "pause", types::Pause { full_name }, @@ -35201,8 +33421,8 @@ pub mod api { pub fn unpause( &self, ident: types::unpause::Ident, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "TxPause", "unpause", types::Unpause { ident }, @@ -35221,19 +33441,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "This pallet, or a specific call is now paused."] pub struct CallPaused { pub full_name: call_paused::FullName, @@ -35249,24 +33469,24 @@ pub mod api { >, ); } - impl ::subxt::ext::subxt_core::events::StaticEvent for CallPaused { + impl ::subxt_core::events::StaticEvent for CallPaused { const PALLET: &'static str = "TxPause"; const EVENT: &'static str = "CallPaused"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "This pallet, or a specific call is now unpaused."] pub struct CallUnpaused { pub full_name: call_unpaused::FullName, @@ -35282,7 +33502,7 @@ pub mod api { >, ); } - impl ::subxt::ext::subxt_core::events::StaticEvent for CallUnpaused { + impl ::subxt_core::events::StaticEvent for CallUnpaused { const PALLET: &'static str = "TxPause"; const EVENT: &'static str = "CallUnpaused"; } @@ -35307,14 +33527,14 @@ pub mod api { #[doc = " The set of calls that are explicitly paused."] pub fn paused_calls_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::paused_calls::PausedCalls, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "TxPause", "PausedCalls", (), @@ -35329,21 +33549,17 @@ pub mod api { pub fn paused_calls_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::paused_calls::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::paused_calls::PausedCalls, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "TxPause", "PausedCalls", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 36u8, 9u8, 29u8, 154u8, 39u8, 47u8, 237u8, 97u8, 176u8, 241u8, 153u8, 131u8, 20u8, 16u8, 73u8, 63u8, 27u8, 21u8, 107u8, 5u8, 147u8, 198u8, @@ -35356,30 +33572,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::paused_calls::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::paused_calls::Param1, >, ), types::paused_calls::PausedCalls, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "TxPause", "PausedCalls", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 36u8, 9u8, 29u8, 154u8, 39u8, 47u8, 237u8, 97u8, 176u8, 241u8, 153u8, @@ -35399,10 +33611,8 @@ pub mod api { #[doc = " TOO LONG NAMES WILL BE TREATED AS PAUSED."] pub fn max_name_len( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "TxPause", "MaxNameLen", [ @@ -35430,23 +33640,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "## Complexity:"] #[doc = "- `O(K)` where K is length of `Keys` (heartbeat.validators_len)"] #[doc = " - `O(K)`: decoding of length `K`"] @@ -35461,7 +33667,7 @@ pub mod api { pub type Signature = runtime_types::pallet_im_online::sr25519::app_sr25519::Signature; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Heartbeat { + impl ::subxt_core::blocks::StaticExtrinsic for Heartbeat { const PALLET: &'static str = "ImOnline"; const CALL: &'static str = "heartbeat"; } @@ -35475,8 +33681,8 @@ pub mod api { &self, heartbeat: types::heartbeat::Heartbeat, signature: types::heartbeat::Signature, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "ImOnline", "heartbeat", types::Heartbeat { heartbeat, signature }, @@ -35494,19 +33700,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new heartbeat was received from `AuthorityId`."] pub struct HeartbeatReceived { pub authority_id: heartbeat_received::AuthorityId, @@ -35516,59 +33722,59 @@ pub mod api { pub type AuthorityId = runtime_types::pallet_im_online::sr25519::app_sr25519::Public; } - impl ::subxt::ext::subxt_core::events::StaticEvent for HeartbeatReceived { + impl ::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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { + impl ::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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, + pub type Offline = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, runtime_types::sp_staking::Exposure< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >, )>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SomeOffline { + impl ::subxt_core::events::StaticEvent for SomeOffline { const PALLET: &'static str = "ImOnline"; const EVENT: &'static str = "SomeOffline"; } @@ -35598,7 +33804,7 @@ pub mod api { 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 type Param1 = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -35616,14 +33822,14 @@ pub mod api { #[doc = " more accurate then the value we calculate for `HeartbeatAfter`."] pub fn heartbeat_after( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::heartbeat_after::HeartbeatAfter, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "HeartbeatAfter", (), @@ -35637,14 +33843,14 @@ pub mod api { #[doc = " The current set of keys that may issue a heartbeat."] pub fn keys( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::keys::Keys, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "Keys", (), @@ -35659,14 +33865,14 @@ pub mod api { #[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::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::received_heartbeats::ReceivedHeartbeats, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "ReceivedHeartbeats", (), @@ -35681,21 +33887,19 @@ pub mod api { pub fn received_heartbeats_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::received_heartbeats::Param0, >, types::received_heartbeats::ReceivedHeartbeats, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "ReceivedHeartbeats", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -35708,30 +33912,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::received_heartbeats::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::received_heartbeats::Param1, >, ), types::received_heartbeats::ReceivedHeartbeats, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "ReceivedHeartbeats", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 30u8, 155u8, 42u8, 200u8, 223u8, 48u8, 127u8, 31u8, 253u8, 195u8, @@ -35744,14 +33944,14 @@ pub mod api { #[doc = " number of blocks authored by the given authority."] pub fn authored_blocks_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::authored_blocks::AuthoredBlocks, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "AuthoredBlocks", (), @@ -35768,21 +33968,19 @@ pub mod api { pub fn authored_blocks_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::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_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "AuthoredBlocks", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -35797,30 +33995,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::authored_blocks::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::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_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "AuthoredBlocks", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 123u8, 76u8, 230u8, 113u8, 65u8, 255u8, 99u8, 79u8, 131u8, 139u8, @@ -35842,10 +34036,8 @@ pub mod api { #[doc = " multiple pallets send unsigned transactions."] pub fn unsigned_priority( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "ImOnline", "UnsignedPriority", [ @@ -35873,23 +34065,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Add a registrar to the system."] #[doc = ""] #[doc = "The dispatch origin for this call must be `T::RegistrarOrigin`."] @@ -35902,33 +34090,29 @@ pub mod api { } pub mod add_registrar { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Account = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddRegistrar { + impl ::subxt_core::blocks::StaticExtrinsic for AddRegistrar { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_registrar"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -35940,34 +34124,30 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentitySet` if successful."] pub struct SetIdentity { - pub info: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub info: ::subxt_core::alloc::boxed::Box, } pub mod set_identity { use super::runtime_types; pub type Info = runtime_types::pallet_identity::legacy::IdentityInfo; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetIdentity { + impl ::subxt_core::blocks::StaticExtrinsic for SetIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_identity"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -35982,33 +34162,29 @@ pub mod api { } pub mod set_subs { use super::runtime_types; - pub type Subs = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Subs = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetSubs { + impl ::subxt_core::blocks::StaticExtrinsic for SetSubs { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_subs"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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."] @@ -36018,28 +34194,24 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentityCleared` if successful."] pub struct ClearIdentity; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearIdentity { + impl ::subxt_core::blocks::StaticExtrinsic for ClearIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "clear_identity"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36067,28 +34239,24 @@ pub mod api { pub type RegIndex = ::core::primitive::u32; pub type MaxFee = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RequestJudgement { + impl ::subxt_core::blocks::StaticExtrinsic for RequestJudgement { const PALLET: &'static str = "Identity"; const CALL: &'static str = "request_judgement"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancel a previous request."] #[doc = ""] #[doc = "Payment: A previously reserved deposit is returned on success."] @@ -36106,28 +34274,24 @@ pub mod api { use super::runtime_types; pub type RegIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRequest { + impl ::subxt_core::blocks::StaticExtrinsic for CancelRequest { const PALLET: &'static str = "Identity"; const CALL: &'static str = "cancel_request"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36146,28 +34310,24 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Fee = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetFee { + impl ::subxt_core::blocks::StaticExtrinsic for SetFee { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_fee"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36183,33 +34343,29 @@ pub mod api { pub mod set_account_id { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type New = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetAccountId { + impl ::subxt_core::blocks::StaticExtrinsic for SetAccountId { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_account_id"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36227,28 +34383,24 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Fields = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetFields { + impl ::subxt_core::blocks::StaticExtrinsic for SetFields { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_fields"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36274,36 +34426,32 @@ pub mod api { pub mod provide_judgement { use super::runtime_types; pub type RegIndex = ::core::primitive::u32; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Judgement = runtime_types::pallet_identity::types::Judgement<::core::primitive::u128>; - pub type Identity = ::subxt::ext::subxt_core::utils::H256; + pub type Identity = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProvideJudgement { + impl ::subxt_core::blocks::StaticExtrinsic for ProvideJudgement { const PALLET: &'static str = "Identity"; const CALL: &'static str = "provide_judgement"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36321,33 +34469,29 @@ pub mod api { } pub mod kill_identity { use super::runtime_types; - pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Target = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillIdentity { + impl ::subxt_core::blocks::StaticExtrinsic for KillIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "kill_identity"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36361,34 +34505,30 @@ pub mod api { } pub mod add_sub { use super::runtime_types; - pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Sub = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Data = runtime_types::pallet_identity::types::Data; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddSub { + impl ::subxt_core::blocks::StaticExtrinsic for AddSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_sub"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36399,34 +34539,30 @@ pub mod api { } pub mod rename_sub { use super::runtime_types; - pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Sub = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Data = runtime_types::pallet_identity::types::Data; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RenameSub { + impl ::subxt_core::blocks::StaticExtrinsic for RenameSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "rename_sub"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36439,33 +34575,29 @@ pub mod api { } pub mod remove_sub { use super::runtime_types; - pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Sub = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveSub { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_sub"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36477,28 +34609,24 @@ pub mod api { #[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 struct QuitSub; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for QuitSub { + impl ::subxt_core::blocks::StaticExtrinsic for QuitSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "quit_sub"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36510,69 +34638,60 @@ pub mod api { } pub mod add_username_authority { use super::runtime_types; - pub type Authority = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Authority = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Suffix = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Suffix = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Allocation = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddUsernameAuthority { + impl ::subxt_core::blocks::StaticExtrinsic for AddUsernameAuthority { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_username_authority"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Authority = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveUsernameAuthority { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveUsernameAuthority { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_username_authority"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -36589,37 +34708,32 @@ pub mod api { } pub mod set_username_for { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Who = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Username = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Username = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Signature = ::core::option::Option; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetUsernameFor { + impl ::subxt_core::blocks::StaticExtrinsic for SetUsernameFor { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_username_for"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 { @@ -36631,28 +34745,24 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptUsername { + impl ::subxt_core::blocks::StaticExtrinsic for AcceptUsername { const PALLET: &'static str = "Identity"; const CALL: &'static str = "accept_username"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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`."] @@ -36665,28 +34775,24 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveExpiredApproval { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveExpiredApproval { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_expired_approval"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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, @@ -36697,28 +34803,24 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetPrimaryUsername { + impl ::subxt_core::blocks::StaticExtrinsic for SetPrimaryUsername { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_primary_username"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 { @@ -36730,7 +34832,7 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveDanglingUsername { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveDanglingUsername { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_dangling_username"; } @@ -36747,8 +34849,8 @@ pub mod api { pub fn add_registrar( &self, account: types::add_registrar::Account, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "add_registrar", types::AddRegistrar { account }, @@ -36772,13 +34874,11 @@ pub mod api { pub fn set_identity( &self, info: types::set_identity::Info, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_identity", - types::SetIdentity { - info: ::subxt::ext::subxt_core::alloc::boxed::Box::new(info), - }, + types::SetIdentity { info: ::subxt_core::alloc::boxed::Box::new(info) }, [ 18u8, 86u8, 67u8, 10u8, 116u8, 254u8, 94u8, 95u8, 166u8, 30u8, 204u8, 189u8, 174u8, 70u8, 191u8, 255u8, 149u8, 93u8, 156u8, 120u8, 105u8, @@ -36799,8 +34899,8 @@ pub mod api { pub fn set_subs( &self, subs: types::set_subs::Subs, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_subs", types::SetSubs { subs }, @@ -36822,9 +34922,8 @@ pub mod api { #[doc = "Emits `IdentityCleared` if successful."] pub fn clear_identity( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "clear_identity", types::ClearIdentity {}, @@ -36856,9 +34955,8 @@ pub mod api { &self, reg_index: types::request_judgement::RegIndex, max_fee: types::request_judgement::MaxFee, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "request_judgement", types::RequestJudgement { reg_index, max_fee }, @@ -36882,9 +34980,8 @@ pub mod api { pub fn cancel_request( &self, reg_index: types::cancel_request::RegIndex, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "cancel_request", types::CancelRequest { reg_index }, @@ -36907,8 +35004,8 @@ pub mod api { &self, index: types::set_fee::Index, fee: types::set_fee::Fee, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_fee", types::SetFee { index, fee }, @@ -36931,8 +35028,8 @@ pub mod api { &self, index: types::set_account_id::Index, new: types::set_account_id::New, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_account_id", types::SetAccountId { index, new }, @@ -36955,8 +35052,8 @@ pub mod api { &self, index: types::set_fields::Index, fields: types::set_fields::Fields, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_fields", types::SetFields { index, fields }, @@ -36989,9 +35086,8 @@ pub mod api { target: types::provide_judgement::Target, judgement: types::provide_judgement::Judgement, identity: types::provide_judgement::Identity, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "provide_judgement", types::ProvideJudgement { reg_index, target, judgement, identity }, @@ -37018,8 +35114,8 @@ pub mod api { pub fn kill_identity( &self, target: types::kill_identity::Target, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "kill_identity", types::KillIdentity { target }, @@ -37041,8 +35137,8 @@ pub mod api { &self, sub: types::add_sub::Sub, data: types::add_sub::Data, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "add_sub", types::AddSub { sub, data }, @@ -37061,8 +35157,8 @@ pub mod api { &self, sub: types::rename_sub::Sub, data: types::rename_sub::Data, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "rename_sub", types::RenameSub { sub, data }, @@ -37083,8 +35179,8 @@ pub mod api { pub fn remove_sub( &self, sub: types::remove_sub::Sub, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_sub", types::RemoveSub { sub }, @@ -37106,10 +35202,8 @@ pub mod api { #[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::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + pub fn quit_sub(&self) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "quit_sub", types::QuitSub {}, @@ -37130,9 +35224,8 @@ pub mod api { authority: types::add_username_authority::Authority, suffix: types::add_username_authority::Suffix, allocation: types::add_username_authority::Allocation, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "add_username_authority", types::AddUsernameAuthority { authority, suffix, allocation }, @@ -37147,10 +35240,8 @@ pub mod api { pub fn remove_username_authority( &self, authority: types::remove_username_authority::Authority, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::RemoveUsernameAuthority, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_username_authority", types::RemoveUsernameAuthority { authority }, @@ -37175,9 +35266,8 @@ pub mod api { who: types::set_username_for::Who, username: types::set_username_for::Username, signature: types::set_username_for::Signature, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_username_for", types::SetUsernameFor { who, username, signature }, @@ -37194,9 +35284,8 @@ pub mod api { pub fn accept_username( &self, username: types::accept_username::Username, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "accept_username", types::AcceptUsername { username }, @@ -37213,10 +35302,8 @@ pub mod api { pub fn remove_expired_approval( &self, username: types::remove_expired_approval::Username, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::RemoveExpiredApproval, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_expired_approval", types::RemoveExpiredApproval { username }, @@ -37231,9 +35318,8 @@ pub mod api { pub fn set_primary_username( &self, username: types::set_primary_username::Username, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_primary_username", types::SetPrimaryUsername { username }, @@ -37249,10 +35335,8 @@ pub mod api { pub fn remove_dangling_username( &self, username: types::remove_dangling_username::Username, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::RemoveDanglingUsername, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_dangling_username", types::RemoveDanglingUsername { username }, @@ -37270,45 +35354,45 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for IdentitySet { + impl ::subxt_core::events::StaticEvent for IdentitySet { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentitySet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A name was cleared, and the given balance returned."] pub struct IdentityCleared { pub who: identity_cleared::Who, @@ -37316,27 +35400,27 @@ pub mod api { } pub mod identity_cleared { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for IdentityCleared { + impl ::subxt_core::events::StaticEvent for IdentityCleared { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentityCleared"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A name was removed and the given balance slashed."] pub struct IdentityKilled { pub who: identity_killed::Who, @@ -37344,27 +35428,27 @@ pub mod api { } pub mod identity_killed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for IdentityKilled { + impl ::subxt_core::events::StaticEvent for IdentityKilled { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentityKilled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A judgement was asked from a registrar."] pub struct JudgementRequested { pub who: judgement_requested::Who, @@ -37372,27 +35456,27 @@ pub mod api { } pub mod judgement_requested { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementRequested { + impl ::subxt_core::events::StaticEvent for JudgementRequested { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementRequested"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A judgement request was retracted."] pub struct JudgementUnrequested { pub who: judgement_unrequested::Who, @@ -37400,27 +35484,27 @@ pub mod api { } pub mod judgement_unrequested { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementUnrequested { + impl ::subxt_core::events::StaticEvent for JudgementUnrequested { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementUnrequested"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A judgement was given by a registrar."] pub struct JudgementGiven { pub target: judgement_given::Target, @@ -37428,27 +35512,27 @@ pub mod api { } pub mod judgement_given { use super::runtime_types; - pub type Target = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Target = ::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementGiven { + impl ::subxt_core::events::StaticEvent for JudgementGiven { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementGiven"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A registrar was added."] pub struct RegistrarAdded { pub registrar_index: registrar_added::RegistrarIndex, @@ -37457,24 +35541,24 @@ pub mod api { use super::runtime_types; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for RegistrarAdded { + impl ::subxt_core::events::StaticEvent for RegistrarAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "RegistrarAdded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -37483,28 +35567,28 @@ pub mod api { } pub mod sub_identity_added { use super::runtime_types; - pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Sub = ::subxt_core::utils::AccountId32; + pub type Main = ::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityAdded { + impl ::subxt_core::events::StaticEvent for SubIdentityAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityAdded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -37513,28 +35597,28 @@ pub mod api { } pub mod sub_identity_removed { use super::runtime_types; - pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Sub = ::subxt_core::utils::AccountId32; + pub type Main = ::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityRemoved { + impl ::subxt_core::events::StaticEvent for SubIdentityRemoved { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityRemoved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -37544,80 +35628,80 @@ pub mod api { } pub mod sub_identity_revoked { use super::runtime_types; - pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Sub = ::subxt_core::utils::AccountId32; + pub type Main = ::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityRevoked { + impl ::subxt_core::events::StaticEvent for SubIdentityRevoked { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityRevoked"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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::ext::subxt_core::utils::AccountId32; + pub type Authority = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AuthorityAdded { + impl ::subxt_core::events::StaticEvent for AuthorityAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "AuthorityAdded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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::ext::subxt_core::utils::AccountId32; + pub type Authority = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AuthorityRemoved { + impl ::subxt_core::events::StaticEvent for AuthorityRemoved { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "AuthorityRemoved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A username was set for `who`."] pub struct UsernameSet { pub who: username_set::Who, @@ -37625,29 +35709,29 @@ pub mod api { } pub mod username_set { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for UsernameSet { + impl ::subxt_core::events::StaticEvent for UsernameSet { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "UsernameSet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A username was queued, but `who` must accept it prior to `expiration`."] pub struct UsernameQueued { pub who: username_queued::Who, @@ -37656,56 +35740,56 @@ pub mod api { } pub mod username_queued { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; pub type Expiration = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for UsernameQueued { + impl ::subxt_core::events::StaticEvent for UsernameQueued { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "UsernameQueued"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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::ext::subxt_core::utils::AccountId32; + pub type Whose = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PreapprovalExpired { + impl ::subxt_core::events::StaticEvent for PreapprovalExpired { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "PreapprovalExpired"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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, @@ -37713,29 +35797,29 @@ pub mod api { } pub mod primary_username_set { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PrimaryUsernameSet { + impl ::subxt_core::events::StaticEvent for PrimaryUsernameSet { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "PrimaryUsernameSet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 { @@ -37744,12 +35828,12 @@ pub mod api { } pub mod dangling_username_removed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for DanglingUsernameRemoved { + impl ::subxt_core::events::StaticEvent for DanglingUsernameRemoved { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "DanglingUsernameRemoved"; } @@ -37771,25 +35855,25 @@ pub mod api { >, >, ); - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod super_of { use super::runtime_types; pub type SuperOf = ( - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, ); - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::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::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, ); - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod registrars { use super::runtime_types; @@ -37798,7 +35882,7 @@ pub mod api { ::core::option::Option< runtime_types::pallet_identity::types::RegistrarInfo< ::core::primitive::u128, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u64, >, >, @@ -37812,11 +35896,11 @@ pub mod api { ::core::primitive::u8, >, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod account_of_username { use super::runtime_types; - pub type AccountOfUsername = ::subxt::ext::subxt_core::utils::AccountId32; + pub type AccountOfUsername = ::subxt_core::utils::AccountId32; pub type Param0 = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; @@ -37824,7 +35908,7 @@ pub mod api { pub mod pending_usernames { use super::runtime_types; pub type PendingUsernames = - (::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64); + (::subxt_core::utils::AccountId32, ::core::primitive::u64); pub type Param0 = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; @@ -37838,14 +35922,14 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn identity_of_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::identity_of::IdentityOf, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "IdentityOf", (), @@ -37863,21 +35947,17 @@ pub mod api { pub fn identity_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::identity_of::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::identity_of::IdentityOf, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "IdentityOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -37889,14 +35969,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::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::super_of::SuperOf, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SuperOf", (), @@ -37912,21 +35992,17 @@ pub mod api { pub fn super_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::super_of::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::super_of::SuperOf, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SuperOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -37941,14 +36017,14 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn subs_of_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::subs_of::SubsOf, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SubsOf", (), @@ -37968,21 +36044,17 @@ pub mod api { pub fn subs_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::subs_of::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::subs_of::SubsOf, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SubsOf", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::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, @@ -37997,14 +36069,14 @@ pub mod api { #[doc = " The index into this can be cast to `RegistrarIndex` to get a valid value."] pub fn registrars( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::registrars::Registrars, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "Registrars", (), @@ -38019,14 +36091,14 @@ pub mod api { #[doc = " A map of the accounts who are authorized to grant usernames."] pub fn username_authorities_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::username_authorities::UsernameAuthorities, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "UsernameAuthorities", (), @@ -38041,21 +36113,19 @@ pub mod api { pub fn username_authorities( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::username_authorities::Param0, >, types::username_authorities::UsernameAuthorities, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "UsernameAuthorities", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::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, @@ -38070,14 +36140,14 @@ pub mod api { #[doc = " primary username."] pub fn account_of_username_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::account_of_username::AccountOfUsername, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "AccountOfUsername", (), @@ -38097,21 +36167,19 @@ pub mod api { pub fn account_of_username( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::account_of_username::Param0, >, types::account_of_username::AccountOfUsername, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "AccountOfUsername", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::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, @@ -38128,14 +36196,14 @@ pub mod api { #[doc = " First tuple item is the account and second is the acceptance deadline."] pub fn pending_usernames_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::pending_usernames::PendingUsernames, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "PendingUsernames", (), @@ -38156,21 +36224,19 @@ pub mod api { pub fn pending_usernames( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::pending_usernames::Param0, >, types::pending_usernames::PendingUsernames, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Identity", "PendingUsernames", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 223u8, 53u8, 146u8, 168u8, 52u8, 5u8, 197u8, 129u8, 163u8, 221u8, 112u8, 242u8, 120u8, 199u8, 172u8, 187u8, 53u8, 49u8, 11u8, 175u8, @@ -38188,10 +36254,8 @@ pub mod api { #[doc = " The amount held on deposit for a registered identity."] pub fn basic_deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "BasicDeposit", [ @@ -38204,10 +36268,8 @@ pub mod api { #[doc = " The amount held on deposit per encoded byte for a registered identity."] pub fn byte_deposit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "ByteDeposit", [ @@ -38222,10 +36284,8 @@ 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::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "SubAccountDeposit", [ @@ -38238,10 +36298,8 @@ pub mod api { #[doc = " The maximum number of sub-accounts allowed per identified account."] pub fn max_sub_accounts( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxSubAccounts", [ @@ -38256,10 +36314,8 @@ pub mod api { #[doc = " of, e.g., updating judgements."] pub fn max_registrars( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxRegistrars", [ @@ -38273,10 +36329,8 @@ pub mod api { #[doc = " The number of blocks within which a username grant must be accepted."] pub fn pending_username_expiration( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u64, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "PendingUsernameExpiration", [ @@ -38290,10 +36344,8 @@ pub mod api { #[doc = " The maximum length of a suffix."] pub fn max_suffix_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxSuffixLength", [ @@ -38307,10 +36359,8 @@ pub mod api { #[doc = " The maximum length of a username, including its suffix and any system-added delimiters."] pub fn max_username_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxUsernameLength", [ @@ -38338,23 +36388,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Send a batch of dispatch calls."] #[doc = ""] #[doc = "May be called from any origin except `None`."] @@ -38378,32 +36424,28 @@ pub mod api { } pub mod batch { use super::runtime_types; - pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Calls = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Batch { + impl ::subxt_core::blocks::StaticExtrinsic for Batch { const PALLET: &'static str = "Utility"; const CALL: &'static str = "batch"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -38419,35 +36461,31 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_."] pub struct AsDerivative { pub index: as_derivative::Index, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod as_derivative { use super::runtime_types; pub type Index = ::core::primitive::u16; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsDerivative { + impl ::subxt_core::blocks::StaticExtrinsic for AsDerivative { const PALLET: &'static str = "Utility"; const CALL: &'static str = "as_derivative"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -38466,32 +36504,28 @@ pub mod api { } pub mod batch_all { use super::runtime_types; - pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Calls = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BatchAll { + impl ::subxt_core::blocks::StaticExtrinsic for BatchAll { const PALLET: &'static str = "Utility"; const CALL: &'static str = "batch_all"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Dispatches a function call with a provided origin."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -38499,37 +36533,32 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(1)."] pub struct DispatchAs { - pub as_origin: - ::subxt::ext::subxt_core::alloc::boxed::Box, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub as_origin: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod dispatch_as { use super::runtime_types; pub type AsOrigin = runtime_types::tangle_testnet_runtime::OriginCaller; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DispatchAs { + impl ::subxt_core::blocks::StaticExtrinsic for DispatchAs { const PALLET: &'static str = "Utility"; const CALL: &'static str = "dispatch_as"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Send a batch of dispatch calls."] #[doc = "Unlike `batch`, it allows errors and won't interrupt."] #[doc = ""] @@ -38548,32 +36577,28 @@ pub mod api { } pub mod force_batch { use super::runtime_types; - pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Calls = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceBatch { + impl ::subxt_core::blocks::StaticExtrinsic for ForceBatch { const PALLET: &'static str = "Utility"; const CALL: &'static str = "force_batch"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -38581,7 +36606,7 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] pub struct WithWeight { - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, pub weight: with_weight::Weight, } pub mod with_weight { @@ -38589,7 +36614,7 @@ pub mod api { pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type Weight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithWeight { + impl ::subxt_core::blocks::StaticExtrinsic for WithWeight { const PALLET: &'static str = "Utility"; const CALL: &'static str = "with_weight"; } @@ -38617,8 +36642,8 @@ pub mod api { pub fn batch( &self, calls: types::batch::Calls, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "batch", types::Batch { calls }, @@ -38647,13 +36672,13 @@ pub mod api { &self, index: types::as_derivative::Index, call: types::as_derivative::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "as_derivative", types::AsDerivative { index, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 129u8, 16u8, 192u8, 221u8, 162u8, 229u8, 249u8, 212u8, 227u8, 149u8, @@ -38678,8 +36703,8 @@ pub mod api { pub fn batch_all( &self, calls: types::batch_all::Calls, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "batch_all", types::BatchAll { calls }, @@ -38701,13 +36726,13 @@ pub mod api { &self, as_origin: types::dispatch_as::AsOrigin, call: types::dispatch_as::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "dispatch_as", types::DispatchAs { - as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box::new(as_origin), - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + as_origin: ::subxt_core::alloc::boxed::Box::new(as_origin), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 46u8, 46u8, 176u8, 42u8, 24u8, 50u8, 190u8, 132u8, 227u8, 66u8, 100u8, @@ -38732,8 +36757,8 @@ pub mod api { pub fn force_batch( &self, calls: types::force_batch::Calls, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "force_batch", types::ForceBatch { calls }, @@ -38755,12 +36780,12 @@ pub mod api { &self, call: types::with_weight::Call, weight: types::with_weight::Weight, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "with_weight", types::WithWeight { - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), weight, }, [ @@ -38778,19 +36803,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -38802,84 +36827,84 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Error = runtime_types::sp_runtime::DispatchError; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BatchInterrupted { + impl ::subxt_core::events::StaticEvent for BatchInterrupted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchInterrupted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches completed fully with no error."] pub struct BatchCompleted; - impl ::subxt::ext::subxt_core::events::StaticEvent for BatchCompleted { + impl ::subxt_core::events::StaticEvent for BatchCompleted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchCompleted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches completed but has errors."] pub struct BatchCompletedWithErrors; - impl ::subxt::ext::subxt_core::events::StaticEvent for BatchCompletedWithErrors { + impl ::subxt_core::events::StaticEvent for BatchCompletedWithErrors { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchCompletedWithErrors"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A single item within a Batch of dispatches has completed with no error."] pub struct ItemCompleted; - impl ::subxt::ext::subxt_core::events::StaticEvent for ItemCompleted { + impl ::subxt_core::events::StaticEvent for ItemCompleted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "ItemCompleted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -38888,24 +36913,24 @@ pub mod api { use super::runtime_types; pub type Error = runtime_types::sp_runtime::DispatchError; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ItemFailed { + impl ::subxt_core::events::StaticEvent for ItemFailed { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "ItemFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A call was dispatched."] pub struct DispatchedAs { pub result: dispatched_as::Result, @@ -38915,7 +36940,7 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for DispatchedAs { + impl ::subxt_core::events::StaticEvent for DispatchedAs { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "DispatchedAs"; } @@ -38927,10 +36952,8 @@ pub mod api { #[doc = " The limit on the number of batched calls."] pub fn batched_calls_limit( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Utility", "batched_calls_limit", [ @@ -38958,23 +36981,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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_."] @@ -38989,38 +37008,32 @@ pub mod api { #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] pub struct AsMultiThreshold1 { pub other_signatories: as_multi_threshold1::OtherSignatories, - pub call: - ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod as_multi_threshold1 { use super::runtime_types; - pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type OtherSignatories = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsMultiThreshold1 { + impl ::subxt_core::blocks::StaticExtrinsic for AsMultiThreshold1 { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "as_multi_threshold_1"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -39064,43 +37077,38 @@ pub mod api { pub threshold: as_multi::Threshold, pub other_signatories: as_multi::OtherSignatories, pub maybe_timepoint: as_multi::MaybeTimepoint, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::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 = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type OtherSignatories = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; pub type MaybeTimepoint = ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type MaxWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsMulti { + impl ::subxt_core::blocks::StaticExtrinsic for AsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "as_multi"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -39141,37 +37149,32 @@ pub mod api { pub mod approve_as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type OtherSignatories = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; pub type MaybeTimepoint = ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >; pub type CallHash = [::core::primitive::u8; 32usize]; pub type MaxWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveAsMulti { + impl ::subxt_core::blocks::StaticExtrinsic for ApproveAsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "approve_as_multi"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -39202,14 +37205,13 @@ pub mod api { pub mod cancel_as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type OtherSignatories = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelAsMulti { + impl ::subxt_core::blocks::StaticExtrinsic for CancelAsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "cancel_as_multi"; } @@ -39232,14 +37234,13 @@ pub mod api { &self, other_signatories: types::as_multi_threshold1::OtherSignatories, call: types::as_multi_threshold1::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "as_multi_threshold_1", types::AsMultiThreshold1 { other_signatories, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 70u8, 81u8, 93u8, 107u8, 197u8, 156u8, 218u8, 126u8, 230u8, 88u8, 11u8, @@ -39294,15 +37295,15 @@ pub mod api { maybe_timepoint: types::as_multi::MaybeTimepoint, call: types::as_multi::Call, max_weight: types::as_multi::MaxWeight, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "as_multi", types::AsMulti { threshold, other_signatories, maybe_timepoint, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), max_weight, }, [ @@ -39349,9 +37350,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::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "approve_as_multi", types::ApproveAsMulti { @@ -39395,9 +37395,8 @@ pub mod api { other_signatories: types::cancel_as_multi::OtherSignatories, timepoint: types::cancel_as_multi::Timepoint, call_hash: types::cancel_as_multi::CallHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "cancel_as_multi", types::CancelAsMulti { threshold, other_signatories, timepoint, call_hash }, @@ -39416,19 +37415,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new multisig operation has begun."] pub struct NewMultisig { pub approving: new_multisig::Approving, @@ -39437,28 +37436,28 @@ pub mod api { } pub mod new_multisig { use super::runtime_types; - pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Approving = ::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NewMultisig { + impl ::subxt_core::events::StaticEvent for NewMultisig { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "NewMultisig"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been approved by someone."] pub struct MultisigApproval { pub approving: multisig_approval::Approving, @@ -39468,30 +37467,30 @@ pub mod api { } pub mod multisig_approval { use super::runtime_types; - pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Approving = ::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; - pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigApproval { + impl ::subxt_core::events::StaticEvent for MultisigApproval { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigApproval"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been executed."] pub struct MultisigExecuted { pub approving: multisig_executed::Approving, @@ -39502,32 +37501,32 @@ pub mod api { } pub mod multisig_executed { use super::runtime_types; - pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Approving = ::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; - pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigExecuted { + impl ::subxt_core::events::StaticEvent for MultisigExecuted { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigExecuted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been cancelled."] pub struct MultisigCancelled { pub cancelling: multisig_cancelled::Cancelling, @@ -39537,13 +37536,13 @@ pub mod api { } pub mod multisig_cancelled { use super::runtime_types; - pub type Cancelling = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Cancelling = ::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; - pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigCancelled { + impl ::subxt_core::events::StaticEvent for MultisigCancelled { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigCancelled"; } @@ -39557,9 +37556,9 @@ pub mod api { pub type Multisigs = runtime_types::pallet_multisig::Multisig< ::core::primitive::u64, ::core::primitive::u128, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; pub type Param1 = [::core::primitive::u8; 32usize]; } } @@ -39568,14 +37567,14 @@ pub mod api { #[doc = " The set of open multisig operations."] pub fn multisigs_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::multisigs::Multisigs, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Multisig", "Multisigs", (), @@ -39591,21 +37590,17 @@ pub mod api { pub fn multisigs_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::multisigs::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::multisigs::Multisigs, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Multisig", "Multisigs", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 69u8, 190u8, 134u8, 80u8, 236u8, 248u8, 25u8, 153u8, 154u8, 71u8, 192u8, 101u8, 159u8, 179u8, 0u8, 228u8, 93u8, 125u8, 99u8, 229u8, @@ -39619,30 +37614,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::multisigs::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::multisigs::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::multisigs::Multisigs, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Multisig", "Multisigs", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 69u8, 190u8, 134u8, 80u8, 236u8, 248u8, 25u8, 153u8, 154u8, 71u8, @@ -39666,10 +37653,8 @@ pub mod api { #[doc = " `32 + sizeof(AccountId)` bytes."] pub fn deposit_base( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Multisig", "DepositBase", [ @@ -39684,10 +37669,8 @@ pub mod api { #[doc = " This is held for adding 32 bytes more into a pre-existing storage value."] pub fn deposit_factor( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Multisig", "DepositFactor", [ @@ -39700,10 +37683,8 @@ pub mod api { #[doc = " The maximum amount of signatories allowed in the multisig."] pub fn max_signatories( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Multisig", "MaxSignatories", [ @@ -39731,23 +37712,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Transact an Ethereum transaction."] pub struct Transact { pub transaction: transact::Transaction, @@ -39756,7 +37733,7 @@ pub mod api { use super::runtime_types; pub type Transaction = runtime_types::ethereum::transaction::TransactionV2; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Transact { + impl ::subxt_core::blocks::StaticExtrinsic for Transact { const PALLET: &'static str = "Ethereum"; const CALL: &'static str = "transact"; } @@ -39767,8 +37744,8 @@ pub mod api { pub fn transact( &self, transaction: types::transact::Transaction, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Ethereum", "transact", types::Transact { transaction }, @@ -39786,19 +37763,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An ethereum transaction was successfully executed."] pub struct Executed { pub from: executed::From, @@ -39809,14 +37786,13 @@ pub mod api { } pub mod executed { use super::runtime_types; - pub type From = ::subxt::ext::subxt_core::utils::H160; - pub type To = ::subxt::ext::subxt_core::utils::H160; - pub type TransactionHash = ::subxt::ext::subxt_core::utils::H256; + pub type From = ::subxt_core::utils::H160; + pub type To = ::subxt_core::utils::H160; + pub type TransactionHash = ::subxt_core::utils::H256; pub type ExitReason = runtime_types::evm_core::error::ExitReason; - pub type ExtraData = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type ExtraData = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Executed { + impl ::subxt_core::events::StaticEvent for Executed { const PALLET: &'static str = "Ethereum"; const EVENT: &'static str = "Executed"; } @@ -39827,7 +37803,7 @@ pub mod api { use super::runtime_types; pub mod pending { use super::runtime_types; - pub type Pending = ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub type Pending = ::subxt_core::alloc::vec::Vec<( runtime_types::ethereum::transaction::TransactionV2, runtime_types::fp_rpc::TransactionStatus, runtime_types::ethereum::receipt::ReceiptV3, @@ -39841,19 +37817,17 @@ pub mod api { } pub mod current_receipts { use super::runtime_types; - pub type CurrentReceipts = ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::ethereum::receipt::ReceiptV3, - >; + pub type CurrentReceipts = + ::subxt_core::alloc::vec::Vec; } pub mod current_transaction_statuses { use super::runtime_types; - pub type CurrentTransactionStatuses = ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::fp_rpc::TransactionStatus, - >; + pub type CurrentTransactionStatuses = + ::subxt_core::alloc::vec::Vec; } pub mod block_hash { use super::runtime_types; - pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; + pub type BlockHash = ::subxt_core::utils::H256; pub type Param0 = runtime_types::primitive_types::U256; } } @@ -39862,14 +37836,14 @@ pub mod api { #[doc = " Current building block's transactions and receipts."] pub fn pending( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::pending::Pending, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "Pending", (), @@ -39884,14 +37858,14 @@ pub mod api { #[doc = " The current Ethereum block."] pub fn current_block( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_block::CurrentBlock, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "CurrentBlock", (), @@ -39906,14 +37880,14 @@ pub mod api { #[doc = " The current Ethereum receipts."] pub fn current_receipts( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_receipts::CurrentReceipts, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "CurrentReceipts", (), @@ -39927,14 +37901,14 @@ pub mod api { #[doc = " The current transaction statuses."] pub fn current_transaction_statuses( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_transaction_statuses::CurrentTransactionStatuses, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "CurrentTransactionStatuses", (), @@ -39947,14 +37921,14 @@ pub mod api { } pub fn block_hash_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::block_hash::BlockHash, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "BlockHash", (), @@ -39968,21 +37942,17 @@ pub mod api { pub fn block_hash( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::block_hash::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::block_hash::BlockHash, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "BlockHash", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 131u8, 87u8, 201u8, 82u8, 203u8, 241u8, 176u8, 149u8, 39u8, 243u8, 227u8, 1u8, 86u8, 62u8, 6u8, 231u8, 55u8, 6u8, 212u8, 96u8, 207u8, @@ -40007,23 +37977,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Withdraw balance from EVM into currency/balances pallet."] pub struct Withdraw { pub address: withdraw::Address, @@ -40031,31 +37997,27 @@ pub mod api { } pub mod withdraw { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Withdraw { + impl ::subxt_core::blocks::StaticExtrinsic for Withdraw { const PALLET: &'static str = "EVM"; const CALL: &'static str = "withdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Issue an EVM call operation. This is similar to a message call transaction in Ethereum."] pub struct Call { pub source: call::Source, @@ -40070,45 +38032,38 @@ pub mod api { } pub mod call { use super::runtime_types; - pub type Source = ::subxt::ext::subxt_core::utils::H160; - pub type Target = ::subxt::ext::subxt_core::utils::H160; - pub type Input = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Source = ::subxt_core::utils::H160; + pub type Target = ::subxt_core::utils::H160; + pub type Input = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = ::core::primitive::u64; pub type MaxFeePerGas = runtime_types::primitive_types::U256; pub type MaxPriorityFeePerGas = ::core::option::Option; pub type Nonce = ::core::option::Option; - pub type AccessList = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + pub type AccessList = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Call { + impl ::subxt_core::blocks::StaticExtrinsic for Call { const PALLET: &'static str = "EVM"; const CALL: &'static str = "call"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Issue an EVM create operation. This is similar to a contract creation transaction in"] #[doc = "Ethereum."] pub struct Create { @@ -40123,44 +38078,37 @@ pub mod api { } pub mod create { use super::runtime_types; - pub type Source = ::subxt::ext::subxt_core::utils::H160; - pub type Init = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Source = ::subxt_core::utils::H160; + pub type Init = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = ::core::primitive::u64; pub type MaxFeePerGas = runtime_types::primitive_types::U256; pub type MaxPriorityFeePerGas = ::core::option::Option; pub type Nonce = ::core::option::Option; - pub type AccessList = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + pub type AccessList = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "EVM"; const CALL: &'static str = "create"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Issue an EVM create2 operation."] pub struct Create2 { pub source: create2::Source, @@ -40175,24 +38123,21 @@ pub mod api { } pub mod create2 { use super::runtime_types; - pub type Source = ::subxt::ext::subxt_core::utils::H160; - pub type Init = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Salt = ::subxt::ext::subxt_core::utils::H256; + pub type Source = ::subxt_core::utils::H160; + pub type Init = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Salt = ::subxt_core::utils::H256; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = ::core::primitive::u64; pub type MaxFeePerGas = runtime_types::primitive_types::U256; pub type MaxPriorityFeePerGas = ::core::option::Option; pub type Nonce = ::core::option::Option; - pub type AccessList = ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + pub type AccessList = ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create2 { + impl ::subxt_core::blocks::StaticExtrinsic for Create2 { const PALLET: &'static str = "EVM"; const CALL: &'static str = "create2"; } @@ -40204,8 +38149,8 @@ pub mod api { &self, address: types::withdraw::Address, value: types::withdraw::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "withdraw", types::Withdraw { address, value }, @@ -40228,8 +38173,8 @@ pub mod api { max_priority_fee_per_gas: types::call::MaxPriorityFeePerGas, nonce: types::call::Nonce, access_list: types::call::AccessList, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "call", types::Call { @@ -40263,8 +38208,8 @@ pub mod api { max_priority_fee_per_gas: types::create::MaxPriorityFeePerGas, nonce: types::create::Nonce, access_list: types::create::AccessList, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "create", types::Create { @@ -40296,8 +38241,8 @@ pub mod api { max_priority_fee_per_gas: types::create2::MaxPriorityFeePerGas, nonce: types::create2::Nonce, access_list: types::create2::AccessList, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "create2", types::Create2 { @@ -40326,19 +38271,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Ethereum events from contracts."] pub struct Log { pub log: log::Log, @@ -40347,111 +38292,111 @@ pub mod api { use super::runtime_types; pub type Log = runtime_types::ethereum::log::Log; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Log { + impl ::subxt_core::events::StaticEvent for Log { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "Log"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A contract has been created at given address."] pub struct Created { pub address: created::Address, } pub mod created { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Created { + impl ::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "Created"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A contract was attempted to be created, but the execution failed."] pub struct CreatedFailed { pub address: created_failed::Address, } pub mod created_failed { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; } - impl ::subxt::ext::subxt_core::events::StaticEvent for CreatedFailed { + impl ::subxt_core::events::StaticEvent for CreatedFailed { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "CreatedFailed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A contract has been executed successfully with states applied."] pub struct Executed { pub address: executed::Address, } pub mod executed { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Executed { + impl ::subxt_core::events::StaticEvent for Executed { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "Executed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A contract has been executed with errors. States are reverted with only gas fees applied."] pub struct ExecutedFailed { pub address: executed_failed::Address, } pub mod executed_failed { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ExecutedFailed { + impl ::subxt_core::events::StaticEvent for ExecutedFailed { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "ExecutedFailed"; } @@ -40462,39 +38407,38 @@ pub mod api { use super::runtime_types; pub mod account_codes { use super::runtime_types; - pub type AccountCodes = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Param0 = ::subxt::ext::subxt_core::utils::H160; + pub type AccountCodes = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Param0 = ::subxt_core::utils::H160; } pub mod account_codes_metadata { use super::runtime_types; pub type AccountCodesMetadata = runtime_types::pallet_evm::CodeMetadata; - pub type Param0 = ::subxt::ext::subxt_core::utils::H160; + pub type Param0 = ::subxt_core::utils::H160; } pub mod account_storages { use super::runtime_types; - pub type AccountStorages = ::subxt::ext::subxt_core::utils::H256; - pub type Param0 = ::subxt::ext::subxt_core::utils::H160; - pub type Param1 = ::subxt::ext::subxt_core::utils::H256; + pub type AccountStorages = ::subxt_core::utils::H256; + pub type Param0 = ::subxt_core::utils::H160; + pub type Param1 = ::subxt_core::utils::H256; } pub mod suicided { use super::runtime_types; pub type Suicided = (); - pub type Param0 = ::subxt::ext::subxt_core::utils::H160; + pub type Param0 = ::subxt_core::utils::H160; } } pub struct StorageApi; impl StorageApi { pub fn account_codes_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::account_codes::AccountCodes, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodes", (), @@ -40508,21 +38452,17 @@ pub mod api { pub fn account_codes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::account_codes::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::account_codes::AccountCodes, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodes", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 49u8, 73u8, 188u8, 164u8, 3u8, 40u8, 187u8, 216u8, 70u8, 119u8, 176u8, 187u8, 76u8, 24u8, 49u8, 174u8, 54u8, 98u8, 208u8, 255u8, 38u8, 214u8, @@ -40532,14 +38472,14 @@ pub mod api { } pub fn account_codes_metadata_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::account_codes_metadata::AccountCodesMetadata, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodesMetadata", (), @@ -40554,21 +38494,19 @@ pub mod api { pub fn account_codes_metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::account_codes_metadata::Param0, >, types::account_codes_metadata::AccountCodesMetadata, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodesMetadata", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 17u8, 83u8, 22u8, 15u8, 158u8, 242u8, 39u8, 174u8, 61u8, 230u8, 0u8, 161u8, 173u8, 242u8, 155u8, 156u8, 149u8, 108u8, 47u8, 129u8, 190u8, @@ -40579,14 +38517,14 @@ pub mod api { } pub fn account_storages_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::account_storages::AccountStorages, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountStorages", (), @@ -40600,21 +38538,19 @@ pub mod api { pub fn account_storages_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::account_storages::Param0, >, types::account_storages::AccountStorages, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountStorages", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 63u8, 69u8, 109u8, 3u8, 190u8, 233u8, 39u8, 122u8, 94u8, 37u8, 74u8, 90u8, 197u8, 191u8, 12u8, 119u8, 165u8, 61u8, 217u8, 15u8, 36u8, 167u8, @@ -40626,30 +38562,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::account_storages::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::account_storages::Param1, >, ), types::account_storages::AccountStorages, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountStorages", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 63u8, 69u8, 109u8, 3u8, 190u8, 233u8, 39u8, 122u8, 94u8, 37u8, 74u8, @@ -40660,14 +38592,14 @@ pub mod api { } pub fn suicided_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::suicided::Suicided, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "Suicided", (), @@ -40681,21 +38613,17 @@ pub mod api { pub fn suicided( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::suicided::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::suicided::Suicided, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVM", "Suicided", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 5u8, 137u8, 180u8, 131u8, 216u8, 217u8, 148u8, 127u8, 9u8, 159u8, 14u8, 25u8, 56u8, 99u8, 55u8, 151u8, 140u8, 143u8, 188u8, 172u8, 33u8, 91u8, @@ -40723,14 +38651,14 @@ pub mod api { #[doc = " The EVM chain ID."] pub fn chain_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::chain_id::ChainId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "EVMChainId", "ChainId", (), @@ -40757,23 +38685,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct NoteMinGasPriceTarget { pub target: note_min_gas_price_target::Target, } @@ -40781,7 +38705,7 @@ pub mod api { use super::runtime_types; pub type Target = runtime_types::primitive_types::U256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NoteMinGasPriceTarget { + impl ::subxt_core::blocks::StaticExtrinsic for NoteMinGasPriceTarget { const PALLET: &'static str = "DynamicFee"; const CALL: &'static str = "note_min_gas_price_target"; } @@ -40791,10 +38715,8 @@ pub mod api { pub fn note_min_gas_price_target( &self, target: types::note_min_gas_price_target::Target, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::NoteMinGasPriceTarget, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "DynamicFee", "note_min_gas_price_target", types::NoteMinGasPriceTarget { target }, @@ -40824,14 +38746,14 @@ pub mod api { impl StorageApi { pub fn min_gas_price( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_gas_price::MinGasPrice, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "DynamicFee", "MinGasPrice", (), @@ -40844,14 +38766,14 @@ pub mod api { } pub fn target_min_gas_price( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::target_min_gas_price::TargetMinGasPrice, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "DynamicFee", "TargetMinGasPrice", (), @@ -40877,23 +38799,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SetBaseFeePerGas { pub fee: set_base_fee_per_gas::Fee, } @@ -40901,28 +38819,24 @@ pub mod api { use super::runtime_types; pub type Fee = runtime_types::primitive_types::U256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetBaseFeePerGas { + impl ::subxt_core::blocks::StaticExtrinsic for SetBaseFeePerGas { const PALLET: &'static str = "BaseFee"; const CALL: &'static str = "set_base_fee_per_gas"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SetElasticity { pub elasticity: set_elasticity::Elasticity, } @@ -40930,7 +38844,7 @@ pub mod api { use super::runtime_types; pub type Elasticity = runtime_types::sp_arithmetic::per_things::Permill; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetElasticity { + impl ::subxt_core::blocks::StaticExtrinsic for SetElasticity { const PALLET: &'static str = "BaseFee"; const CALL: &'static str = "set_elasticity"; } @@ -40940,9 +38854,8 @@ pub mod api { pub fn set_base_fee_per_gas( &self, fee: types::set_base_fee_per_gas::Fee, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "BaseFee", "set_base_fee_per_gas", types::SetBaseFeePerGas { fee }, @@ -40957,9 +38870,8 @@ pub mod api { pub fn set_elasticity( &self, elasticity: types::set_elasticity::Elasticity, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "BaseFee", "set_elasticity", types::SetElasticity { elasticity }, @@ -40977,19 +38889,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct NewBaseFeePerGas { pub fee: new_base_fee_per_gas::Fee, } @@ -40997,43 +38909,43 @@ pub mod api { use super::runtime_types; pub type Fee = runtime_types::primitive_types::U256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NewBaseFeePerGas { + impl ::subxt_core::events::StaticEvent for NewBaseFeePerGas { const PALLET: &'static str = "BaseFee"; const EVENT: &'static str = "NewBaseFeePerGas"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BaseFeeOverflow; - impl ::subxt::ext::subxt_core::events::StaticEvent for BaseFeeOverflow { + impl ::subxt_core::events::StaticEvent for BaseFeeOverflow { const PALLET: &'static str = "BaseFee"; const EVENT: &'static str = "BaseFeeOverflow"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct NewElasticity { pub elasticity: new_elasticity::Elasticity, } @@ -41041,7 +38953,7 @@ pub mod api { use super::runtime_types; pub type Elasticity = runtime_types::sp_arithmetic::per_things::Permill; } - impl ::subxt::ext::subxt_core::events::StaticEvent for NewElasticity { + impl ::subxt_core::events::StaticEvent for NewElasticity { const PALLET: &'static str = "BaseFee"; const EVENT: &'static str = "NewElasticity"; } @@ -41063,14 +38975,14 @@ pub mod api { impl StorageApi { pub fn base_fee_per_gas( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::base_fee_per_gas::BaseFeePerGas, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "BaseFee", "BaseFeePerGas", (), @@ -41083,14 +38995,14 @@ pub mod api { } pub fn elasticity( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::elasticity::Elasticity, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "BaseFee", "Elasticity", (), @@ -41118,23 +39030,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Increment `sufficients` for existing accounts having a nonzero `nonce` but zero `sufficients`, `consumers` and `providers` value."] #[doc = "This state was caused by a previous bug in EVM create account dispatchable."] #[doc = ""] @@ -41144,11 +39052,9 @@ pub mod api { } pub mod hotfix_inc_account_sufficients { use super::runtime_types; - pub type Addresses = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H160, - >; + pub type Addresses = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H160>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for HotfixIncAccountSufficients { + impl ::subxt_core::blocks::StaticExtrinsic for HotfixIncAccountSufficients { const PALLET: &'static str = "HotfixSufficients"; const CALL: &'static str = "hotfix_inc_account_sufficients"; } @@ -41162,10 +39068,9 @@ pub mod api { pub fn hotfix_inc_account_sufficients( &self, addresses: types::hotfix_inc_account_sufficients::Addresses, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::HotfixIncAccountSufficients, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "HotfixSufficients", "hotfix_inc_account_sufficients", types::HotfixIncAccountSufficients { addresses }, @@ -41194,23 +39099,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Make a claim to collect your tokens."] #[doc = ""] #[doc = "The dispatch origin for this call must be _None_."] @@ -41251,28 +39152,24 @@ pub mod api { pub type Signature = runtime_types::pallet_airdrop_claims::utils::MultiAddressSignature; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Claim { + impl ::subxt_core::blocks::StaticExtrinsic for Claim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Mint a new claim to collect native tokens."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -41308,28 +39205,24 @@ pub mod api { pub type Statement = ::core::option::Option; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MintClaim { + impl ::subxt_core::blocks::StaticExtrinsic for MintClaim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "mint_claim"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Make a claim to collect your native tokens by signing a statement."] #[doc = ""] #[doc = "The dispatch origin for this call must be _None_."] @@ -41373,31 +39266,26 @@ pub mod api { >; pub type Signature = runtime_types::pallet_airdrop_claims::utils::MultiAddressSignature; - pub type Statement = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Statement = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimAttest { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimAttest { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim_attest"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MoveClaim { pub old: move_claim::Old, pub new: move_claim::New, @@ -41407,28 +39295,24 @@ pub mod api { pub type Old = runtime_types::pallet_airdrop_claims::utils::MultiAddress; pub type New = runtime_types::pallet_airdrop_claims::utils::MultiAddress; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MoveClaim { + impl ::subxt_core::blocks::StaticExtrinsic for MoveClaim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "move_claim"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the value for expiryconfig"] #[doc = "Can only be called by ForceOrigin"] pub struct ForceSetExpiryConfig { @@ -41440,28 +39324,24 @@ pub mod api { pub type ExpiryBlock = ::core::primitive::u64; pub type Dest = runtime_types::pallet_airdrop_claims::utils::MultiAddress; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetExpiryConfig { + impl ::subxt_core::blocks::StaticExtrinsic for ForceSetExpiryConfig { const PALLET: &'static str = "Claims"; const CALL: &'static str = "force_set_expiry_config"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claim from signed origin"] pub struct ClaimSigned { pub dest: claim_signed::Dest, @@ -41472,7 +39352,7 @@ pub mod api { runtime_types::pallet_airdrop_claims::utils::MultiAddress, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimSigned { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimSigned { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim_signed"; } @@ -41508,8 +39388,8 @@ pub mod api { dest: types::claim::Dest, signer: types::claim::Signer, signature: types::claim::Signature, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "claim", types::Claim { dest, signer, signature }, @@ -41541,8 +39421,8 @@ pub mod api { value: types::mint_claim::Value, vesting_schedule: types::mint_claim::VestingSchedule, statement: types::mint_claim::Statement, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "mint_claim", types::MintClaim { who, value, vesting_schedule, statement }, @@ -41587,8 +39467,8 @@ pub mod api { signer: types::claim_attest::Signer, signature: types::claim_attest::Signature, statement: types::claim_attest::Statement, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "claim_attest", types::ClaimAttest { dest, signer, signature, statement }, @@ -41604,8 +39484,8 @@ pub mod api { &self, old: types::move_claim::Old, new: types::move_claim::New, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "move_claim", types::MoveClaim { old, new }, @@ -41622,9 +39502,8 @@ pub mod api { &self, expiry_block: types::force_set_expiry_config::ExpiryBlock, dest: types::force_set_expiry_config::Dest, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "force_set_expiry_config", types::ForceSetExpiryConfig { expiry_block, dest }, @@ -41640,8 +39519,8 @@ pub mod api { pub fn claim_signed( &self, dest: types::claim_signed::Dest, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "claim_signed", types::ClaimSigned { dest }, @@ -41660,19 +39539,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Someone claimed some native tokens."] pub struct Claimed { pub recipient: claimed::Recipient, @@ -41681,11 +39560,11 @@ pub mod api { } pub mod claimed { use super::runtime_types; - pub type Recipient = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Recipient = ::subxt_core::utils::AccountId32; pub type Source = runtime_types::pallet_airdrop_claims::utils::MultiAddress; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Claimed { + impl ::subxt_core::events::StaticEvent for Claimed { const PALLET: &'static str = "Claims"; const EVENT: &'static str = "Claimed"; } @@ -41727,14 +39606,14 @@ pub mod api { impl StorageApi { pub fn claims_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::claims::Claims, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Claims", (), @@ -41748,21 +39627,17 @@ pub mod api { pub fn claims( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::claims::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::claims::Claims, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Claims", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 175u8, 97u8, 79u8, 164u8, 220u8, 228u8, 14u8, 49u8, 136u8, 218u8, 96u8, 209u8, 66u8, 54u8, 156u8, 95u8, 86u8, 234u8, 219u8, 166u8, 181u8, 93u8, @@ -41772,14 +39647,14 @@ pub mod api { } pub fn total( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::total::Total, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Total", (), @@ -41794,14 +39669,14 @@ pub mod api { #[doc = " Expiry block and account to deposit expired funds"] pub fn expiry_config( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::expiry_config::ExpiryConfig, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "ExpiryConfig", (), @@ -41818,14 +39693,14 @@ pub mod api { #[doc = " The block number is when the vesting should start."] pub fn vesting_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::vesting::Vesting, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Vesting", (), @@ -41844,21 +39719,17 @@ pub mod api { pub fn vesting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::vesting::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::vesting::Vesting, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Vesting", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 166u8, 245u8, 205u8, 165u8, 58u8, 90u8, 122u8, 157u8, 28u8, 220u8, 114u8, 22u8, 73u8, 221u8, 230u8, 238u8, 57u8, 16u8, 66u8, 5u8, 63u8, @@ -41870,14 +39741,14 @@ pub mod api { #[doc = " The statement kind that must be signed, if any."] pub fn signing_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::signing::Signing, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Signing", (), @@ -41892,21 +39763,17 @@ pub mod api { pub fn signing( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::signing::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::signing::Signing, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Signing", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 210u8, 2u8, 184u8, 130u8, 98u8, 38u8, 101u8, 191u8, 250u8, 166u8, 246u8, 153u8, 175u8, 181u8, 174u8, 232u8, 58u8, 4u8, 40u8, 112u8, 68u8, @@ -41922,10 +39789,10 @@ pub mod api { impl ConstantsApi { pub fn prefix( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ) -> ::subxt_core::constants::address::StaticAddress< + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Claims", "Prefix", [ @@ -41953,23 +39820,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Dispatch the given `call` from an account that the sender is authorised for through"] #[doc = "`add_proxy`."] #[doc = ""] @@ -41982,40 +39845,36 @@ pub mod api { pub struct Proxy { pub real: proxy::Real, pub force_proxy_type: proxy::ForceProxyType, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod proxy { use super::runtime_types; - pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Real = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ForceProxyType = ::core::option::Option; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Proxy { + impl ::subxt_core::blocks::StaticExtrinsic for Proxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "proxy"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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_."] @@ -42032,35 +39891,31 @@ pub mod api { } pub mod add_proxy { use super::runtime_types; - pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddProxy { + impl ::subxt_core::blocks::StaticExtrinsic for AddProxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "add_proxy"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unregister a proxy account for the sender."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -42075,35 +39930,31 @@ pub mod api { } pub mod remove_proxy { use super::runtime_types; - pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveProxy { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveProxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_proxy"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unregister all proxy accounts for the sender."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -42111,28 +39962,24 @@ pub mod api { #[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 struct RemoveProxies; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveProxies { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveProxies { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_proxies"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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 = ""] @@ -42162,28 +40009,24 @@ pub mod api { pub type Delay = ::core::primitive::u64; pub type Index = ::core::primitive::u16; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreatePure { + impl ::subxt_core::blocks::StaticExtrinsic for CreatePure { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "create_pure"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -42211,8 +40054,8 @@ pub mod api { } pub mod kill_pure { use super::runtime_types; - pub type Spawner = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Spawner = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; @@ -42220,28 +40063,24 @@ pub mod api { pub type Height = ::core::primitive::u64; pub type ExtIndex = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillPure { + impl ::subxt_core::blocks::StaticExtrinsic for KillPure { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "kill_pure"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -42263,34 +40102,30 @@ pub mod api { } pub mod announce { use super::runtime_types; - pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Real = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type CallHash = ::subxt::ext::subxt_core::utils::H256; + pub type CallHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Announce { + impl ::subxt_core::blocks::StaticExtrinsic for Announce { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "announce"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -42307,34 +40142,30 @@ pub mod api { } pub mod remove_announcement { use super::runtime_types; - pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Real = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type CallHash = ::subxt::ext::subxt_core::utils::H256; + pub type CallHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveAnnouncement { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveAnnouncement { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_announcement"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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"] @@ -42351,34 +40182,30 @@ pub mod api { } pub mod reject_announcement { use super::runtime_types; - pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type CallHash = ::subxt::ext::subxt_core::utils::H256; + pub type CallHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RejectAnnouncement { + impl ::subxt_core::blocks::StaticExtrinsic for RejectAnnouncement { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "reject_announcement"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Dispatch the given `call` from an account that the sender is authorized for through"] #[doc = "`add_proxy`."] #[doc = ""] @@ -42394,23 +40221,23 @@ pub mod api { pub delegate: proxy_announced::Delegate, pub real: proxy_announced::Real, pub force_proxy_type: proxy_announced::ForceProxyType, - pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt_core::alloc::boxed::Box, } pub mod proxy_announced { use super::runtime_types; - pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Real = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ForceProxyType = ::core::option::Option; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProxyAnnounced { + impl ::subxt_core::blocks::StaticExtrinsic for ProxyAnnounced { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "proxy_announced"; } @@ -42431,14 +40258,14 @@ pub mod api { real: types::proxy::Real, force_proxy_type: types::proxy::ForceProxyType, call: types::proxy::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "proxy", types::Proxy { real, force_proxy_type, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 71u8, 246u8, 119u8, 107u8, 243u8, 233u8, 66u8, 82u8, 24u8, 50u8, 174u8, @@ -42461,8 +40288,8 @@ pub mod api { delegate: types::add_proxy::Delegate, proxy_type: types::add_proxy::ProxyType, delay: types::add_proxy::Delay, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "add_proxy", types::AddProxy { delegate, proxy_type, delay }, @@ -42485,8 +40312,8 @@ pub mod api { delegate: types::remove_proxy::Delegate, proxy_type: types::remove_proxy::ProxyType, delay: types::remove_proxy::Delay, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "remove_proxy", types::RemoveProxy { delegate, proxy_type, delay }, @@ -42505,9 +40332,8 @@ pub mod api { #[doc = "the unreserved fees will be inaccessible. **All access to this account will be lost.**"] pub fn remove_proxies( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "remove_proxies", types::RemoveProxies {}, @@ -42542,8 +40368,8 @@ pub mod api { proxy_type: types::create_pure::ProxyType, delay: types::create_pure::Delay, index: types::create_pure::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "create_pure", types::CreatePure { proxy_type, delay, index }, @@ -42577,8 +40403,8 @@ pub mod api { index: types::kill_pure::Index, height: types::kill_pure::Height, ext_index: types::kill_pure::ExtIndex, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "kill_pure", types::KillPure { spawner, proxy_type, index, height, ext_index }, @@ -42608,8 +40434,8 @@ pub mod api { &self, real: types::announce::Real, call_hash: types::announce::CallHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "announce", types::Announce { real, call_hash }, @@ -42634,9 +40460,8 @@ pub mod api { &self, real: types::remove_announcement::Real, call_hash: types::remove_announcement::CallHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "remove_announcement", types::RemoveAnnouncement { real, call_hash }, @@ -42661,9 +40486,8 @@ pub mod api { &self, delegate: types::reject_announcement::Delegate, call_hash: types::reject_announcement::CallHash, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "reject_announcement", types::RejectAnnouncement { delegate, call_hash }, @@ -42691,16 +40515,15 @@ pub mod api { real: types::proxy_announced::Real, force_proxy_type: types::proxy_announced::ForceProxyType, call: types::proxy_announced::Call, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "proxy_announced", types::ProxyAnnounced { delegate, real, force_proxy_type, - call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt_core::alloc::boxed::Box::new(call), }, [ 189u8, 159u8, 197u8, 125u8, 196u8, 86u8, 40u8, 14u8, 108u8, 147u8, @@ -42717,19 +40540,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was executed correctly, with the given."] pub struct ProxyExecuted { pub result: proxy_executed::Result, @@ -42739,24 +40562,24 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyExecuted { + impl ::subxt_core::events::StaticEvent for ProxyExecuted { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyExecuted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 { @@ -42767,29 +40590,29 @@ pub mod api { } pub mod pure_created { use super::runtime_types; - pub type Pure = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Pure = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type DisambiguationIndex = ::core::primitive::u16; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PureCreated { + impl ::subxt_core::events::StaticEvent for PureCreated { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "PureCreated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An announcement was placed to make a call in the future."] pub struct Announced { pub real: announced::Real, @@ -42798,28 +40621,28 @@ pub mod api { } pub mod announced { use super::runtime_types; - 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; + pub type Real = ::subxt_core::utils::AccountId32; + pub type Proxy = ::subxt_core::utils::AccountId32; + pub type CallHash = ::subxt_core::utils::H256; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Announced { + impl ::subxt_core::events::StaticEvent for Announced { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "Announced"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was added."] pub struct ProxyAdded { pub delegator: proxy_added::Delegator, @@ -42829,29 +40652,29 @@ pub mod api { } pub mod proxy_added { use super::runtime_types; - pub type Delegator = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Delegatee = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegator = ::subxt_core::utils::AccountId32; + pub type Delegatee = ::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyAdded { + impl ::subxt_core::events::StaticEvent for ProxyAdded { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyAdded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was removed."] pub struct ProxyRemoved { pub delegator: proxy_removed::Delegator, @@ -42861,12 +40684,12 @@ pub mod api { } pub mod proxy_removed { use super::runtime_types; - pub type Delegator = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Delegatee = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegator = ::subxt_core::utils::AccountId32; + pub type Delegatee = ::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyRemoved { + impl ::subxt_core::events::StaticEvent for ProxyRemoved { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyRemoved"; } @@ -42880,28 +40703,28 @@ pub mod api { pub type Proxies = ( runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::pallet_proxy::ProxyDefinition< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, runtime_types::tangle_testnet_runtime::ProxyType, ::core::primitive::u64, >, >, ::core::primitive::u128, ); - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod announcements { use super::runtime_types; pub type Announcements = ( runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::pallet_proxy::Announcement< - ::subxt::ext::subxt_core::utils::AccountId32, - ::subxt::ext::subxt_core::utils::H256, + ::subxt_core::utils::AccountId32, + ::subxt_core::utils::H256, ::core::primitive::u64, >, >, ::core::primitive::u128, ); - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -42910,14 +40733,14 @@ pub mod api { #[doc = " which are being delegated to, together with the amount held on deposit."] pub fn proxies_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::proxies::Proxies, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Proxies", (), @@ -42934,21 +40757,17 @@ pub mod api { pub fn proxies( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::proxies::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::proxies::Proxies, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Proxies", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 223u8, 41u8, 16u8, 124u8, 14u8, 158u8, 113u8, 7u8, 229u8, 203u8, 172u8, 71u8, 221u8, 164u8, 20u8, 177u8, 252u8, 14u8, 117u8, 176u8, 21u8, @@ -42960,14 +40779,14 @@ pub mod api { #[doc = " The announcements made by the proxy (key)."] pub fn announcements_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::announcements::Announcements, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Announcements", (), @@ -42982,21 +40801,17 @@ pub mod api { pub fn announcements( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::announcements::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::announcements::Announcements, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Announcements", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 36u8, 91u8, 194u8, 19u8, 186u8, 110u8, 217u8, 123u8, 101u8, 197u8, 249u8, 185u8, 42u8, 5u8, 244u8, 249u8, 18u8, 156u8, 41u8, 19u8, 86u8, @@ -43016,10 +40831,8 @@ pub mod api { #[doc = " `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes."] pub fn proxy_deposit_base( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "ProxyDepositBase", [ @@ -43036,10 +40849,8 @@ pub mod api { #[doc = " into account `32 + proxy_type.encode().len()` bytes of data."] pub fn proxy_deposit_factor( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "ProxyDepositFactor", [ @@ -43052,10 +40863,8 @@ pub mod api { #[doc = " The maximum amount of proxies allowed for a single account."] pub fn max_proxies( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "MaxProxies", [ @@ -43069,10 +40878,8 @@ pub mod api { #[doc = " The maximum amount of time-delayed announcements that are allowed to be pending."] pub fn max_pending( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "MaxPending", [ @@ -43089,10 +40896,8 @@ pub mod api { #[doc = " bytes)."] pub fn announcement_deposit_base( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "AnnouncementDepositBase", [ @@ -43108,10 +40913,8 @@ pub mod api { #[doc = " into a pre-existing storage value."] pub fn announcement_deposit_factor( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "AnnouncementDepositFactor", [ @@ -43138,23 +40941,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allows an account to join as an operator by staking the required bond amount."] #[doc = ""] #[doc = "# Permissions"] @@ -43177,28 +40976,24 @@ pub mod api { use super::runtime_types; pub type BondAmount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for JoinOperators { + impl ::subxt_core::blocks::StaticExtrinsic for JoinOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "join_operators"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedules an operator to leave the system."] #[doc = ""] #[doc = "# Permissions"] @@ -43214,28 +41009,24 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] pub struct ScheduleLeaveOperators; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleLeaveOperators { + impl ::subxt_core::blocks::StaticExtrinsic for ScheduleLeaveOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_leave_operators"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancels a scheduled leave for an operator."] #[doc = ""] #[doc = "# Permissions"] @@ -43251,28 +41042,24 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] pub struct CancelLeaveOperators; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelLeaveOperators { + impl ::subxt_core::blocks::StaticExtrinsic for CancelLeaveOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_leave_operators"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Executes a scheduled leave for an operator."] #[doc = ""] #[doc = "# Permissions"] @@ -43289,28 +41076,24 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] pub struct ExecuteLeaveOperators; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteLeaveOperators { + impl ::subxt_core::blocks::StaticExtrinsic for ExecuteLeaveOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_leave_operators"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allows an operator to increase their stake."] #[doc = ""] #[doc = "# Permissions"] @@ -43333,28 +41116,24 @@ pub mod api { use super::runtime_types; pub type AdditionalBond = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for OperatorBondMore { + impl ::subxt_core::blocks::StaticExtrinsic for OperatorBondMore { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "operator_bond_more"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedules an operator to decrease their stake."] #[doc = ""] #[doc = "# Permissions"] @@ -43378,28 +41157,24 @@ pub mod api { use super::runtime_types; pub type UnstakeAmount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleOperatorUnstake { + impl ::subxt_core::blocks::StaticExtrinsic for ScheduleOperatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_operator_unstake"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Executes a scheduled stake decrease for an operator."] #[doc = ""] #[doc = "# Permissions"] @@ -43416,28 +41191,24 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] pub struct ExecuteOperatorUnstake; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteOperatorUnstake { + impl ::subxt_core::blocks::StaticExtrinsic for ExecuteOperatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_operator_unstake"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancels a scheduled stake decrease for an operator."] #[doc = ""] #[doc = "# Permissions"] @@ -43453,28 +41224,24 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] pub struct CancelOperatorUnstake; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelOperatorUnstake { + impl ::subxt_core::blocks::StaticExtrinsic for CancelOperatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_operator_unstake"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allows an operator to go offline."] #[doc = ""] #[doc = "# Permissions"] @@ -43490,28 +41257,24 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] pub struct GoOffline; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for GoOffline { + impl ::subxt_core::blocks::StaticExtrinsic for GoOffline { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "go_offline"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allows an operator to go online."] #[doc = ""] #[doc = "# Permissions"] @@ -43527,28 +41290,24 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::AlreadyOnline`] - Operator is already online"] pub struct GoOnline; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for GoOnline { + impl ::subxt_core::blocks::StaticExtrinsic for GoOnline { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "go_online"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allows a user to deposit an asset."] #[doc = ""] #[doc = "# Permissions"] @@ -43577,34 +41336,29 @@ pub mod api { pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; - pub type EvmAddress = - ::core::option::Option<::subxt::ext::subxt_core::utils::H160>; + pub type EvmAddress = ::core::option::Option<::subxt_core::utils::H160>; pub type LockMultiplier = ::core::option::Option< runtime_types::tangle_primitives::types::rewards::LockMultiplier, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Deposit { + impl ::subxt_core::blocks::StaticExtrinsic for Deposit { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "deposit"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedules a withdraw request."] #[doc = ""] #[doc = "# Permissions"] @@ -43631,28 +41385,24 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleWithdraw { + impl ::subxt_core::blocks::StaticExtrinsic for ScheduleWithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_withdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Executes a scheduled withdraw request."] #[doc = ""] #[doc = "# Permissions"] @@ -43673,31 +41423,26 @@ pub mod api { } pub mod execute_withdraw { use super::runtime_types; - pub type EvmAddress = - ::core::option::Option<::subxt::ext::subxt_core::utils::H160>; + pub type EvmAddress = ::core::option::Option<::subxt_core::utils::H160>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteWithdraw { + impl ::subxt_core::blocks::StaticExtrinsic for ExecuteWithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_withdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancels a scheduled withdraw request."] #[doc = ""] #[doc = "# Permissions"] @@ -43723,28 +41468,24 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelWithdraw { + impl ::subxt_core::blocks::StaticExtrinsic for CancelWithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_withdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Allows a user to delegate an amount of an asset to an operator."] #[doc = ""] #[doc = "# Permissions"] @@ -43772,34 +41513,30 @@ pub mod api { } pub mod delegate { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; pub type BlueprintSelection = runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints > ; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Delegate { + impl ::subxt_core::blocks::StaticExtrinsic for Delegate { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "delegate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Schedules a request to reduce a delegator's stake."] #[doc = ""] #[doc = "# Permissions"] @@ -43825,33 +41562,29 @@ pub mod api { } pub mod schedule_delegator_unstake { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleDelegatorUnstake { + impl ::subxt_core::blocks::StaticExtrinsic for ScheduleDelegatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_delegator_unstake"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Executes a scheduled request to reduce a delegator's stake."] #[doc = ""] #[doc = "# Permissions"] @@ -43868,28 +41601,24 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] pub struct ExecuteDelegatorUnstake; - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteDelegatorUnstake { + impl ::subxt_core::blocks::StaticExtrinsic for ExecuteDelegatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_delegator_unstake"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Cancels a scheduled request to reduce a delegator's stake."] #[doc = ""] #[doc = "# Permissions"] @@ -43914,33 +41643,29 @@ pub mod api { } pub mod cancel_delegator_unstake { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelDelegatorUnstake { + impl ::subxt_core::blocks::StaticExtrinsic for CancelDelegatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_delegator_unstake"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Adds a blueprint ID to a delegator's selection."] #[doc = ""] #[doc = "# Permissions"] @@ -43965,28 +41690,24 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddBlueprintId { + impl ::subxt_core::blocks::StaticExtrinsic for AddBlueprintId { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "add_blueprint_id"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Removes a blueprint ID from a delegator's selection."] #[doc = ""] #[doc = "# Permissions"] @@ -44010,7 +41731,7 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveBlueprintId { + impl ::subxt_core::blocks::StaticExtrinsic for RemoveBlueprintId { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "remove_blueprint_id"; } @@ -44035,9 +41756,8 @@ pub mod api { pub fn join_operators( &self, bond_amount: types::join_operators::BondAmount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "join_operators", types::JoinOperators { bond_amount }, @@ -44065,10 +41785,8 @@ pub mod api { #[doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] pub fn schedule_leave_operators( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ScheduleLeaveOperators, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_leave_operators", types::ScheduleLeaveOperators {}, @@ -44095,9 +41813,8 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] pub fn cancel_leave_operators( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_leave_operators", types::CancelLeaveOperators {}, @@ -44125,10 +41842,8 @@ pub mod api { #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] pub fn execute_leave_operators( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ExecuteLeaveOperators, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_leave_operators", types::ExecuteLeaveOperators {}, @@ -44158,9 +41873,8 @@ pub mod api { pub fn operator_bond_more( &self, additional_bond: types::operator_bond_more::AdditionalBond, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "operator_bond_more", types::OperatorBondMore { additional_bond }, @@ -44191,10 +41905,8 @@ pub mod api { pub fn schedule_operator_unstake( &self, unstake_amount: types::schedule_operator_unstake::UnstakeAmount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ScheduleOperatorUnstake, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_operator_unstake", types::ScheduleOperatorUnstake { unstake_amount }, @@ -44222,10 +41934,8 @@ pub mod api { #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] pub fn execute_operator_unstake( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ExecuteOperatorUnstake, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_operator_unstake", types::ExecuteOperatorUnstake {}, @@ -44252,10 +41962,8 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] pub fn cancel_operator_unstake( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::CancelOperatorUnstake, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_operator_unstake", types::CancelOperatorUnstake {}, @@ -44282,8 +41990,8 @@ pub mod api { #[doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] pub fn go_offline( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "go_offline", types::GoOffline {}, @@ -44311,8 +42019,8 @@ pub mod api { #[doc = "* [`Error::AlreadyOnline`] - Operator is already online"] pub fn go_online( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "go_online", types::GoOnline {}, @@ -44347,8 +42055,8 @@ pub mod api { amount: types::deposit::Amount, evm_address: types::deposit::EvmAddress, lock_multiplier: types::deposit::LockMultiplier, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "deposit", types::Deposit { asset_id, amount, evm_address, lock_multiplier }, @@ -44379,9 +42087,8 @@ pub mod api { &self, asset_id: types::schedule_withdraw::AssetId, amount: types::schedule_withdraw::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_withdraw", types::ScheduleWithdraw { asset_id, amount }, @@ -44410,9 +42117,8 @@ pub mod api { pub fn execute_withdraw( &self, evm_address: types::execute_withdraw::EvmAddress, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_withdraw", types::ExecuteWithdraw { evm_address }, @@ -44442,9 +42148,8 @@ pub mod api { &self, asset_id: types::cancel_withdraw::AssetId, amount: types::cancel_withdraw::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_withdraw", types::CancelWithdraw { asset_id, amount }, @@ -44480,8 +42185,8 @@ pub mod api { asset_id: types::delegate::AssetId, amount: types::delegate::Amount, blueprint_selection: types::delegate::BlueprintSelection, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "delegate", types::Delegate { operator, asset_id, amount, blueprint_selection }, @@ -44516,10 +42221,8 @@ pub mod api { operator: types::schedule_delegator_unstake::Operator, asset_id: types::schedule_delegator_unstake::AssetId, amount: types::schedule_delegator_unstake::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ScheduleDelegatorUnstake, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_delegator_unstake", types::ScheduleDelegatorUnstake { operator, asset_id, amount }, @@ -44547,10 +42250,8 @@ pub mod api { #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] pub fn execute_delegator_unstake( &self, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ExecuteDelegatorUnstake, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_delegator_unstake", types::ExecuteDelegatorUnstake {}, @@ -44583,10 +42284,8 @@ pub mod api { operator: types::cancel_delegator_unstake::Operator, asset_id: types::cancel_delegator_unstake::AssetId, amount: types::cancel_delegator_unstake::Amount, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::CancelDelegatorUnstake, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_delegator_unstake", types::CancelDelegatorUnstake { operator, asset_id, amount }, @@ -44618,9 +42317,8 @@ pub mod api { pub fn add_blueprint_id( &self, blueprint_id: types::add_blueprint_id::BlueprintId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "add_blueprint_id", types::AddBlueprintId { blueprint_id }, @@ -44650,9 +42348,8 @@ pub mod api { pub fn remove_blueprint_id( &self, blueprint_id: types::remove_blueprint_id::BlueprintId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "remove_blueprint_id", types::RemoveBlueprintId { blueprint_id }, @@ -44671,123 +42368,123 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has joined."] pub struct OperatorJoined { pub who: operator_joined::Who, } pub mod operator_joined { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorJoined { + impl ::subxt_core::events::StaticEvent for OperatorJoined { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorJoined"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has scheduled to leave."] pub struct OperatorLeavingScheduled { pub who: operator_leaving_scheduled::Who, } pub mod operator_leaving_scheduled { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorLeavingScheduled { + impl ::subxt_core::events::StaticEvent for OperatorLeavingScheduled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorLeavingScheduled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has cancelled their leave request."] pub struct OperatorLeaveCancelled { pub who: operator_leave_cancelled::Who, } pub mod operator_leave_cancelled { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorLeaveCancelled { + impl ::subxt_core::events::StaticEvent for OperatorLeaveCancelled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorLeaveCancelled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has executed their leave request."] pub struct OperatorLeaveExecuted { pub who: operator_leave_executed::Who, } pub mod operator_leave_executed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorLeaveExecuted { + impl ::subxt_core::events::StaticEvent for OperatorLeaveExecuted { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorLeaveExecuted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has increased their stake."] pub struct OperatorBondMore { pub who: operator_bond_more::Who, @@ -44795,27 +42492,27 @@ pub mod api { } pub mod operator_bond_more { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type AdditionalBond = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondMore { + impl ::subxt_core::events::StaticEvent for OperatorBondMore { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondMore"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has scheduled to decrease their stake."] pub struct OperatorBondLessScheduled { pub who: operator_bond_less_scheduled::Who, @@ -44823,131 +42520,131 @@ pub mod api { } pub mod operator_bond_less_scheduled { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type UnstakeAmount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondLessScheduled { + impl ::subxt_core::events::StaticEvent for OperatorBondLessScheduled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondLessScheduled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has executed their stake decrease."] pub struct OperatorBondLessExecuted { pub who: operator_bond_less_executed::Who, } pub mod operator_bond_less_executed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondLessExecuted { + impl ::subxt_core::events::StaticEvent for OperatorBondLessExecuted { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondLessExecuted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has cancelled their stake decrease request."] pub struct OperatorBondLessCancelled { pub who: operator_bond_less_cancelled::Who, } pub mod operator_bond_less_cancelled { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondLessCancelled { + impl ::subxt_core::events::StaticEvent for OperatorBondLessCancelled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondLessCancelled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has gone offline."] pub struct OperatorWentOffline { pub who: operator_went_offline::Who, } pub mod operator_went_offline { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorWentOffline { + impl ::subxt_core::events::StaticEvent for OperatorWentOffline { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorWentOffline"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has gone online."] pub struct OperatorWentOnline { pub who: operator_went_online::Who, } pub mod operator_went_online { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorWentOnline { + impl ::subxt_core::events::StaticEvent for OperatorWentOnline { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorWentOnline"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A deposit has been made."] pub struct Deposited { pub who: deposited::Who, @@ -44956,29 +42653,29 @@ pub mod api { } pub mod deposited { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Deposited { + impl ::subxt_core::events::StaticEvent for Deposited { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Deposited"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An withdraw has been scheduled."] pub struct Scheduledwithdraw { pub who: scheduledwithdraw::Who, @@ -44987,81 +42684,81 @@ pub mod api { } pub mod scheduledwithdraw { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Scheduledwithdraw { + impl ::subxt_core::events::StaticEvent for Scheduledwithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Scheduledwithdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An withdraw has been executed."] pub struct Executedwithdraw { pub who: executedwithdraw::Who, } pub mod executedwithdraw { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Executedwithdraw { + impl ::subxt_core::events::StaticEvent for Executedwithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Executedwithdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An withdraw has been cancelled."] pub struct Cancelledwithdraw { pub who: cancelledwithdraw::Who, } pub mod cancelledwithdraw { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Cancelledwithdraw { + impl ::subxt_core::events::StaticEvent for Cancelledwithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Cancelledwithdraw"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A delegation has been made."] pub struct Delegated { pub who: delegated::Who, @@ -45071,30 +42768,30 @@ pub mod api { } pub mod delegated { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Delegated { + impl ::subxt_core::events::StaticEvent for Delegated { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Delegated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A delegator unstake request has been scheduled."] pub struct ScheduledDelegatorBondLess { pub who: scheduled_delegator_bond_less::Who, @@ -45104,82 +42801,82 @@ pub mod api { } pub mod scheduled_delegator_bond_less { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ScheduledDelegatorBondLess { + impl ::subxt_core::events::StaticEvent for ScheduledDelegatorBondLess { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "ScheduledDelegatorBondLess"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A delegator unstake request has been executed."] pub struct ExecutedDelegatorBondLess { pub who: executed_delegator_bond_less::Who, } pub mod executed_delegator_bond_less { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ExecutedDelegatorBondLess { + impl ::subxt_core::events::StaticEvent for ExecutedDelegatorBondLess { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "ExecutedDelegatorBondLess"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A delegator unstake request has been cancelled."] pub struct CancelledDelegatorBondLess { pub who: cancelled_delegator_bond_less::Who, } pub mod cancelled_delegator_bond_less { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for CancelledDelegatorBondLess { + impl ::subxt_core::events::StaticEvent for CancelledDelegatorBondLess { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "CancelledDelegatorBondLess"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Operator has been slashed"] pub struct OperatorSlashed { pub who: operator_slashed::Who, @@ -45187,27 +42884,27 @@ pub mod api { } pub mod operator_slashed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorSlashed { + impl ::subxt_core::events::StaticEvent for OperatorSlashed { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorSlashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Delegator has been slashed"] pub struct DelegatorSlashed { pub who: delegator_slashed::Who, @@ -45215,27 +42912,27 @@ pub mod api { } pub mod delegator_slashed { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for DelegatorSlashed { + impl ::subxt_core::events::StaticEvent for DelegatorSlashed { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "DelegatorSlashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "EVM execution reverted with a reason."] pub struct EvmReverted { pub from: evm_reverted::From, @@ -45245,12 +42942,12 @@ pub mod api { } pub mod evm_reverted { use super::runtime_types; - pub type From = ::subxt::ext::subxt_core::utils::H160; - pub type To = ::subxt::ext::subxt_core::utils::H160; - pub type Data = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Reason = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt_core::utils::H160; + pub type To = ::subxt_core::utils::H160; + pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Reason = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for EvmReverted { + impl ::subxt_core::events::StaticEvent for EvmReverted { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "EvmReverted"; } @@ -45261,8 +42958,8 @@ pub mod api { use super::runtime_types; pub mod operators { use super::runtime_types; - pub type Operators = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorMetadata < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxOperatorBlueprints > ; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operators = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorMetadata < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxOperatorBlueprints > ; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod current_round { use super::runtime_types; @@ -45270,14 +42967,14 @@ pub mod api { } pub mod at_stake { use super::runtime_types; - pub type AtStake = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorSnapshot < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; + pub type AtStake = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorSnapshot < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod delegators { use super::runtime_types; - pub type Delegators = runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorMetadata < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxWithdrawRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxUnstakeRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints , :: core :: primitive :: u64 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegators = runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorMetadata < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxWithdrawRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxUnstakeRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints , :: core :: primitive :: u64 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; + pub type Param0 = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -45285,14 +42982,14 @@ pub mod api { #[doc = " Storage for operator information."] pub fn operators_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::operators::Operators, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Operators", (), @@ -45307,21 +43004,17 @@ pub mod api { pub fn operators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::operators::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::operators::Operators, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Operators", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 181u8, 37u8, 69u8, 139u8, 18u8, 44u8, 99u8, 55u8, 186u8, 237u8, 91u8, 83u8, 53u8, 119u8, 142u8, 206u8, 254u8, 203u8, 89u8, 154u8, 138u8, @@ -45332,14 +43025,14 @@ pub mod api { #[doc = " Storage for the current round."] pub fn current_round( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::current_round::CurrentRound, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "CurrentRound", (), @@ -45354,14 +43047,14 @@ pub mod api { #[doc = " Snapshot of collator delegation stake at the start of the round."] pub fn at_stake_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::at_stake::AtStake, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AtStake", (), @@ -45377,21 +43070,17 @@ pub mod api { pub fn at_stake_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::at_stake::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::at_stake::AtStake, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AtStake", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 156u8, 26u8, 172u8, 63u8, 87u8, 150u8, 192u8, 117u8, 222u8, 34u8, 191u8, 110u8, 251u8, 174u8, 184u8, 171u8, 73u8, 48u8, 79u8, 87u8, @@ -45405,30 +43094,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::at_stake::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::at_stake::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::at_stake::AtStake, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AtStake", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 156u8, 26u8, 172u8, 63u8, 87u8, 150u8, 192u8, 117u8, 222u8, 34u8, @@ -45441,14 +43122,14 @@ pub mod api { #[doc = " Storage for delegator information."] pub fn delegators_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::delegators::Delegators, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Delegators", (), @@ -45464,21 +43145,17 @@ pub mod api { pub fn delegators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::delegators::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::delegators::Delegators, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Delegators", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 45u8, 173u8, 235u8, 188u8, 23u8, 120u8, 225u8, 27u8, 94u8, 59u8, 35u8, 139u8, 127u8, 59u8, 118u8, 200u8, 174u8, 212u8, 214u8, 128u8, 40u8, @@ -45496,10 +43173,8 @@ pub mod api { #[doc = " The maximum number of blueprints a delegator can have in Fixed mode."] pub fn max_delegator_blueprints( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MaxDelegatorBlueprints", [ @@ -45513,10 +43188,8 @@ pub mod api { #[doc = " The maximum number of blueprints an operator can support."] pub fn max_operator_blueprints( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MaxOperatorBlueprints", [ @@ -45530,10 +43203,8 @@ pub mod api { #[doc = " The maximum number of withdraw requests a delegator can have."] pub fn max_withdraw_requests( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MaxWithdrawRequests", [ @@ -45547,10 +43218,8 @@ pub mod api { #[doc = " The maximum number of delegations a delegator can have."] pub fn max_delegations( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MaxDelegations", [ @@ -45564,10 +43233,8 @@ pub mod api { #[doc = " The maximum number of unstake requests a delegator can have."] pub fn max_unstake_requests( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MaxUnstakeRequests", [ @@ -45581,10 +43248,8 @@ pub mod api { #[doc = " The minimum amount of stake required for an operator."] pub fn min_operator_bond_amount( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MinOperatorBondAmount", [ @@ -45597,10 +43262,8 @@ pub mod api { #[doc = " The minimum amount of stake required for a delegate."] pub fn min_delegate_amount( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u128, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MinDelegateAmount", [ @@ -45613,10 +43276,8 @@ pub mod api { #[doc = " The duration for which the stake is locked."] pub fn bond_duration( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "BondDuration", [ @@ -45630,10 +43291,8 @@ pub mod api { #[doc = " Number of rounds that operators remain bonded before the exit request is executable."] pub fn leave_operators_delay( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "LeaveOperatorsDelay", [ @@ -45647,10 +43306,8 @@ pub mod api { #[doc = " Number of rounds operator requests to decrease self-stake must wait to be executable."] pub fn operator_bond_less_delay( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "OperatorBondLessDelay", [ @@ -45664,10 +43321,8 @@ pub mod api { #[doc = " Number of rounds that delegators remain bonded before the exit request is executable."] pub fn leave_delegators_delay( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "LeaveDelegatorsDelay", [ @@ -45681,10 +43336,8 @@ pub mod api { #[doc = " Number of rounds that delegation unstake requests must wait before being executable."] pub fn delegation_bond_less_delay( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "DelegationBondLessDelay", [ @@ -45698,10 +43351,10 @@ pub mod api { #[doc = " The pallet's account ID."] pub fn pallet_id( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::frame_support::PalletId, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "PalletId", [ @@ -45728,23 +43381,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create a new service blueprint."] #[doc = ""] #[doc = "A Service Blueprint is a template for a service that can be instantiated by users. The blueprint"] @@ -45781,28 +43430,24 @@ pub mod api { pub type Blueprint = runtime_types::tangle_primitives::services::ServiceBlueprint; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateBlueprint { + impl ::subxt_core::blocks::StaticExtrinsic for CreateBlueprint { const PALLET: &'static str = "Services"; const CALL: &'static str = "create_blueprint"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pre-register the caller as an operator for a specific blueprint."] #[doc = ""] #[doc = "This function allows an account to signal intent to become an operator for a blueprint by emitting"] @@ -45841,28 +43486,24 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PreRegister { + impl ::subxt_core::blocks::StaticExtrinsic for PreRegister { const PALLET: &'static str = "Services"; const CALL: &'static str = "pre_register"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Register the caller as an operator for a specific blueprint."] #[doc = ""] #[doc = "This function allows an account to register as an operator for a blueprint by providing their"] @@ -45903,35 +43544,31 @@ pub mod api { pub type BlueprintId = ::core::primitive::u64; pub type Preferences = runtime_types::tangle_primitives::services::OperatorPreferences; - pub type RegistrationArgs = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type RegistrationArgs = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Register { + impl ::subxt_core::blocks::StaticExtrinsic for Register { const PALLET: &'static str = "Services"; const CALL: &'static str = "register"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unregisters a service provider from a specific service blueprint."] #[doc = ""] #[doc = "After unregistering, the provider will no longer receive new service assignments for this blueprint."] @@ -45959,28 +43596,24 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unregister { + impl ::subxt_core::blocks::StaticExtrinsic for Unregister { const PALLET: &'static str = "Services"; const CALL: &'static str = "unregister"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updates the price targets for a registered operator's service blueprint."] #[doc = ""] #[doc = "Allows an operator to modify their price targets for a specific blueprint they are registered for."] @@ -46012,28 +43645,24 @@ pub mod api { pub type PriceTargets = runtime_types::tangle_primitives::services::PriceTargets; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdatePriceTargets { + impl ::subxt_core::blocks::StaticExtrinsic for UpdatePriceTargets { const PALLET: &'static str = "Services"; const CALL: &'static str = "update_price_targets"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Request a new service using a blueprint and specified operators."] #[doc = ""] #[doc = "# Arguments"] @@ -46078,49 +43707,41 @@ pub mod api { } pub mod request { use super::runtime_types; - pub type EvmOrigin = - ::core::option::Option<::subxt::ext::subxt_core::utils::H160>; + pub type EvmOrigin = ::core::option::Option<::subxt_core::utils::H160>; pub type BlueprintId = ::core::primitive::u64; - pub type PermittedCallers = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; - pub type Operators = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; - pub type RequestArgs = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type PermittedCallers = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Operators = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type RequestArgs = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; - pub type Assets = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>; + pub type Assets = ::subxt_core::alloc::vec::Vec<::core::primitive::u128>; pub type Ttl = ::core::primitive::u64; pub type PaymentAsset = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Value = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Request { + impl ::subxt_core::blocks::StaticExtrinsic for Request { const PALLET: &'static str = "Services"; const CALL: &'static str = "request"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Approve a service request, allowing it to be initiated once all required approvals are received."] #[doc = ""] #[doc = "# Permissions"] @@ -46149,28 +43770,24 @@ pub mod api { pub type RequestId = ::core::primitive::u64; pub type RestakingPercent = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Approve { + impl ::subxt_core::blocks::StaticExtrinsic for Approve { const PALLET: &'static str = "Services"; const CALL: &'static str = "approve"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Reject a service request, preventing its initiation."] #[doc = ""] #[doc = "The service request will remain in the system but marked as rejected. The requester will"] @@ -46199,28 +43816,24 @@ pub mod api { use super::runtime_types; pub type RequestId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Reject { + impl ::subxt_core::blocks::StaticExtrinsic for Reject { const PALLET: &'static str = "Services"; const CALL: &'static str = "reject"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Terminates a running service instance."] #[doc = ""] #[doc = "# Permissions"] @@ -46246,28 +43859,24 @@ pub mod api { use super::runtime_types; pub type ServiceId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Terminate { + impl ::subxt_core::blocks::StaticExtrinsic for Terminate { const PALLET: &'static str = "Services"; const CALL: &'static str = "terminate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Call a job in the service with the provided arguments."] #[doc = ""] #[doc = "# Permissions"] @@ -46300,34 +43909,30 @@ pub mod api { use super::runtime_types; pub type ServiceId = ::core::primitive::u64; pub type Job = ::core::primitive::u8; - pub type Args = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Args = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Call { + impl ::subxt_core::blocks::StaticExtrinsic for Call { const PALLET: &'static str = "Services"; const CALL: &'static str = "call"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Submit a result for a previously called job."] #[doc = ""] #[doc = "# Arguments"] @@ -46360,34 +43965,30 @@ pub mod api { use super::runtime_types; pub type ServiceId = ::core::primitive::u64; pub type CallId = ::core::primitive::u64; - pub type Result = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Result = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SubmitResult { + impl ::subxt_core::blocks::StaticExtrinsic for SubmitResult { const PALLET: &'static str = "Services"; const CALL: &'static str = "submit_result"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Slash an operator's stake for a service by scheduling a deferred slashing action."] #[doc = ""] #[doc = "This function schedules a deferred slashing action against an operator's stake for a specific service."] @@ -46421,32 +44022,28 @@ pub mod api { } pub mod slash { use super::runtime_types; - pub type Offender = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Offender = ::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type Percent = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Slash { + impl ::subxt_core::blocks::StaticExtrinsic for Slash { const PALLET: &'static str = "Services"; const CALL: &'static str = "slash"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Disputes and removes an [UnappliedSlash] from storage."] #[doc = ""] #[doc = "The slash will not be applied once disputed and is permanently removed."] @@ -46477,28 +44074,24 @@ pub mod api { pub type Era = ::core::primitive::u32; pub type Index = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Dispute { + impl ::subxt_core::blocks::StaticExtrinsic for Dispute { const PALLET: &'static str = "Services"; const CALL: &'static str = "dispute"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updates the Master Blueprint Service Manager by adding a new revision."] #[doc = ""] #[doc = "# Permissions"] @@ -46518,9 +44111,9 @@ pub mod api { } pub mod update_master_blueprint_service_manager { use super::runtime_types; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateMasterBlueprintServiceManager { + impl ::subxt_core::blocks::StaticExtrinsic for UpdateMasterBlueprintServiceManager { const PALLET: &'static str = "Services"; const CALL: &'static str = "update_master_blueprint_service_manager"; } @@ -46558,9 +44151,8 @@ pub mod api { pub fn create_blueprint( &self, blueprint: types::create_blueprint::Blueprint, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "create_blueprint", types::CreateBlueprint { blueprint }, @@ -46605,8 +44197,8 @@ pub mod api { pub fn pre_register( &self, blueprint_id: types::pre_register::BlueprintId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "pre_register", types::PreRegister { blueprint_id }, @@ -46650,8 +44242,8 @@ pub mod api { preferences: types::register::Preferences, registration_args: types::register::RegistrationArgs, value: types::register::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "register", types::Register { blueprint_id, preferences, registration_args, value }, @@ -46684,8 +44276,8 @@ pub mod api { pub fn unregister( &self, blueprint_id: types::unregister::BlueprintId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "unregister", types::Unregister { blueprint_id }, @@ -46720,9 +44312,8 @@ pub mod api { &self, blueprint_id: types::update_price_targets::BlueprintId, price_targets: types::update_price_targets::PriceTargets, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "update_price_targets", types::UpdatePriceTargets { blueprint_id, price_targets }, @@ -46773,8 +44364,8 @@ pub mod api { ttl: types::request::Ttl, payment_asset: types::request::PaymentAsset, value: types::request::Value, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "request", types::Request { @@ -46817,8 +44408,8 @@ pub mod api { &self, request_id: types::approve::RequestId, restaking_percent: types::approve::RestakingPercent, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "approve", types::Approve { request_id, restaking_percent }, @@ -46852,8 +44443,8 @@ pub mod api { pub fn reject( &self, request_id: types::reject::RequestId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "reject", types::Reject { request_id }, @@ -46885,8 +44476,8 @@ pub mod api { pub fn terminate( &self, service_id: types::terminate::ServiceId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "terminate", types::Terminate { service_id }, @@ -46923,8 +44514,8 @@ pub mod api { service_id: types::call::ServiceId, job: types::call::Job, args: types::call::Args, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "call", types::Call { service_id, job, args }, @@ -46962,8 +44553,8 @@ pub mod api { service_id: types::submit_result::ServiceId, call_id: types::submit_result::CallId, result: types::submit_result::Result, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "submit_result", types::SubmitResult { service_id, call_id, result }, @@ -47003,8 +44594,8 @@ pub mod api { offender: types::slash::Offender, service_id: types::slash::ServiceId, percent: types::slash::Percent, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "slash", types::Slash { offender, service_id, percent }, @@ -47038,8 +44629,8 @@ pub mod api { &self, era: types::dispute::Era, index: types::dispute::Index, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "dispute", types::Dispute { era, index }, @@ -47067,10 +44658,10 @@ pub mod api { pub fn update_master_blueprint_service_manager( &self, address: types::update_master_blueprint_service_manager::Address, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + ) -> ::subxt_core::tx::payload::StaticPayload< types::UpdateMasterBlueprintServiceManager, > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ::subxt_core::tx::payload::StaticPayload::new_static( "Services", "update_master_blueprint_service_manager", types::UpdateMasterBlueprintServiceManager { address }, @@ -47089,19 +44680,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new service blueprint has been created."] pub struct BlueprintCreated { pub owner: blueprint_created::Owner, @@ -47109,27 +44700,27 @@ pub mod api { } pub mod blueprint_created { use super::runtime_types; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BlueprintCreated { + impl ::subxt_core::events::StaticEvent for BlueprintCreated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "BlueprintCreated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has pre-registered for a service blueprint."] pub struct PreRegistration { pub operator: pre_registration::Operator, @@ -47137,27 +44728,27 @@ pub mod api { } pub mod pre_registration { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PreRegistration { + impl ::subxt_core::events::StaticEvent for PreRegistration { const PALLET: &'static str = "Services"; const EVENT: &'static str = "PreRegistration"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An new operator has been registered."] pub struct Registered { pub provider: registered::Provider, @@ -47167,34 +44758,34 @@ pub mod api { } pub mod registered { use super::runtime_types; - pub type Provider = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Provider = ::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; pub type Preferences = runtime_types::tangle_primitives::services::OperatorPreferences; - pub type RegistrationArgs = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type RegistrationArgs = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Registered { + impl ::subxt_core::events::StaticEvent for Registered { const PALLET: &'static str = "Services"; const EVENT: &'static str = "Registered"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An operator has been unregistered."] pub struct Unregistered { pub operator: unregistered::Operator, @@ -47202,27 +44793,27 @@ pub mod api { } pub mod unregistered { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Unregistered { + impl ::subxt_core::events::StaticEvent for Unregistered { const PALLET: &'static str = "Services"; const EVENT: &'static str = "Unregistered"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The price targets for an operator has been updated."] pub struct PriceTargetsUpdated { pub operator: price_targets_updated::Operator, @@ -47231,28 +44822,28 @@ pub mod api { } pub mod price_targets_updated { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; pub type PriceTargets = runtime_types::tangle_primitives::services::PriceTargets; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PriceTargetsUpdated { + impl ::subxt_core::events::StaticEvent for PriceTargetsUpdated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "PriceTargetsUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A new service has been requested."] pub struct ServiceRequested { pub owner: service_requested::Owner, @@ -47264,36 +44855,32 @@ pub mod api { } pub mod service_requested { use super::runtime_types; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; - pub type PendingApprovals = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; - pub type Approved = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; - pub type Assets = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>; + pub type PendingApprovals = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Approved = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Assets = ::subxt_core::alloc::vec::Vec<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceRequested { + impl ::subxt_core::events::StaticEvent for ServiceRequested { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceRequested"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A service request has been approved."] pub struct ServiceRequestApproved { pub operator: service_request_approved::Operator, @@ -47304,34 +44891,31 @@ pub mod api { } pub mod service_request_approved { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; - pub type PendingApprovals = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; - pub type Approved = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type PendingApprovals = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Approved = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceRequestApproved { + impl ::subxt_core::events::StaticEvent for ServiceRequestApproved { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceRequestApproved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A service request has been rejected."] pub struct ServiceRequestRejected { pub operator: service_request_rejected::Operator, @@ -47340,28 +44924,28 @@ pub mod api { } pub mod service_request_rejected { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceRequestRejected { + impl ::subxt_core::events::StaticEvent for ServiceRequestRejected { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceRequestRejected"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A service has been initiated."] pub struct ServiceInitiated { pub owner: service_initiated::Owner, @@ -47372,31 +44956,30 @@ pub mod api { } pub mod service_initiated { use super::runtime_types; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; - pub type Assets = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>; + pub type Assets = ::subxt_core::alloc::vec::Vec<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceInitiated { + impl ::subxt_core::events::StaticEvent for ServiceInitiated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceInitiated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A service has been terminated."] pub struct ServiceTerminated { pub owner: service_terminated::Owner, @@ -47405,28 +44988,28 @@ pub mod api { } pub mod service_terminated { use super::runtime_types; - pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceTerminated { + impl ::subxt_core::events::StaticEvent for ServiceTerminated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceTerminated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A job has been called."] pub struct JobCalled { pub caller: job_called::Caller, @@ -47437,34 +45020,34 @@ pub mod api { } pub mod job_called { use super::runtime_types; - pub type Caller = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Caller = ::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type CallId = ::core::primitive::u64; pub type Job = ::core::primitive::u8; - pub type Args = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Args = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for JobCalled { + impl ::subxt_core::events::StaticEvent for JobCalled { const PALLET: &'static str = "Services"; const EVENT: &'static str = "JobCalled"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A job result has been submitted."] pub struct JobResultSubmitted { pub operator: job_result_submitted::Operator, @@ -47475,34 +45058,34 @@ pub mod api { } pub mod job_result_submitted { use super::runtime_types; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type CallId = ::core::primitive::u64; pub type Job = ::core::primitive::u8; - pub type Result = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type Result = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for JobResultSubmitted { + impl ::subxt_core::events::StaticEvent for JobResultSubmitted { const PALLET: &'static str = "Services"; const EVENT: &'static str = "JobResultSubmitted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "EVM execution reverted with a reason."] pub struct EvmReverted { pub from: evm_reverted::From, @@ -47512,29 +45095,29 @@ pub mod api { } pub mod evm_reverted { use super::runtime_types; - pub type From = ::subxt::ext::subxt_core::utils::H160; - pub type To = ::subxt::ext::subxt_core::utils::H160; - pub type Data = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Reason = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt_core::utils::H160; + pub type To = ::subxt_core::utils::H160; + pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Reason = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for EvmReverted { + impl ::subxt_core::events::StaticEvent for EvmReverted { const PALLET: &'static str = "Services"; const EVENT: &'static str = "EvmReverted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An Operator has an unapplied slash."] pub struct UnappliedSlash { pub index: unapplied_slash::Index, @@ -47547,30 +45130,30 @@ pub mod api { pub mod unapplied_slash { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; pub type Era = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for UnappliedSlash { + impl ::subxt_core::events::StaticEvent for UnappliedSlash { const PALLET: &'static str = "Services"; const EVENT: &'static str = "UnappliedSlash"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "An Unapplied Slash got discarded."] pub struct SlashDiscarded { pub index: slash_discarded::Index, @@ -47583,30 +45166,30 @@ pub mod api { pub mod slash_discarded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; pub type Era = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for SlashDiscarded { + impl ::subxt_core::events::StaticEvent for SlashDiscarded { const PALLET: &'static str = "Services"; const EVENT: &'static str = "SlashDiscarded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The Master Blueprint Service Manager has been revised."] pub struct MasterBlueprintServiceManagerRevised { pub revision: master_blueprint_service_manager_revised::Revision, @@ -47615,9 +45198,9 @@ pub mod api { pub mod master_blueprint_service_manager_revised { use super::runtime_types; pub type Revision = ::core::primitive::u32; - pub type Address = ::subxt::ext::subxt_core::utils::H160; + pub type Address = ::subxt_core::utils::H160; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MasterBlueprintServiceManagerRevised { + impl ::subxt_core::events::StaticEvent for MasterBlueprintServiceManagerRevised { const PALLET: &'static str = "Services"; const EVENT: &'static str = "MasterBlueprintServiceManagerRevised"; } @@ -47649,7 +45232,7 @@ pub mod api { pub mod blueprints { use super::runtime_types; pub type Blueprints = ( - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, runtime_types::tangle_primitives::services::ServiceBlueprint, ); pub type Param0 = ::core::primitive::u64; @@ -47659,13 +45242,13 @@ pub mod api { pub type Operators = runtime_types::tangle_primitives::services::OperatorPreferences; pub type Param0 = ::core::primitive::u64; - pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt_core::utils::AccountId32; } pub mod service_requests { use super::runtime_types; pub type ServiceRequests = runtime_types::tangle_primitives::services::ServiceRequest< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u64, ::core::primitive::u128, >; @@ -47674,7 +45257,7 @@ pub mod api { pub mod instances { use super::runtime_types; pub type Instances = runtime_types::tangle_primitives::services::Service< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u64, ::core::primitive::u128, >; @@ -47686,12 +45269,12 @@ pub mod api { runtime_types::bounded_collections::bounded_btree_set::BoundedBTreeSet< ::core::primitive::u64, >; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod job_calls { use super::runtime_types; pub type JobCalls = runtime_types::tangle_primitives::services::JobCall< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u64; pub type Param1 = ::core::primitive::u64; @@ -47699,7 +45282,7 @@ pub mod api { pub mod job_results { use super::runtime_types; pub type JobResults = runtime_types::tangle_primitives::services::JobCallResult< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u64; pub type Param1 = ::core::primitive::u64; @@ -47708,7 +45291,7 @@ pub mod api { use super::runtime_types; pub type UnappliedSlashes = runtime_types::pallet_services::types::UnappliedSlash< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; @@ -47718,20 +45301,20 @@ pub mod api { use super::runtime_types; pub type MasterBlueprintServiceManagerRevisions = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::H160, + ::subxt_core::utils::H160, >; } pub mod operators_profile { use super::runtime_types; pub type OperatorsProfile = runtime_types::tangle_primitives::services::OperatorProfile; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod staging_service_payments { use super::runtime_types; pub type StagingServicePayments = runtime_types::tangle_primitives::services::StagingServicePayment< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u128, >; @@ -47743,14 +45326,14 @@ pub mod api { #[doc = " The next free ID for a service blueprint."] pub fn next_blueprint_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_blueprint_id::NextBlueprintId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextBlueprintId", (), @@ -47764,14 +45347,14 @@ pub mod api { #[doc = " The next free ID for a service request."] pub fn next_service_request_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_service_request_id::NextServiceRequestId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextServiceRequestId", (), @@ -47785,14 +45368,14 @@ pub mod api { #[doc = " The next free ID for a service Instance."] pub fn next_instance_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_instance_id::NextInstanceId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextInstanceId", (), @@ -47806,14 +45389,14 @@ pub mod api { #[doc = " The next free ID for a service call."] pub fn next_job_call_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_job_call_id::NextJobCallId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextJobCallId", (), @@ -47827,14 +45410,14 @@ pub mod api { #[doc = " The next free ID for a unapplied slash."] pub fn next_unapplied_slash_index( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::next_unapplied_slash_index::NextUnappliedSlashIndex, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextUnappliedSlashIndex", (), @@ -47849,14 +45432,14 @@ pub mod api { #[doc = " The service blueprints along with their owner."] pub fn blueprints_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::blueprints::Blueprints, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "Blueprints", (), @@ -47872,21 +45455,17 @@ pub mod api { pub fn blueprints( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::blueprints::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::blueprints::Blueprints, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "Blueprints", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 128u8, 96u8, 251u8, 173u8, 221u8, 227u8, 202u8, 143u8, 95u8, 146u8, 91u8, 134u8, 174u8, 134u8, 229u8, 40u8, 99u8, 115u8, 180u8, 135u8, @@ -47899,14 +45478,14 @@ pub mod api { #[doc = " Blueprint ID -> Operator -> Operator Preferences"] pub fn operators_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::operators::Operators, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "Operators", (), @@ -47923,21 +45502,17 @@ pub mod api { pub fn operators_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::operators::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::operators::Operators, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "Operators", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 174u8, 201u8, 136u8, 193u8, 231u8, 202u8, 185u8, 114u8, 100u8, 186u8, 124u8, 138u8, 206u8, 11u8, 196u8, 146u8, 131u8, 51u8, 252u8, 115u8, @@ -47952,30 +45527,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::operators::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::operators::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::operators::Operators, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "Operators", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 174u8, 201u8, 136u8, 193u8, 231u8, 202u8, 185u8, 114u8, 100u8, 186u8, @@ -47989,14 +45556,14 @@ pub mod api { #[doc = " Request ID -> Service Request"] pub fn service_requests_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::service_requests::ServiceRequests, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "ServiceRequests", (), @@ -48013,21 +45580,19 @@ pub mod api { pub fn service_requests( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::service_requests::Param0, >, types::service_requests::ServiceRequests, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "ServiceRequests", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 40u8, 228u8, 200u8, 194u8, 120u8, 132u8, 83u8, 201u8, 226u8, 241u8, 11u8, 217u8, 48u8, 243u8, 0u8, 55u8, 101u8, 109u8, 173u8, 152u8, 162u8, @@ -48040,14 +45605,14 @@ pub mod api { #[doc = " Service ID -> Service"] pub fn instances_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::instances::Instances, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "Instances", (), @@ -48064,21 +45629,17 @@ pub mod api { pub fn instances( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::instances::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::instances::Instances, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "Instances", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 219u8, 177u8, 116u8, 70u8, 123u8, 19u8, 195u8, 108u8, 154u8, 204u8, 221u8, 131u8, 254u8, 20u8, 56u8, 29u8, 41u8, 105u8, 35u8, 213u8, 252u8, @@ -48091,14 +45652,14 @@ pub mod api { #[doc = " User Account ID -> Service ID"] pub fn user_services_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::user_services::UserServices, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "UserServices", (), @@ -48115,21 +45676,17 @@ pub mod api { pub fn user_services( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::user_services::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::user_services::UserServices, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "UserServices", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 228u8, 80u8, 139u8, 177u8, 57u8, 117u8, 175u8, 212u8, 37u8, 201u8, 176u8, 12u8, 79u8, 136u8, 65u8, 250u8, 105u8, 37u8, 13u8, 176u8, 86u8, @@ -48142,14 +45699,14 @@ pub mod api { #[doc = " Service ID -> Call ID -> Job Call"] pub fn job_calls_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::job_calls::JobCalls, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobCalls", (), @@ -48166,21 +45723,17 @@ pub mod api { pub fn job_calls_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::job_calls::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::job_calls::JobCalls, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobCalls", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 190u8, 74u8, 4u8, 125u8, 159u8, 85u8, 112u8, 11u8, 250u8, 158u8, 137u8, 62u8, 139u8, 108u8, 71u8, 195u8, 84u8, 199u8, 143u8, 36u8, 214u8, @@ -48195,30 +45748,22 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::job_calls::Param0, - >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::job_calls::Param1, - >, + ::subxt_core::storage::address::StaticStorageKey, + ::subxt_core::storage::address::StaticStorageKey, ), types::job_calls::JobCalls, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobCalls", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 190u8, 74u8, 4u8, 125u8, 159u8, 85u8, 112u8, 11u8, 250u8, 158u8, 137u8, @@ -48232,14 +45777,14 @@ pub mod api { #[doc = " Service ID -> Call ID -> Job Call Result"] pub fn job_results_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::job_results::JobResults, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobResults", (), @@ -48256,21 +45801,17 @@ pub mod api { pub fn job_results_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::job_results::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::job_results::JobResults, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobResults", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 37u8, 161u8, 213u8, 237u8, 49u8, 233u8, 178u8, 36u8, 189u8, 166u8, 169u8, 190u8, 206u8, 10u8, 219u8, 41u8, 131u8, 34u8, 15u8, 146u8, @@ -48285,30 +45826,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::job_results::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::job_results::Param1, >, ), types::job_results::JobResults, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobResults", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 37u8, 161u8, 213u8, 237u8, 49u8, 233u8, 178u8, 36u8, 189u8, 166u8, @@ -48323,14 +45860,14 @@ pub mod api { #[doc = " EraIndex -> Index -> UnappliedSlash"] pub fn unapplied_slashes_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::unapplied_slashes::UnappliedSlashes, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "UnappliedSlashes", (), @@ -48348,21 +45885,19 @@ pub mod api { pub fn unapplied_slashes_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param0, >, types::unapplied_slashes::UnappliedSlashes, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "UnappliedSlashes", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 131u8, 139u8, 216u8, 142u8, 159u8, 249u8, 125u8, 45u8, 8u8, 130u8, 110u8, 58u8, 162u8, 117u8, 169u8, 140u8, 71u8, 132u8, 11u8, 255u8, @@ -48378,30 +45913,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param1, >, ), types::unapplied_slashes::UnappliedSlashes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "UnappliedSlashes", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 131u8, 139u8, 216u8, 142u8, 159u8, 249u8, 125u8, 45u8, 8u8, 130u8, @@ -48413,8 +45944,8 @@ pub mod api { } #[doc = " All the Master Blueprint Service Managers revisions."] #[doc = ""] - #[doc = " Where the index is the revision number."] pub fn master_blueprint_service_manager_revisions (& self ,) -> :: subxt :: ext :: subxt_core :: storage :: address :: StaticAddress :: < () , types :: master_blueprint_service_manager_revisions :: MasterBlueprintServiceManagerRevisions , :: subxt :: ext :: subxt_core :: utils :: Yes , :: subxt :: ext :: subxt_core :: utils :: Yes , () >{ - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + #[doc = " Where the index is the revision number."] pub fn master_blueprint_service_manager_revisions (& self ,) -> :: subxt_core :: storage :: address :: StaticAddress :: < () , types :: master_blueprint_service_manager_revisions :: MasterBlueprintServiceManagerRevisions , :: subxt_core :: utils :: Yes , :: subxt_core :: utils :: Yes , () >{ + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "MasterBlueprintServiceManagerRevisions", (), @@ -48427,14 +45958,14 @@ pub mod api { } pub fn operators_profile_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::operators_profile::OperatorsProfile, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "OperatorsProfile", (), @@ -48448,21 +45979,19 @@ pub mod api { pub fn operators_profile( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::operators_profile::Param0, >, types::operators_profile::OperatorsProfile, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "OperatorsProfile", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 89u8, 71u8, 163u8, 108u8, 71u8, 192u8, 181u8, 164u8, 168u8, 126u8, 228u8, 122u8, 159u8, 83u8, 66u8, 59u8, 179u8, 218u8, 96u8, 67u8, 172u8, @@ -48477,14 +46006,14 @@ pub mod api { #[doc = " Service Requst ID -> Service Payment"] pub fn staging_service_payments_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::staging_service_payments::StagingServicePayments, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "StagingServicePayments", (), @@ -48504,21 +46033,19 @@ pub mod api { pub fn staging_service_payments( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::staging_service_payments::Param0, >, types::staging_service_payments::StagingServicePayments, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Services", "StagingServicePayments", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 192u8, 196u8, 170u8, 27u8, 123u8, 252u8, 120u8, 33u8, 138u8, 77u8, 224u8, 10u8, 9u8, 100u8, 175u8, 118u8, 86u8, 82u8, 147u8, 139u8, 223u8, @@ -48536,10 +46063,9 @@ pub mod api { #[doc = " `Pallet` EVM Address."] pub fn pallet_evm_address( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::subxt::ext::subxt_core::utils::H160, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::subxt_core::utils::H160> + { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "PalletEVMAddress", [ @@ -48553,10 +46079,8 @@ pub mod api { #[doc = " Maximum number of fields in a job call."] pub fn max_fields( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxFields", [ @@ -48570,10 +46094,8 @@ pub mod api { #[doc = " Maximum size of a field in a job call."] pub fn max_fields_size( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxFieldsSize", [ @@ -48587,10 +46109,8 @@ pub mod api { #[doc = " Maximum length of metadata string length."] pub fn max_metadata_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxMetadataLength", [ @@ -48604,10 +46124,8 @@ pub mod api { #[doc = " Maximum number of jobs per service."] pub fn max_jobs_per_service( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxJobsPerService", [ @@ -48621,10 +46139,8 @@ pub mod api { #[doc = " Maximum number of Operators per service."] pub fn max_operators_per_service( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxOperatorsPerService", [ @@ -48638,10 +46154,8 @@ pub mod api { #[doc = " Maximum number of permitted callers per service."] pub fn max_permitted_callers( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxPermittedCallers", [ @@ -48655,10 +46169,8 @@ pub mod api { #[doc = " Maximum number of services per operator."] pub fn max_services_per_operator( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxServicesPerOperator", [ @@ -48672,10 +46184,8 @@ pub mod api { #[doc = " Maximum number of blueprints per operator."] pub fn max_blueprints_per_operator( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxBlueprintsPerOperator", [ @@ -48689,10 +46199,8 @@ pub mod api { #[doc = " Maximum number of services per user."] pub fn max_services_per_user( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxServicesPerUser", [ @@ -48706,10 +46214,8 @@ pub mod api { #[doc = " Maximum number of binaries per gadget."] pub fn max_binaries_per_gadget( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxBinariesPerGadget", [ @@ -48723,10 +46229,8 @@ pub mod api { #[doc = " Maximum number of sources per gadget."] pub fn max_sources_per_gadget( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxSourcesPerGadget", [ @@ -48740,10 +46244,8 @@ pub mod api { #[doc = " Git owner maximum length."] pub fn max_git_owner_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxGitOwnerLength", [ @@ -48757,10 +46259,8 @@ pub mod api { #[doc = " Git repository maximum length."] pub fn max_git_repo_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxGitRepoLength", [ @@ -48774,10 +46274,8 @@ pub mod api { #[doc = " Git tag maximum length."] pub fn max_git_tag_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxGitTagLength", [ @@ -48791,10 +46289,8 @@ pub mod api { #[doc = " binary name maximum length."] pub fn max_binary_name_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxBinaryNameLength", [ @@ -48808,10 +46304,8 @@ pub mod api { #[doc = " IPFS hash maximum length."] pub fn max_ipfs_hash_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxIpfsHashLength", [ @@ -48825,10 +46319,8 @@ pub mod api { #[doc = " Container registry maximum length."] pub fn max_container_registry_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxContainerRegistryLength", [ @@ -48842,10 +46334,8 @@ pub mod api { #[doc = " Container image name maximum length."] pub fn max_container_image_name_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxContainerImageNameLength", [ @@ -48859,10 +46349,8 @@ pub mod api { #[doc = " Container image tag maximum length."] pub fn max_container_image_tag_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxContainerImageTagLength", [ @@ -48876,10 +46364,8 @@ pub mod api { #[doc = " Maximum number of assets per service."] pub fn max_assets_per_service( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxAssetsPerService", [ @@ -48893,10 +46379,8 @@ pub mod api { #[doc = " Maximum number of versions of Master Blueprint Service Manager allowed."] pub fn max_master_blueprint_service_manager_versions( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxMasterBlueprintServiceManagerVersions", [ @@ -48913,10 +46397,8 @@ pub mod api { #[doc = " should be applied immediately, without opportunity for intervention."] pub fn slash_defer_duration( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Services", "SlashDeferDuration", [ @@ -48944,23 +46426,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Stakes funds with a pool by transferring the bonded amount from member to pool account."] #[doc = ""] #[doc = "# Permissions"] @@ -48993,28 +46471,24 @@ pub mod api { pub type Amount = ::core::primitive::u128; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Join { + impl ::subxt_core::blocks::StaticExtrinsic for Join { const PALLET: &'static str = "Lst"; const CALL: &'static str = "join"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Bond additional funds into an existing pool position."] #[doc = ""] #[doc = "Additional funds can come from either free balance or accumulated rewards."] @@ -49052,28 +46526,24 @@ pub mod api { pub type Extra = runtime_types::pallet_tangle_lst::types::BondExtra<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtra { + impl ::subxt_core::blocks::StaticExtrinsic for BondExtra { const PALLET: &'static str = "Lst"; const CALL: &'static str = "bond_extra"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Unbond points from a member's pool position, collecting any pending rewards."] #[doc = ""] #[doc = "# Arguments"] @@ -49111,35 +46581,31 @@ pub mod api { } pub mod unbond { use super::runtime_types; - pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; pub type UnbondingPoints = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unbond { + impl ::subxt_core::blocks::StaticExtrinsic for Unbond { const PALLET: &'static str = "Lst"; const CALL: &'static str = "unbond"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Withdraws unbonded funds from the pool's staking account."] #[doc = ""] #[doc = "Useful for clearing unlocking chunks when there are too many to call `unbond`."] @@ -49168,28 +46634,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { + impl ::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { const PALLET: &'static str = "Lst"; const CALL: &'static str = "pool_withdraw_unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Withdraw unbonded funds from a member account."] #[doc = ""] #[doc = "# Permissions"] @@ -49222,35 +46684,31 @@ pub mod api { } pub mod withdraw_unbonded { use super::runtime_types; - pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { + impl ::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { const PALLET: &'static str = "Lst"; const CALL: &'static str = "withdraw_unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create a new delegation pool."] #[doc = ""] #[doc = "# Permissions"] @@ -49286,16 +46744,16 @@ pub mod api { pub mod create { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Root = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Name = ::core::option::Option< @@ -49309,28 +46767,24 @@ pub mod api { >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "Lst"; const CALL: &'static str = "create"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Create a new delegation pool with a previously used pool ID."] #[doc = ""] #[doc = "# Permissions"] @@ -49369,16 +46823,16 @@ pub mod api { pub mod create_with_pool_id { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Root = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; @@ -49393,28 +46847,24 @@ pub mod api { >, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { + impl ::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { const PALLET: &'static str = "Lst"; const CALL: &'static str = "create_with_pool_id"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Nominate validators on behalf of the pool."] #[doc = ""] #[doc = "# Permissions"] @@ -49442,32 +46892,27 @@ pub mod api { pub mod nominate { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >; + pub type Validators = + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Nominate { + impl ::subxt_core::blocks::StaticExtrinsic for Nominate { const PALLET: &'static str = "Lst"; const CALL: &'static str = "nominate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updates the state of a pool. Once a pool is in `Destroying` state, its state cannot be"] #[doc = "changed again under any circumstances."] #[doc = ""] @@ -49500,28 +46945,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type State = runtime_types::pallet_tangle_lst::types::pools::PoolState; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetState { + impl ::subxt_core::blocks::StaticExtrinsic for SetState { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_state"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updates the metadata for a given pool."] #[doc = ""] #[doc = "# Permissions"] @@ -49546,31 +46987,26 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Metadata = - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Metadata = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_metadata"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updates the global configuration parameters for nomination pools."] #[doc = ""] #[doc = "# Permissions"] @@ -49607,28 +47043,24 @@ pub mod api { runtime_types::sp_arithmetic::per_things::Perbill, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetConfigs { + impl ::subxt_core::blocks::StaticExtrinsic for SetConfigs { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_configs"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Update the roles of a pool."] #[doc = ""] #[doc = "Updates root, nominator and bouncer roles for a given pool. The depositor role cannot be changed."] @@ -49660,37 +47092,33 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; pub type NewRoot = runtime_types::pallet_tangle_lst::types::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type NewNominator = runtime_types::pallet_tangle_lst::types::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; pub type NewBouncer = runtime_types::pallet_tangle_lst::types::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateRoles { + impl ::subxt_core::blocks::StaticExtrinsic for UpdateRoles { const PALLET: &'static str = "Lst"; const CALL: &'static str = "update_roles"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Chill on behalf of the pool by forwarding the call to the staking pallet."] #[doc = ""] #[doc = "# Permissions"] @@ -49713,28 +47141,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Chill { + impl ::subxt_core::blocks::StaticExtrinsic for Chill { const PALLET: &'static str = "Lst"; const CALL: &'static str = "chill"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Bond additional funds for a pool member into their respective pool."] #[doc = ""] #[doc = "# Permissions"] @@ -49762,36 +47186,32 @@ pub mod api { } pub mod bond_extra_other { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + pub type Member = ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; pub type Extra = runtime_types::pallet_tangle_lst::types::BondExtra<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtraOther { + impl ::subxt_core::blocks::StaticExtrinsic for BondExtraOther { const PALLET: &'static str = "Lst"; const CALL: &'static str = "bond_extra_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set or remove the commission rate and payee for a pool."] #[doc = ""] #[doc = "# Permissions"] @@ -49817,31 +47237,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewCommission = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommission { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommission { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the maximum commission rate for a pool. Initial max can be set to any value, with only"] #[doc = "lower values allowed thereafter. Current commission will be reduced if above new max."] #[doc = ""] @@ -49868,28 +47284,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission_max"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set the commission change rate for a pool."] #[doc = ""] #[doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] @@ -49912,28 +47324,24 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission_change_rate"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claim pending commission for a pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by an account with commission claim permission."] @@ -49951,28 +47359,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimCommission { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimCommission { const PALLET: &'static str = "Lst"; const CALL: &'static str = "claim_commission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Top up the deficit or withdraw the excess ED from the pool."] #[doc = ""] #[doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] @@ -49992,28 +47396,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { + impl ::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { const PALLET: &'static str = "Lst"; const CALL: &'static str = "adjust_pool_deposit"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Set or remove a pool's commission claim permission."] #[doc = ""] #[doc = "Only the `Root` role of the pool is able to configure commission claim permissions."] @@ -50031,30 +47431,26 @@ pub mod api { pub mod set_commission_claim_permission { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Permission = :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > ; + pub type Permission = :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > ; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { + impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission_claim_permission"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SetLastPoolId { pub pool_id: set_last_pool_id::PoolId, } @@ -50062,7 +47458,7 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetLastPoolId { + impl ::subxt_core::blocks::StaticExtrinsic for SetLastPoolId { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_last_pool_id"; } @@ -50095,8 +47491,8 @@ pub mod api { &self, amount: types::join::Amount, pool_id: types::join::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "join", types::Join { amount, pool_id }, @@ -50138,8 +47534,8 @@ pub mod api { &self, pool_id: types::bond_extra::PoolId, extra: types::bond_extra::Extra, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "bond_extra", types::BondExtra { pool_id, extra }, @@ -50184,8 +47580,8 @@ pub mod api { member_account: types::unbond::MemberAccount, pool_id: types::unbond::PoolId, unbonding_points: types::unbond::UnbondingPoints, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "unbond", types::Unbond { member_account, pool_id, unbonding_points }, @@ -50220,9 +47616,8 @@ pub mod api { &self, pool_id: types::pool_withdraw_unbonded::PoolId, num_slashing_spans: types::pool_withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "pool_withdraw_unbonded", types::PoolWithdrawUnbonded { pool_id, num_slashing_spans }, @@ -50264,9 +47659,8 @@ pub mod api { member_account: types::withdraw_unbonded::MemberAccount, pool_id: types::withdraw_unbonded::PoolId, num_slashing_spans: types::withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "withdraw_unbonded", types::WithdrawUnbonded { member_account, pool_id, num_slashing_spans }, @@ -50309,8 +47703,8 @@ pub mod api { bouncer: types::create::Bouncer, name: types::create::Name, icon: types::create::Icon, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "create", types::Create { amount, root, nominator, bouncer, name, icon }, @@ -50355,9 +47749,8 @@ pub mod api { pool_id: types::create_with_pool_id::PoolId, name: types::create_with_pool_id::Name, icon: types::create_with_pool_id::Icon, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "create_with_pool_id", types::CreateWithPoolId { @@ -50401,8 +47794,8 @@ pub mod api { &self, pool_id: types::nominate::PoolId, validators: types::nominate::Validators, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "nominate", types::Nominate { pool_id, validators }, @@ -50440,8 +47833,8 @@ pub mod api { &self, pool_id: types::set_state::PoolId, state: types::set_state::State, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_state", types::SetState { pool_id, state }, @@ -50473,8 +47866,8 @@ pub mod api { &self, pool_id: types::set_metadata::PoolId, metadata: types::set_metadata::Metadata, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_metadata", types::SetMetadata { pool_id, metadata }, @@ -50508,8 +47901,8 @@ pub mod api { min_create_bond: types::set_configs::MinCreateBond, max_pools: types::set_configs::MaxPools, global_max_commission: types::set_configs::GlobalMaxCommission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_configs", types::SetConfigs { @@ -50553,8 +47946,8 @@ pub mod api { new_root: types::update_roles::NewRoot, new_nominator: types::update_roles::NewNominator, new_bouncer: types::update_roles::NewBouncer, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "update_roles", types::UpdateRoles { pool_id, new_root, new_nominator, new_bouncer }, @@ -50584,8 +47977,8 @@ pub mod api { pub fn chill( &self, pool_id: types::chill::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "chill", types::Chill { pool_id }, @@ -50621,9 +48014,8 @@ pub mod api { member: types::bond_extra_other::Member, pool_id: types::bond_extra_other::PoolId, extra: types::bond_extra_other::Extra, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "bond_extra_other", types::BondExtraOther { member, pool_id, extra }, @@ -50654,9 +48046,8 @@ pub mod api { &self, pool_id: types::set_commission::PoolId, new_commission: types::set_commission::NewCommission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission", types::SetCommission { pool_id, new_commission }, @@ -50688,9 +48079,8 @@ pub mod api { &self, pool_id: types::set_commission_max::PoolId, max_commission: types::set_commission_max::MaxCommission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission_max", types::SetCommissionMax { pool_id, max_commission }, @@ -50716,10 +48106,8 @@ pub mod api { &self, pool_id: types::set_commission_change_rate::PoolId, change_rate: types::set_commission_change_rate::ChangeRate, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::SetCommissionChangeRate, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission_change_rate", types::SetCommissionChangeRate { pool_id, change_rate }, @@ -50744,9 +48132,8 @@ pub mod api { pub fn claim_commission( &self, pool_id: types::claim_commission::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "claim_commission", types::ClaimCommission { pool_id }, @@ -50772,9 +48159,8 @@ pub mod api { pub fn adjust_pool_deposit( &self, pool_id: types::adjust_pool_deposit::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "adjust_pool_deposit", types::AdjustPoolDeposit { pool_id }, @@ -50799,10 +48185,9 @@ pub mod api { &self, pool_id: types::set_commission_claim_permission::PoolId, permission: types::set_commission_claim_permission::Permission, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::SetCommissionClaimPermission, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload + { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission_claim_permission", types::SetCommissionClaimPermission { pool_id, permission }, @@ -50816,9 +48201,8 @@ pub mod api { pub fn set_last_pool_id( &self, pool_id: types::set_last_pool_id::PoolId, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_last_pool_id", types::SetLastPoolId { pool_id }, @@ -50837,19 +48221,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been created."] pub struct Created { pub depositor: created::Depositor, @@ -50857,27 +48241,27 @@ pub mod api { } pub mod created { use super::runtime_types; - pub type Depositor = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Depositor = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Created { + impl ::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Created"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has become bonded in a pool."] pub struct Bonded { pub member: bonded::Member, @@ -50887,29 +48271,29 @@ pub mod api { } pub mod bonded { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Bonded = ::core::primitive::u128; pub type Joined = ::core::primitive::bool; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Bonded { + impl ::subxt_core::events::StaticEvent for Bonded { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Bonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A payout has been made to a member."] pub struct PaidOut { pub member: paid_out::Member, @@ -50918,28 +48302,28 @@ pub mod api { } pub mod paid_out { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PaidOut { + impl ::subxt_core::events::StaticEvent for PaidOut { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PaidOut"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has unbonded from their pool."] #[doc = ""] #[doc = "- `balance` is the corresponding balance of the number of points that has been"] @@ -50960,30 +48344,30 @@ pub mod api { } pub mod unbonded { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; pub type Era = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Unbonded { + impl ::subxt_core::events::StaticEvent for Unbonded { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Unbonded"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has withdrawn from their pool."] #[doc = ""] #[doc = "The given number of `points` have been dissolved in return for `balance`."] @@ -50998,29 +48382,29 @@ pub mod api { } pub mod withdrawn { use super::runtime_types; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Withdrawn"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been destroyed."] pub struct Destroyed { pub pool_id: destroyed::PoolId, @@ -51029,24 +48413,24 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for Destroyed { + impl ::subxt_core::events::StaticEvent for Destroyed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Destroyed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The state of a pool has changed"] pub struct StateChanged { pub pool_id: state_changed::PoolId, @@ -51057,24 +48441,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewState = runtime_types::pallet_tangle_lst::types::pools::PoolState; } - impl ::subxt::ext::subxt_core::events::StaticEvent for StateChanged { + impl ::subxt_core::events::StaticEvent for StateChanged { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "StateChanged"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A member has been removed from a pool."] #[doc = ""] #[doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] @@ -51085,26 +48469,26 @@ pub mod api { pub mod member_removed { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Member = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MemberRemoved { + impl ::subxt_core::events::StaticEvent for MemberRemoved { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "MemberRemoved"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] #[doc = "can never change."] pub struct RolesUpdated { @@ -51114,31 +48498,28 @@ pub mod api { } pub mod roles_updated { use super::runtime_types; - pub type Root = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; - pub type Bouncer = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; - pub type Nominator = - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; - } - impl ::subxt::ext::subxt_core::events::StaticEvent for RolesUpdated { + pub type Root = ::core::option::Option<::subxt_core::utils::AccountId32>; + pub type Bouncer = ::core::option::Option<::subxt_core::utils::AccountId32>; + pub type Nominator = ::core::option::Option<::subxt_core::utils::AccountId32>; + } + impl ::subxt_core::events::StaticEvent for RolesUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "RolesUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The active balance of pool `pool_id` has been slashed to `balance`."] pub struct PoolSlashed { pub pool_id: pool_slashed::PoolId, @@ -51149,24 +48530,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolSlashed { + impl ::subxt_core::events::StaticEvent for PoolSlashed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolSlashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] pub struct UnbondingPoolSlashed { pub pool_id: unbonding_pool_slashed::PoolId, @@ -51179,24 +48560,24 @@ pub mod api { pub type Era = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for UnbondingPoolSlashed { + impl ::subxt_core::events::StaticEvent for UnbondingPoolSlashed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "UnbondingPoolSlashed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission setting has been changed."] pub struct PoolCommissionUpdated { pub pool_id: pool_commission_updated::PoolId, @@ -51207,27 +48588,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Current = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionUpdated { + impl ::subxt_core::events::StaticEvent for PoolCommissionUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool's maximum commission setting has been changed."] pub struct PoolMaxCommissionUpdated { pub pool_id: pool_max_commission_updated::PoolId, @@ -51238,24 +48619,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { + impl ::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolMaxCommissionUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission `change_rate` has been changed."] pub struct PoolCommissionChangeRateUpdated { pub pool_id: pool_commission_change_rate_updated::PoolId, @@ -51269,24 +48650,24 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { + impl ::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionChangeRateUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission claim permission has been updated."] pub struct PoolCommissionClaimPermissionUpdated { pub pool_id: pool_commission_claim_permission_updated::PoolId, @@ -51297,28 +48678,28 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Permission = ::core::option::Option< runtime_types::pallet_tangle_lst::types::commission::CommissionClaimPermission< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { + impl ::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionClaimPermissionUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission has been claimed."] pub struct PoolCommissionClaimed { pub pool_id: pool_commission_claimed::PoolId, @@ -51329,24 +48710,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Commission = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimed { + impl ::subxt_core::events::StaticEvent for PoolCommissionClaimed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionClaimed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Topped up deficit in frozen ED of the reward pool."] pub struct MinBalanceDeficitAdjusted { pub pool_id: min_balance_deficit_adjusted::PoolId, @@ -51357,24 +48738,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { + impl ::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "MinBalanceDeficitAdjusted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claimed excess frozen ED of the reward pool."] pub struct MinBalanceExcessAdjusted { pub pool_id: min_balance_excess_adjusted::PoolId, @@ -51385,24 +48766,24 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { + impl ::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "MinBalanceExcessAdjusted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The last PoolId is updated"] pub struct LastPoolIdUpdated { pub pool_id: last_pool_id_updated::PoolId, @@ -51411,7 +48792,7 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for LastPoolIdUpdated { + impl ::subxt_core::events::StaticEvent for LastPoolIdUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "LastPoolIdUpdated"; } @@ -51490,7 +48871,7 @@ pub mod api { use super::runtime_types; pub type UnbondingMembers = runtime_types::pallet_tangle_lst::types::pools::PoolMember; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_unbonding_members { use super::runtime_types; @@ -51499,7 +48880,7 @@ pub mod api { pub mod reverse_pool_id_lookup { use super::runtime_types; pub type ReversePoolIdLookup = ::core::primitive::u32; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } pub mod counter_for_reverse_pool_id_lookup { use super::runtime_types; @@ -51509,7 +48890,7 @@ pub mod api { use super::runtime_types; pub type ClaimPermissions = runtime_types::pallet_tangle_lst::types::ClaimPermission; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -51521,14 +48902,14 @@ pub mod api { #[doc = " `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s."] pub fn total_value_locked( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::total_value_locked::TotalValueLocked, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "TotalValueLocked", (), @@ -51542,14 +48923,14 @@ pub mod api { #[doc = " Minimum amount to bond to join a pool."] pub fn min_join_bond( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_join_bond::MinJoinBond, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "MinJoinBond", (), @@ -51569,14 +48950,14 @@ pub mod api { #[doc = " while all other accounts leave."] pub fn min_create_bond( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::min_create_bond::MinCreateBond, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "MinCreateBond", (), @@ -51592,14 +48973,14 @@ pub mod api { #[doc = " pools can exist."] pub fn max_pools( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::max_pools::MaxPools, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "MaxPools", (), @@ -51616,14 +48997,14 @@ pub mod api { #[doc = " `GlobalMaxCommission` is lower than some current pool commissions."] pub fn global_max_commission( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::global_max_commission::GlobalMaxCommission, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "GlobalMaxCommission", (), @@ -51638,14 +49019,14 @@ pub mod api { #[doc = " Storage for bonded pools."] pub fn bonded_pools_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::bonded_pools::BondedPools, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "BondedPools", (), @@ -51660,21 +49041,17 @@ pub mod api { pub fn bonded_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::bonded_pools::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::bonded_pools::BondedPools, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "BondedPools", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 74u8, 250u8, 235u8, 10u8, 153u8, 148u8, 26u8, 163u8, 198u8, 48u8, 57u8, 147u8, 9u8, 101u8, 63u8, 185u8, 86u8, 216u8, 172u8, 144u8, 173u8, @@ -51685,14 +49062,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_bonded_pools( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_bonded_pools::CounterForBondedPools, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForBondedPools", (), @@ -51707,14 +49084,14 @@ pub mod api { #[doc = " claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account."] pub fn reward_pools_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reward_pools::RewardPools, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "RewardPools", (), @@ -51731,21 +49108,17 @@ pub mod api { pub fn reward_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::reward_pools::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::reward_pools::RewardPools, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "RewardPools", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 9u8, 12u8, 53u8, 236u8, 133u8, 154u8, 71u8, 150u8, 220u8, 31u8, 130u8, 126u8, 208u8, 240u8, 214u8, 66u8, 16u8, 43u8, 202u8, 222u8, 94u8, @@ -51757,14 +49130,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reward_pools( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_reward_pools::CounterForRewardPools, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForRewardPools", (), @@ -51780,14 +49153,14 @@ pub mod api { #[doc = " bonded pool, hence the name sub-pools. Keyed by the bonded pools account."] pub fn sub_pools_storage_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::sub_pools_storage::SubPoolsStorage, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "SubPoolsStorage", (), @@ -51803,21 +49176,19 @@ pub mod api { pub fn sub_pools_storage( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::sub_pools_storage::Param0, >, types::sub_pools_storage::SubPoolsStorage, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "SubPoolsStorage", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 43u8, 35u8, 94u8, 197u8, 201u8, 86u8, 21u8, 118u8, 230u8, 10u8, 66u8, 180u8, 104u8, 146u8, 250u8, 207u8, 159u8, 153u8, 203u8, 58u8, 20u8, @@ -51828,14 +49199,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_sub_pools_storage( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_sub_pools_storage::CounterForSubPoolsStorage, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForSubPoolsStorage", (), @@ -51850,14 +49221,14 @@ pub mod api { #[doc = " Metadata for the pool."] pub fn metadata_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::metadata::Metadata, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "Metadata", (), @@ -51872,21 +49243,17 @@ pub mod api { pub fn metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::metadata::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::metadata::Metadata, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "Metadata", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 10u8, 171u8, 251u8, 5u8, 72u8, 74u8, 86u8, 144u8, 59u8, 67u8, 92u8, 111u8, 217u8, 111u8, 175u8, 107u8, 119u8, 206u8, 199u8, 78u8, 182u8, @@ -51897,14 +49264,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_metadata( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_metadata::CounterForMetadata, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForMetadata", (), @@ -51919,14 +49286,14 @@ pub mod api { #[doc = " Ever increasing number of all pools created so far."] pub fn last_pool_id( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::last_pool_id::LastPoolId, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "LastPoolId", (), @@ -51943,14 +49310,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn unbonding_members_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::unbonding_members::UnbondingMembers, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "UnbondingMembers", (), @@ -51967,21 +49334,19 @@ pub mod api { pub fn unbonding_members( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::unbonding_members::Param0, >, types::unbonding_members::UnbondingMembers, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "UnbondingMembers", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 46u8, 91u8, 211u8, 29u8, 83u8, 17u8, 148u8, 26u8, 183u8, 226u8, 240u8, 39u8, 186u8, 86u8, 198u8, 55u8, 43u8, 125u8, 83u8, 249u8, 203u8, 33u8, @@ -51992,14 +49357,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_unbonding_members( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_unbonding_members::CounterForUnbondingMembers, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForUnbondingMembers", (), @@ -52017,14 +49382,14 @@ pub mod api { #[doc = " accounts are deterministically derived from it."] pub fn reverse_pool_id_lookup_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reverse_pool_id_lookup::ReversePoolIdLookup, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ReversePoolIdLookup", (), @@ -52042,21 +49407,19 @@ pub mod api { pub fn reverse_pool_id_lookup( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::reverse_pool_id_lookup::Param0, >, types::reverse_pool_id_lookup::ReversePoolIdLookup, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ReversePoolIdLookup", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 76u8, 76u8, 150u8, 33u8, 64u8, 81u8, 90u8, 75u8, 212u8, 221u8, 59u8, 83u8, 178u8, 45u8, 86u8, 206u8, 196u8, 221u8, 117u8, 94u8, 229u8, @@ -52067,14 +49430,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reverse_pool_id_lookup( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::counter_for_reverse_pool_id_lookup::CounterForReversePoolIdLookup, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForReversePoolIdLookup", (), @@ -52089,14 +49452,14 @@ pub mod api { #[doc = " Map from a pool member account to their opted claim permission."] pub fn claim_permissions_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::claim_permissions::ClaimPermissions, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ClaimPermissions", (), @@ -52111,21 +49474,19 @@ pub mod api { pub fn claim_permissions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::claim_permissions::Param0, >, types::claim_permissions::ClaimPermissions, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ClaimPermissions", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 98u8, 241u8, 185u8, 102u8, 61u8, 53u8, 215u8, 105u8, 2u8, 148u8, 197u8, 17u8, 107u8, 253u8, 74u8, 159u8, 14u8, 30u8, 213u8, 38u8, 35u8, 163u8, @@ -52142,10 +49503,10 @@ pub mod api { #[doc = " The nomination pool's pallet id."] pub fn pallet_id( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ) -> ::subxt_core::constants::address::StaticAddress< runtime_types::frame_support::PalletId, > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ::subxt_core::constants::address::StaticAddress::new_static( "Lst", "PalletId", [ @@ -52169,10 +49530,8 @@ pub mod api { #[doc = " Such a scenario would also be the equivalent of the pool being 90% slashed."] pub fn max_points_to_balance( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u8, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u8> { + ::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxPointsToBalance", [ @@ -52186,10 +49545,8 @@ pub mod api { #[doc = " The maximum number of simultaneous unbonding chunks that can exist per member."] pub fn max_unbonding( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxUnbonding", [ @@ -52203,10 +49560,8 @@ pub mod api { #[doc = " The maximum length of a pool name."] pub fn max_name_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxNameLength", [ @@ -52220,10 +49575,8 @@ pub mod api { #[doc = " The maximum length of a pool icon."] pub fn max_icon_length( &self, - ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< - ::core::primitive::u32, - > { - ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { + ::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxIconLength", [ @@ -52251,23 +49604,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claim rewards for a specific asset and reward type"] pub struct ClaimRewards { pub asset: claim_rewards::Asset, @@ -52277,28 +49626,24 @@ pub mod api { pub type Asset = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimRewards { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimRewards { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "claim_rewards"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Claim rewards for another account"] #[doc = ""] #[doc = "The dispatch origin must be signed."] @@ -52314,32 +49659,28 @@ pub mod api { } pub mod claim_rewards_other { use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt_core::utils::AccountId32; pub type Asset = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimRewardsOther { + impl ::subxt_core::blocks::StaticExtrinsic for ClaimRewardsOther { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "claim_rewards_other"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Manage asset id to vault rewards."] #[doc = ""] #[doc = "# Permissions"] @@ -52369,28 +49710,24 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Action = runtime_types::pallet_rewards::types::AssetAction; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ManageAssetRewardVault { + impl ::subxt_core::blocks::StaticExtrinsic for ManageAssetRewardVault { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "manage_asset_reward_vault"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Creates a new reward configuration for a specific vault."] #[doc = ""] #[doc = "# Arguments"] @@ -52421,28 +49758,24 @@ pub mod api { ::core::primitive::u128, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateRewardVault { + impl ::subxt_core::blocks::StaticExtrinsic for CreateRewardVault { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "create_reward_vault"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Updates the reward configuration for a specific vault."] #[doc = ""] #[doc = "# Arguments"] @@ -52473,28 +49806,24 @@ pub mod api { ::core::primitive::u128, >; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateVaultRewardConfig { + impl ::subxt_core::blocks::StaticExtrinsic for UpdateVaultRewardConfig { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "update_vault_reward_config"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Update the decay configuration"] pub struct UpdateDecayConfig { pub start_period: update_decay_config::StartPeriod, @@ -52505,28 +49834,24 @@ pub mod api { pub type StartPeriod = ::core::primitive::u64; pub type Rate = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateDecayConfig { + impl ::subxt_core::blocks::StaticExtrinsic for UpdateDecayConfig { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "update_decay_config"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Update the number of blocks used for APY calculation"] pub struct UpdateApyBlocks { pub blocks: update_apy_blocks::Blocks, @@ -52535,7 +49860,7 @@ pub mod api { use super::runtime_types; pub type Blocks = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateApyBlocks { + impl ::subxt_core::blocks::StaticExtrinsic for UpdateApyBlocks { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "update_apy_blocks"; } @@ -52546,8 +49871,8 @@ pub mod api { pub fn claim_rewards( &self, asset: types::claim_rewards::Asset, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "claim_rewards", types::ClaimRewards { asset }, @@ -52572,9 +49897,8 @@ pub mod api { &self, who: types::claim_rewards_other::Who, asset: types::claim_rewards_other::Asset, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "claim_rewards_other", types::ClaimRewardsOther { who, asset }, @@ -52608,10 +49932,8 @@ pub mod api { vault_id: types::manage_asset_reward_vault::VaultId, asset_id: types::manage_asset_reward_vault::AssetId, action: types::manage_asset_reward_vault::Action, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::ManageAssetRewardVault, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "manage_asset_reward_vault", types::ManageAssetRewardVault { vault_id, asset_id, action }, @@ -52644,9 +49966,8 @@ pub mod api { &self, vault_id: types::create_reward_vault::VaultId, new_config: types::create_reward_vault::NewConfig, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "create_reward_vault", types::CreateRewardVault { vault_id, new_config }, @@ -52680,10 +50001,8 @@ pub mod api { &self, vault_id: types::update_vault_reward_config::VaultId, new_config: types::update_vault_reward_config::NewConfig, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< - types::UpdateVaultRewardConfig, - > { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "update_vault_reward_config", types::UpdateVaultRewardConfig { vault_id, new_config }, @@ -52700,9 +50019,8 @@ pub mod api { &self, start_period: types::update_decay_config::StartPeriod, rate: types::update_decay_config::Rate, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "update_decay_config", types::UpdateDecayConfig { start_period, rate }, @@ -52718,9 +50036,8 @@ pub mod api { pub fn update_apy_blocks( &self, blocks: types::update_apy_blocks::Blocks, - ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload - { - ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt_core::tx::payload::StaticPayload { + ::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "update_apy_blocks", types::UpdateApyBlocks { blocks }, @@ -52738,19 +50055,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Rewards have been claimed by an account"] pub struct RewardsClaimed { pub account: rewards_claimed::Account, @@ -52759,29 +50076,29 @@ pub mod api { } pub mod rewards_claimed { use super::runtime_types; - pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Account = ::subxt_core::utils::AccountId32; pub type Asset = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for RewardsClaimed { + impl ::subxt_core::events::StaticEvent for RewardsClaimed { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "RewardsClaimed"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Event emitted when an incentive APY and cap are set for a reward vault"] pub struct IncentiveAPYAndCapSet { pub vault_id: incentive_apy_and_cap_set::VaultId, @@ -52794,24 +50111,24 @@ pub mod api { pub type Apy = runtime_types::sp_arithmetic::per_things::Percent; pub type Cap = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for IncentiveAPYAndCapSet { + impl ::subxt_core::events::StaticEvent for IncentiveAPYAndCapSet { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "IncentiveAPYAndCapSet"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Event emitted when a blueprint is whitelisted for rewards"] pub struct BlueprintWhitelisted { pub blueprint_id: blueprint_whitelisted::BlueprintId, @@ -52820,24 +50137,24 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for BlueprintWhitelisted { + impl ::subxt_core::events::StaticEvent for BlueprintWhitelisted { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "BlueprintWhitelisted"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Asset has been updated to reward vault"] pub struct AssetUpdatedInVault { pub vault_id: asset_updated_in_vault::VaultId, @@ -52851,24 +50168,24 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Action = runtime_types::pallet_rewards::types::AssetAction; } - impl ::subxt::ext::subxt_core::events::StaticEvent for AssetUpdatedInVault { + impl ::subxt_core::events::StaticEvent for AssetUpdatedInVault { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "AssetUpdatedInVault"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Vault reward config updated"] pub struct VaultRewardConfigUpdated { pub vault_id: vault_reward_config_updated::VaultId, @@ -52882,24 +50199,24 @@ pub mod api { ::core::primitive::u128, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for VaultRewardConfigUpdated { + impl ::subxt_core::events::StaticEvent for VaultRewardConfigUpdated { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "VaultRewardConfigUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Vault created"] pub struct RewardVaultCreated { pub vault_id: reward_vault_created::VaultId, @@ -52913,26 +50230,26 @@ pub mod api { runtime_types::pallet_rewards::types::RewardConfigForAssetVault< ::core::primitive::u128, >; - pub type PotAccount = ::subxt::ext::subxt_core::utils::AccountId32; + pub type PotAccount = ::subxt_core::utils::AccountId32; } - impl ::subxt::ext::subxt_core::events::StaticEvent for RewardVaultCreated { + impl ::subxt_core::events::StaticEvent for RewardVaultCreated { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "RewardVaultCreated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Total score in vault updated"] pub struct TotalScoreUpdated { pub vault_id: total_score_updated::VaultId, @@ -52950,24 +50267,24 @@ pub mod api { runtime_types::tangle_primitives::types::rewards::LockMultiplier, >; } - impl ::subxt::ext::subxt_core::events::StaticEvent for TotalScoreUpdated { + impl ::subxt_core::events::StaticEvent for TotalScoreUpdated { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "TotalScoreUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Total deposit in vault updated"] pub struct TotalDepositUpdated { pub vault_id: total_deposit_updated::VaultId, @@ -52981,24 +50298,24 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type TotalDeposit = ::core::primitive::u128; } - impl ::subxt::ext::subxt_core::events::StaticEvent for TotalDepositUpdated { + impl ::subxt_core::events::StaticEvent for TotalDepositUpdated { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "TotalDepositUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Decay configuration was updated"] pub struct DecayConfigUpdated { pub start_period: decay_config_updated::StartPeriod, @@ -53009,24 +50326,24 @@ pub mod api { pub type StartPeriod = ::core::primitive::u64; pub type Rate = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt::ext::subxt_core::events::StaticEvent for DecayConfigUpdated { + impl ::subxt_core::events::StaticEvent for DecayConfigUpdated { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "DecayConfigUpdated"; } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The number of blocks for APY calculation has been updated"] pub struct ApyBlocksUpdated { pub blocks: apy_blocks_updated::Blocks, @@ -53035,7 +50352,7 @@ pub mod api { use super::runtime_types; pub type Blocks = ::core::primitive::u64; } - impl ::subxt::ext::subxt_core::events::StaticEvent for ApyBlocksUpdated { + impl ::subxt_core::events::StaticEvent for ApyBlocksUpdated { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "ApyBlocksUpdated"; } @@ -53057,19 +50374,19 @@ pub mod api { pub mod user_service_reward { use super::runtime_types; pub type UserServiceReward = ::core::primitive::u128; - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; pub type Param1 = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } pub mod user_claimed_reward { use super::runtime_types; pub type UserClaimedReward = (::core::primitive::u64, ::core::primitive::u128); - pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt_core::utils::AccountId32; pub type Param1 = ::core::primitive::u32; } pub mod reward_vaults { use super::runtime_types; - pub type RewardVaults = ::subxt::ext::subxt_core::alloc::vec::Vec< + pub type RewardVaults = ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>, >; pub type Param0 = ::core::primitive::u32; @@ -53090,7 +50407,7 @@ pub mod api { } pub mod reward_vaults_pot_account { use super::runtime_types; - pub type RewardVaultsPotAccount = ::subxt::ext::subxt_core::utils::AccountId32; + pub type RewardVaultsPotAccount = ::subxt_core::utils::AccountId32; pub type Param0 = ::core::primitive::u32; } pub mod apy_blocks { @@ -53113,14 +50430,14 @@ pub mod api { #[doc = " deposits multiplied by the lock multiplier"] pub fn total_reward_vault_score_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::total_reward_vault_score::TotalRewardVaultScore, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "TotalRewardVaultScore", (), @@ -53137,21 +50454,19 @@ pub mod api { pub fn total_reward_vault_score( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::total_reward_vault_score::Param0, >, types::total_reward_vault_score::TotalRewardVaultScore, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "TotalRewardVaultScore", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 81u8, 149u8, 62u8, 176u8, 255u8, 187u8, 21u8, 2u8, 204u8, 121u8, 214u8, 125u8, 223u8, 182u8, 204u8, 248u8, 232u8, 123u8, 163u8, 177u8, 173u8, @@ -53162,14 +50477,14 @@ pub mod api { #[doc = " Stores the total deposit for each vault"] pub fn total_reward_vault_deposit_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::total_reward_vault_deposit::TotalRewardVaultDeposit, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "TotalRewardVaultDeposit", (), @@ -53184,21 +50499,19 @@ pub mod api { pub fn total_reward_vault_deposit( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::total_reward_vault_deposit::Param0, >, types::total_reward_vault_deposit::TotalRewardVaultDeposit, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "TotalRewardVaultDeposit", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 153u8, 26u8, 119u8, 97u8, 24u8, 180u8, 52u8, 220u8, 10u8, 27u8, 120u8, 176u8, 18u8, 120u8, 19u8, 196u8, 16u8, 104u8, 16u8, 73u8, 255u8, 227u8, @@ -53209,14 +50522,14 @@ pub mod api { #[doc = " Stores the service reward for a given user"] pub fn user_service_reward_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::user_service_reward::UserServiceReward, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserServiceReward", (), @@ -53232,21 +50545,19 @@ pub mod api { pub fn user_service_reward_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::user_service_reward::Param0, >, types::user_service_reward::UserServiceReward, (), - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserServiceReward", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 17u8, 184u8, 103u8, 139u8, 191u8, 239u8, 87u8, 61u8, 131u8, 108u8, 189u8, 182u8, 114u8, 33u8, 47u8, 131u8, 228u8, 166u8, 129u8, 195u8, @@ -53260,30 +50571,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::user_service_reward::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::user_service_reward::Param1, >, ), types::user_service_reward::UserServiceReward, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserServiceReward", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 17u8, 184u8, 103u8, 139u8, 191u8, 239u8, 87u8, 61u8, 131u8, 108u8, @@ -53296,14 +50603,14 @@ pub mod api { #[doc = " Stores the service reward for a given user"] pub fn user_claimed_reward_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::user_claimed_reward::UserClaimedReward, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserClaimedReward", (), @@ -53319,21 +50626,19 @@ pub mod api { pub fn user_claimed_reward_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::user_claimed_reward::Param0, >, types::user_claimed_reward::UserClaimedReward, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserClaimedReward", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 206u8, 242u8, 28u8, 7u8, 152u8, 211u8, 16u8, 91u8, 52u8, 84u8, 0u8, 224u8, 145u8, 43u8, 26u8, 136u8, 113u8, 169u8, 109u8, 251u8, 145u8, @@ -53347,30 +50652,26 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::user_claimed_reward::Param0, >, - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ::subxt_core::storage::address::StaticStorageKey< types::user_claimed_reward::Param1, >, ), types::user_claimed_reward::UserClaimedReward, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserClaimedReward", ( - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _1.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), ), [ 206u8, 242u8, 28u8, 7u8, 152u8, 211u8, 16u8, 91u8, 52u8, 84u8, 0u8, @@ -53383,14 +50684,14 @@ pub mod api { #[doc = " Storage for the reward vaults"] pub fn reward_vaults_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reward_vaults::RewardVaults, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "RewardVaults", (), @@ -53405,21 +50706,17 @@ pub mod api { pub fn reward_vaults( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::reward_vaults::Param0, - >, + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey, types::reward_vaults::RewardVaults, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "RewardVaults", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 29u8, 120u8, 143u8, 243u8, 2u8, 41u8, 241u8, 174u8, 61u8, 231u8, 246u8, 255u8, 254u8, 79u8, 10u8, 248u8, 59u8, 248u8, 189u8, 209u8, 84u8, 90u8, @@ -53430,14 +50727,14 @@ pub mod api { #[doc = " Storage for the reward vaults"] pub fn asset_lookup_reward_vaults_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::asset_lookup_reward_vaults::AssetLookupRewardVaults, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "AssetLookupRewardVaults", (), @@ -53452,21 +50749,19 @@ pub mod api { pub fn asset_lookup_reward_vaults( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::asset_lookup_reward_vaults::Param0, >, types::asset_lookup_reward_vaults::AssetLookupRewardVaults, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "AssetLookupRewardVaults", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 102u8, 24u8, 170u8, 108u8, 171u8, 54u8, 53u8, 186u8, 3u8, 87u8, 224u8, 25u8, 113u8, 74u8, 180u8, 59u8, 181u8, 120u8, 89u8, 36u8, 0u8, 245u8, @@ -53477,14 +50772,14 @@ pub mod api { #[doc = " Storage for the reward configuration, which includes APY, cap for assets"] pub fn reward_config_storage_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reward_config_storage::RewardConfigStorage, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "RewardConfigStorage", (), @@ -53499,21 +50794,19 @@ pub mod api { pub fn reward_config_storage( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::reward_config_storage::Param0, >, types::reward_config_storage::RewardConfigStorage, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "RewardConfigStorage", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 85u8, 116u8, 237u8, 245u8, 144u8, 61u8, 218u8, 181u8, 11u8, 129u8, 196u8, 245u8, 46u8, 142u8, 68u8, 87u8, 87u8, 120u8, 122u8, 111u8, 59u8, @@ -53524,14 +50817,14 @@ pub mod api { #[doc = " Storage for the reward vaults"] pub fn reward_vaults_pot_account_iter( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::reward_vaults_pot_account::RewardVaultsPotAccount, (), (), - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "RewardVaultsPotAccount", (), @@ -53546,21 +50839,19 @@ pub mod api { pub fn reward_vaults_pot_account( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt_core::storage::address::StaticAddress< + ::subxt_core::storage::address::StaticStorageKey< types::reward_vaults_pot_account::Param0, >, types::reward_vaults_pot_account::RewardVaultsPotAccount, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "RewardVaultsPotAccount", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), + ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), [ 37u8, 51u8, 253u8, 251u8, 66u8, 90u8, 154u8, 16u8, 216u8, 200u8, 64u8, 151u8, 93u8, 34u8, 232u8, 112u8, 13u8, 166u8, 96u8, 33u8, 163u8, 36u8, @@ -53571,14 +50862,14 @@ pub mod api { #[doc = " Storage for the reward configuration, which includes APY, cap for assets"] pub fn apy_blocks( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::apy_blocks::ApyBlocks, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "ApyBlocks", (), @@ -53592,14 +50883,14 @@ pub mod api { #[doc = " Number of blocks after which decay starts (e.g., 432000 for 30 days with 6s blocks)"] pub fn decay_start_period( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::decay_start_period::DecayStartPeriod, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "DecayStartPeriod", (), @@ -53614,14 +50905,14 @@ pub mod api { #[doc = " Per-block decay rate in basis points (1/10000). e.g., 1 = 0.01% per block"] pub fn decay_rate( &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ) -> ::subxt_core::storage::address::StaticAddress< (), types::decay_rate::DecayRate, - ::subxt::ext::subxt_core::utils::Yes, - ::subxt::ext::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, + ::subxt_core::utils::Yes, (), > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + ::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "DecayRate", (), @@ -53642,56 +50933,46 @@ pub mod api { pub mod bounded_btree_map { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] - pub struct BoundedBTreeMap<_0, _1>( - pub ::subxt::ext::subxt_core::utils::KeyedVec<_0, _1>, - ); + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct BoundedBTreeMap<_0, _1>(pub ::subxt_core::utils::KeyedVec<_0, _1>); } pub mod bounded_btree_set { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] - pub struct BoundedBTreeSet<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct BoundedBTreeSet<_0>(pub ::subxt_core::alloc::vec::Vec<_0>); } pub mod bounded_vec { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -53699,55 +50980,47 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] - pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct BoundedVec<_0>(pub ::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] - pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct WeakBoundedVec<_0>(pub ::subxt_core::alloc::vec::Vec<_0>); } } pub mod ethbloom { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Bloom(pub [::core::primitive::u8; 256usize]); } pub mod ethereum { @@ -53755,144 +51028,118 @@ pub mod api { pub mod block { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Block<_0> { pub header: runtime_types::ethereum::header::Header, - pub transactions: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, - pub ommers: ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::ethereum::header::Header, - >, + pub transactions: ::subxt_core::alloc::vec::Vec<_0>, + pub ommers: + ::subxt_core::alloc::vec::Vec, } } pub mod header { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Header { - pub parent_hash: ::subxt::ext::subxt_core::utils::H256, - pub ommers_hash: ::subxt::ext::subxt_core::utils::H256, - pub beneficiary: ::subxt::ext::subxt_core::utils::H160, - pub state_root: ::subxt::ext::subxt_core::utils::H256, - pub transactions_root: ::subxt::ext::subxt_core::utils::H256, - pub receipts_root: ::subxt::ext::subxt_core::utils::H256, + pub parent_hash: ::subxt_core::utils::H256, + pub ommers_hash: ::subxt_core::utils::H256, + pub beneficiary: ::subxt_core::utils::H160, + pub state_root: ::subxt_core::utils::H256, + pub transactions_root: ::subxt_core::utils::H256, + pub receipts_root: ::subxt_core::utils::H256, pub logs_bloom: runtime_types::ethbloom::Bloom, pub difficulty: runtime_types::primitive_types::U256, pub number: runtime_types::primitive_types::U256, pub gas_limit: runtime_types::primitive_types::U256, pub gas_used: runtime_types::primitive_types::U256, pub timestamp: ::core::primitive::u64, - pub extra_data: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - pub mix_hash: ::subxt::ext::subxt_core::utils::H256, + pub extra_data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub mix_hash: ::subxt_core::utils::H256, pub nonce: runtime_types::ethereum_types::hash::H64, } } pub mod log { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Log { - pub address: ::subxt::ext::subxt_core::utils::H160, - pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, - pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub address: ::subxt_core::utils::H160, + pub topics: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + pub data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod receipt { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EIP658ReceiptData { pub status_code: ::core::primitive::u8, pub used_gas: runtime_types::primitive_types::U256, pub logs_bloom: runtime_types::ethbloom::Bloom, - pub logs: ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::ethereum::log::Log, - >, + pub logs: ::subxt_core::alloc::vec::Vec, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ReceiptV3 { #[codec(index = 0)] Legacy(runtime_types::ethereum::receipt::EIP658ReceiptData), @@ -53905,47 +51152,37 @@ pub mod api { pub mod transaction { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AccessListItem { - pub address: ::subxt::ext::subxt_core::utils::H160, - pub storage_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + pub address: ::subxt_core::utils::H160, + pub storage_keys: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EIP1559Transaction { pub chain_id: ::core::primitive::u64, pub nonce: runtime_types::primitive_types::U256, @@ -53954,32 +51191,28 @@ pub mod api { pub gas_limit: runtime_types::primitive_types::U256, pub action: runtime_types::ethereum::transaction::TransactionAction, pub value: runtime_types::primitive_types::U256, - pub input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - pub access_list: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub access_list: ::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::AccessListItem, >, pub odd_y_parity: ::core::primitive::bool, - pub r: ::subxt::ext::subxt_core::utils::H256, - pub s: ::subxt::ext::subxt_core::utils::H256, + pub r: ::subxt_core::utils::H256, + pub s: ::subxt_core::utils::H256, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EIP2930Transaction { pub chain_id: ::core::primitive::u64, pub nonce: runtime_types::primitive_types::U256, @@ -53987,126 +51220,106 @@ pub mod api { pub gas_limit: runtime_types::primitive_types::U256, pub action: runtime_types::ethereum::transaction::TransactionAction, pub value: runtime_types::primitive_types::U256, - pub input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - pub access_list: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub access_list: ::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::AccessListItem, >, pub odd_y_parity: ::core::primitive::bool, - pub r: ::subxt::ext::subxt_core::utils::H256, - pub s: ::subxt::ext::subxt_core::utils::H256, + pub r: ::subxt_core::utils::H256, + pub s: ::subxt_core::utils::H256, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct LegacyTransaction { pub nonce: runtime_types::primitive_types::U256, pub gas_price: runtime_types::primitive_types::U256, pub gas_limit: runtime_types::primitive_types::U256, pub action: runtime_types::ethereum::transaction::TransactionAction, pub value: runtime_types::primitive_types::U256, - pub input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub signature: runtime_types::ethereum::transaction::TransactionSignature, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum TransactionAction { #[codec(index = 0)] - Call(::subxt::ext::subxt_core::utils::H160), + Call(::subxt_core::utils::H160), #[codec(index = 1)] Create, } #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TransactionRecoveryId(pub ::core::primitive::u64); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TransactionSignature { pub v: runtime_types::ethereum::transaction::TransactionRecoveryId, - pub r: ::subxt::ext::subxt_core::utils::H256, - pub s: ::subxt::ext::subxt_core::utils::H256, + pub r: ::subxt_core::utils::H256, + pub s: ::subxt_core::utils::H256, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum TransactionV2 { #[codec(index = 0)] Legacy(runtime_types::ethereum::transaction::LegacyTransaction), @@ -54122,23 +51335,19 @@ pub mod api { pub mod hash { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct H64(pub [::core::primitive::u8; 8usize]); } } @@ -54147,23 +51356,19 @@ pub mod api { pub mod backend { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Basic { pub balance: runtime_types::primitive_types::U256, pub nonce: runtime_types::primitive_types::U256, @@ -54175,23 +51380,19 @@ pub mod api { pub mod error { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ExitError { #[codec(index = 0)] StackUnderflow, @@ -54222,28 +51423,24 @@ pub mod api { #[codec(index = 12)] CreateEmpty, #[codec(index = 13)] - Other(::subxt::ext::subxt_core::alloc::string::String), + Other(::subxt_core::alloc::string::String), #[codec(index = 14)] MaxNonce, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ExitFatal { #[codec(index = 0)] NotSupported, @@ -54252,26 +51449,22 @@ pub mod api { #[codec(index = 2)] CallErrorAsFatal(runtime_types::evm_core::error::ExitError), #[codec(index = 3)] - Other(::subxt::ext::subxt_core::alloc::string::String), + Other(::subxt_core::alloc::string::String), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ExitReason { #[codec(index = 0)] Succeed(runtime_types::evm_core::error::ExitSucceed), @@ -54283,45 +51476,37 @@ pub mod api { Fatal(runtime_types::evm_core::error::ExitFatal), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ExitRevert { #[codec(index = 0)] Reverted, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ExitSucceed { #[codec(index = 0)] Stopped, @@ -54334,43 +51519,39 @@ pub mod api { pub mod opcode { use super::runtime_types; #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Opcode(pub ::core::primitive::u8); } } pub mod finality_grandpa { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Equivocation<_0, _1, _2> { pub round_number: ::core::primitive::u64, pub identity: _0, @@ -54378,37 +51559,37 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Prevote<_0, _1> { pub target_hash: _0, pub target_number: _1, @@ -54417,59 +51598,58 @@ pub mod api { pub mod fp_evm { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ExecutionInfoV2<_0> { pub exit_reason: runtime_types::evm_core::error::ExitReason, pub value: _0, pub used_gas: runtime_types::fp_evm::UsedGas, pub weight_info: ::core::option::Option, - pub logs: - ::subxt::ext::subxt_core::alloc::vec::Vec, + pub logs: ::subxt_core::alloc::vec::Vec, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct UsedGas { pub standard: runtime_types::primitive_types::U256, pub effective: runtime_types::primitive_types::U256, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct WeightInfo { pub ref_time_limit: ::core::option::Option<::core::primitive::u64>, pub proof_size_limit: ::core::option::Option<::core::primitive::u64>, @@ -54480,27 +51660,26 @@ pub mod api { pub mod fp_rpc { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TransactionStatus { - pub transaction_hash: ::subxt::ext::subxt_core::utils::H256, + pub transaction_hash: ::subxt_core::utils::H256, pub transaction_index: ::core::primitive::u32, - pub from: ::subxt::ext::subxt_core::utils::H160, - pub to: ::core::option::Option<::subxt::ext::subxt_core::utils::H160>, - pub contract_address: ::core::option::Option<::subxt::ext::subxt_core::utils::H160>, - pub logs: - ::subxt::ext::subxt_core::alloc::vec::Vec, + pub from: ::subxt_core::utils::H160, + pub to: ::core::option::Option<::subxt_core::utils::H160>, + pub contract_address: ::core::option::Option<::subxt_core::utils::H160>, + pub logs: ::subxt_core::alloc::vec::Vec, pub logs_bloom: runtime_types::ethbloom::Bloom, } } @@ -54509,61 +51688,57 @@ pub mod api { pub mod unchecked_extrinsic { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct UncheckedExtrinsic<_0, _1, _2, _3>( - pub ::subxt::ext::subxt_core::utils::UncheckedExtrinsic<_0, _1, _2, _3>, + pub ::subxt_core::utils::UncheckedExtrinsic<_0, _1, _2, _3>, ); } } pub mod frame_metadata_hash_extension { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CheckMetadataHash { pub mode: runtime_types::frame_metadata_hash_extension::Mode, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Mode { #[codec(index = 0)] Disabled, @@ -54576,23 +51751,19 @@ pub mod api { pub mod dispatch { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -54602,46 +51773,38 @@ pub mod api { Mandatory, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Pays { #[codec(index = 0)] Yes, @@ -54649,46 +51812,38 @@ pub mod api { No, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -54703,27 +51858,23 @@ pub mod api { pub mod preimages { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Bounded<_0, _1> { #[codec(index = 0)] Legacy { - hash: ::subxt::ext::subxt_core::utils::H256, + hash: ::subxt_core::utils::H256, }, #[codec(index = 1)] Inline( @@ -54733,7 +51884,7 @@ pub mod api { ), #[codec(index = 2)] Lookup { - hash: ::subxt::ext::subxt_core::utils::H256, + hash: ::subxt_core::utils::H256, len: ::core::primitive::u32, }, __Ignore(::core::marker::PhantomData<(_0, _1)>), @@ -54744,23 +51895,19 @@ pub mod api { pub mod misc { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -54768,23 +51915,19 @@ pub mod api { Reserved, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, @@ -54793,19 +51936,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { @@ -54815,201 +51958,165 @@ pub mod api { pub mod check_genesis { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CheckGenesis; } pub mod check_mortality { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CheckNonZeroSender; } pub mod check_nonce { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CheckSpecVersion; } pub mod check_tx_version { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CheckTxVersion; } pub mod check_weight { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CheckWeight; } } pub mod limits { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -55018,23 +52125,19 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct WeightsPerClass { pub base_extrinsic: runtime_types::sp_weights::weight_v2::Weight, pub max_extrinsic: @@ -55048,61 +52151,53 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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`."] - remark { - remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - }, + remark { remark: ::subxt_core::alloc::vec::Vec<::core::primitive::u8> }, #[codec(index = 1)] #[doc = "Set the number of pages in the WebAssembly environment's heap."] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] #[doc = "Set the new runtime code."] - set_code { - code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - }, + set_code { code: ::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!"] set_code_without_checks { - code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + code: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 4)] #[doc = "Set some items of storage."] set_storage { - 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>, + items: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] #[doc = "Kill some items from storage."] kill_storage { - keys: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + keys: ::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, }, #[codec(index = 6)] @@ -55111,20 +52206,20 @@ pub mod api { #[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."] kill_prefix { - prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + prefix: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] #[doc = "Make some on-chain remark and emit event."] remark_with_event { - remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + remark: ::subxt_core::alloc::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::ext::subxt_core::utils::H256 }, + authorize_upgrade { code_hash: ::subxt_core::utils::H256 }, #[codec(index = 10)] #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] #[doc = "later."] @@ -55134,9 +52229,7 @@ pub mod api { #[doc = "recommended for normal use. Use `authorize_upgrade` instead."] #[doc = ""] #[doc = "This call requires Root origin."] - authorize_upgrade_without_checks { - code_hash: ::subxt::ext::subxt_core::utils::H256, - }, + authorize_upgrade_without_checks { code_hash: ::subxt_core::utils::H256 }, #[codec(index = 11)] #[doc = "Provide the preimage (runtime binary) `code` for an upgrade that has been authorized."] #[doc = ""] @@ -55148,27 +52241,23 @@ pub mod api { #[doc = ""] #[doc = "All origins are allowed."] apply_authorized_upgrade { - code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + code: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Error for the System pallet"] pub enum Error { #[codec(index = 0)] @@ -55204,23 +52293,19 @@ pub mod api { Unauthorized, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Event for the System pallet."] pub enum Event { #[codec(index = 0)] @@ -55239,38 +52324,38 @@ pub mod api { CodeUpdated, #[codec(index = 3)] #[doc = "A new account was created."] - NewAccount { account: ::subxt::ext::subxt_core::utils::AccountId32 }, + NewAccount { account: ::subxt_core::utils::AccountId32 }, #[codec(index = 4)] #[doc = "An account was reaped."] - KilledAccount { account: ::subxt::ext::subxt_core::utils::AccountId32 }, + KilledAccount { account: ::subxt_core::utils::AccountId32 }, #[codec(index = 5)] #[doc = "On on-chain remark happened."] Remarked { - sender: ::subxt::ext::subxt_core::utils::AccountId32, - hash: ::subxt::ext::subxt_core::utils::H256, + sender: ::subxt_core::utils::AccountId32, + hash: ::subxt_core::utils::H256, }, #[codec(index = 6)] #[doc = "An upgrade was authorized."] UpgradeAuthorized { - code_hash: ::subxt::ext::subxt_core::utils::H256, + code_hash: ::subxt_core::utils::H256, check_version: ::core::primitive::bool, }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -55279,75 +52364,75 @@ pub mod api { pub data: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CodeUpgradeAuthorization { - pub code_hash: ::subxt::ext::subxt_core::utils::H256, + pub code_hash: ::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + pub topics: ::subxt_core::alloc::vec::Vec<_1>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub spec_name: ::subxt_core::alloc::string::String, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -55362,23 +52447,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -55483,7 +52564,7 @@ pub mod api { >, signature: runtime_types::pallet_airdrop_claims::utils::MultiAddressSignature, - statement: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + statement: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 4)] move_claim { @@ -55506,23 +52587,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -55552,29 +52629,25 @@ pub mod api { VestedBalanceExists, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Someone claimed some native tokens."] Claimed { - recipient: ::subxt::ext::subxt_core::utils::AccountId32, + recipient: ::subxt_core::utils::AccountId32, source: runtime_types::pallet_airdrop_claims::utils::MultiAddress, amount: ::core::primitive::u128, }, @@ -55585,118 +52658,98 @@ pub mod api { pub mod ethereum_address { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EcdsaSignature(pub [::core::primitive::u8; 65usize]); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EthereumAddress(pub [::core::primitive::u8; 20usize]); } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum MultiAddress { - # [codec (index = 0)] EVM (runtime_types :: pallet_airdrop_claims :: utils :: ethereum_address :: EthereumAddress ,) , # [codec (index = 1)] Native (:: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) , } + # [codec (index = 0)] EVM (runtime_types :: pallet_airdrop_claims :: utils :: ethereum_address :: EthereumAddress ,) , # [codec (index = 1)] Native (:: subxt_core :: utils :: AccountId32 ,) , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum MultiAddressSignature { # [codec (index = 0)] EVM (runtime_types :: pallet_airdrop_claims :: utils :: ethereum_address :: EcdsaSignature ,) , # [codec (index = 1)] Native (runtime_types :: pallet_airdrop_claims :: utils :: Sr25519Signature ,) , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Sr25519Signature(pub [::core::primitive::u8; 64usize]); } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum StatementKind { #[codec(index = 0)] Regular, @@ -55709,23 +52762,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -55751,8 +52800,8 @@ pub mod api { create { #[codec(compact)] id: ::core::primitive::u128, - admin: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + admin: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, min_balance: ::core::primitive::u128, @@ -55780,8 +52829,8 @@ pub mod api { force_create { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, is_sufficient: ::core::primitive::bool, @@ -55869,8 +52918,8 @@ pub mod api { mint { #[codec(compact)] id: ::core::primitive::u128, - beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -55895,8 +52944,8 @@ pub mod api { burn { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -55924,8 +52973,8 @@ pub mod api { transfer { #[codec(compact)] id: ::core::primitive::u128, - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -55953,8 +53002,8 @@ pub mod api { transfer_keep_alive { #[codec(compact)] id: ::core::primitive::u128, - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -55983,12 +53032,12 @@ pub mod api { force_transfer { #[codec(compact)] id: ::core::primitive::u128, - source: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + source: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - dest: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + dest: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -56010,8 +53059,8 @@ pub mod api { freeze { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56029,8 +53078,8 @@ pub mod api { thaw { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56076,8 +53125,8 @@ pub mod api { transfer_ownership { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56097,16 +53146,16 @@ pub mod api { set_team { #[codec(compact)] id: ::core::primitive::u128, - issuer: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + issuer: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - admin: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + admin: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - freezer: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + freezer: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56130,8 +53179,8 @@ pub mod api { set_metadata { #[codec(compact)] id: ::core::primitive::u128, - name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + name: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + symbol: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, decimals: ::core::primitive::u8, }, #[codec(index = 18)] @@ -56168,8 +53217,8 @@ pub mod api { force_set_metadata { #[codec(compact)] id: ::core::primitive::u128, - name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + name: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + symbol: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, decimals: ::core::primitive::u8, is_frozen: ::core::primitive::bool, }, @@ -56215,20 +53264,20 @@ pub mod api { force_asset_status { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - issuer: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + issuer: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - admin: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + admin: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - freezer: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + freezer: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -56260,8 +53309,8 @@ pub mod api { approve_transfer { #[codec(compact)] id: ::core::primitive::u128, - delegate: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -56284,8 +53333,8 @@ pub mod api { cancel_approval { #[codec(compact)] id: ::core::primitive::u128, - delegate: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56306,12 +53355,12 @@ pub mod api { force_cancel_approval { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - delegate: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56337,12 +53386,12 @@ pub mod api { transfer_approved { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - destination: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + destination: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -56410,8 +53459,8 @@ pub mod api { touch_other { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56429,8 +53478,8 @@ pub mod api { refund_other { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -56448,30 +53497,26 @@ pub mod api { block { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -56542,79 +53587,75 @@ pub mod api { BadAssetId, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Some asset class was created."] Created { asset_id: ::core::primitive::u128, - creator: ::subxt::ext::subxt_core::utils::AccountId32, - owner: ::subxt::ext::subxt_core::utils::AccountId32, + creator: ::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, }, #[codec(index = 1)] #[doc = "Some assets were issued."] Issued { asset_id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "Some assets were transferred."] Transferred { asset_id: ::core::primitive::u128, - from: ::subxt::ext::subxt_core::utils::AccountId32, - to: ::subxt::ext::subxt_core::utils::AccountId32, + from: ::subxt_core::utils::AccountId32, + to: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "Some assets were destroyed."] Burned { asset_id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, balance: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "The management team changed."] TeamChanged { asset_id: ::core::primitive::u128, - issuer: ::subxt::ext::subxt_core::utils::AccountId32, - admin: ::subxt::ext::subxt_core::utils::AccountId32, - freezer: ::subxt::ext::subxt_core::utils::AccountId32, + issuer: ::subxt_core::utils::AccountId32, + admin: ::subxt_core::utils::AccountId32, + freezer: ::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "The owner changed."] OwnerChanged { asset_id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, }, #[codec(index = 6)] #[doc = "Some account `who` was frozen."] Frozen { asset_id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, }, #[codec(index = 7)] #[doc = "Some account `who` was thawed."] Thawed { asset_id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, }, #[codec(index = 8)] #[doc = "Some asset `asset_id` was frozen."] @@ -56646,14 +53687,14 @@ pub mod api { #[doc = "Some asset class was force-created."] ForceCreated { asset_id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, }, #[codec(index = 15)] #[doc = "New metadata has been set for an asset."] MetadataSet { asset_id: ::core::primitive::u128, - name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + name: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + symbol: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, decimals: ::core::primitive::u8, is_frozen: ::core::primitive::bool, }, @@ -56664,25 +53705,25 @@ pub mod api { #[doc = "(Additional) funds have been approved for transfer to a destination account."] ApprovedTransfer { asset_id: ::core::primitive::u128, - source: ::subxt::ext::subxt_core::utils::AccountId32, - delegate: ::subxt::ext::subxt_core::utils::AccountId32, + source: ::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 18)] #[doc = "An approval for account `delegate` was cancelled by `owner`."] ApprovalCancelled { asset_id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::AccountId32, - delegate: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::AccountId32, }, #[codec(index = 19)] #[doc = "An `amount` was transferred in its entirety from `owner` to `destination` by"] #[doc = "the approved `delegate`."] TransferredApproved { asset_id: ::core::primitive::u128, - owner: ::subxt::ext::subxt_core::utils::AccountId32, - delegate: ::subxt::ext::subxt_core::utils::AccountId32, - destination: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::AccountId32, + destination: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 20)] @@ -56698,27 +53739,27 @@ pub mod api { #[doc = "Some account `who` was created with a deposit from `depositor`."] Touched { asset_id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::AccountId32, - depositor: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, + depositor: ::subxt_core::utils::AccountId32, }, #[codec(index = 23)] #[doc = "Some account `who` was blocked."] Blocked { asset_id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, }, #[codec(index = 24)] #[doc = "Some assets were deposited (e.g. for transaction fees)."] Deposited { asset_id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 25)] #[doc = "Some assets were withdrawn from the account (e.g. for transaction fees)."] Withdrawn { asset_id: ::core::primitive::u128, - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, } @@ -56726,23 +53767,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum AccountStatus { #[codec(index = 0)] Liquid, @@ -56752,45 +53789,37 @@ pub mod api { Blocked, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Approval<_0, _1> { pub amount: _0, pub deposit: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AssetAccount<_0, _1, _2, _3> { pub balance: _0, pub status: runtime_types::pallet_assets::types::AccountStatus, @@ -56800,23 +53829,19 @@ pub mod api { pub __ignore: ::core::marker::PhantomData<_1>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AssetDetails<_0, _1, _2> { pub owner: _1, pub issuer: _1, @@ -56832,23 +53857,19 @@ pub mod api { pub status: runtime_types::pallet_assets::types::AssetStatus, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AssetMetadata<_0, _1> { pub deposit: _0, pub name: _1, @@ -56857,23 +53878,19 @@ pub mod api { pub is_frozen: ::core::primitive::bool, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum AssetStatus { #[codec(index = 0)] Live, @@ -56883,23 +53900,19 @@ pub mod api { Destroying, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ExistenceReason<_0, _1> { #[codec(index = 0)] Consumer, @@ -56919,23 +53932,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -56944,7 +53953,7 @@ pub mod api { #[doc = "against the extracted offender. If both are valid, the offence will"] #[doc = "be reported."] report_equivocation { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< runtime_types::sp_runtime::generic::header::Header< ::core::primitive::u64, @@ -56964,7 +53973,7 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] report_equivocation_unsigned { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< runtime_types::sp_runtime::generic::header::Header< ::core::primitive::u64, @@ -56984,23 +53993,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -57023,45 +54028,37 @@ pub mod api { pub mod list { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Bag { - pub head: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, - pub tail: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + pub head: ::core::option::Option<::subxt_core::utils::AccountId32>, + pub tail: ::core::option::Option<::subxt_core::utils::AccountId32>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ListError { #[codec(index = 0)] Duplicate, @@ -57073,27 +54070,23 @@ pub mod api { NodeNotFound, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Node { - pub id: ::subxt::ext::subxt_core::utils::AccountId32, - pub prev: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, - pub next: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + pub id: ::subxt_core::utils::AccountId32, + pub prev: ::core::option::Option<::subxt_core::utils::AccountId32>, + pub next: ::core::option::Option<::subxt_core::utils::AccountId32>, pub bag_upper: ::core::primitive::u64, pub score: ::core::primitive::u64, } @@ -57101,23 +54094,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -57132,8 +54121,8 @@ pub mod api { #[doc = ""] #[doc = "If `dislocated` does not exists, it returns an error."] rebag { - dislocated: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + dislocated: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -57149,8 +54138,8 @@ pub mod api { #[doc = "- both nodes are within the same bag,"] #[doc = "- and `origin` has a greater `Score` than `lighter`."] put_in_front_of { - lighter: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + lighter: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -57159,34 +54148,30 @@ pub mod api { #[doc = ""] #[doc = "Fee is paid by the origin under all circumstances."] put_in_front_of_other { - heavier: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + heavier: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - lighter: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + lighter: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -57194,36 +54179,32 @@ pub mod api { List(runtime_types::pallet_bags_list::list::ListError), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Moved an account from one bag to another."] Rebagged { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, from: ::core::primitive::u64, to: ::core::primitive::u64, }, #[codec(index = 1)] #[doc = "Updated the score of some account to the given amount."] ScoreUpdated { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, new_score: ::core::primitive::u64, }, } @@ -57234,23 +54215,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -57262,8 +54239,8 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] transfer_allow_death { - dest: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + dest: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -57273,12 +54250,12 @@ pub mod api { #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] #[doc = "may be specified."] force_transfer { - source: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + source: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - dest: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + dest: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -57292,8 +54269,8 @@ pub mod api { #[doc = ""] #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] transfer_keep_alive { - dest: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + dest: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -57316,8 +54293,8 @@ pub mod api { #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] #[doc = " keep the sender account alive (true)."] transfer_all { - dest: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + dest: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, keep_alive: ::core::primitive::bool, @@ -57327,8 +54304,8 @@ pub mod api { #[doc = ""] #[doc = "Can only be called by ROOT."] force_unreserve { - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, amount: ::core::primitive::u128, @@ -57343,17 +54320,15 @@ pub mod api { #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] #[doc = "possibility of churn)."] upgrade_accounts { - who: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + who: ::subxt_core::alloc::vec::Vec<::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`."] force_set_balance { - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -57385,23 +54360,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -57442,69 +54413,65 @@ pub mod api { DeltaZero, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: 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::ext::subxt_core::utils::AccountId32, + account: ::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::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "Transfer succeeded."] Transfer { - from: ::subxt::ext::subxt_core::utils::AccountId32, - to: ::subxt::ext::subxt_core::utils::AccountId32, + from: ::subxt_core::utils::AccountId32, + to: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A balance was set by root."] BalanceSet { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, free: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "Some balance was reserved (moved from free to reserved)."] Reserved { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 5)] #[doc = "Some balance was unreserved (moved from reserved to free)."] Unreserved { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::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::ext::subxt_core::utils::AccountId32, - to: ::subxt::ext::subxt_core::utils::AccountId32, + from: ::subxt_core::utils::AccountId32, + to: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, destination_status: runtime_types::frame_support::traits::tokens::misc::BalanceStatus, @@ -57512,48 +54479,48 @@ pub mod api { #[codec(index = 7)] #[doc = "Some amount was deposited (e.g. for transaction fees)."] Deposit { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::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::ext::subxt_core::utils::AccountId32, + who: ::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::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 10)] #[doc = "Some amount was minted into an account."] Minted { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 11)] #[doc = "Some amount was burned from an account."] Burned { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::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::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 13)] #[doc = "Some amount was restored into an account."] Restored { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 14)] #[doc = "An account was upgraded."] - Upgraded { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + Upgraded { who: ::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 }, @@ -57563,25 +54530,25 @@ pub mod api { #[codec(index = 17)] #[doc = "Some balance was locked."] Locked { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 18)] #[doc = "Some balance was unlocked."] Unlocked { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 19)] #[doc = "Some balance was frozen."] Frozen { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 20)] #[doc = "Some balance was thawed."] Thawed { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 21)] @@ -57595,23 +54562,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, @@ -57619,23 +54582,19 @@ pub mod api { pub flags: runtime_types::pallet_balances::types::ExtraFlags, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, @@ -57643,66 +54602,54 @@ pub mod api { Decrease, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: subxt :: ext :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ExtraFlags(pub ::core::primitive::u128); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Reasons { #[codec(index = 0)] Fee, @@ -57712,23 +54659,19 @@ pub mod api { All, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -57740,23 +54683,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -57765,23 +54704,19 @@ pub mod api { set_elasticity { elasticity: runtime_types::sp_arithmetic::per_things::Permill }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -57798,23 +54733,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -57833,8 +54764,7 @@ pub mod api { propose_bounty { #[codec(compact)] value: ::core::primitive::u128, - description: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + description: ::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"] @@ -57858,8 +54788,8 @@ pub mod api { propose_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, - curator: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + curator: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -57913,8 +54843,8 @@ pub mod api { award_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, - beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -57958,27 +54888,23 @@ pub mod api { extend_bounty_expiry { #[codec(compact)] bounty_id: ::core::primitive::u32, - remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + remark: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -58017,23 +54943,19 @@ pub mod api { TooManyQueued, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -58049,14 +54971,14 @@ pub mod api { #[doc = "A bounty is awarded to a beneficiary."] BountyAwarded { index: ::core::primitive::u32, - beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::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::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "A bounty is cancelled."] @@ -58071,7 +54993,7 @@ pub mod api { #[doc = "A bounty curator is proposed."] CuratorProposed { bounty_id: ::core::primitive::u32, - curator: ::subxt::ext::subxt_core::utils::AccountId32, + curator: ::subxt_core::utils::AccountId32, }, #[codec(index = 9)] #[doc = "A bounty curator is unassigned."] @@ -58080,24 +55002,24 @@ pub mod api { #[doc = "A bounty curator is accepted."] CuratorAccepted { bounty_id: ::core::primitive::u32, - curator: ::subxt::ext::subxt_core::utils::AccountId32, + curator: ::subxt_core::utils::AccountId32, }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Bounty<_0, _1, _2> { pub proposer: _0, pub value: _1, @@ -58107,19 +55029,19 @@ pub mod api { pub status: runtime_types::pallet_bounties::BountyStatus<_0, _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum BountyStatus<_0, _1> { #[codec(index = 0)] Proposed, @@ -58140,23 +55062,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -58184,8 +55102,7 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] value: ::core::primitive::u128, - description: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + description: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "Propose curator for funded child-bounty."] @@ -58208,8 +55125,8 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - curator: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + curator: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -58305,8 +55222,8 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -58364,23 +55281,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -58394,23 +55307,19 @@ pub mod api { TooManyChildBounties, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -58421,7 +55330,7 @@ pub mod api { Awarded { index: ::core::primitive::u32, child_index: ::core::primitive::u32, - beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "A child-bounty is claimed by beneficiary."] @@ -58429,7 +55338,7 @@ pub mod api { index: ::core::primitive::u32, child_index: ::core::primitive::u32, payout: ::core::primitive::u128, - beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::AccountId32, }, #[codec(index = 3)] #[doc = "A child-bounty is cancelled."] @@ -58437,19 +55346,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ChildBounty<_0, _1, _2> { pub parent_bounty: ::core::primitive::u32, pub value: _1, @@ -58458,19 +55367,19 @@ pub mod api { pub status: runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ChildBountyStatus<_0, _1> { #[codec(index = 0)] Added, @@ -58487,23 +55396,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -58532,10 +55437,9 @@ pub mod api { #[doc = " - `N` new-members-count (code- and governance-bounded)"] #[doc = " - `P` proposals-count (code-bounded)"] set_members { - new_members: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, - prime: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + new_members: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + prime: ::core::option::Option<::subxt_core::utils::AccountId32>, old_count: ::core::primitive::u32, }, #[codec(index = 1)] @@ -58549,7 +55453,7 @@ pub mod api { #[doc = "- `M` members-count (code-bounded)"] #[doc = "- `P` complexity of dispatching `proposal`"] execute { - proposal: ::subxt::ext::subxt_core::alloc::boxed::Box< + proposal: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, #[codec(compact)] @@ -58573,7 +55477,7 @@ pub mod api { propose { #[codec(compact)] threshold: ::core::primitive::u32, - proposal: ::subxt::ext::subxt_core::alloc::boxed::Box< + proposal: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, #[codec(compact)] @@ -58590,7 +55494,7 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(M)` where `M` is members-count (code- and governance-bounded)"] vote { - proposal: ::subxt::ext::subxt_core::utils::H256, + proposal: ::subxt_core::utils::H256, #[codec(compact)] index: ::core::primitive::u32, approve: ::core::primitive::bool, @@ -58606,7 +55510,7 @@ pub mod api { #[doc = ""] #[doc = "## Complexity"] #[doc = "O(P) where P is the number of max proposals"] - disapprove_proposal { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, + disapprove_proposal { proposal_hash: ::subxt_core::utils::H256 }, #[codec(index = 6)] #[doc = "Close a vote that is either approved, disapproved or whose voting period has ended."] #[doc = ""] @@ -58633,7 +55537,7 @@ pub mod api { #[doc = " - `P1` is the complexity of `proposal` preimage."] #[doc = " - `P2` is proposal-count (code-bounded)"] close { - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + proposal_hash: ::subxt_core::utils::H256, #[codec(compact)] index: ::core::primitive::u32, proposal_weight_bound: runtime_types::sp_weights::weight_v2::Weight, @@ -58642,23 +55546,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -58696,87 +55596,83 @@ pub mod api { PrimeAccountNotMember, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A motion (given hash) has been proposed (by given account) with a threshold (given"] #[doc = "`MemberCount`)."] Proposed { - account: ::subxt::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::AccountId32, proposal_index: ::core::primitive::u32, - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + proposal_hash: ::subxt_core::utils::H256, threshold: ::core::primitive::u32, }, #[codec(index = 1)] #[doc = "A motion (given hash) has been voted on by given account, leaving"] #[doc = "a tally (yes votes and no votes given respectively as `MemberCount`)."] Voted { - account: ::subxt::ext::subxt_core::utils::AccountId32, - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + account: ::subxt_core::utils::AccountId32, + proposal_hash: ::subxt_core::utils::H256, voted: ::core::primitive::bool, yes: ::core::primitive::u32, no: ::core::primitive::u32, }, #[codec(index = 2)] #[doc = "A motion was approved by the required threshold."] - Approved { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, + Approved { proposal_hash: ::subxt_core::utils::H256 }, #[codec(index = 3)] #[doc = "A motion was not approved by the required threshold."] - Disapproved { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, + Disapproved { proposal_hash: ::subxt_core::utils::H256 }, #[codec(index = 4)] #[doc = "A motion was executed; result will be `Ok` if it returned without error."] Executed { - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + proposal_hash: ::subxt_core::utils::H256, result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 5)] #[doc = "A single member did some action; result will be `Ok` if it returned without error."] MemberExecuted { - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + proposal_hash: ::subxt_core::utils::H256, result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 6)] #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] Closed { - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + proposal_hash: ::subxt_core::utils::H256, yes: ::core::primitive::u32, no: ::core::primitive::u32, }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RawOrigin<_0> { #[codec(index = 0)] Members(::core::primitive::u32, ::core::primitive::u32), @@ -58786,24 +55682,24 @@ pub mod api { _Phantom, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Votes<_0, _1> { pub index: ::core::primitive::u32, pub threshold: ::core::primitive::u32, - pub ayes: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, - pub nays: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub ayes: ::subxt_core::alloc::vec::Vec<_0>, + pub nays: ::subxt_core::alloc::vec::Vec<_0>, pub end: _1, } } @@ -58812,23 +55708,19 @@ pub mod api { pub mod conviction { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Conviction { #[codec(index = 0)] None, @@ -58849,23 +55741,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -58989,7 +55877,7 @@ pub mod api { #[doc = ""] #[doc = "Weight: `O(1)`"] fast_track { - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + proposal_hash: ::subxt_core::utils::H256, voting_period: ::core::primitive::u64, delay: ::core::primitive::u64, }, @@ -59003,7 +55891,7 @@ pub mod api { #[doc = "Emits `Vetoed`."] #[doc = ""] #[doc = "Weight: `O(V + log(V))` where V is number of `existing vetoers`"] - veto_external { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, + veto_external { proposal_hash: ::subxt_core::utils::H256 }, #[codec(index = 9)] #[doc = "Remove a referendum."] #[doc = ""] @@ -59038,8 +55926,8 @@ pub mod api { #[doc = "Weight: `O(R)` where R is the number of referendums the voter delegating to has"] #[doc = " voted on. Weight is charged as if maximum votes."] delegate { - to: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + to: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, conviction: runtime_types::pallet_democracy::conviction::Conviction, @@ -59075,8 +55963,8 @@ pub mod api { #[doc = ""] #[doc = "Weight: `O(R)` with R number of vote of target."] unlock { - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -59126,8 +56014,8 @@ pub mod api { #[doc = "Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on."] #[doc = " Weight is calculated for the maximum number of vote."] remove_other_vote { - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, index: ::core::primitive::u32, @@ -59149,7 +56037,7 @@ pub mod api { #[doc = "Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a"] #[doc = " reasonable value)."] blacklist { - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + proposal_hash: ::subxt_core::utils::H256, maybe_ref_index: ::core::option::Option<::core::primitive::u32>, }, #[codec(index = 17)] @@ -59182,27 +56070,23 @@ pub mod api { #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] set_metadata { owner: runtime_types::pallet_democracy::types::MetadataOwner, - maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, + maybe_hash: ::core::option::Option<::subxt_core::utils::H256>, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -59280,23 +56164,19 @@ pub mod api { PreimageNotExist, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -59332,26 +56212,26 @@ pub mod api { #[codec(index = 7)] #[doc = "An account has delegated their vote to another account."] Delegated { - who: ::subxt::ext::subxt_core::utils::AccountId32, - target: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::AccountId32, }, #[codec(index = 8)] #[doc = "An account has cancelled a previous delegation operation."] - Undelegated { account: ::subxt::ext::subxt_core::utils::AccountId32 }, + Undelegated { account: ::subxt_core::utils::AccountId32 }, #[codec(index = 9)] #[doc = "An external proposal has been vetoed."] Vetoed { - who: ::subxt::ext::subxt_core::utils::AccountId32, - proposal_hash: ::subxt::ext::subxt_core::utils::H256, + who: ::subxt_core::utils::AccountId32, + proposal_hash: ::subxt_core::utils::H256, until: ::core::primitive::u64, }, #[codec(index = 10)] #[doc = "A proposal_hash has been blacklisted permanently."] - Blacklisted { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, + Blacklisted { proposal_hash: ::subxt_core::utils::H256 }, #[codec(index = 11)] #[doc = "An account has voted in a referendum"] Voted { - voter: ::subxt::ext::subxt_core::utils::AccountId32, + voter: ::subxt_core::utils::AccountId32, ref_index: ::core::primitive::u32, vote: runtime_types::pallet_democracy::vote::AccountVote< ::core::primitive::u128, @@ -59360,7 +56240,7 @@ pub mod api { #[codec(index = 12)] #[doc = "An account has seconded a proposal"] Seconded { - seconder: ::subxt::ext::subxt_core::utils::AccountId32, + seconder: ::subxt_core::utils::AccountId32, prop_index: ::core::primitive::u32, }, #[codec(index = 13)] @@ -59370,65 +56250,57 @@ pub mod api { #[doc = "Metadata for a proposal or a referendum has been set."] MetadataSet { owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt::ext::subxt_core::utils::H256, + hash: ::subxt_core::utils::H256, }, #[codec(index = 15)] #[doc = "Metadata for a proposal or a referendum has been cleared."] MetadataCleared { owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt::ext::subxt_core::utils::H256, + hash: ::subxt_core::utils::H256, }, #[codec(index = 16)] #[doc = "Metadata has been transferred to new owner."] MetadataTransferred { prev_owner: runtime_types::pallet_democracy::types::MetadataOwner, owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt::ext::subxt_core::utils::H256, + hash: ::subxt_core::utils::H256, }, } } 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Delegations<_0> { pub votes: _0, pub capital: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum MetadataOwner { #[codec(index = 0)] External, @@ -59438,23 +56310,19 @@ pub mod api { Referendum(::core::primitive::u32), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ReferendumInfo<_0, _1, _2> { #[codec(index = 0)] Ongoing(runtime_types::pallet_democracy::types::ReferendumStatus<_0, _1, _2>), @@ -59462,23 +56330,19 @@ pub mod api { Finished { approved: ::core::primitive::bool, end: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ReferendumStatus<_0, _1, _2> { pub end: _0, pub proposal: _1, @@ -59487,23 +56351,19 @@ pub mod api { pub tally: runtime_types::pallet_democracy::types::Tally<_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Tally<_0> { pub ayes: _0, pub nays: _0, @@ -59513,23 +56373,19 @@ pub mod api { pub mod vote { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum AccountVote<_0> { #[codec(index = 0)] Standard { vote: runtime_types::pallet_democracy::vote::Vote, balance: _0 }, @@ -59537,62 +56393,50 @@ pub mod api { Split { aye: _0, nay: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PriorLock<_0, _1>(pub _0, pub _1); #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Vote(pub ::core::primitive::u8); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Voting<_0, _1, _2> { #[codec(index = 0)] Direct { @@ -59616,23 +56460,19 @@ pub mod api { pub mod vote_threshold { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum VoteThreshold { #[codec(index = 0)] SuperMajorityApprove, @@ -59648,23 +56488,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -59677,44 +56513,36 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { - # [codec (index = 0)] # [doc = "Submit a solution for the unsigned phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __none__."] # [doc = ""] # [doc = "This submission is checked on the fly. Moreover, this unsigned solution is only"] # [doc = "validated when submitted to the pool from the **local** node. Effectively, this means"] # [doc = "that only active validators can submit this transaction when authoring a block (similar"] # [doc = "to an inherent)."] # [doc = ""] # [doc = "To prevent any incorrect solution (and thus wasted time/weight), this transaction will"] # [doc = "panic if the solution submitted by the validator is invalid in any way, effectively"] # [doc = "putting their authoring reward at risk."] # [doc = ""] # [doc = "No deposit or reward is associated with this submission."] submit_unsigned { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } , # [codec (index = 1)] # [doc = "Set a new value for `MinimumUntrustedScore`."] # [doc = ""] # [doc = "Dispatch origin must be aligned with `T::ForceOrigin`."] # [doc = ""] # [doc = "This check can be turned off by setting the value to `None`."] set_minimum_untrusted_score { maybe_next_score : :: core :: option :: Option < runtime_types :: sp_npos_elections :: ElectionScore > , } , # [codec (index = 2)] # [doc = "Set a solution in the queue, to be handed out to the client of this pallet in the next"] # [doc = "call to `ElectionProvider::elect`."] # [doc = ""] # [doc = "This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`."] # [doc = ""] # [doc = "The solution is not checked for any feasibility and is assumed to be trustworthy, as any"] # [doc = "feasibility check itself can in principle cause the election process to fail (due to"] # [doc = "memory/weight constrains)."] set_emergency_election_result { supports : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (:: subxt :: ext :: subxt_core :: utils :: AccountId32 , runtime_types :: sp_npos_elections :: Support < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > ,) > , } , # [codec (index = 3)] # [doc = "Submit a solution for the signed phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __signed__."] # [doc = ""] # [doc = "The solution is potentially queued, based on the claimed score and processed at the end"] # [doc = "of the signed phase."] # [doc = ""] # [doc = "A deposit is reserved and recorded for the solution. Based on the outcome, the solution"] # [doc = "might be rewarded, slashed, or get all or a part of the deposit back."] submit { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , } , # [codec (index = 4)] # [doc = "Trigger the governance fallback."] # [doc = ""] # [doc = "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to"] # [doc = "calling [`Call::set_emergency_election_result`]."] governance_fallback { maybe_max_voters : :: core :: option :: Option < :: core :: primitive :: u32 > , maybe_max_targets : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } + # [codec (index = 0)] # [doc = "Submit a solution for the unsigned phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __none__."] # [doc = ""] # [doc = "This submission is checked on the fly. Moreover, this unsigned solution is only"] # [doc = "validated when submitted to the pool from the **local** node. Effectively, this means"] # [doc = "that only active validators can submit this transaction when authoring a block (similar"] # [doc = "to an inherent)."] # [doc = ""] # [doc = "To prevent any incorrect solution (and thus wasted time/weight), this transaction will"] # [doc = "panic if the solution submitted by the validator is invalid in any way, effectively"] # [doc = "putting their authoring reward at risk."] # [doc = ""] # [doc = "No deposit or reward is associated with this submission."] submit_unsigned { raw_solution : :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } , # [codec (index = 1)] # [doc = "Set a new value for `MinimumUntrustedScore`."] # [doc = ""] # [doc = "Dispatch origin must be aligned with `T::ForceOrigin`."] # [doc = ""] # [doc = "This check can be turned off by setting the value to `None`."] set_minimum_untrusted_score { maybe_next_score : :: core :: option :: Option < runtime_types :: sp_npos_elections :: ElectionScore > , } , # [codec (index = 2)] # [doc = "Set a solution in the queue, to be handed out to the client of this pallet in the next"] # [doc = "call to `ElectionProvider::elect`."] # [doc = ""] # [doc = "This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`."] # [doc = ""] # [doc = "The solution is not checked for any feasibility and is assumed to be trustworthy, as any"] # [doc = "feasibility check itself can in principle cause the election process to fail (due to"] # [doc = "memory/weight constrains)."] set_emergency_election_result { supports : :: subxt_core :: alloc :: vec :: Vec < (:: subxt_core :: utils :: AccountId32 , runtime_types :: sp_npos_elections :: Support < :: subxt_core :: utils :: AccountId32 > ,) > , } , # [codec (index = 3)] # [doc = "Submit a solution for the signed phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __signed__."] # [doc = ""] # [doc = "The solution is potentially queued, based on the claimed score and processed at the end"] # [doc = "of the signed phase."] # [doc = ""] # [doc = "A deposit is reserved and recorded for the solution. Based on the outcome, the solution"] # [doc = "might be rewarded, slashed, or get all or a part of the deposit back."] submit { raw_solution : :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , } , # [codec (index = 4)] # [doc = "Trigger the governance fallback."] # [doc = ""] # [doc = "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to"] # [doc = "calling [`Call::set_emergency_election_result`]."] governance_fallback { maybe_max_voters : :: core :: option :: Option < :: core :: primitive :: u32 > , maybe_max_targets : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Error of the pallet that can be returned in response to dispatches."] pub enum Error { #[codec(index = 0)] @@ -59764,23 +56592,19 @@ pub mod api { PreDispatchDifferentRound, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -59794,8 +56618,7 @@ pub mod api { SolutionStored { compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, - origin: - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + origin: ::core::option::Option<::subxt_core::utils::AccountId32>, prev_ejected: ::core::primitive::bool, }, #[codec(index = 1)] @@ -59813,13 +56636,13 @@ pub mod api { #[codec(index = 3)] #[doc = "An account has been rewarded for their signed submission being finalized."] Rewarded { - account: ::subxt::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::AccountId32, value: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "An account has been slashed for submitting an invalid signed submission."] Slashed { - account: ::subxt::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::AccountId32, value: ::core::primitive::u128, }, #[codec(index = 5)] @@ -59838,23 +56661,19 @@ pub mod api { pub mod signed { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SignedSubmission<_0, _1, _2> { pub who: _0, pub deposit: _1, @@ -59864,19 +56683,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ElectionCompute { #[codec(index = 0)] OnChain, @@ -59890,19 +56709,19 @@ pub mod api { Emergency, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Phase<_0> { #[codec(index = 0)] Off, @@ -59914,80 +56733,78 @@ pub mod api { Emergency, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RawSolution<_0> { pub solution: _0, pub score: runtime_types::sp_npos_elections::ElectionScore, pub round: ::core::primitive::u32, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ReadySolution { pub supports: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - ::subxt::ext::subxt_core::utils::AccountId32, - runtime_types::sp_npos_elections::Support< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + ::subxt_core::utils::AccountId32, + runtime_types::sp_npos_elections::Support<::subxt_core::utils::AccountId32>, )>, pub score: runtime_types::sp_npos_elections::ElectionScore, pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RoundSnapshot<_0, _1> { - pub voters: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, - pub targets: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub voters: ::subxt_core::alloc::vec::Vec<_1>, + pub targets: ::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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SolutionOrSnapshotSize { #[codec(compact)] pub voters: ::core::primitive::u32, @@ -60000,23 +56817,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -60040,9 +56853,7 @@ pub mod api { #[doc = "It is the responsibility of the caller to **NOT** place all of their balance into the"] #[doc = "lock and keep some for further operations."] vote { - votes: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + votes: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, #[codec(compact)] value: ::core::primitive::u128, }, @@ -60115,8 +56926,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- Check details of remove_and_replace_member() and do_phragmen()."] remove_member { - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, slash_bond: ::core::primitive::bool, @@ -60138,23 +56949,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -60210,23 +57017,19 @@ pub mod api { InvalidReplacement, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -60236,8 +57039,8 @@ pub mod api { #[doc = "slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to"] #[doc = "begin with."] NewTerm { - new_members: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, + new_members: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, ::core::primitive::u128, )>, }, @@ -60251,41 +57054,41 @@ pub mod api { #[codec(index = 3)] #[doc = "A member has been removed. This should always be followed by either `NewTerm` or"] #[doc = "`EmptyTerm`."] - MemberKicked { member: ::subxt::ext::subxt_core::utils::AccountId32 }, + MemberKicked { member: ::subxt_core::utils::AccountId32 }, #[codec(index = 4)] #[doc = "Someone has renounced their candidacy."] - Renounced { candidate: ::subxt::ext::subxt_core::utils::AccountId32 }, + Renounced { candidate: ::subxt_core::utils::AccountId32 }, #[codec(index = 5)] #[doc = "A candidate was slashed by amount due to failing to obtain a seat as member or"] #[doc = "runner-up."] #[doc = ""] #[doc = "Note that old members and runners-up are also candidates."] CandidateSlashed { - candidate: ::subxt::ext::subxt_core::utils::AccountId32, + candidate: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 6)] #[doc = "A seat holder was slashed by amount by being forcefully removed from the set."] SeatHolderSlashed { - seat_holder: ::subxt::ext::subxt_core::utils::AccountId32, + seat_holder: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Renouncing { #[codec(index = 0)] Member, @@ -60295,40 +57098,40 @@ pub mod api { Candidate(#[codec(compact)] ::core::primitive::u32), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SeatHolder<_0, _1> { pub who: _0, pub stake: _1, pub deposit: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Voter<_0, _1> { - pub votes: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub votes: ::subxt_core::alloc::vec::Vec<_0>, pub stake: _1, pub deposit: _1, } @@ -60338,23 +57141,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -60362,23 +57161,19 @@ pub mod api { transact { transaction: runtime_types::ethereum::transaction::TransactionV2 }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -60389,54 +57184,49 @@ pub mod api { PreLogExists, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "An ethereum transaction was successfully executed."] Executed { - from: ::subxt::ext::subxt_core::utils::H160, - to: ::subxt::ext::subxt_core::utils::H160, - transaction_hash: ::subxt::ext::subxt_core::utils::H256, + from: ::subxt_core::utils::H160, + to: ::subxt_core::utils::H160, + transaction_hash: ::subxt_core::utils::H256, exit_reason: runtime_types::evm_core::error::ExitReason, - extra_data: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + extra_data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RawOrigin { #[codec(index = 0)] - EthereumTransaction(::subxt::ext::subxt_core::utils::H160), + EthereumTransaction(::subxt_core::utils::H160), } } pub mod pallet_evm { @@ -60444,107 +57234,90 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "Withdraw balance from EVM into currency/balances pallet."] - withdraw { - address: ::subxt::ext::subxt_core::utils::H160, - value: ::core::primitive::u128, - }, + withdraw { address: ::subxt_core::utils::H160, value: ::core::primitive::u128 }, #[codec(index = 1)] #[doc = "Issue an EVM call operation. This is similar to a message call transaction in Ethereum."] call { - source: ::subxt::ext::subxt_core::utils::H160, - target: ::subxt::ext::subxt_core::utils::H160, - input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + source: ::subxt_core::utils::H160, + target: ::subxt_core::utils::H160, + input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, value: runtime_types::primitive_types::U256, gas_limit: ::core::primitive::u64, max_fee_per_gas: runtime_types::primitive_types::U256, max_priority_fee_per_gas: ::core::option::Option, nonce: ::core::option::Option, - access_list: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + access_list: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>, }, #[codec(index = 2)] #[doc = "Issue an EVM create operation. This is similar to a contract creation transaction in"] #[doc = "Ethereum."] create { - source: ::subxt::ext::subxt_core::utils::H160, - init: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + source: ::subxt_core::utils::H160, + init: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, value: runtime_types::primitive_types::U256, gas_limit: ::core::primitive::u64, max_fee_per_gas: runtime_types::primitive_types::U256, max_priority_fee_per_gas: ::core::option::Option, nonce: ::core::option::Option, - access_list: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + access_list: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>, }, #[codec(index = 3)] #[doc = "Issue an EVM create2 operation."] create2 { - source: ::subxt::ext::subxt_core::utils::H160, - init: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - salt: ::subxt::ext::subxt_core::utils::H256, + source: ::subxt_core::utils::H160, + init: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + salt: ::subxt_core::utils::H256, value: runtime_types::primitive_types::U256, gas_limit: ::core::primitive::u64, max_fee_per_gas: runtime_types::primitive_types::U256, max_priority_fee_per_gas: ::core::option::Option, nonce: ::core::option::Option, - access_list: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::H160, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + access_list: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::H160, + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, )>, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -60588,23 +57361,19 @@ pub mod api { Undefined, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -60612,35 +57381,35 @@ pub mod api { Log { log: runtime_types::ethereum::log::Log }, #[codec(index = 1)] #[doc = "A contract has been created at given address."] - Created { address: ::subxt::ext::subxt_core::utils::H160 }, + Created { address: ::subxt_core::utils::H160 }, #[codec(index = 2)] #[doc = "A contract was attempted to be created, but the execution failed."] - CreatedFailed { address: ::subxt::ext::subxt_core::utils::H160 }, + CreatedFailed { address: ::subxt_core::utils::H160 }, #[codec(index = 3)] #[doc = "A contract has been executed successfully with states applied."] - Executed { address: ::subxt::ext::subxt_core::utils::H160 }, + Executed { address: ::subxt_core::utils::H160 }, #[codec(index = 4)] #[doc = "A contract has been executed with errors. States are reverted with only gas fees applied."] - ExecutedFailed { address: ::subxt::ext::subxt_core::utils::H160 }, + ExecutedFailed { address: ::subxt_core::utils::H160 }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CodeMetadata { pub size: ::core::primitive::u64, - pub hash: ::subxt::ext::subxt_core::utils::H256, + pub hash: ::subxt_core::utils::H256, } } pub mod pallet_grandpa { @@ -60648,23 +57417,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -60673,9 +57438,9 @@ pub mod api { #[doc = "against the extracted offender. If both are valid, the offence"] #[doc = "will be reported."] report_equivocation { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, ::core::primitive::u64, >, >, @@ -60692,9 +57457,9 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] report_equivocation_unsigned { - equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::ext::subxt_core::utils::H256, + ::subxt_core::utils::H256, ::core::primitive::u64, >, >, @@ -60719,23 +57484,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -60763,29 +57524,25 @@ pub mod api { DuplicateOffenceReport, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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: ::subxt::ext::subxt_core::alloc::vec::Vec<( + authority_set: ::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, @@ -60799,19 +57556,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct StoredPendingChange<_0> { pub scheduled_at: _0, pub delay: _0, @@ -60823,19 +57580,19 @@ pub mod api { pub forced: ::core::option::Option<_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum StoredState<_0> { #[codec(index = 0)] Live, @@ -60852,23 +57609,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -60877,29 +57630,23 @@ pub mod api { #[doc = ""] #[doc = "Any accounts in the input list not satisfying the above condition will remain unaffected."] hotfix_inc_account_sufficients { - addresses: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H160, - >, + addresses: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H160>, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -60913,23 +57660,19 @@ pub mod api { pub mod legacy { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct IdentityInfo { pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::pallet_identity::types::Data, @@ -60948,23 +57691,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Identity pallet declaration."] pub enum Call { #[codec(index = 0)] @@ -60976,8 +57715,8 @@ pub mod api { #[doc = ""] #[doc = "Emits `RegistrarAdded` if successful."] add_registrar { - account: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -60993,7 +57732,7 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentitySet` if successful."] set_identity { - info: ::subxt::ext::subxt_core::alloc::boxed::Box< + info: ::subxt_core::alloc::boxed::Box< runtime_types::pallet_identity::legacy::IdentityInfo, >, }, @@ -61008,8 +57747,8 @@ pub mod api { #[doc = ""] #[doc = "- `subs`: The identity's (new) sub-accounts."] set_subs { - subs: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, + subs: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, )>, }, @@ -61083,8 +57822,8 @@ pub mod api { set_account_id { #[codec(compact)] index: ::core::primitive::u32, - new: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + new: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -61120,14 +57859,14 @@ pub mod api { provide_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, judgement: runtime_types::pallet_identity::types::Judgement< ::core::primitive::u128, >, - identity: ::subxt::ext::subxt_core::utils::H256, + identity: ::subxt_core::utils::H256, }, #[codec(index = 10)] #[doc = "Remove an account's identity and sub-account information and slash the deposits."] @@ -61143,8 +57882,8 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentityKilled` if successful."] kill_identity { - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -61157,8 +57896,8 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] add_sub { - sub: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + sub: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, data: runtime_types::pallet_identity::types::Data, @@ -61169,8 +57908,8 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] rename_sub { - sub: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + sub: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, data: runtime_types::pallet_identity::types::Data, @@ -61184,8 +57923,8 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] remove_sub { - sub: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + sub: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -61207,18 +57946,18 @@ pub mod api { #[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::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + authority: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - suffix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + suffix: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, allocation: ::core::primitive::u32, }, #[codec(index = 16)] #[doc = "Remove `authority` from the username authorities."] remove_username_authority { - authority: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + authority: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -61233,11 +57972,11 @@ pub mod api { #[doc = " - When combined with the suffix of the issuing authority be _less than_ the"] #[doc = " `MaxUsernameLength`."] set_username_for { - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - username: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + username: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, signature: ::core::option::Option, }, @@ -61275,23 +58014,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -61374,56 +58109,52 @@ pub mod api { NotExpired, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32 }, + IdentitySet { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 1)] #[doc = "A name was cleared, and the given balance returned."] IdentityCleared { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "A name was removed and the given balance slashed."] IdentityKilled { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A judgement was asked from a registrar."] JudgementRequested { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 4)] #[doc = "A judgement request was retracted."] JudgementUnrequested { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 5)] #[doc = "A judgement was given by a registrar."] JudgementGiven { - target: ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 6)] @@ -61432,35 +58163,35 @@ pub mod api { #[codec(index = 7)] #[doc = "A sub-identity was added to an identity and the deposit paid."] SubIdentityAdded { - sub: ::subxt::ext::subxt_core::utils::AccountId32, - main: ::subxt::ext::subxt_core::utils::AccountId32, + sub: ::subxt_core::utils::AccountId32, + main: ::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::ext::subxt_core::utils::AccountId32, - main: ::subxt::ext::subxt_core::utils::AccountId32, + sub: ::subxt_core::utils::AccountId32, + main: ::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::ext::subxt_core::utils::AccountId32, - main: ::subxt::ext::subxt_core::utils::AccountId32, + sub: ::subxt_core::utils::AccountId32, + main: ::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 10)] #[doc = "A username authority was added."] - AuthorityAdded { authority: ::subxt::ext::subxt_core::utils::AccountId32 }, + AuthorityAdded { authority: ::subxt_core::utils::AccountId32 }, #[codec(index = 11)] #[doc = "A username authority was removed."] - AuthorityRemoved { authority: ::subxt::ext::subxt_core::utils::AccountId32 }, + AuthorityRemoved { authority: ::subxt_core::utils::AccountId32 }, #[codec(index = 12)] #[doc = "A username was set for `who`."] UsernameSet { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -61468,7 +58199,7 @@ pub mod api { #[codec(index = 13)] #[doc = "A username was queued, but `who` must accept it prior to `expiration`."] UsernameQueued { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -61476,11 +58207,11 @@ pub mod api { }, #[codec(index = 14)] #[doc = "A queued username passed its expiration without being claimed and was removed."] - PreapprovalExpired { whose: ::subxt::ext::subxt_core::utils::AccountId32 }, + PreapprovalExpired { whose: ::subxt_core::utils::AccountId32 }, #[codec(index = 15)] #[doc = "A username was set as a primary and can be looked up from `who`."] PrimaryUsernameSet { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -61489,7 +58220,7 @@ pub mod api { #[doc = "A dangling username (as in, a username corresponding to an account that has removed its"] #[doc = "identity) has been removed."] DanglingUsernameRemoved { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -61499,45 +58230,37 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct AuthorityProperties<_0> { pub suffix: _0, pub allocation: ::core::primitive::u32, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Data { #[codec(index = 0)] None, @@ -61617,23 +58340,19 @@ pub mod api { ShaThree256([::core::primitive::u8; 32usize]), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Judgement<_0> { #[codec(index = 0)] Unknown, @@ -61651,46 +58370,38 @@ pub mod api { Erroneous, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RegistrarInfo<_0, _1, _2> { pub account: _1, pub fee: _0, pub fields: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Registration<_0, _2> { pub judgements: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::core::primitive::u32, @@ -61706,23 +58417,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -61736,23 +58443,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -61763,23 +58466,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -61793,10 +58492,10 @@ pub mod api { #[codec(index = 2)] #[doc = "At the end of the session, at least one validator was found to be offline."] SomeOffline { - offline: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::utils::AccountId32, + offline: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::utils::AccountId32, runtime_types::sp_staking::Exposure< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, ::core::primitive::u128, >, )>, @@ -61808,59 +58507,51 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Public(pub [::core::primitive::u8; 32usize]); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Signature(pub [::core::primitive::u8; 64usize]); } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Heartbeat<_0> { pub block_number: _0, pub session_index: ::core::primitive::u32, @@ -61873,23 +58564,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -61920,8 +58607,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] transfer { - new: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + new: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, index: ::core::primitive::u32, @@ -61955,8 +58642,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] force_transfer { - new: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + new: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, index: ::core::primitive::u32, @@ -61978,23 +58665,19 @@ pub mod api { freeze { index: ::core::primitive::u32 }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -62014,29 +58697,25 @@ pub mod api { Permanent, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, index: ::core::primitive::u32, }, #[codec(index = 1)] @@ -62046,7 +58725,7 @@ pub mod api { #[doc = "A account index has been frozen to its current account ID."] IndexFrozen { index: ::core::primitive::u32, - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, }, } } @@ -62056,44 +58735,36 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The callable functions (extrinsics) of the pallet."] pub enum Call { - # [codec (index = 0)] # [doc = "Allows an account to join as an operator by staking the required bond amount."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account joining as operator"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `bond_amount` - Amount to stake as operator bond"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Bond amount would overflow deposit tracking"] # [doc = "* [`Error::StakeOverflow`] - Bond amount would overflow stake tracking"] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave the system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `additional_bond` - Additional amount to stake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::StakeOverflow`] - Additional bond would overflow stake tracking"] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `unstake_amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] # [doc = "* [`Error::InsufficientBalance`] - Operator has insufficient stake to unstake"] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOnline`] - Operator is already online"] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the depositor account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to deposit"] # [doc = "* `amount` - Amount to deposit"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Deposit would overflow tracking"] # [doc = "* [`Error::InvalidAsset`] - Asset is not supported"] deposit { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , lock_multiplier : :: core :: option :: Option < runtime_types :: tangle_primitives :: types :: rewards :: LockMultiplier > , } , # [codec (index = 11)] # [doc = "Schedules a withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to withdraw"] # [doc = "* `amount` - Amount to withdraw"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to withdraw"] # [doc = "* [`Error::PendingWithdrawRequestExists`] - Pending withdraw request exists"] schedule_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] # [doc = "* [`Error::WithdrawPeriodNotElapsed`] - Withdraw period has not elapsed"] execute_withdraw { evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , } , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset withdrawal to cancel"] # [doc = "* `amount` - Amount of the withdrawal to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] cancel_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to delegate to"] # [doc = "* `asset_id` - ID of asset to delegate"] # [doc = "* `amount` - Amount to delegate"] # [doc = "* `blueprint_selection` - Blueprint selection strategy"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Target account is not an operator"] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to delegate"] # [doc = "* [`Error::MaxDelegationsExceeded`] - Would exceed max delegations"] delegate { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints > , } , # [codec (index = 15)] # [doc = "Schedules a request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to unstake from"] # [doc = "* `asset_id` - ID of asset to unstake"] # [doc = "* `amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::InsufficientDelegation`] - Insufficient delegation to unstake"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Pending unstake request exists"] schedule_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to cancel unstake from"] # [doc = "* `asset_id` - ID of asset unstake to cancel"] # [doc = "* `amount` - Amount of unstake to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 22)] # [doc = "Adds a blueprint ID to a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to add"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::DuplicateBlueprintId`] - Blueprint ID already exists"] # [doc = "* [`Error::MaxBlueprintsExceeded`] - Would exceed max blueprints"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] add_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 23)] # [doc = "Removes a blueprint ID from a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to remove"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::BlueprintIdNotFound`] - Blueprint ID not found"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] remove_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , } + # [codec (index = 0)] # [doc = "Allows an account to join as an operator by staking the required bond amount."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account joining as operator"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `bond_amount` - Amount to stake as operator bond"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Bond amount would overflow deposit tracking"] # [doc = "* [`Error::StakeOverflow`] - Bond amount would overflow stake tracking"] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave the system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `additional_bond` - Additional amount to stake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::StakeOverflow`] - Additional bond would overflow stake tracking"] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `unstake_amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] # [doc = "* [`Error::InsufficientBalance`] - Operator has insufficient stake to unstake"] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOnline`] - Operator is already online"] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the depositor account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to deposit"] # [doc = "* `amount` - Amount to deposit"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Deposit would overflow tracking"] # [doc = "* [`Error::InvalidAsset`] - Asset is not supported"] deposit { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , evm_address : :: core :: option :: Option < :: subxt_core :: utils :: H160 > , lock_multiplier : :: core :: option :: Option < runtime_types :: tangle_primitives :: types :: rewards :: LockMultiplier > , } , # [codec (index = 11)] # [doc = "Schedules a withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to withdraw"] # [doc = "* `amount` - Amount to withdraw"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to withdraw"] # [doc = "* [`Error::PendingWithdrawRequestExists`] - Pending withdraw request exists"] schedule_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] # [doc = "* [`Error::WithdrawPeriodNotElapsed`] - Withdraw period has not elapsed"] execute_withdraw { evm_address : :: core :: option :: Option < :: subxt_core :: utils :: H160 > , } , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset withdrawal to cancel"] # [doc = "* `amount` - Amount of the withdrawal to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] cancel_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to delegate to"] # [doc = "* `asset_id` - ID of asset to delegate"] # [doc = "* `amount` - Amount to delegate"] # [doc = "* `blueprint_selection` - Blueprint selection strategy"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Target account is not an operator"] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to delegate"] # [doc = "* [`Error::MaxDelegationsExceeded`] - Would exceed max delegations"] delegate { operator : :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints > , } , # [codec (index = 15)] # [doc = "Schedules a request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to unstake from"] # [doc = "* `asset_id` - ID of asset to unstake"] # [doc = "* `amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::InsufficientDelegation`] - Insufficient delegation to unstake"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Pending unstake request exists"] schedule_delegator_unstake { operator : :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to cancel unstake from"] # [doc = "* `asset_id` - ID of asset unstake to cancel"] # [doc = "* `amount` - Amount of unstake to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_delegator_unstake { operator : :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 22)] # [doc = "Adds a blueprint ID to a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to add"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::DuplicateBlueprintId`] - Blueprint ID already exists"] # [doc = "* [`Error::MaxBlueprintsExceeded`] - Would exceed max blueprints"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] add_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 23)] # [doc = "Removes a blueprint ID from a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to remove"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::BlueprintIdNotFound`] - Blueprint ID not found"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] remove_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Errors emitted by the pallet."] pub enum Error { #[codec(index = 0)] @@ -62254,65 +58925,61 @@ pub mod api { OverflowRisk, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Events emitted by the pallet."] pub enum Event { #[codec(index = 0)] #[doc = "An operator has joined."] - OperatorJoined { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorJoined { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 1)] #[doc = "An operator has scheduled to leave."] - OperatorLeavingScheduled { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorLeavingScheduled { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 2)] #[doc = "An operator has cancelled their leave request."] - OperatorLeaveCancelled { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorLeaveCancelled { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 3)] #[doc = "An operator has executed their leave request."] - OperatorLeaveExecuted { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorLeaveExecuted { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 4)] #[doc = "An operator has increased their stake."] OperatorBondMore { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, additional_bond: ::core::primitive::u128, }, #[codec(index = 5)] #[doc = "An operator has scheduled to decrease their stake."] OperatorBondLessScheduled { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, unstake_amount: ::core::primitive::u128, }, #[codec(index = 6)] #[doc = "An operator has executed their stake decrease."] - OperatorBondLessExecuted { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorBondLessExecuted { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 7)] #[doc = "An operator has cancelled their stake decrease request."] - OperatorBondLessCancelled { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorBondLessCancelled { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 8)] #[doc = "An operator has gone offline."] - OperatorWentOffline { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorWentOffline { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 9)] #[doc = "An operator has gone online."] - OperatorWentOnline { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + OperatorWentOnline { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 10)] #[doc = "A deposit has been made."] Deposited { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, asset_id: runtime_types::tangle_primitives::services::Asset< ::core::primitive::u128, @@ -62321,7 +58988,7 @@ pub mod api { #[codec(index = 11)] #[doc = "An withdraw has been scheduled."] Scheduledwithdraw { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, asset_id: runtime_types::tangle_primitives::services::Asset< ::core::primitive::u128, @@ -62329,15 +58996,15 @@ pub mod api { }, #[codec(index = 12)] #[doc = "An withdraw has been executed."] - Executedwithdraw { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + Executedwithdraw { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 13)] #[doc = "An withdraw has been cancelled."] - Cancelledwithdraw { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + Cancelledwithdraw { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 14)] #[doc = "A delegation has been made."] Delegated { - who: ::subxt::ext::subxt_core::utils::AccountId32, - operator: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, asset_id: runtime_types::tangle_primitives::services::Asset< ::core::primitive::u128, @@ -62346,8 +59013,8 @@ pub mod api { #[codec(index = 15)] #[doc = "A delegator unstake request has been scheduled."] ScheduledDelegatorBondLess { - who: ::subxt::ext::subxt_core::utils::AccountId32, - operator: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, asset_id: runtime_types::tangle_primitives::services::Asset< ::core::primitive::u128, @@ -62355,29 +59022,29 @@ pub mod api { }, #[codec(index = 16)] #[doc = "A delegator unstake request has been executed."] - ExecutedDelegatorBondLess { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + ExecutedDelegatorBondLess { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 17)] #[doc = "A delegator unstake request has been cancelled."] - CancelledDelegatorBondLess { who: ::subxt::ext::subxt_core::utils::AccountId32 }, + CancelledDelegatorBondLess { who: ::subxt_core::utils::AccountId32 }, #[codec(index = 18)] #[doc = "Operator has been slashed"] OperatorSlashed { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 19)] #[doc = "Delegator has been slashed"] DelegatorSlashed { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 20)] #[doc = "EVM execution reverted with a reason."] EvmReverted { - from: ::subxt::ext::subxt_core::utils::H160, - to: ::subxt::ext::subxt_core::utils::H160, - data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - reason: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + from: ::subxt_core::utils::H160, + to: ::subxt_core::utils::H160, + data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + reason: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } } @@ -62386,61 +59053,49 @@ pub mod api { pub mod delegator { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BondInfoDelegator < _0 , _1 , _2 , _3 > { pub operator : _0 , pub amount : _1 , pub asset_id : runtime_types :: tangle_primitives :: services :: Asset < _1 > , pub blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < _3 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BondLessRequest < _0 , _1 , _2 , _3 > { pub operator : _0 , pub asset_id : runtime_types :: tangle_primitives :: services :: Asset < _1 > , pub amount : _2 , pub requested_round : :: core :: primitive :: u32 , pub blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < _3 > , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum DelegatorBlueprintSelection<_0> { #[codec(index = 0)] Fixed( @@ -62453,42 +59108,34 @@ pub mod api { __Ignore(::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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] - pub struct DelegatorMetadata < _0 , _1 , _2 , _3 , _4 , _5 , _6 , _7 , _8 > { pub deposits : :: subxt :: ext :: subxt_core :: utils :: KeyedVec < runtime_types :: tangle_primitives :: services :: Asset < _1 > , runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: Deposit < _1 , _7 , _4 > > , pub withdraw_requests : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: WithdrawRequest < _1 , _1 > > , pub delegations : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondInfoDelegator < _0 , _1 , _1 , _6 > > , pub delegator_unstake_requests : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondLessRequest < _0 , _1 , _1 , _6 > > , pub status : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorStatus , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < (_2 , _8 , _3 , _5) > } + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct DelegatorMetadata < _0 , _1 , _2 , _3 , _4 , _5 , _6 , _7 , _8 > { pub deposits : :: subxt_core :: utils :: KeyedVec < runtime_types :: tangle_primitives :: services :: Asset < _1 > , runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: Deposit < _1 , _7 , _4 > > , pub withdraw_requests : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: WithdrawRequest < _1 , _1 > > , pub delegations : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondInfoDelegator < _0 , _1 , _1 , _6 > > , pub delegator_unstake_requests : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondLessRequest < _0 , _1 , _1 , _6 > > , pub status : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorStatus , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < (_2 , _8 , _3 , _5) > } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum DelegatorStatus { #[codec(index = 0)] Active, @@ -62496,23 +59143,19 @@ pub mod api { LeavingScheduled(::core::primitive::u32), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Deposit<_0, _1, _2> { pub amount: _0, pub delegated_amount: _0, @@ -62525,23 +59168,19 @@ pub mod api { pub __ignore: ::core::marker::PhantomData<_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct WithdrawRequest<_0, _1> { pub asset_id: runtime_types::tangle_primitives::services::Asset<_0>, pub amount: _1, @@ -62551,23 +59190,19 @@ pub mod api { pub mod operator { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct DelegatorBond<_0, _1, _2> { pub delegator: _0, pub amount: _1, @@ -62576,83 +59211,67 @@ pub mod api { pub __ignore: ::core::marker::PhantomData<_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OperatorBondLessRequest<_0> { pub amount: _0, pub request_time: ::core::primitive::u32, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OperatorMetadata < _0 , _1 , _2 , _3 , _4 > { pub stake : _1 , pub delegation_count : :: core :: primitive :: u32 , pub request : :: core :: option :: Option < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorBondLessRequest < _1 > > , pub delegations : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: DelegatorBond < _0 , _1 , _1 > > , pub status : runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorStatus , pub blueprint_ids : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u32 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < (_2 , _3 , _4) > } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OperatorSnapshot < _0 , _1 , _2 , _3 > { pub stake : _1 , pub delegations : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: DelegatorBond < _0 , _1 , _1 > > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < (_2 , _3) > } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum OperatorStatus { #[codec(index = 0)] Active, @@ -62669,23 +59288,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -62702,10 +59317,9 @@ pub mod api { #[doc = "## Complexity"] #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] as_multi_threshold_1 { - other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + other_signatories: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -62751,13 +59365,12 @@ pub mod api { #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] as_multi { threshold: ::core::primitive::u16, - other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + other_signatories: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, max_weight: runtime_types::sp_weights::weight_v2::Weight, @@ -62795,9 +59408,8 @@ pub mod api { #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + other_signatories: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >, @@ -62828,32 +59440,27 @@ pub mod api { #[doc = "- Storage: removes one item."] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + other_signatories: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, call_hash: [::core::primitive::u8; 32usize], }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -62900,48 +59507,44 @@ pub mod api { AlreadyStored, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32, - multisig: ::subxt::ext::subxt_core::utils::AccountId32, + approving: ::subxt_core::utils::AccountId32, + multisig: ::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::ext::subxt_core::utils::AccountId32, + approving: ::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, - multisig: ::subxt::ext::subxt_core::utils::AccountId32, + multisig: ::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, #[codec(index = 2)] #[doc = "A multisig operation has been executed."] MultisigExecuted { - approving: ::subxt::ext::subxt_core::utils::AccountId32, + approving: ::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, - multisig: ::subxt::ext::subxt_core::utils::AccountId32, + multisig: ::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, @@ -62949,28 +59552,28 @@ pub mod api { #[codec(index = 3)] #[doc = "A multisig operation has been cancelled."] MultisigCancelled { - cancelling: ::subxt::ext::subxt_core::utils::AccountId32, + cancelling: ::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, - multisig: ::subxt::ext::subxt_core::utils::AccountId32, + multisig: ::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, @@ -62978,19 +59581,19 @@ pub mod api { pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -63001,23 +59604,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -63092,8 +59691,8 @@ pub mod api { #[doc = "in which case, the result of this call will likely be the `NoMoreChunks` error from the"] #[doc = "staking system."] unbond { - member_account: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + member_account: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -63134,8 +59733,8 @@ pub mod api { #[doc = "withdraw. This calculation adds some weight overhead and is only defensive. In reality,"] #[doc = "pool slashes must have been already applied via permissionless [`Call::apply_slash`]."] withdraw_unbonded { - member_account: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + member_account: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, num_slashing_spans: ::core::primitive::u32, @@ -63161,16 +59760,16 @@ pub mod api { create { #[codec(compact)] amount: ::core::primitive::u128, - root: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + root: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - nominator: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + nominator: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - bouncer: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + bouncer: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -63184,16 +59783,16 @@ pub mod api { create_with_pool_id { #[codec(compact)] amount: ::core::primitive::u128, - root: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + root: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - nominator: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + nominator: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - bouncer: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + bouncer: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, pool_id: ::core::primitive::u32, @@ -63213,9 +59812,7 @@ pub mod api { #[doc = "at least `depositor_min_bond` in the pool to start nominating."] nominate { pool_id: ::core::primitive::u32, - validators: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + validators: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, }, #[codec(index = 9)] #[doc = "Set a new state for the pool."] @@ -63239,7 +59836,7 @@ pub mod api { #[doc = "pool."] set_metadata { pool_id: ::core::primitive::u32, - metadata: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + metadata: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 11)] #[doc = "Update configurations for the nomination pools. The origin for this call must be"] @@ -63284,13 +59881,13 @@ pub mod api { update_roles { pool_id: ::core::primitive::u32, new_root: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, new_nominator: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, new_bouncer: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, }, #[codec(index = 13)] @@ -63322,8 +59919,8 @@ pub mod api { #[doc = "`other` members assuming set_claim_permission for the given member is"] #[doc = "`PermissionlessCompound` or `PermissionlessAll`."] bond_extra_other { - member: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + member: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, extra: runtime_types::pallet_nomination_pools::BondExtra< @@ -63346,7 +59943,7 @@ pub mod api { #[doc = ""] #[doc = "Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim"] #[doc = "permission for this call to be successful."] - claim_payout_other { other: ::subxt::ext::subxt_core::utils::AccountId32 }, + claim_payout_other { other: ::subxt_core::utils::AccountId32 }, #[codec(index = 17)] #[doc = "Set the commission of a pool."] #[doc = "Both a commission percentage and a commission payee must be provided in the `current`"] @@ -63357,7 +59954,7 @@ pub mod api { pool_id: ::core::primitive::u32, new_commission: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>, }, #[codec(index = 18)] @@ -63406,7 +60003,7 @@ pub mod api { pool_id: ::core::primitive::u32, permission: ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, }, @@ -63421,8 +60018,8 @@ pub mod api { #[doc = "is successful, fee is refunded and caller may be rewarded with a part of the slash"] #[doc = "based on the [`crate::pallet::Config::StakeAdapter`] configuration."] apply_slash { - member_account: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + member_account: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -63437,8 +60034,8 @@ pub mod api { #[doc = "If the pool has migrated to delegation based staking, the staked tokens of pool members"] #[doc = "can be moved and held in their own account. See [`adapter::DelegateStake`]"] migrate_delegation { - member_account: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + member_account: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -63455,23 +60052,19 @@ pub mod api { migrate_pool_to_delegate_stake { pool_id: ::core::primitive::u32 }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum DefensiveError { #[codec(index = 0)] NotEnoughSpaceInUnbondPool, @@ -63489,23 +60082,19 @@ pub mod api { SlashNotApplied, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -63629,35 +60218,31 @@ pub mod api { NotSupported, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Events of this pallet."] pub enum Event { #[codec(index = 0)] #[doc = "A pool has been created."] Created { - depositor: ::subxt::ext::subxt_core::utils::AccountId32, + depositor: ::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, }, #[codec(index = 1)] #[doc = "A member has became bonded in a pool."] Bonded { - member: ::subxt::ext::subxt_core::utils::AccountId32, + member: ::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, bonded: ::core::primitive::u128, joined: ::core::primitive::bool, @@ -63665,7 +60250,7 @@ pub mod api { #[codec(index = 2)] #[doc = "A payout has been made to a member."] PaidOut { - member: ::subxt::ext::subxt_core::utils::AccountId32, + member: ::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, payout: ::core::primitive::u128, }, @@ -63682,7 +60267,7 @@ pub mod api { #[doc = "number of points that are issued in the unbonding pool will be less than the amount"] #[doc = "requested to be unbonded."] Unbonded { - member: ::subxt::ext::subxt_core::utils::AccountId32, + member: ::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, balance: ::core::primitive::u128, points: ::core::primitive::u128, @@ -63696,7 +60281,7 @@ pub mod api { #[doc = "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance"] #[doc = "will be 1."] Withdrawn { - member: ::subxt::ext::subxt_core::utils::AccountId32, + member: ::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, balance: ::core::primitive::u128, points: ::core::primitive::u128, @@ -63716,17 +60301,15 @@ pub mod api { #[doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] MemberRemoved { pool_id: ::core::primitive::u32, - member: ::subxt::ext::subxt_core::utils::AccountId32, + member: ::subxt_core::utils::AccountId32, }, #[codec(index = 8)] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] #[doc = "can never change."] RolesUpdated { - root: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, - bouncer: - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, - nominator: - ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + root: ::core::option::Option<::subxt_core::utils::AccountId32>, + bouncer: ::core::option::Option<::subxt_core::utils::AccountId32>, + nominator: ::core::option::Option<::subxt_core::utils::AccountId32>, }, #[codec(index = 9)] #[doc = "The active balance of pool `pool_id` has been slashed to `balance`."] @@ -63747,7 +60330,7 @@ pub mod api { pool_id: ::core::primitive::u32, current: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>, }, #[codec(index = 12)] @@ -63770,7 +60353,7 @@ pub mod api { pool_id: ::core::primitive::u32, permission: ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, }, @@ -63794,42 +60377,38 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum FreezeReason { #[codec(index = 0)] PoolMinBalance, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum BondExtra<_0> { #[codec(index = 0)] FreeBalance(_0), @@ -63837,42 +60416,42 @@ pub mod api { Rewards, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BondedPoolInner { pub commission: runtime_types::pallet_nomination_pools::Commission, pub member_counter: ::core::primitive::u32, pub points: ::core::primitive::u128, pub roles: runtime_types::pallet_nomination_pools::PoolRoles< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, pub state: runtime_types::pallet_nomination_pools::PoolState, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ClaimPermission { #[codec(index = 0)] Permissioned, @@ -63884,23 +60463,23 @@ pub mod api { PermissionlessAll, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Commission { pub current: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, )>, pub max: ::core::option::Option, pub change_rate: ::core::option::Option< @@ -63911,42 +60490,42 @@ pub mod api { pub throttle_from: ::core::option::Option<::core::primitive::u64>, pub claim_permission: ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CommissionChangeRate<_0> { pub max_increase: runtime_types::sp_arithmetic::per_things::Perbill, pub min_delay: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum CommissionClaimPermission<_0> { #[codec(index = 0)] Permissionless, @@ -63954,19 +60533,19 @@ pub mod api { Account(_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -63976,19 +60555,19 @@ pub mod api { Remove, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PoolMember { pub pool_id: ::core::primitive::u32, pub points: ::core::primitive::u128, @@ -64001,19 +60580,19 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, @@ -64021,19 +60600,19 @@ pub mod api { pub bouncer: ::core::option::Option<_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum PoolState { #[codec(index = 0)] Open, @@ -64043,19 +60622,19 @@ pub mod api { Destroying, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RewardPool { pub last_recorded_reward_counter: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -64065,19 +60644,19 @@ pub mod api { pub total_commission_claimed: ::core::primitive::u128, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SubPools { pub no_era: runtime_types::pallet_nomination_pools::UnbondPool, pub with_era: @@ -64087,19 +60666,19 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct UnbondPool { pub points: ::core::primitive::u128, pub balance: ::core::primitive::u128, @@ -64110,23 +60689,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Events type."] pub enum Event { #[codec(index = 0)] @@ -64135,7 +60710,7 @@ pub mod api { #[doc = "\\[kind, timeslot\\]."] Offence { kind: [::core::primitive::u8; 16usize], - timeslot: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + timeslot: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } } @@ -64145,23 +60720,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -64169,9 +60740,7 @@ pub mod api { #[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."] - note_preimage { - bytes: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - }, + note_preimage { bytes: ::subxt_core::alloc::vec::Vec<::core::primitive::u8> }, #[codec(index = 1)] #[doc = "Clear an unrequested preimage from the runtime storage."] #[doc = ""] @@ -64179,46 +60748,40 @@ pub mod api { #[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::ext::subxt_core::utils::H256 }, + unnote_preimage { hash: ::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::ext::subxt_core::utils::H256 }, + request_preimage { hash: ::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::ext::subxt_core::utils::H256 }, + unrequest_preimage { hash: ::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."] ensure_updated { - hashes: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, + hashes: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -64250,72 +60813,64 @@ pub mod api { NoCost, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::H256 }, + Noted { hash: ::subxt_core::utils::H256 }, #[codec(index = 1)] #[doc = "A preimage has been requested."] - Requested { hash: ::subxt::ext::subxt_core::utils::H256 }, + Requested { hash: ::subxt_core::utils::H256 }, #[codec(index = 2)] #[doc = "A preimage has ben cleared."] - Cleared { hash: ::subxt::ext::subxt_core::utils::H256 }, + Cleared { hash: ::subxt_core::utils::H256 }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum HoldReason { #[codec(index = 0)] Preimage, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum OldRequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { deposit: (_0, _1), len: ::core::primitive::u32 }, @@ -64327,19 +60882,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { ticket: (_0, _1), len: ::core::primitive::u32 }, @@ -64356,23 +60911,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -64386,14 +60937,14 @@ pub mod api { #[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."] proxy { - real: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + real: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, force_proxy_type: ::core::option::Option< runtime_types::tangle_testnet_runtime::ProxyType, >, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -64408,8 +60959,8 @@ pub mod api { #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] #[doc = "zero."] add_proxy { - delegate: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, @@ -64424,8 +60975,8 @@ pub mod api { #[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."] remove_proxy { - delegate: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, @@ -64481,8 +61032,8 @@ pub mod api { #[doc = "Fails with `NoPermission` in case the caller is not a previously created pure"] #[doc = "account whose `pure` call has corresponding parameters."] kill_pure { - spawner: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + spawner: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, @@ -64509,11 +61060,11 @@ pub mod api { #[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."] announce { - real: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + real: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call_hash: ::subxt::ext::subxt_core::utils::H256, + call_hash: ::subxt_core::utils::H256, }, #[codec(index = 7)] #[doc = "Remove a given announcement."] @@ -64527,11 +61078,11 @@ pub mod api { #[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."] remove_announcement { - real: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + real: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call_hash: ::subxt::ext::subxt_core::utils::H256, + call_hash: ::subxt_core::utils::H256, }, #[codec(index = 8)] #[doc = "Remove the given announcement of a delegate."] @@ -64545,11 +61096,11 @@ pub mod api { #[doc = "- `delegate`: The account that previously announced the call."] #[doc = "- `call_hash`: The hash of the call to be made."] reject_announcement { - delegate: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call_hash: ::subxt::ext::subxt_core::utils::H256, + call_hash: ::subxt_core::utils::H256, }, #[codec(index = 9)] #[doc = "Dispatch the given `call` from an account that the sender is authorized for through"] @@ -64564,40 +61115,36 @@ pub mod api { #[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."] proxy_announced { - delegate: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - real: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + real: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, force_proxy_type: ::core::option::Option< runtime_types::tangle_testnet_runtime::ProxyType, >, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -64626,23 +61173,19 @@ pub mod api { NoSelfProxy, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -64655,69 +61198,69 @@ pub mod api { #[doc = "A pure account has been created by new proxy with given"] #[doc = "disambiguation index and proxy type."] PureCreated { - pure: ::subxt::ext::subxt_core::utils::AccountId32, - who: ::subxt::ext::subxt_core::utils::AccountId32, + pure: ::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, proxy_type: runtime_types::tangle_testnet_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::ext::subxt_core::utils::AccountId32, - proxy: ::subxt::ext::subxt_core::utils::AccountId32, - call_hash: ::subxt::ext::subxt_core::utils::H256, + real: ::subxt_core::utils::AccountId32, + proxy: ::subxt_core::utils::AccountId32, + call_hash: ::subxt_core::utils::H256, }, #[codec(index = 3)] #[doc = "A proxy was added."] ProxyAdded { - delegator: ::subxt::ext::subxt_core::utils::AccountId32, - delegatee: ::subxt::ext::subxt_core::utils::AccountId32, + delegator: ::subxt_core::utils::AccountId32, + delegatee: ::subxt_core::utils::AccountId32, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, delay: ::core::primitive::u64, }, #[codec(index = 4)] #[doc = "A proxy was removed."] ProxyRemoved { - delegator: ::subxt::ext::subxt_core::utils::AccountId32, - delegatee: ::subxt::ext::subxt_core::utils::AccountId32, + delegator: ::subxt_core::utils::AccountId32, + delegatee: ::subxt_core::utils::AccountId32, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, delay: ::core::primitive::u64, }, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Announcement<_0, _1, _2> { pub real: _0, pub call_hash: _1, pub height: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ProxyDefinition<_0, _1, _2> { pub delegate: _0, pub proxy_type: _1, @@ -64729,23 +61272,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 1)] @@ -64766,7 +61305,7 @@ pub mod api { #[doc = ""] #[doc = "Emits `RewardsClaimed` event when successful."] claim_rewards_other { - who: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, asset: runtime_types::tangle_primitives::services::Asset< ::core::primitive::u128, >, @@ -64857,23 +61396,19 @@ pub mod api { update_apy_blocks { blocks: ::core::primitive::u64 }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -64938,29 +61473,25 @@ pub mod api { InvalidDecayRate, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Rewards have been claimed by an account"] RewardsClaimed { - account: ::subxt::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::AccountId32, asset: runtime_types::tangle_primitives::services::Asset< ::core::primitive::u128, >, @@ -65000,7 +61531,7 @@ pub mod api { new_config: runtime_types::pallet_rewards::types::RewardConfigForAssetVault< ::core::primitive::u128, >, - pot_account: ::subxt::ext::subxt_core::utils::AccountId32, + pot_account: ::subxt_core::utils::AccountId32, }, #[codec(index = 6)] #[doc = "Total score in vault updated"] @@ -65037,23 +61568,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum AssetAction { #[codec(index = 0)] Add, @@ -65061,23 +61588,19 @@ pub mod api { Remove, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RewardConfigForAssetVault<_0> { pub apy: runtime_types::sp_arithmetic::per_things::Percent, pub incentive_cap: _0, @@ -65091,23 +61614,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -65119,7 +61638,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -65136,7 +61655,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -65152,7 +61671,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -65166,7 +61685,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -65214,23 +61733,19 @@ pub mod api { cancel_retry_named { id: [::core::primitive::u8; 32usize] }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -65250,23 +61765,19 @@ pub mod api { Named, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Events type."] pub enum Event { #[codec(index = 0)] @@ -65325,38 +61836,38 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RetryConfig<_0> { pub total_retries: ::core::primitive::u8, pub remaining: ::core::primitive::u8, pub period: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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, @@ -65372,23 +61883,19 @@ pub mod api { pub mod module { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -65491,9 +61998,9 @@ pub mod api { blueprint_id: ::core::primitive::u64, preferences: runtime_types::tangle_primitives::services::OperatorPreferences, - registration_args: ::subxt::ext::subxt_core::alloc::vec::Vec< + registration_args: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, #[codec(compact)] @@ -65579,21 +62086,18 @@ pub mod api { #[doc = "* [`Error::NotRegistered`] - One or more operators not registered for blueprint."] #[doc = "* [`Error::BlueprintNotFound`] - The blueprint_id does not exist."] request { - evm_origin: ::core::option::Option<::subxt::ext::subxt_core::utils::H160>, + evm_origin: ::core::option::Option<::subxt_core::utils::H160>, #[codec(compact)] blueprint_id: ::core::primitive::u64, - permitted_callers: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, - operators: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, - request_args: ::subxt::ext::subxt_core::alloc::vec::Vec< + permitted_callers: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + operators: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + request_args: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, - assets: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>, + assets: ::subxt_core::alloc::vec::Vec<::core::primitive::u128>, #[codec(compact)] ttl: ::core::primitive::u64, payment_asset: runtime_types::tangle_primitives::services::Asset< @@ -65700,9 +62204,9 @@ pub mod api { service_id: ::core::primitive::u64, #[codec(compact)] job: ::core::primitive::u8, - args: ::subxt::ext::subxt_core::alloc::vec::Vec< + args: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, }, @@ -65733,9 +62237,9 @@ pub mod api { service_id: ::core::primitive::u64, #[codec(compact)] call_id: ::core::primitive::u64, - result: ::subxt::ext::subxt_core::alloc::vec::Vec< + result: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, }, @@ -65765,7 +62269,7 @@ pub mod api { #[doc = "* `OffenderNotOperator` - Target account is not an operator for this service"] #[doc = "* `OffenderNotActiveOperator` - Target operator is not currently active"] slash { - offender: ::subxt::ext::subxt_core::utils::AccountId32, + offender: ::subxt_core::utils::AccountId32, #[codec(compact)] service_id: ::core::primitive::u64, #[codec(compact)] @@ -65812,28 +62316,22 @@ pub mod api { #[doc = "# Errors"] #[doc = ""] #[doc = "* [Error::MaxMasterBlueprintServiceManagerVersionsExceeded] - Maximum number of revisions reached"] - update_master_blueprint_service_manager { - address: ::subxt::ext::subxt_core::utils::H160, - }, + update_master_blueprint_service_manager { address: ::subxt_core::utils::H160 }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -65969,152 +62467,142 @@ pub mod api { ExpectedAccountId, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A new service blueprint has been created."] BlueprintCreated { - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, }, #[codec(index = 1)] #[doc = "An operator has pre-registered for a service blueprint."] PreRegistration { - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, }, #[codec(index = 2)] #[doc = "An new operator has been registered."] Registered { - provider: ::subxt::ext::subxt_core::utils::AccountId32, + provider: ::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, preferences: runtime_types::tangle_primitives::services::OperatorPreferences, - registration_args: ::subxt::ext::subxt_core::alloc::vec::Vec< + registration_args: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, }, #[codec(index = 3)] #[doc = "An operator has been unregistered."] Unregistered { - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, }, #[codec(index = 4)] #[doc = "The price targets for an operator has been updated."] PriceTargetsUpdated { - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, price_targets: runtime_types::tangle_primitives::services::PriceTargets, }, #[codec(index = 5)] #[doc = "A new service has been requested."] ServiceRequested { - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, - pending_approvals: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, - approved: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, - assets: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>, + pending_approvals: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + approved: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + assets: ::subxt_core::alloc::vec::Vec<::core::primitive::u128>, }, #[codec(index = 6)] #[doc = "A service request has been approved."] ServiceRequestApproved { - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, - pending_approvals: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, - approved: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + pending_approvals: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + approved: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, }, #[codec(index = 7)] #[doc = "A service request has been rejected."] ServiceRequestRejected { - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, }, #[codec(index = 8)] #[doc = "A service has been initiated."] ServiceInitiated { - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, - assets: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>, + assets: ::subxt_core::alloc::vec::Vec<::core::primitive::u128>, }, #[codec(index = 9)] #[doc = "A service has been terminated."] ServiceTerminated { - owner: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt_core::utils::AccountId32, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, }, #[codec(index = 10)] #[doc = "A job has been called."] JobCalled { - caller: ::subxt::ext::subxt_core::utils::AccountId32, + caller: ::subxt_core::utils::AccountId32, service_id: ::core::primitive::u64, call_id: ::core::primitive::u64, job: ::core::primitive::u8, - args: ::subxt::ext::subxt_core::alloc::vec::Vec< + args: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, }, #[codec(index = 11)] #[doc = "A job result has been submitted."] JobResultSubmitted { - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, service_id: ::core::primitive::u64, call_id: ::core::primitive::u64, job: ::core::primitive::u8, - result: ::subxt::ext::subxt_core::alloc::vec::Vec< + result: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, >, }, #[codec(index = 12)] #[doc = "EVM execution reverted with a reason."] EvmReverted { - from: ::subxt::ext::subxt_core::utils::H160, - to: ::subxt::ext::subxt_core::utils::H160, - data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - reason: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + from: ::subxt_core::utils::H160, + to: ::subxt_core::utils::H160, + data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + reason: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 13)] #[doc = "An Operator has an unapplied slash."] UnappliedSlash { index: ::core::primitive::u32, - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, @@ -66124,7 +62612,7 @@ pub mod api { #[doc = "An Unapplied Slash got discarded."] SlashDiscarded { index: ::core::primitive::u32, - operator: ::subxt::ext::subxt_core::utils::AccountId32, + operator: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, @@ -66134,36 +62622,32 @@ pub mod api { #[doc = "The Master Blueprint Service Manager has been revised."] MasterBlueprintServiceManagerRevised { revision: ::core::primitive::u32, - address: ::subxt::ext::subxt_core::utils::H160, + address: ::subxt_core::utils::H160, }, } } 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct UnappliedSlash<_0, _1> { pub service_id: ::core::primitive::u64, pub operator: _0, pub own: _1, - pub others: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _1)>, - pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub others: ::subxt_core::alloc::vec::Vec<(_0, _1)>, + pub reporters: ::subxt_core::alloc::vec::Vec<_0>, pub payout: _1, } } @@ -66173,23 +62657,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -66204,7 +62684,7 @@ pub mod api { #[doc = " fixed."] set_keys { keys: runtime_types::tangle_testnet_runtime::opaque::SessionKeys, - proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + proof: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "Removes any session key(s) of the function caller."] @@ -66222,23 +62702,19 @@ pub mod api { purge_keys, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Error for the session pallet."] pub enum Error { #[codec(index = 0)] @@ -66258,23 +62734,19 @@ pub mod api { NoAccount, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -66291,23 +62763,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -66331,7 +62799,7 @@ pub mod api { #[codec(compact)] value: ::core::primitive::u128, payee: runtime_types::pallet_staking::RewardDestination< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, }, #[codec(index = 1)] @@ -66421,9 +62889,9 @@ pub mod api { #[doc = "which is capped at CompactAssignments::LIMIT (T::MaxNominations)."] #[doc = "- Both the reads and writes follow a similar pattern."] nominate { - targets: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + targets: ::subxt_core::alloc::vec::Vec< + ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >, @@ -66455,7 +62923,7 @@ pub mod api { #[doc = "---------"] set_payee { payee: runtime_types::pallet_staking::RewardDestination< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, }, #[codec(index = 8)] @@ -66544,9 +63012,8 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin must be Root."] set_invulnerables { - invulnerables: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + invulnerables: + ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, }, #[codec(index = 15)] #[doc = "Force a current staker to become completely unstaked, immediately."] @@ -66558,7 +63025,7 @@ pub mod api { #[doc = "- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more"] #[doc = "details."] force_unstake { - stash: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 16)] @@ -66580,8 +63047,7 @@ pub mod api { #[doc = "Parameters: era and indices of the slashes for that era to kill."] cancel_deferred_slash { era: ::core::primitive::u32, - slash_indices: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, + slash_indices: ::subxt_core::alloc::vec::Vec<::core::primitive::u32>, }, #[codec(index = 18)] #[doc = "Pay out next page of the stakers behind a validator for the given era."] @@ -66598,7 +63064,7 @@ pub mod api { #[doc = ""] #[doc = "If all pages are claimed, it returns an error `InvalidPage`."] payout_stakers { - validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, + validator_stash: ::subxt_core::utils::AccountId32, era: ::core::primitive::u32, }, #[codec(index = 19)] @@ -66633,7 +63099,7 @@ pub mod api { #[doc = "- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more"] #[doc = "details."] reap_stash { - stash: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 21)] @@ -66649,9 +63115,9 @@ pub mod api { #[doc = "Note: Making this call only makes sense if you first set the validator preferences to"] #[doc = "block any further nominations."] kick { - who: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::alloc::vec::Vec< + ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >, @@ -66730,13 +63196,13 @@ pub mod api { #[doc = ""] #[doc = "This can be helpful if bond requirements are updated, and we need to remove old users"] #[doc = "who do not satisfy these requirements."] - chill_other { stash: ::subxt::ext::subxt_core::utils::AccountId32 }, + chill_other { stash: ::subxt_core::utils::AccountId32 }, #[codec(index = 24)] #[doc = "Force a validator to have at least the minimum commission. This will not affect a"] #[doc = "validator who already has a commission greater than or equal to the minimum. Any account"] #[doc = "can call this."] force_apply_min_commission { - validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, + validator_stash: ::subxt_core::utils::AccountId32, }, #[codec(index = 25)] #[doc = "Sets the minimum amount of commission that each validators must maintain."] @@ -66765,7 +63231,7 @@ pub mod api { #[doc = "and so it should not be assumed the highest staker would be on the topmost page and vice"] #[doc = "versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost."] payout_stakers_by_page { - validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, + validator_stash: ::subxt_core::utils::AccountId32, era: ::core::primitive::u32, page: ::core::primitive::u32, }, @@ -66776,7 +63242,7 @@ pub mod api { #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] #[doc = ""] #[doc = "This will waive the transaction fee if the `payee` is successfully migrated."] - update_payee { controller: ::subxt::ext::subxt_core::utils::AccountId32 }, + update_payee { controller: ::subxt_core::utils::AccountId32 }, #[codec(index = 28)] #[doc = "Updates a batch of controller accounts to their corresponding stash account if they are"] #[doc = "not the same. Ignores any controller accounts that do not exist, and does not operate if"] @@ -66788,7 +63254,7 @@ pub mod api { deprecate_controller_batch { controllers: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, }, #[codec(index = 29)] @@ -66804,10 +63270,9 @@ pub mod api { #[doc = "ledger associated with the stash. If the input parameters are not set, the ledger will"] #[doc = "be reset values from on-chain state."] restore_ledger { - stash: ::subxt::ext::subxt_core::utils::AccountId32, - maybe_controller: ::core::option::Option< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + stash: ::subxt_core::utils::AccountId32, + maybe_controller: + ::core::option::Option<::subxt_core::utils::AccountId32>, maybe_total: ::core::option::Option<::core::primitive::u128>, maybe_unlocking: ::core::option::Option< runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -66819,23 +63284,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -66845,23 +63306,19 @@ pub mod api { Remove, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -66963,23 +63420,19 @@ pub mod api { VirtualStakerNotAllowed, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -66993,23 +63446,23 @@ pub mod api { #[codec(index = 1)] #[doc = "The nominator has been rewarded by this amount to this destination."] Rewarded { - stash: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, dest: runtime_types::pallet_staking::RewardDestination< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "A staker (validator or nominator) has been slashed by the given amount."] Slashed { - staker: ::subxt::ext::subxt_core::utils::AccountId32, + staker: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A slash for the given validator, for the given percentage of their stake, at the given"] #[doc = "era as been reported."] SlashReported { - validator: ::subxt::ext::subxt_core::utils::AccountId32, + validator: ::subxt_core::utils::AccountId32, fraction: runtime_types::sp_arithmetic::per_things::Perbill, slash_era: ::core::primitive::u32, }, @@ -67026,44 +63479,44 @@ pub mod api { #[doc = "NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,"] #[doc = "it will not be emitted for staking rewards when they are added to stake."] Bonded { - stash: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 7)] #[doc = "An account has unbonded this amount."] Unbonded { - stash: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 8)] #[doc = "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`"] #[doc = "from the unlocking queue."] Withdrawn { - stash: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 9)] #[doc = "A nominator has been kicked from a validator."] Kicked { - nominator: ::subxt::ext::subxt_core::utils::AccountId32, - stash: ::subxt::ext::subxt_core::utils::AccountId32, + nominator: ::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, }, #[codec(index = 10)] #[doc = "The election failed. No new era is planned."] StakingElectionFailed, #[codec(index = 11)] #[doc = "An account has stopped participating as either a validator or nominator."] - Chilled { stash: ::subxt::ext::subxt_core::utils::AccountId32 }, + Chilled { stash: ::subxt_core::utils::AccountId32 }, #[codec(index = 12)] #[doc = "The stakers' rewards are getting paid."] PayoutStarted { era_index: ::core::primitive::u32, - validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, + validator_stash: ::subxt_core::utils::AccountId32, }, #[codec(index = 13)] #[doc = "A validator has set their preferences."] ValidatorPrefsSet { - stash: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt_core::utils::AccountId32, prefs: runtime_types::pallet_staking::ValidatorPrefs, }, #[codec(index = 14)] @@ -67084,103 +63537,94 @@ pub mod api { pub mod slashing { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SlashingSpans { pub span_index: ::core::primitive::u32, pub last_start: ::core::primitive::u32, pub last_nonzero_slash: ::core::primitive::u32, - pub prior: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, + pub prior: ::subxt_core::alloc::vec::Vec<::core::primitive::u32>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SpanRecord<_0> { pub slashed: _0, pub paid_out: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ActiveEraInfo { pub index: ::core::primitive::u32, pub start: ::core::option::Option<::core::primitive::u64>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EraRewardPoints<_0> { pub total: ::core::primitive::u32, - pub individual: - ::subxt::ext::subxt_core::utils::KeyedVec<_0, ::core::primitive::u32>, + pub individual: ::subxt_core::utils::KeyedVec<_0, ::core::primitive::u32>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Forcing { #[codec(index = 0)] NotForcing, @@ -67192,40 +63636,40 @@ pub mod api { ForceAlways, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Nominations { pub targets: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, pub submitted_in: ::core::primitive::u32, pub suppressed: ::core::primitive::bool, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RewardDestination<_0> { #[codec(index = 0)] Staked, @@ -67239,21 +63683,21 @@ pub mod api { None, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct StakingLedger { - pub stash: ::subxt::ext::subxt_core::utils::AccountId32, + pub stash: ::subxt_core::utils::AccountId32, #[codec(compact)] pub total: ::core::primitive::u128, #[codec(compact)] @@ -67267,40 +63711,40 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct UnappliedSlash<_0, _1> { pub validator: _0, pub own: _1, - pub others: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _1)>, - pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub others: ::subxt_core::alloc::vec::Vec<(_0, _1)>, + pub reporters: ::subxt_core::alloc::vec::Vec<_0>, pub payout: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct UnlockChunk<_0> { #[codec(compact)] pub value: _0, @@ -67308,19 +63752,19 @@ pub mod api { pub era: ::core::primitive::u32, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ValidatorPrefs { #[codec(compact)] pub commission: runtime_types::sp_arithmetic::per_things::Perbill, @@ -67332,29 +63776,25 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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."] sudo { - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -67365,7 +63805,7 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] sudo_unchecked_weight { - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, weight: runtime_types::sp_weights::weight_v2::Weight, @@ -67374,8 +63814,8 @@ pub mod api { #[doc = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] #[doc = "key."] set_key { - new: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + new: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -67385,11 +63825,11 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] sudo_as { - who: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -67400,23 +63840,19 @@ pub mod api { remove_key, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Error for the Sudo pallet."] pub enum Error { #[codec(index = 0)] @@ -67424,23 +63860,19 @@ pub mod api { RequireSudo, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -67452,8 +63884,8 @@ pub mod api { #[codec(index = 1)] #[doc = "The sudo key has been updated."] KeyChanged { - old: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, - new: ::subxt::ext::subxt_core::utils::AccountId32, + old: ::core::option::Option<::subxt_core::utils::AccountId32>, + new: ::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "The key was permanently removed."] @@ -67472,44 +63904,36 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { - # [codec (index = 0)] # [doc = "Stakes funds with a pool by transferring the bonded amount from member to pool account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to stake"] # [doc = "* `pool_id` - Target pool ID"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::MinimumBondNotMet`] - Amount below minimum bond"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* Member must have `existential deposit + amount` in account"] # [doc = "* Pool must be in [`PoolState::Open`] state"] join { # [codec (compact)] amount : :: core :: primitive :: u128 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Bond additional funds into an existing pool position."] # [doc = ""] # [doc = "Additional funds can come from either free balance or accumulated rewards."] # [doc = "Automatically pays out all pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `extra` - Source and amount of additional funds"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = "* Must have permission to bond extra if not self"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks permission"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* This transaction prioritizes readability and correctness over optimization"] # [doc = "* Multiple storage reads/writes are performed to reuse code"] # [doc = "* See `bond_extra_other` to bond pending rewards of other members"] bond_extra { pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 3)] # [doc = "Unbond points from a member's pool position, collecting any pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to unbond from"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `unbonding_points` - Amount of points to unbond"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is blocked and caller is root/bouncer (kick)"] # [doc = " - Pool is destroying and member is not depositor"] # [doc = " - Pool is destroying, member is depositor, and pool is empty"] # [doc = "* Permissioned (caller must be member) if:"] # [doc = " - Caller is not depositor"] # [doc = " - Caller is depositor, pool is destroying, and pool is empty"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NoBalanceToUnbond`] - Member has insufficient points"] # [doc = "* [`Error::DefensiveError`] - Not enough space in unbond pool"] # [doc = ""] # [doc = "# Note"] # [doc = "If no unlocking chunks are available, [`Call::pool_withdraw_unbonded`] can be called first."] # [doc = "The staking interface will attempt this automatically but may still return `NoMoreChunks`"] # [doc = "if chunks cannot be released."] unbond { member_account : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , # [codec (compact)] unbonding_points : :: core :: primitive :: u128 , } , # [codec (index = 4)] # [doc = "Withdraws unbonded funds from the pool's staking account."] # [doc = ""] # [doc = "Useful for clearing unlocking chunks when there are too many to call `unbond`."] # [doc = "Prevents `NoMoreChunks` errors from the staking system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Can be signed by any account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans to check"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotDestroying`] - Pool is in destroying state"] pool_withdraw_unbonded { pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Withdraw unbonded funds from a member account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is in destroy mode and target is not depositor"] # [doc = " - Target is depositor and only member in sub pools"] # [doc = " - Pool is blocked and caller is root/bouncer"] # [doc = "* Permissioned if caller is target and not depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to withdraw from"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolMemberNotFound`] - Member account not found"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::SubPoolsNotFound`] - Sub pools not found"] # [doc = "* [`Error::CannotWithdrawAny`] - No unbonded funds available"] # [doc = ""] # [doc = "If target is depositor, pool will be destroyed."] withdraw_unbonded { member_account : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "Create a new delegation pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the initial depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `name` - Optional pool name bounded by `T::MaxNameLength`"] # [doc = "* `icon` - Optional pool icon bounded by `T::MaxIconLength`"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::OverflowRisk`] - Pool ID increment would overflow"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] create { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 7)] # [doc = "Create a new delegation pool with a previously used pool ID."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `pool_id` - Pool ID to reuse"] # [doc = "* `name` - Optional pool name"] # [doc = "* `icon` - Optional pool icon"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolIdInUse`] - Pool ID is already in use"] # [doc = "* [`Error::InvalidPoolId`] - Pool ID is greater than last pool ID"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] create_with_pool_id { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 8)] # [doc = "Nominate validators on behalf of the pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool nominator or root role can nominate validators"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `validators` - List of validator accounts to nominate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Caller lacks nominator permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Forwards nomination call to staking pallet using pool's bonded account."] nominate { pool_id : :: core :: primitive :: u32 , validators : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "Updates the state of a pool. Once a pool is in `Destroying` state, its state cannot be"] # [doc = "changed again under any circumstances."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool bouncer or root role can set any state"] # [doc = "* Any account can set state to `Destroying` if pool fails `ok_to_be_open` conditions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `state` - New state to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::CanNotChangeState`] - Pool is in destroying state or caller lacks permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "State changes are validated through `ok_to_be_open` which checks pool properties like"] # [doc = "commission, member count and roles."] set_state { pool_id : :: core :: primitive :: u32 , state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 10)] # [doc = "Updates the metadata for a given pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the pool bouncer or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `metadata` - New metadata to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::MetadataExceedsMaxLen`] - Metadata length exceeds maximum allowed"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks required permissions"] set_metadata { pool_id : :: core :: primitive :: u32 , metadata : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 11)] # [doc = "Updates the global configuration parameters for nomination pools."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by Root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `min_join_bond` - Config operation for minimum bond to join a pool"] # [doc = "* `min_create_bond` - Config operation for minimum bond to create a pool "] # [doc = "* `max_pools` - Config operation for maximum number of pools"] # [doc = "* `global_max_commission` - Config operation for maximum global commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`DispatchError::BadOrigin`] - Caller is not Root"] set_configs { min_join_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , min_create_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , max_pools : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u32 > , global_max_commission : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < runtime_types :: sp_arithmetic :: per_things :: Perbill > , } , # [codec (index = 12)] # [doc = "Update the roles of a pool."] # [doc = ""] # [doc = "Updates root, nominator and bouncer roles for a given pool. The depositor role cannot be changed."] # [doc = "Emits a `RolesUpdated` event on successful update."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be Root or pool root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `new_root` - New root role configuration"] # [doc = "* `new_nominator` - New nominator role configuration "] # [doc = "* `new_bouncer` - New bouncer role configuration"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Origin does not have permission"] update_roles { pool_id : :: core :: primitive :: u32 , new_root : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , new_nominator : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , new_bouncer : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 13)] # [doc = "Chill on behalf of the pool by forwarding the call to the staking pallet."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be signed by pool nominator or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Origin lacks nomination permission"] chill { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 14)] # [doc = "Bond additional funds for a pool member into their respective pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must match member account for bonding from free balance/pending rewards"] # [doc = "* Any origin can bond from pending rewards if member has `PermissionlessAll` or"] # [doc = " `PermissionlessCompound` claim permissions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `member` - Pool member account to bond for"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `extra` - Amount to bond from free balance or pending rewards"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::PoolMemberNotFound`] - Account is not a member of pool"] # [doc = "* [`Error::NoPermission`] - Origin lacks permission to bond for member"] bond_extra_other { member : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 17)] # [doc = "Set or remove the commission rate and payee for a pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `new_commission` - Optional commission rate and payee. None removes existing commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] set_commission { pool_id : :: core :: primitive :: u32 , new_commission : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 18)] # [doc = "Set the maximum commission rate for a pool. Initial max can be set to any value, with only"] # [doc = "lower values allowed thereafter. Current commission will be reduced if above new max."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `max_commission` - The new maximum commission rate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] set_commission_max { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 19)] # [doc = "Set the commission change rate for a pool."] # [doc = ""] # [doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] # [doc = "restrictive than the current."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission management permission."] # [doc = "* `pool_id` - The identifier of the pool to set commission change rate for."] # [doc = "* `change_rate` - The new commission change rate configuration."] set_commission_change_rate { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 20)] # [doc = "Claim pending commission for a pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by an account with commission claim permission."] # [doc = "Pending commission is paid out and added to total claimed commission. Total pending commission"] # [doc = "is reset to zero."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission claim permission."] # [doc = "* `pool_id` - The identifier of the pool to claim commission from."] claim_commission { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 21)] # [doc = "Top up the deficit or withdraw the excess ED from the pool."] # [doc = ""] # [doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] # [doc = "pool. ED is subject to change and over time, the deposit in the reward account may be"] # [doc = "insufficient to cover the ED deficit of the pool or vice-versa where there is excess"] # [doc = "deposit to the pool. This call allows anyone to adjust the ED deposit of the"] # [doc = "pool by either topping up the deficit or claiming the excess."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed."] # [doc = "* `pool_id` - The identifier of the pool to adjust the deposit for."] adjust_pool_deposit { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "Set or remove a pool's commission claim permission."] # [doc = ""] # [doc = "Only the `Root` role of the pool is able to configure commission claim permissions."] # [doc = "This determines which accounts are allowed to claim the pool's pending commission."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by the pool's root account."] # [doc = "* `pool_id` - The identifier of the pool to set permissions for."] # [doc = "* `permission` - Optional commission claim permission configuration. If None, removes any existing permission."] set_commission_claim_permission { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > , } , # [codec (index = 23)] set_last_pool_id { pool_id : :: core :: primitive :: u32 , } , } + # [codec (index = 0)] # [doc = "Stakes funds with a pool by transferring the bonded amount from member to pool account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to stake"] # [doc = "* `pool_id` - Target pool ID"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::MinimumBondNotMet`] - Amount below minimum bond"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* Member must have `existential deposit + amount` in account"] # [doc = "* Pool must be in [`PoolState::Open`] state"] join { # [codec (compact)] amount : :: core :: primitive :: u128 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Bond additional funds into an existing pool position."] # [doc = ""] # [doc = "Additional funds can come from either free balance or accumulated rewards."] # [doc = "Automatically pays out all pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `extra` - Source and amount of additional funds"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = "* Must have permission to bond extra if not self"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks permission"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* This transaction prioritizes readability and correctness over optimization"] # [doc = "* Multiple storage reads/writes are performed to reuse code"] # [doc = "* See `bond_extra_other` to bond pending rewards of other members"] bond_extra { pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 3)] # [doc = "Unbond points from a member's pool position, collecting any pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to unbond from"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `unbonding_points` - Amount of points to unbond"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is blocked and caller is root/bouncer (kick)"] # [doc = " - Pool is destroying and member is not depositor"] # [doc = " - Pool is destroying, member is depositor, and pool is empty"] # [doc = "* Permissioned (caller must be member) if:"] # [doc = " - Caller is not depositor"] # [doc = " - Caller is depositor, pool is destroying, and pool is empty"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NoBalanceToUnbond`] - Member has insufficient points"] # [doc = "* [`Error::DefensiveError`] - Not enough space in unbond pool"] # [doc = ""] # [doc = "# Note"] # [doc = "If no unlocking chunks are available, [`Call::pool_withdraw_unbonded`] can be called first."] # [doc = "The staking interface will attempt this automatically but may still return `NoMoreChunks`"] # [doc = "if chunks cannot be released."] unbond { member_account : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , # [codec (compact)] unbonding_points : :: core :: primitive :: u128 , } , # [codec (index = 4)] # [doc = "Withdraws unbonded funds from the pool's staking account."] # [doc = ""] # [doc = "Useful for clearing unlocking chunks when there are too many to call `unbond`."] # [doc = "Prevents `NoMoreChunks` errors from the staking system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Can be signed by any account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans to check"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotDestroying`] - Pool is in destroying state"] pool_withdraw_unbonded { pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Withdraw unbonded funds from a member account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is in destroy mode and target is not depositor"] # [doc = " - Target is depositor and only member in sub pools"] # [doc = " - Pool is blocked and caller is root/bouncer"] # [doc = "* Permissioned if caller is target and not depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to withdraw from"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolMemberNotFound`] - Member account not found"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::SubPoolsNotFound`] - Sub pools not found"] # [doc = "* [`Error::CannotWithdrawAny`] - No unbonded funds available"] # [doc = ""] # [doc = "If target is depositor, pool will be destroyed."] withdraw_unbonded { member_account : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "Create a new delegation pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the initial depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `name` - Optional pool name bounded by `T::MaxNameLength`"] # [doc = "* `icon` - Optional pool icon bounded by `T::MaxIconLength`"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::OverflowRisk`] - Pool ID increment would overflow"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] create { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 7)] # [doc = "Create a new delegation pool with a previously used pool ID."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `pool_id` - Pool ID to reuse"] # [doc = "* `name` - Optional pool name"] # [doc = "* `icon` - Optional pool icon"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolIdInUse`] - Pool ID is already in use"] # [doc = "* [`Error::InvalidPoolId`] - Pool ID is greater than last pool ID"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] create_with_pool_id { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 8)] # [doc = "Nominate validators on behalf of the pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool nominator or root role can nominate validators"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `validators` - List of validator accounts to nominate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Caller lacks nominator permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Forwards nomination call to staking pallet using pool's bonded account."] nominate { pool_id : :: core :: primitive :: u32 , validators : :: subxt_core :: alloc :: vec :: Vec < :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "Updates the state of a pool. Once a pool is in `Destroying` state, its state cannot be"] # [doc = "changed again under any circumstances."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool bouncer or root role can set any state"] # [doc = "* Any account can set state to `Destroying` if pool fails `ok_to_be_open` conditions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `state` - New state to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::CanNotChangeState`] - Pool is in destroying state or caller lacks permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "State changes are validated through `ok_to_be_open` which checks pool properties like"] # [doc = "commission, member count and roles."] set_state { pool_id : :: core :: primitive :: u32 , state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 10)] # [doc = "Updates the metadata for a given pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the pool bouncer or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `metadata` - New metadata to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::MetadataExceedsMaxLen`] - Metadata length exceeds maximum allowed"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks required permissions"] set_metadata { pool_id : :: core :: primitive :: u32 , metadata : :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 11)] # [doc = "Updates the global configuration parameters for nomination pools."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by Root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `min_join_bond` - Config operation for minimum bond to join a pool"] # [doc = "* `min_create_bond` - Config operation for minimum bond to create a pool "] # [doc = "* `max_pools` - Config operation for maximum number of pools"] # [doc = "* `global_max_commission` - Config operation for maximum global commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`DispatchError::BadOrigin`] - Caller is not Root"] set_configs { min_join_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , min_create_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , max_pools : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u32 > , global_max_commission : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < runtime_types :: sp_arithmetic :: per_things :: Perbill > , } , # [codec (index = 12)] # [doc = "Update the roles of a pool."] # [doc = ""] # [doc = "Updates root, nominator and bouncer roles for a given pool. The depositor role cannot be changed."] # [doc = "Emits a `RolesUpdated` event on successful update."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be Root or pool root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `new_root` - New root role configuration"] # [doc = "* `new_nominator` - New nominator role configuration "] # [doc = "* `new_bouncer` - New bouncer role configuration"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Origin does not have permission"] update_roles { pool_id : :: core :: primitive :: u32 , new_root : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt_core :: utils :: AccountId32 > , new_nominator : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt_core :: utils :: AccountId32 > , new_bouncer : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 13)] # [doc = "Chill on behalf of the pool by forwarding the call to the staking pallet."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be signed by pool nominator or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Origin lacks nomination permission"] chill { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 14)] # [doc = "Bond additional funds for a pool member into their respective pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must match member account for bonding from free balance/pending rewards"] # [doc = "* Any origin can bond from pending rewards if member has `PermissionlessAll` or"] # [doc = " `PermissionlessCompound` claim permissions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `member` - Pool member account to bond for"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `extra` - Amount to bond from free balance or pending rewards"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::PoolMemberNotFound`] - Account is not a member of pool"] # [doc = "* [`Error::NoPermission`] - Origin lacks permission to bond for member"] bond_extra_other { member : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 17)] # [doc = "Set or remove the commission rate and payee for a pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `new_commission` - Optional commission rate and payee. None removes existing commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] set_commission { pool_id : :: core :: primitive :: u32 , new_commission : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 18)] # [doc = "Set the maximum commission rate for a pool. Initial max can be set to any value, with only"] # [doc = "lower values allowed thereafter. Current commission will be reduced if above new max."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `max_commission` - The new maximum commission rate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] set_commission_max { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 19)] # [doc = "Set the commission change rate for a pool."] # [doc = ""] # [doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] # [doc = "restrictive than the current."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission management permission."] # [doc = "* `pool_id` - The identifier of the pool to set commission change rate for."] # [doc = "* `change_rate` - The new commission change rate configuration."] set_commission_change_rate { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 20)] # [doc = "Claim pending commission for a pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by an account with commission claim permission."] # [doc = "Pending commission is paid out and added to total claimed commission. Total pending commission"] # [doc = "is reset to zero."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission claim permission."] # [doc = "* `pool_id` - The identifier of the pool to claim commission from."] claim_commission { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 21)] # [doc = "Top up the deficit or withdraw the excess ED from the pool."] # [doc = ""] # [doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] # [doc = "pool. ED is subject to change and over time, the deposit in the reward account may be"] # [doc = "insufficient to cover the ED deficit of the pool or vice-versa where there is excess"] # [doc = "deposit to the pool. This call allows anyone to adjust the ED deposit of the"] # [doc = "pool by either topping up the deficit or claiming the excess."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed."] # [doc = "* `pool_id` - The identifier of the pool to adjust the deposit for."] adjust_pool_deposit { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "Set or remove a pool's commission claim permission."] # [doc = ""] # [doc = "Only the `Root` role of the pool is able to configure commission claim permissions."] # [doc = "This determines which accounts are allowed to claim the pool's pending commission."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by the pool's root account."] # [doc = "* `pool_id` - The identifier of the pool to set permissions for."] # [doc = "* `permission` - Optional commission claim permission configuration. If None, removes any existing permission."] set_commission_claim_permission { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > , } , # [codec (index = 23)] set_last_pool_id { pool_id : :: core :: primitive :: u32 , } , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum DefensiveError { #[codec(index = 0)] NotEnoughSpaceInUnbondPool, @@ -67523,23 +63947,19 @@ pub mod api { BondedStashKilledPrematurely, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -67650,44 +64070,36 @@ pub mod api { NoBalanceToUnbond, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Events of this pallet."] pub enum Event { - # [codec (index = 0)] # [doc = "A pool has been created."] Created { depositor : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "A member has become bonded in a pool."] Bonded { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , bonded : :: core :: primitive :: u128 , joined : :: core :: primitive :: bool , } , # [codec (index = 2)] # [doc = "A payout has been made to a member."] PaidOut { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , payout : :: core :: primitive :: u128 , } , # [codec (index = 3)] # [doc = "A member has unbonded from their pool."] # [doc = ""] # [doc = "- `balance` is the corresponding balance of the number of points that has been"] # [doc = " requested to be unbonded (the argument of the `unbond` transaction) from the bonded"] # [doc = " pool."] # [doc = "- `points` is the number of points that are issued as a result of `balance` being"] # [doc = " dissolved into the corresponding unbonding pool."] # [doc = "- `era` is the era in which the balance will be unbonded."] # [doc = "In the absence of slashing, these values will match. In the presence of slashing, the"] # [doc = "number of points that are issued in the unbonding pool will be less than the amount"] # [doc = "requested to be unbonded."] Unbonded { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , era : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "A member has withdrawn from their pool."] # [doc = ""] # [doc = "The given number of `points` have been dissolved in return for `balance`."] # [doc = ""] # [doc = "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance"] # [doc = "will be 1."] Withdrawn { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "A pool has been destroyed."] Destroyed { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "The state of a pool has changed"] StateChanged { pool_id : :: core :: primitive :: u32 , new_state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 7)] # [doc = "A member has been removed from a pool."] # [doc = ""] # [doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] MemberRemoved { pool_id : :: core :: primitive :: u32 , member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 8)] # [doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] # [doc = "can never change."] RolesUpdated { root : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , bouncer : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , nominator : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "The active balance of pool `pool_id` has been slashed to `balance`."] PoolSlashed { pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 10)] # [doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] UnbondingPoolSlashed { pool_id : :: core :: primitive :: u32 , era : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "A pool's commission setting has been changed."] PoolCommissionUpdated { pool_id : :: core :: primitive :: u32 , current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 12)] # [doc = "A pool's maximum commission setting has been changed."] PoolMaxCommissionUpdated { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 13)] # [doc = "A pool's commission `change_rate` has been changed."] PoolCommissionChangeRateUpdated { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 14)] # [doc = "Pool commission claim permission has been updated."] PoolCommissionClaimPermissionUpdated { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > , } , # [codec (index = 15)] # [doc = "Pool commission has been claimed."] PoolCommissionClaimed { pool_id : :: core :: primitive :: u32 , commission : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Topped up deficit in frozen ED of the reward pool."] MinBalanceDeficitAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 17)] # [doc = "Claimed excess frozen ED of the reward pool."] MinBalanceExcessAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 18)] # [doc = "The last PoolId is updated"] LastPoolIdUpdated { pool_id : :: core :: primitive :: u32 , } , } + # [codec (index = 0)] # [doc = "A pool has been created."] Created { depositor : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "A member has become bonded in a pool."] Bonded { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , bonded : :: core :: primitive :: u128 , joined : :: core :: primitive :: bool , } , # [codec (index = 2)] # [doc = "A payout has been made to a member."] PaidOut { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , payout : :: core :: primitive :: u128 , } , # [codec (index = 3)] # [doc = "A member has unbonded from their pool."] # [doc = ""] # [doc = "- `balance` is the corresponding balance of the number of points that has been"] # [doc = " requested to be unbonded (the argument of the `unbond` transaction) from the bonded"] # [doc = " pool."] # [doc = "- `points` is the number of points that are issued as a result of `balance` being"] # [doc = " dissolved into the corresponding unbonding pool."] # [doc = "- `era` is the era in which the balance will be unbonded."] # [doc = "In the absence of slashing, these values will match. In the presence of slashing, the"] # [doc = "number of points that are issued in the unbonding pool will be less than the amount"] # [doc = "requested to be unbonded."] Unbonded { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , era : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "A member has withdrawn from their pool."] # [doc = ""] # [doc = "The given number of `points` have been dissolved in return for `balance`."] # [doc = ""] # [doc = "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance"] # [doc = "will be 1."] Withdrawn { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "A pool has been destroyed."] Destroyed { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "The state of a pool has changed"] StateChanged { pool_id : :: core :: primitive :: u32 , new_state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 7)] # [doc = "A member has been removed from a pool."] # [doc = ""] # [doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] MemberRemoved { pool_id : :: core :: primitive :: u32 , member : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 8)] # [doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] # [doc = "can never change."] RolesUpdated { root : :: core :: option :: Option < :: subxt_core :: utils :: AccountId32 > , bouncer : :: core :: option :: Option < :: subxt_core :: utils :: AccountId32 > , nominator : :: core :: option :: Option < :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "The active balance of pool `pool_id` has been slashed to `balance`."] PoolSlashed { pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 10)] # [doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] UnbondingPoolSlashed { pool_id : :: core :: primitive :: u32 , era : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "A pool's commission setting has been changed."] PoolCommissionUpdated { pool_id : :: core :: primitive :: u32 , current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 12)] # [doc = "A pool's maximum commission setting has been changed."] PoolMaxCommissionUpdated { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 13)] # [doc = "A pool's commission `change_rate` has been changed."] PoolCommissionChangeRateUpdated { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 14)] # [doc = "Pool commission claim permission has been updated."] PoolCommissionClaimPermissionUpdated { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > , } , # [codec (index = 15)] # [doc = "Pool commission has been claimed."] PoolCommissionClaimed { pool_id : :: core :: primitive :: u32 , commission : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Topped up deficit in frozen ED of the reward pool."] MinBalanceDeficitAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 17)] # [doc = "Claimed excess frozen ED of the reward pool."] MinBalanceExcessAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 18)] # [doc = "The last PoolId is updated"] LastPoolIdUpdated { pool_id : :: core :: primitive :: u32 , } , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum FreezeReason { #[codec(index = 0)] PoolMinBalance, @@ -67698,51 +64110,43 @@ pub mod api { pub mod bonded_pool { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BondedPoolInner { pub commission: runtime_types::pallet_tangle_lst::types::commission::Commission, pub roles: runtime_types::pallet_tangle_lst::types::pools::PoolRoles< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, pub state: runtime_types::pallet_tangle_lst::types::pools::PoolState, pub metadata: runtime_types::pallet_tangle_lst::types::bonded_pool::PoolMetadata, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PoolMetadata { pub name: ::core::option::Option< runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -67759,64 +64163,52 @@ pub mod api { pub mod commission { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] - pub struct Commission { pub current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) > , pub max : :: core :: option :: Option < runtime_types :: sp_arithmetic :: per_things :: Perbill > , pub change_rate : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > > , pub throttle_from : :: core :: option :: Option < :: core :: primitive :: u64 > , pub claim_permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > , } + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct Commission { pub current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt_core :: utils :: AccountId32 ,) > , pub max : :: core :: option :: Option < runtime_types :: sp_arithmetic :: per_things :: Perbill > , pub change_rate : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > > , pub throttle_from : :: core :: option :: Option < :: core :: primitive :: u64 > , pub claim_permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct CommissionChangeRate<_0> { pub max_increase: runtime_types::sp_arithmetic::per_things::Perbill, pub min_delay: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum CommissionClaimPermission<_0> { #[codec(index = 0)] Permissionless, @@ -67827,23 +64219,19 @@ pub mod api { pub mod pools { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PoolMember { pub unbonding_eras: runtime_types::bounded_collections::bounded_btree_map::BoundedBTreeMap< @@ -67852,23 +64240,19 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, @@ -67876,23 +64260,19 @@ pub mod api { pub bouncer: ::core::option::Option<_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum PoolState { #[codec(index = 0)] Open, @@ -67905,23 +64285,19 @@ pub mod api { pub mod sub_pools { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RewardPool { pub last_recorded_reward_counter: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -67931,23 +64307,19 @@ pub mod api { pub total_commission_claimed: ::core::primitive::u128, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SubPools { pub no_era: runtime_types::pallet_tangle_lst::types::sub_pools::UnbondPool, pub with_era: @@ -67957,68 +64329,56 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct UnbondPool { pub points: ::core::primitive::u128, pub balance: ::core::primitive::u128, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum BondExtra<_0> { #[codec(index = 0)] FreeBalance(_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ClaimPermission { #[codec(index = 0)] Permissioned, @@ -68030,23 +64390,19 @@ pub mod api { PermissionlessAll, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -68062,23 +64418,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -68113,30 +64465,26 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32, + who: ::subxt_core::utils::AccountId32, actual_fee: ::core::primitive::u128, tip: ::core::primitive::u128, }, @@ -68145,23 +64493,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct FeeDetails<_0> { pub inclusion_fee: ::core::option::Option< runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, @@ -68169,46 +64513,38 @@ pub mod api { pub tip: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RuntimeDispatchInfo<_0, _1> { pub weight: _1, pub class: runtime_types::frame_support::dispatch::DispatchClass, @@ -68216,34 +64552,34 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -68256,23 +64592,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 3)] @@ -68296,8 +64628,8 @@ pub mod api { spend_local { #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -68355,12 +64687,11 @@ pub mod api { #[doc = ""] #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] spend { - asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box<()>, + asset_kind: ::subxt_core::alloc::boxed::Box<()>, #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + beneficiary: + ::subxt_core::alloc::boxed::Box<::subxt_core::utils::AccountId32>, valid_from: ::core::option::Option<::core::primitive::u64>, }, #[codec(index = 6)] @@ -68425,23 +64756,19 @@ pub mod api { void_spend { index: ::core::primitive::u32 }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Error for the treasury pallet."] pub enum Error { #[codec(index = 0)] @@ -68480,23 +64807,19 @@ pub mod api { Inconclusive, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -68507,7 +64830,7 @@ pub mod api { Awarded { proposal_index: ::core::primitive::u32, award: ::core::primitive::u128, - account: ::subxt::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "Some of our funds have been burnt."] @@ -68523,7 +64846,7 @@ pub mod api { SpendApproved { proposal_index: ::core::primitive::u32, amount: ::core::primitive::u128, - beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::AccountId32, }, #[codec(index = 6)] #[doc = "The inactive funds of the pallet have been updated."] @@ -68537,7 +64860,7 @@ pub mod api { index: ::core::primitive::u32, asset_kind: (), amount: ::core::primitive::u128, - beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, + beneficiary: ::subxt_core::utils::AccountId32, valid_from: ::core::primitive::u64, expire_at: ::core::primitive::u64, }, @@ -68557,19 +64880,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum PaymentState<_0> { #[codec(index = 0)] Pending, @@ -68579,19 +64902,19 @@ pub mod api { Failed, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Proposal<_0, _1> { pub proposer: _0, pub value: _1, @@ -68599,19 +64922,19 @@ pub mod api { pub bond: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SpendStatus<_0, _1, _2, _3, _4> { pub asset_kind: _0, pub amount: _1, @@ -68628,23 +64951,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -68679,23 +64998,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -68711,23 +65026,19 @@ pub mod api { NotFound, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -68762,23 +65073,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -68801,7 +65108,7 @@ pub mod api { #[doc = "and the error of the failed call. If all were successful, then the `BatchCompleted`"] #[doc = "event is deposited."] batch { - calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + calls: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -68821,7 +65128,7 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_."] as_derivative { index: ::core::primitive::u16, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -68840,7 +65147,7 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(C) where C is the number of calls to be batched."] batch_all { - calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + calls: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -68852,10 +65159,10 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(1)."] dispatch_as { - as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + as_origin: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::OriginCaller, >, - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -68874,7 +65181,7 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(C) where C is the number of calls to be batched."] force_batch { - calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + calls: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -68886,30 +65193,26 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] with_weight { - call: ::subxt::ext::subxt_core::alloc::boxed::Box< + call: ::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, weight: runtime_types::sp_weights::weight_v2::Weight, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -68917,23 +65220,19 @@ pub mod api { TooManyCalls, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -68969,23 +65268,19 @@ pub mod api { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -69012,8 +65307,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] vest_other { - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -69032,8 +65327,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] vested_transfer { - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -69057,12 +65352,12 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] force_vested_transfer { - source: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + source: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - target: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -69104,31 +65399,27 @@ pub mod api { #[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::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt_core::utils::MultiAddress< + ::subxt_core::utils::AccountId32, ::core::primitive::u32, >, schedule_index: ::core::primitive::u32, }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Error for the vesting pallet."] pub enum Error { #[codec(index = 0)] @@ -69149,57 +65440,49 @@ pub mod api { InvalidScheduleParams, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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::ext::subxt_core::utils::AccountId32, + account: ::subxt_core::utils::AccountId32, unvested: ::core::primitive::u128, }, #[codec(index = 1)] #[doc = "An \\[account\\] has become fully vested."] - VestingCompleted { account: ::subxt::ext::subxt_core::utils::AccountId32 }, + VestingCompleted { account: ::subxt_core::utils::AccountId32 }, } } pub mod vesting_info { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct VestingInfo<_0, _1> { pub locked: _0, pub per_block: _0, @@ -69207,19 +65490,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Releases { #[codec(index = 0)] V0, @@ -69230,42 +65513,42 @@ pub mod api { pub mod primitive_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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct U256(pub [::core::primitive::u64; 4usize]); } pub mod rpc_primitives_txpool { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TxPoolResponse { - pub ready: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub ready: ::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::TransactionV2, >, - pub future: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub future: ::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::TransactionV2, >, } @@ -69275,123 +65558,103 @@ pub mod api { pub mod fixed_point { use super::runtime_types; #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct FixedU128(pub ::core::primitive::u128); } pub mod per_things { use super::runtime_types; #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PerU16(pub ::core::primitive::u16); #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Perbill(pub ::core::primitive::u32); #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Percent(pub ::core::primitive::u8); #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Permill(pub ::core::primitive::u32); } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -69406,45 +65669,37 @@ pub mod api { pub mod app { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Public(pub [::core::primitive::u8; 32usize]); } pub mod digests { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum NextConfigDescriptor { #[codec(index = 1)] V1 { @@ -69453,23 +65708,19 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum PreDigest { #[codec(index = 1)] Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), @@ -69481,68 +65732,56 @@ pub mod api { SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -69550,19 +65789,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum AllowedSlots { #[codec(index = 0)] PrimarySlots, @@ -69572,24 +65811,24 @@ pub mod api { PrimaryAndSecondaryVRFSlots, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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: ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub authorities: ::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>, @@ -69597,42 +65836,42 @@ pub mod api { pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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: ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub authorities: ::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>, @@ -69640,21 +65879,21 @@ pub mod api { pub config: runtime_types::sp_consensus_babe::BabeEpochConfiguration, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OpaqueKeyOwnershipProof( - pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); } pub mod sp_consensus_grandpa { @@ -69662,58 +65901,50 @@ pub mod api { pub mod app { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Public(pub [::core::primitive::u8; 32usize]); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Signature(pub [::core::primitive::u8; 64usize]); } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Equivocation<_0, _1> { #[codec(index = 0)] Prevote( @@ -69733,19 +65964,19 @@ pub mod api { ), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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>, @@ -69754,19 +65985,19 @@ pub mod api { pub mod sp_consensus_slots { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { pub offender: _1, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -69774,20 +66005,20 @@ pub mod api { pub second_header: _0, } #[derive( - :: 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, + :: subxt_core :: ext :: codec :: CompactAs, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Slot(pub ::core::primitive::u64); } pub mod sp_core { @@ -69795,23 +66026,19 @@ pub mod api { pub mod crypto { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } pub mod sr25519 { @@ -69819,23 +66046,19 @@ pub mod api { pub mod vrf { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct VrfSignature { pub pre_output: [::core::primitive::u8; 32usize], pub proof: [::core::primitive::u8; 64usize], @@ -69843,119 +66066,116 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_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>, - ); + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct OpaqueMetadata(pub ::subxt_core::alloc::vec::Vec<::core::primitive::u8>); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Void {} } pub mod sp_inherents { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: 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 :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct InherentData { - pub data: ::subxt::ext::subxt_core::utils::KeyedVec< + pub data: ::subxt_core::utils::KeyedVec< [::core::primitive::u8; 8usize], - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, } } pub mod sp_npos_elections { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ElectionScore { pub minimal_stake: ::core::primitive::u128, pub sum_stake: ::core::primitive::u128, pub sum_stake_squared: ::core::primitive::u128, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Support<_0> { pub total: ::core::primitive::u128, - pub voters: - ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, ::core::primitive::u128)>, + pub voters: ::subxt_core::alloc::vec::Vec<(_0, ::core::primitive::u128)>, } } pub mod sp_runtime { @@ -69965,89 +66185,77 @@ pub mod api { pub mod block { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Block<_0, _1> { pub header: _0, - pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + pub extrinsics: ::subxt_core::alloc::vec::Vec<_1>, } } pub mod digest { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Digest { - pub logs: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub logs: ::subxt_core::alloc::vec::Vec< runtime_types::sp_runtime::generic::digest::DigestItem, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum DigestItem { #[codec(index = 6)] PreRuntime( [::core::primitive::u8; 4usize], - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 4)] Consensus( [::core::primitive::u8; 4usize], - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 5)] Seal( [::core::primitive::u8; 4usize], - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 0)] - Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), + Other(::subxt_core::alloc::vec::Vec<::core::primitive::u8>), #[codec(index = 8)] RuntimeEnvironmentUpdated, } @@ -70055,23 +66263,19 @@ pub mod api { pub mod era { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Era { #[codec(index = 0)] Immortal, @@ -70590,29 +66794,25 @@ pub mod api { pub mod header { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Header<_0> { - pub parent_hash: ::subxt::ext::subxt_core::utils::H256, + pub parent_hash: ::subxt_core::utils::H256, #[codec(compact)] pub number: _0, - pub state_root: ::subxt::ext::subxt_core::utils::H256, - pub extrinsics_root: ::subxt::ext::subxt_core::utils::H256, + pub state_root: ::subxt_core::utils::H256, + pub extrinsics_root: ::subxt_core::utils::H256, pub digest: runtime_types::sp_runtime::generic::digest::Digest, } } @@ -70620,45 +66820,37 @@ pub mod api { pub mod traits { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BlakeTwo256; } pub mod transaction_validity { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum InvalidTransaction { #[codec(index = 0)] Call, @@ -70684,23 +66876,19 @@ pub mod api { BadSigner, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum TransactionSource { #[codec(index = 0)] InBlock, @@ -70710,23 +66898,19 @@ pub mod api { External, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum TransactionValidityError { #[codec(index = 0)] Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), @@ -70734,23 +66918,19 @@ pub mod api { Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum UnknownTransaction { #[codec(index = 0)] CannotLookup, @@ -70760,49 +66940,45 @@ pub mod api { Custom(::core::primitive::u8), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ValidTransaction { pub priority: ::core::primitive::u64, - pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub requires: ::subxt_core::alloc::vec::Vec< + ::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 provides: ::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, pub longevity: ::core::primitive::u64, pub propagate: ::core::primitive::bool, } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum DispatchError { #[codec(index = 0)] Other, @@ -70834,19 +67010,19 @@ pub mod api { RootNotAllowed, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ExtrinsicInclusionMode { #[codec(index = 0)] AllExtrinsics, @@ -70854,37 +67030,37 @@ pub mod api { OnlyInherents, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum MultiSignature { #[codec(index = 0)] Ed25519([::core::primitive::u8; 64usize]), @@ -70894,36 +67070,34 @@ pub mod api { Ecdsa([::core::primitive::u8; 65usize]), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] - pub struct OpaqueValue( - pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - ); + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + pub struct OpaqueValue(pub ::subxt_core::alloc::vec::Vec<::core::primitive::u8>); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -70947,19 +67121,19 @@ pub mod api { Blocked, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -70970,23 +67144,23 @@ pub mod api { pub mod sp_session { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MembershipProof { pub session: ::core::primitive::u32, - pub trie_nodes: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub trie_nodes: ::subxt_core::alloc::vec::Vec< + ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, pub validator_count: ::core::primitive::u32, } @@ -70996,105 +67170,101 @@ pub mod api { pub mod offence { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OffenceDetails<_0, _1> { pub offender: _1, - pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub reporters: ::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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Exposure<_0, _1> { #[codec(compact)] pub total: _1, #[codec(compact)] pub own: _1, - pub others: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub others: ::subxt_core::alloc::vec::Vec< runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ExposurePage<_0, _1> { #[codec(compact)] pub page_total: _1, - pub others: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub others: ::subxt_core::alloc::vec::Vec< runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct IndividualExposure<_0, _1> { pub who: _0, #[codec(compact)] pub value: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PagedExposureMetadata<_0> { #[codec(compact)] pub total: _0, @@ -71107,26 +67277,26 @@ pub mod api { pub mod sp_version { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RuntimeVersion { - pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, - pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, + pub spec_name: ::subxt_core::alloc::string::String, + pub impl_name: ::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: ::subxt::ext::subxt_core::alloc::vec::Vec<( + pub apis: ::subxt_core::alloc::vec::Vec<( [::core::primitive::u8; 8usize], ::core::primitive::u32, )>, @@ -71139,23 +67309,19 @@ pub mod api { pub mod weight_v2 { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Weight { #[codec(compact)] pub ref_time: ::core::primitive::u64, @@ -71164,19 +67330,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -71189,10 +67355,10 @@ pub mod api { pub mod field { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71200,44 +67366,36 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct BoundedString( pub runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, ); #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Field<_1> { - # [codec (index = 0)] None , # [codec (index = 1)] Bool (:: core :: primitive :: bool ,) , # [codec (index = 2)] Uint8 (:: core :: primitive :: u8 ,) , # [codec (index = 3)] Int8 (:: core :: primitive :: i8 ,) , # [codec (index = 4)] Uint16 (:: core :: primitive :: u16 ,) , # [codec (index = 5)] Int16 (:: core :: primitive :: i16 ,) , # [codec (index = 6)] Uint32 (:: core :: primitive :: u32 ,) , # [codec (index = 7)] Int32 (:: core :: primitive :: i32 ,) , # [codec (index = 8)] Uint64 (:: core :: primitive :: u64 ,) , # [codec (index = 9)] Int64 (:: core :: primitive :: i64 ,) , # [codec (index = 10)] String (runtime_types :: tangle_primitives :: services :: field :: BoundedString ,) , # [codec (index = 12)] Array (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 13)] List (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 14)] Struct (runtime_types :: tangle_primitives :: services :: field :: BoundedString , :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < (runtime_types :: tangle_primitives :: services :: field :: BoundedString , runtime_types :: tangle_primitives :: services :: field :: Field < _1 > ,) > > ,) , # [codec (index = 100)] AccountId (_1 ,) , } + # [codec (index = 0)] None , # [codec (index = 1)] Bool (:: core :: primitive :: bool ,) , # [codec (index = 2)] Uint8 (:: core :: primitive :: u8 ,) , # [codec (index = 3)] Int8 (:: core :: primitive :: i8 ,) , # [codec (index = 4)] Uint16 (:: core :: primitive :: u16 ,) , # [codec (index = 5)] Int16 (:: core :: primitive :: i16 ,) , # [codec (index = 6)] Uint32 (:: core :: primitive :: u32 ,) , # [codec (index = 7)] Int32 (:: core :: primitive :: i32 ,) , # [codec (index = 8)] Uint64 (:: core :: primitive :: u64 ,) , # [codec (index = 9)] Int64 (:: core :: primitive :: i64 ,) , # [codec (index = 10)] String (runtime_types :: tangle_primitives :: services :: field :: BoundedString ,) , # [codec (index = 12)] Array (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 13)] List (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 14)] Struct (runtime_types :: tangle_primitives :: services :: field :: BoundedString , :: subxt_core :: alloc :: boxed :: Box < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < (runtime_types :: tangle_primitives :: services :: field :: BoundedString , runtime_types :: tangle_primitives :: services :: field :: Field < _1 > ,) > > ,) , # [codec (index = 100)] AccountId (_1 ,) , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71245,14 +67403,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum FieldType { #[codec(index = 0)] Void, @@ -71280,29 +67434,29 @@ pub mod api { Bytes, #[codec(index = 12)] Optional( - ::subxt::ext::subxt_core::alloc::boxed::Box< + ::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, ), #[codec(index = 13)] Array( ::core::primitive::u64, - ::subxt::ext::subxt_core::alloc::boxed::Box< + ::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, ), #[codec(index = 14)] List( - ::subxt::ext::subxt_core::alloc::boxed::Box< + ::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, ), #[codec(index = 15)] Struct( - ::subxt::ext::subxt_core::alloc::boxed::Box< + ::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, - ::subxt::ext::subxt_core::alloc::boxed::Box< + ::subxt_core::alloc::boxed::Box< runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::tangle_primitives::services::field::FieldType, runtime_types::tangle_primitives::services::field::FieldType, @@ -71314,23 +67468,19 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ApprovalState { #[codec(index = 0)] Pending, @@ -71342,10 +67492,10 @@ pub mod api { Rejected, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71353,14 +67503,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Architecture { #[codec(index = 0)] Wasm, @@ -71384,34 +67530,30 @@ pub mod api { RiscV64, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Asset<_0> { #[codec(index = 0)] Custom(_0), #[codec(index = 1)] - Erc20(::subxt::ext::subxt_core::utils::H160), + Erc20(::subxt_core::utils::H160), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71419,23 +67561,19 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum BlueprintServiceManager { #[codec(index = 0)] - Evm(::subxt::ext::subxt_core::utils::H160), + Evm(::subxt_core::utils::H160), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71443,24 +67581,20 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ContainerGadget { pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::GadgetSource, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71468,14 +67602,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Gadget { #[codec(index = 0)] Wasm(runtime_types::tangle_primitives::services::WasmGadget), @@ -71485,10 +67615,10 @@ pub mod api { Container(runtime_types::tangle_primitives::services::ContainerGadget), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71496,14 +67626,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GadgetBinary { pub arch: runtime_types::tangle_primitives::services::Architecture, pub os: runtime_types::tangle_primitives::services::OperatingSystem, @@ -71511,10 +67637,10 @@ pub mod api { pub sha256: [::core::primitive::u8; 32usize], } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71522,22 +67648,18 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GadgetSource { pub fetcher: runtime_types::tangle_primitives::services::GadgetSourceFetcher, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71545,14 +67667,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum GadgetSourceFetcher { #[codec(index = 0)] IPFS( @@ -71570,10 +67688,10 @@ pub mod api { Testing(runtime_types::tangle_primitives::services::TestFetcher), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71581,14 +67699,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct GithubFetcher { pub owner: runtime_types::tangle_primitives::services::field::BoundedString, pub repo: runtime_types::tangle_primitives::services::field::BoundedString, @@ -71598,10 +67712,10 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71609,37 +67723,29 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ImageRegistryFetcher { pub registry: runtime_types::tangle_primitives::services::field::BoundedString, pub image: runtime_types::tangle_primitives::services::field::BoundedString, pub tag: runtime_types::tangle_primitives::services::field::BoundedString, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct JobCall<_1> { pub service_id: ::core::primitive::u64, pub job: ::core::primitive::u8, @@ -71648,23 +67754,19 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct JobCallResult<_1> { pub service_id: ::core::primitive::u64, pub call_id: ::core::primitive::u64, @@ -71673,10 +67775,10 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71684,14 +67786,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct JobDefinition { pub metadata: runtime_types::tangle_primitives::services::JobMetadata, pub params: runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -71702,10 +67800,10 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71713,14 +67811,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct JobMetadata { pub name: runtime_types::tangle_primitives::services::field::BoundedString, pub description: ::core::option::Option< @@ -71728,10 +67822,10 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71739,14 +67833,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum MasterBlueprintServiceManagerRevision { #[codec(index = 0)] Latest, @@ -71754,10 +67844,10 @@ pub mod api { Specific(::core::primitive::u32), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71765,24 +67855,20 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct NativeGadget { pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::GadgetSource, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71790,14 +67876,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum OperatingSystem { #[codec(index = 0)] Unknown, @@ -71811,45 +67893,37 @@ pub mod api { BSD, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OperatorPreferences { pub key: [::core::primitive::u8; 65usize], pub price_targets: runtime_types::tangle_primitives::services::PriceTargets, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct OperatorProfile { pub services: runtime_types::bounded_collections::bounded_btree_set::BoundedBTreeSet< @@ -71861,23 +67935,19 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct PriceTargets { pub cpu: ::core::primitive::u64, pub mem: ::core::primitive::u64, @@ -71886,48 +67956,40 @@ pub mod api { pub storage_nvme: ::core::primitive::u64, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct RpcServicesWithBlueprint<_1, _2, _3> { pub blueprint_id: ::core::primitive::u64, pub blueprint: runtime_types::tangle_primitives::services::ServiceBlueprint, - pub services: ::subxt::ext::subxt_core::alloc::vec::Vec< + pub services: ::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::Service<_1, _2, _3>, >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Service<_1, _2, _3> { pub id: ::core::primitive::u64, pub blueprint: ::core::primitive::u64, @@ -71942,10 +68004,10 @@ pub mod api { pub ttl: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71953,20 +68015,16 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ServiceBlueprint { pub metadata : runtime_types :: tangle_primitives :: services :: ServiceMetadata , pub jobs : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: JobDefinition > , pub registration_params : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: FieldType > , pub request_params : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: FieldType > , pub manager : runtime_types :: tangle_primitives :: services :: BlueprintServiceManager , pub master_manager_revision : runtime_types :: tangle_primitives :: services :: MasterBlueprintServiceManagerRevision , pub gadget : runtime_types :: tangle_primitives :: services :: Gadget , } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -71974,14 +68032,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ServiceMetadata { pub name: runtime_types::tangle_primitives::services::field::BoundedString, pub description: ::core::option::Option< @@ -72007,23 +68061,19 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ServiceRequest<_1, _2, _3> { pub blueprint: ::core::primitive::u64, pub owner: _1, @@ -72041,23 +68091,19 @@ pub mod api { )>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct StagingServicePayment<_0, _1, _2> { pub request_id: ::core::primitive::u64, pub refund_to: runtime_types::tangle_primitives::types::Account<_0>, @@ -72065,10 +68111,10 @@ pub mod api { pub amount: _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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -72076,14 +68122,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TestFetcher { pub cargo_package: runtime_types::tangle_primitives::services::field::BoundedString, @@ -72091,23 +68133,19 @@ pub mod api { pub base_path: runtime_types::tangle_primitives::services::field::BoundedString, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum TypeCheckError { #[codec(index = 0)] ArgumentTypeMismatch { @@ -72128,10 +68166,10 @@ pub mod api { }, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -72139,14 +68177,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct WasmGadget { pub runtime: runtime_types::tangle_primitives::services::WasmRuntime, pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -72154,10 +68188,10 @@ pub mod api { >, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -72165,14 +68199,10 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum WasmRuntime { #[codec(index = 0)] Wasmtime, @@ -72185,23 +68215,19 @@ pub mod api { pub mod rewards { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct LockInfo<_0, _1> { pub amount: _0, pub lock_multiplier: @@ -72209,23 +68235,19 @@ pub mod api { pub expiry_block: _1, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum LockMultiplier { #[codec(index = 1)] OneMonth, @@ -72238,28 +68260,24 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum Account<_0> { #[codec(index = 0)] Id(_0), #[codec(index = 1)] - Address(::subxt::ext::subxt_core::utils::H160), + Address(::subxt_core::utils::H160), } } } @@ -72268,23 +68286,19 @@ pub mod api { pub mod opaque { 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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" - )] - #[encode_as_type( - crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" - )] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct SessionKeys { pub babe: runtime_types::sp_consensus_babe::app::Public, pub grandpa: runtime_types::sp_consensus_grandpa::app::Public, @@ -72292,276 +68306,274 @@ pub mod api { } } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MaxDelegations; #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MaxDelegatorBlueprints; #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MaxOperatorBlueprints; #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MaxUnstakeRequests; #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct MaxWithdrawRequests; #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct NposSolution16 { - pub votes1: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + pub votes1: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes2: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes2: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, ( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ), - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes3: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes3: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 2usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes4: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes4: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 3usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes5: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes5: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 4usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes6: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes6: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 5usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes7: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes7: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 6usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes8: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes8: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 7usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes9: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes9: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 8usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes10: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes10: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 9usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes11: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes11: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 10usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes12: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes12: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 11usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes13: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes13: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 12usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes14: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes14: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 13usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes15: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes15: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 14usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes16: ::subxt::ext::subxt_core::alloc::vec::Vec<( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes16: ::subxt_core::alloc::vec::Vec<( + ::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::subxt_core::ext::codec::Compact< + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 15usize], - ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum OriginCaller { #[codec(index = 1)] system( runtime_types::frame_support::dispatch::RawOrigin< - ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt_core::utils::AccountId32, >, ), #[codec(index = 13)] Council( - runtime_types::pallet_collective::RawOrigin< - ::subxt::ext::subxt_core::utils::AccountId32, - >, + runtime_types::pallet_collective::RawOrigin<::subxt_core::utils::AccountId32>, ), #[codec(index = 33)] Ethereum(runtime_types::pallet_ethereum::RawOrigin), @@ -72569,19 +68581,19 @@ pub mod api { Void(runtime_types::sp_core::Void), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum ProxyType { #[codec(index = 0)] Any, @@ -72593,34 +68605,34 @@ pub mod api { Staking, } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct Runtime; #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RuntimeCall { #[codec(index = 1)] System(runtime_types::frame_system::pallet::Call), @@ -72702,19 +68714,19 @@ pub mod api { Rewards(runtime_types::pallet_rewards::pallet::Call), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RuntimeError { #[codec(index = 1)] System(runtime_types::frame_system::pallet::Error), @@ -72790,19 +68802,19 @@ pub mod api { Rewards(runtime_types::pallet_rewards::pallet::Error), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RuntimeEvent { #[codec(index = 1)] System(runtime_types::frame_system::pallet::Event), @@ -72880,19 +68892,19 @@ pub mod api { Rewards(runtime_types::pallet_rewards::pallet::Event), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RuntimeFreezeReason { #[codec(index = 24)] NominationPools(runtime_types::pallet_nomination_pools::pallet::FreezeReason), @@ -72900,23 +68912,23 @@ pub mod api { Lst(runtime_types::pallet_tangle_lst::pallet::FreezeReason), } #[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, + :: subxt_core :: ext :: codec :: Decode, + :: subxt_core :: ext :: codec :: Encode, + :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub enum RuntimeHoldReason { #[codec(index = 26)] Preimage(runtime_types::pallet_preimage::pallet::HoldReason), } } } -} +} \ No newline at end of file