difftreelog
build upgrade frontier
in: master
51 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -75,9 +75,9 @@
[[package]]
name = "aho-corasick"
-version = "0.7.19"
+version = "0.7.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e"
+checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"
dependencies = [
"memchr",
]
@@ -137,9 +137,9 @@
[[package]]
name = "array-bytes"
-version = "4.1.0"
+version = "4.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a913633b0c922e6b745072795f50d90ebea78ba31a57e2ac8c2fc7b50950949"
+checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6"
[[package]]
name = "arrayref"
@@ -196,30 +196,30 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e14485364214912d3b19cc3435dde4df66065127f05fa0d75c712f36f12c2f28"
dependencies = [
- "concurrent-queue",
+ "concurrent-queue 1.2.4",
"event-listener",
"futures-core",
]
[[package]]
name = "async-executor"
-version = "1.4.1"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "871f9bb5e0a22eeb7e8cf16641feb87c9dc67032ccf8ff49e772eb9941d3a965"
+checksum = "17adb73da160dfb475c183343c8cccd80721ea5a605d3eb57125f0a7b7a92d0b"
dependencies = [
+ "async-lock",
"async-task",
- "concurrent-queue",
+ "concurrent-queue 2.0.0",
"fastrand",
"futures-lite",
- "once_cell",
"slab",
]
[[package]]
name = "async-global-executor"
-version = "2.3.0"
+version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0da5b41ee986eed3f524c380e6d64965aea573882a8907682ad100f7859305ca"
+checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776"
dependencies = [
"async-channel",
"async-executor",
@@ -232,16 +232,16 @@
[[package]]
name = "async-io"
-version = "1.9.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83e21f3a490c72b3b0cf44962180e60045de2925d8dff97918f7ee43c8f637c7"
+checksum = "e8121296a9f05be7f34aa4196b1747243b3b62e048bb7906f644f3fbfc490cf7"
dependencies = [
+ "async-lock",
"autocfg",
- "concurrent-queue",
+ "concurrent-queue 1.2.4",
"futures-lite",
"libc",
"log",
- "once_cell",
"parking",
"polling",
"slab",
@@ -340,9 +340,9 @@
[[package]]
name = "asynchronous-codec"
-version = "0.6.0"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0de5164e5edbf51c45fb8c2d9664ae1c095cce1b265ecf7569093c0d66ef690"
+checksum = "06a0daa378f5fd10634e44b0a29b2a87b890657658e072a30d6f26e57ddee182"
dependencies = [
"bytes",
"futures-sink",
@@ -595,16 +595,16 @@
"funty 2.0.0",
"radium 0.7.0",
"tap",
- "wyz 0.5.0",
+ "wyz 0.5.1",
]
[[package]]
name = "blake2"
-version = "0.10.4"
+version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388"
+checksum = "b12e5fd123190ce1c2e559308a94c9bacad77907d4c6005d9e58fe1a0689e55e"
dependencies = [
- "digest 0.10.5",
+ "digest 0.10.6",
]
[[package]]
@@ -614,7 +614,7 @@
checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400"
dependencies = [
"arrayvec 0.4.12",
- "constant_time_eq",
+ "constant_time_eq 0.1.5",
]
[[package]]
@@ -625,7 +625,7 @@
dependencies = [
"arrayref",
"arrayvec 0.7.2",
- "constant_time_eq",
+ "constant_time_eq 0.1.5",
]
[[package]]
@@ -636,21 +636,21 @@
dependencies = [
"arrayref",
"arrayvec 0.7.2",
- "constant_time_eq",
+ "constant_time_eq 0.1.5",
]
[[package]]
name = "blake3"
-version = "1.3.1"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a08e53fc5a564bb15bfe6fae56bd71522205f1f91893f9c0116edad6496c183f"
+checksum = "895adc16c8b3273fbbc32685a7d55227705eda08c01e77704020f3491924b44b"
dependencies = [
"arrayref",
"arrayvec 0.7.2",
"cc",
"cfg-if 1.0.0",
- "constant_time_eq",
- "digest 0.10.5",
+ "constant_time_eq 0.2.4",
+ "digest 0.10.6",
]
[[package]]
@@ -769,9 +769,9 @@
[[package]]
name = "byte-slice-cast"
-version = "1.2.1"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e"
+checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c"
[[package]]
name = "byte-tools"
@@ -787,9 +787,9 @@
[[package]]
name = "bytes"
-version = "1.2.1"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db"
+checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c"
[[package]]
name = "bzip2-sys"
@@ -841,9 +841,9 @@
[[package]]
name = "cc"
-version = "1.0.73"
+version = "1.0.77"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
+checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4"
dependencies = [
"jobserver",
]
@@ -911,9 +911,9 @@
[[package]]
name = "chrono"
-version = "0.4.22"
+version = "0.4.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1"
+checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f"
dependencies = [
"iana-time-zone",
"js-sys",
@@ -973,7 +973,7 @@
dependencies = [
"glob",
"libc",
- "libloading 0.7.3",
+ "libloading 0.7.4",
]
[[package]]
@@ -1017,9 +1017,9 @@
[[package]]
name = "cmake"
-version = "0.1.48"
+version = "0.1.49"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8ad8cef104ac57b68b89df3208164d228503abbdce70f6880ffa3d970e7443a"
+checksum = "db34956e100b30725f2eb215f90d4871051239535632f84fea3bc92722c66b7c"
dependencies = [
"cc",
]
@@ -1048,9 +1048,9 @@
[[package]]
name = "comfy-table"
-version = "6.1.1"
+version = "6.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b3d16bb3da60be2f7c7acfc438f2ae6f3496897ce68c291d0509bb67b4e248e"
+checksum = "e621e7e86c46fd8a14c32c6ae3cb95656621b4743a27d0cffedb831d46e7ad21"
dependencies = [
"strum",
"strum_macros",
@@ -1059,9 +1059,9 @@
[[package]]
name = "concat-idents"
-version = "1.1.3"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b6f90860248d75014b7b103db8fee4f291c07bfb41306cdf77a0a5ab7a10d2f"
+checksum = "0fe0e1d9f7de897d18e590a7496b5facbe87813f746cf4b8db596ba77e07e832"
dependencies = [
"quote",
"syn",
@@ -1077,6 +1077,15 @@
]
[[package]]
+name = "concurrent-queue"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd7bef69dc86e3c610e4e7aed41035e2a7ed12e72dd7530f61327a6579a4390b"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
name = "console"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1102,6 +1111,12 @@
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
[[package]]
+name = "constant_time_eq"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3ad85c1f65dc7b37604eb0e89748faf0b9653065f2a8ef69f96a687ec1e9279"
+
+[[package]]
name = "convert_case"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1152,18 +1167,18 @@
[[package]]
name = "cranelift-bforest"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44409ccf2d0f663920cab563d2b79fcd6b2e9a2bcc6e929fef76c8f82ad6c17a"
+checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd"
dependencies = [
"cranelift-entity",
]
[[package]]
name = "cranelift-codegen"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98de2018ad96eb97f621f7d6b900a0cc661aec8d02ea4a50e56ecb48e5a2fcaf"
+checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74"
dependencies = [
"arrayvec 0.7.2",
"bumpalo",
@@ -1181,33 +1196,33 @@
[[package]]
name = "cranelift-codegen-meta"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5287ce36e6c4758fbaf298bd1a8697ad97a4f2375a3d1b61142ea538db4877e5"
+checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f"
dependencies = [
"cranelift-codegen-shared",
]
[[package]]
name = "cranelift-codegen-shared"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2855c24219e2f08827f3f4ffb2da92e134ae8d8ecc185b11ec8f9878cf5f588e"
+checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc"
[[package]]
name = "cranelift-entity"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b65673279d75d34bf11af9660ae2dbd1c22e6d28f163f5c72f4e1dc56d56103"
+checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352"
dependencies = [
"serde",
]
[[package]]
name = "cranelift-frontend"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ed2b3d7a4751163f6c4a349205ab1b7d9c00eecf19dcea48592ef1f7688eefc"
+checksum = "34897538b36b216cc8dd324e73263596d51b8cf610da6498322838b2546baf8a"
dependencies = [
"cranelift-codegen",
"log",
@@ -1217,15 +1232,15 @@
[[package]]
name = "cranelift-isle"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3be64cecea9d90105fc6a2ba2d003e98c867c1d6c4c86cc878f97ad9fb916293"
+checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470"
[[package]]
name = "cranelift-native"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4a03a6ac1b063e416ca4b93f6247978c991475e8271465340caa6f92f3c16a4"
+checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318"
dependencies = [
"cranelift-codegen",
"libc",
@@ -1234,9 +1249,9 @@
[[package]]
name = "cranelift-wasm"
-version = "0.88.1"
+version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c699873f7b30bc5f20dd03a796b4183e073a46616c91704792ec35e45d13f913"
+checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b"
dependencies = [
"cranelift-codegen",
"cranelift-entity",
@@ -1280,22 +1295,22 @@
[[package]]
name = "crossbeam-epoch"
-version = "0.9.11"
+version = "0.9.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348"
+checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a"
dependencies = [
"autocfg",
"cfg-if 1.0.0",
"crossbeam-utils",
- "memoffset",
+ "memoffset 0.7.1",
"scopeguard",
]
[[package]]
name = "crossbeam-queue"
-version = "0.3.6"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cd42583b04998a5363558e5f9291ee5a5ff6b49944332103f251e7479a82aa7"
+checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-utils",
@@ -1303,9 +1318,9 @@
[[package]]
name = "crossbeam-utils"
-version = "0.8.12"
+version = "0.8.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac"
+checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
dependencies = [
"cfg-if 1.0.0",
]
@@ -1872,9 +1887,9 @@
[[package]]
name = "cxx"
-version = "1.0.80"
+version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b7d4e43b25d3c994662706a1d4fcfc32aaa6afd287502c111b237093bb23f3a"
+checksum = "d4a41a86530d0fe7f5d9ea779916b7cadd2d4f9add748b99c2c029cbbdfaf453"
dependencies = [
"cc",
"cxxbridge-flags",
@@ -1884,9 +1899,9 @@
[[package]]
name = "cxx-build"
-version = "1.0.80"
+version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84f8829ddc213e2c1368e51a2564c552b65a8cb6a28f31e576270ac81d5e5827"
+checksum = "06416d667ff3e3ad2df1cd8cd8afae5da26cf9cec4d0825040f88b5ca659a2f0"
dependencies = [
"cc",
"codespan-reporting",
@@ -1899,15 +1914,15 @@
[[package]]
name = "cxxbridge-flags"
-version = "1.0.80"
+version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e72537424b474af1460806647c41d4b6d35d09ef7fe031c5c2fa5766047cc56a"
+checksum = "820a9a2af1669deeef27cb271f476ffd196a2c4b6731336011e0ba63e2c7cf71"
[[package]]
name = "cxxbridge-macro"
-version = "1.0.80"
+version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "309e4fb93eed90e1e14bea0da16b209f81813ba9fc7830c20ed151dd7bc0a4d7"
+checksum = "a08a6e2fcc370a089ad3b4aaf54db3b1b4cee38ddabce5896b33eb693275f470"
dependencies = [
"proc-macro2",
"quote",
@@ -1993,9 +2008,9 @@
[[package]]
name = "digest"
-version = "0.10.5"
+version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c"
+checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"
dependencies = [
"block-buffer 0.10.3",
"crypto-common",
@@ -2216,9 +2231,9 @@
[[package]]
name = "env_logger"
-version = "0.9.1"
+version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272"
+checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7"
dependencies = [
"atty",
"humantime",
@@ -2479,7 +2494,7 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"async-trait",
"fc-db",
@@ -2498,14 +2513,16 @@
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"fp-storage",
"kvdb-rocksdb",
+ "log",
"parity-db",
"parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-client-db",
+ "sp-blockchain",
"sp-core",
"sp-database",
"sp-runtime",
@@ -2514,7 +2531,7 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"fc-db",
"fp-consensus",
@@ -2531,13 +2548,15 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"ethereum",
"ethereum-types",
"evm",
"fc-db",
"fc-rpc-core",
+ "fp-ethereum",
+ "fp-evm",
"fp-rpc",
"fp-storage",
"futures 0.3.25",
@@ -2545,12 +2564,11 @@
"jsonrpsee",
"libsecp256k1",
"log",
- "lru 0.7.8",
+ "lru 0.8.1",
"parity-scale-codec 3.2.1",
"prometheus",
"rand 0.8.5",
"rlp",
- "rustc-hex",
"sc-client-api",
"sc-network",
"sc-network-common",
@@ -2573,7 +2591,7 @@
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2713,7 +2731,7 @@
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"ethereum",
"parity-scale-codec 3.2.1",
@@ -2723,9 +2741,24 @@
]
[[package]]
+name = "fp-ethereum"
+version = "1.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
+dependencies = [
+ "ethereum",
+ "ethereum-types",
+ "fp-evm",
+ "frame-support",
+ "num_enum",
+ "parity-scale-codec 3.2.1",
+ "sp-core",
+ "sp-std",
+]
+
+[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"evm",
"frame-support",
@@ -2739,7 +2772,7 @@
[[package]]
name = "fp-evm-mapping"
version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"frame-support",
"sp-core",
@@ -2748,7 +2781,7 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2765,7 +2798,7 @@
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"ethereum",
"frame-support",
@@ -2773,17 +2806,16 @@
"parity-util-mem",
"scale-info",
"serde",
- "sp-debug-derive",
- "sp-io",
"sp-runtime",
]
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"parity-scale-codec 3.2.1",
+ "serde",
]
[[package]]
@@ -3040,9 +3072,9 @@
[[package]]
name = "fs-err"
-version = "2.8.1"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64db3e262960f0662f43a6366788d5f10f7f244b8f7d7d987f560baf5ded5c50"
+checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541"
[[package]]
name = "fs-swap"
@@ -3512,9 +3544,9 @@
[[package]]
name = "hyper"
-version = "0.14.20"
+version = "0.14.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02c929dc5c39e335a03c405292728118860721b10190d98c2a0f0efd5baafbac"
+checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c"
dependencies = [
"bytes",
"futures-channel",
@@ -3536,9 +3568,9 @@
[[package]]
name = "hyper-rustls"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac"
+checksum = "59df7c4e19c950e6e0e868dcc0a300b09a9b88e9ec55bd879ca819087a77355d"
dependencies = [
"http",
"hyper",
@@ -3551,9 +3583,9 @@
[[package]]
name = "iana-time-zone"
-version = "0.1.51"
+version = "0.1.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5a6ef98976b22b3b7f2f3a806f858cb862044cfa66805aa3ad84cb3d3b785ed"
+checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765"
dependencies = [
"android_system_properties",
"core-foundation-sys",
@@ -3662,9 +3694,9 @@
[[package]]
name = "indexmap"
-version = "1.9.1"
+version = "1.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
+checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399"
dependencies = [
"autocfg",
"hashbrown",
@@ -3706,11 +3738,21 @@
[[package]]
name = "io-lifetimes"
-version = "0.7.4"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6e481ccbe3dea62107216d0d1138bb8ad8e5e5c43009a098bd1990272c497b0"
+checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074"
[[package]]
+name = "io-lifetimes"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7d367024b3f3414d8e01f437f704f41a9f64ab36f9067fa73e526ad4c763c87"
+dependencies = [
+ "libc",
+ "windows-sys 0.42.0",
+]
+
+[[package]]
name = "ip_network"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3718,9 +3760,9 @@
[[package]]
name = "ipconfig"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "723519edce41262b05d4143ceb95050e4c614f483e78e9fd9e39a8275a84ad98"
+checksum = "bd302af1b90f2463a98fa5ad469fc212c8e3175a41c3068601bfa2727591c5be"
dependencies = [
"socket2",
"widestring",
@@ -3730,9 +3772,9 @@
[[package]]
name = "ipnet"
-version = "2.5.0"
+version = "2.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "879d54834c8c76457ef4293a689b2a8c59b076067ad77b15efafbb05f92a592b"
+checksum = "f88c5561171189e69df9d98bcf18fd5f9558300f7ea7b801eb8a0fd748bd8745"
[[package]]
name = "itertools"
@@ -3925,9 +3967,12 @@
[[package]]
name = "keccak"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9b7d56ba4a8344d6be9729995e6b06f928af29998cdf79fe390cbf6b1fee838"
+checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768"
+dependencies = [
+ "cpufeatures",
+]
[[package]]
name = "kusama-runtime"
@@ -4113,9 +4158,9 @@
[[package]]
name = "libloading"
-version = "0.7.3"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
dependencies = [
"cfg-if 1.0.0",
"winapi",
@@ -4123,9 +4168,9 @@
[[package]]
name = "libm"
-version = "0.2.5"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "292a948cd991e376cf75541fe5b97a1081d713c618b4f1b9500f8844e49eb565"
+checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb"
[[package]]
name = "libp2p"
@@ -4757,6 +4802,12 @@
checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d"
[[package]]
+name = "linux-raw-sys"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb68f22743a3fb35785f1e7f844ca5a3de2dde5bd0c0ef5b372065814699b121"
+
+[[package]]
name = "lock_api"
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4880,18 +4931,18 @@
[[package]]
name = "memfd"
-version = "0.6.1"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "480b5a5de855d11ff13195950bdc8b98b5e942ef47afc447f6615cdcc4e15d80"
+checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb"
dependencies = [
- "rustix",
+ "rustix 0.36.2",
]
[[package]]
name = "memmap2"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95af15f345b17af2efc8ead6080fb8bc376f8cec1b35277b935637595fe77498"
+checksum = "4b182332558b18d807c4ce1ca8ca983b34c3ee32765e47b3f0f69b90355cc1dc"
dependencies = [
"libc",
]
@@ -4906,6 +4957,15 @@
]
[[package]]
+name = "memoffset"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
name = "memory-db"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5020,7 +5080,7 @@
"blake2s_simd",
"blake3",
"core2",
- "digest 0.10.5",
+ "digest 0.10.6",
"multihash-derive",
"sha2 0.10.6",
"sha3",
@@ -5291,15 +5351,36 @@
[[package]]
name = "num_cpus"
-version = "1.13.1"
+version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1"
+checksum = "f6058e64324c71e02bc2b150e4f3bc8286db6c83092132ffa3f6b1eab0f9def5"
dependencies = [
"hermit-abi",
"libc",
]
[[package]]
+name = "num_enum"
+version = "0.5.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf5395665662ef45796a4ff5486c5d41d29e0c09640af4c5f17fd94ee2c119c9"
+dependencies = [
+ "num_enum_derive",
+]
+
+[[package]]
+name = "num_enum_derive"
+version = "0.5.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b0498641e53dd6ac1a4f22547548caa6864cc4933784319cd1775271c5a46ce"
+dependencies = [
+ "proc-macro-crate",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "num_threads"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5322,9 +5403,9 @@
[[package]]
name = "once_cell"
-version = "1.15.0"
+version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1"
+checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860"
[[package]]
name = "opal-runtime"
@@ -5577,9 +5658,9 @@
[[package]]
name = "os_str_bytes"
-version = "6.3.0"
+version = "6.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff"
+checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee"
[[package]]
name = "owning_ref"
@@ -5724,7 +5805,7 @@
[[package]]
name = "pallet-base-fee"
version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"fp-evm",
"frame-support",
@@ -5940,12 +6021,13 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
"ethereum",
"ethereum-types",
"evm",
"fp-consensus",
+ "fp-ethereum",
"fp-evm",
"fp-evm-mapping",
"fp-rpc",
@@ -5953,14 +6035,12 @@
"fp-storage",
"frame-support",
"frame-system",
- "log",
"pallet-evm",
"pallet-timestamp",
"parity-scale-codec 3.2.1",
"rlp",
"scale-info",
"serde",
- "sha3",
"sp-io",
"sp-runtime",
"sp-std",
@@ -5969,8 +6049,9 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30#65930cb2982258bee67b73a1f017711f6f4aa0a4"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.30-2#6fce4a7f9c3591f4090dd1db39fe71f6562804d0"
dependencies = [
+ "environmental",
"evm",
"fp-evm",
"fp-evm-mapping",
@@ -5986,7 +6067,6 @@
"rlp",
"scale-info",
"serde",
- "sha3",
"sp-core",
"sp-io",
"sp-runtime",
@@ -7163,9 +7243,9 @@
[[package]]
name = "pest"
-version = "2.4.0"
+version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbc7bc69c062e492337d74d59b120c274fd3d261b6bf6d3207d499b4b379c41a"
+checksum = "a528564cc62c19a7acac4d81e01f39e53e25e17b934878f4c6d25cc2836e62f8"
dependencies = [
"thiserror",
"ucd-trie",
@@ -7173,9 +7253,9 @@
[[package]]
name = "pest_derive"
-version = "2.4.0"
+version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60b75706b9642ebcb34dab3bc7750f811609a0eb1dd8b88c2d15bf628c1c65b2"
+checksum = "d5fd9bc6500181952d34bd0b2b0163a54d794227b498be0b7afa7698d0a7b18f"
dependencies = [
"pest",
"pest_generator",
@@ -7183,9 +7263,9 @@
[[package]]
name = "pest_generator"
-version = "2.4.0"
+version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4f9272122f5979a6511a749af9db9bfc810393f63119970d7085fed1c4ea0db"
+checksum = "d2610d5ac5156217b4ff8e46ddcef7cdf44b273da2ac5bca2ecbfa86a330e7c4"
dependencies = [
"pest",
"pest_meta",
@@ -7196,9 +7276,9 @@
[[package]]
name = "pest_meta"
-version = "2.4.0"
+version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c8717927f9b79515e565a64fe46c38b8cd0427e64c40680b14a7365ab09ac8d"
+checksum = "824749bf7e21dd66b36fbe26b3f45c713879cccd4a009a917ab8e045ca8246fe"
dependencies = [
"once_cell",
"pest",
@@ -8556,11 +8636,21 @@
[[package]]
name = "ppv-lite86"
-version = "0.2.16"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
+checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
+name = "prettyplease"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c142c0e46b57171fe0c528bee8c5b7569e80f0c17e377cd0e30ea57dbc11bb51"
+dependencies = [
+ "proc-macro2",
+ "syn",
+]
+
+[[package]]
name = "primitive-types"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8682,12 +8772,12 @@
[[package]]
name = "prost"
-version = "0.11.0"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "399c3c31cdec40583bb68f0b18403400d01ec4289c383aa047560439952c4dd7"
+checksum = "a0841812012b2d4a6145fae9a6af1534873c32aa67fff26bd09f8fa42c83f95a"
dependencies = [
"bytes",
- "prost-derive 0.11.0",
+ "prost-derive 0.11.2",
]
[[package]]
@@ -8714,9 +8804,9 @@
[[package]]
name = "prost-build"
-version = "0.11.1"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f835c582e6bd972ba8347313300219fed5bfa52caf175298d860b61ff6069bb"
+checksum = "1d8b442418ea0822409d9e7d047cbf1e7e9e1760b172bf9982cf29d517c93511"
dependencies = [
"bytes",
"heck",
@@ -8725,9 +8815,11 @@
"log",
"multimap",
"petgraph",
- "prost 0.11.0",
- "prost-types 0.11.1",
+ "prettyplease",
+ "prost 0.11.2",
+ "prost-types 0.11.2",
"regex",
+ "syn",
"tempfile",
"which",
]
@@ -8760,9 +8852,9 @@
[[package]]
name = "prost-derive"
-version = "0.11.0"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7345d5f0e08c0536d7ac7229952590239e77abf0a0100a1b1d890add6ea96364"
+checksum = "164ae68b6587001ca506d3bf7f1000bfa248d0e1217b618108fba4ec1d0cc306"
dependencies = [
"anyhow",
"itertools",
@@ -8783,12 +8875,12 @@
[[package]]
name = "prost-types"
-version = "0.11.1"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dfaa718ad76a44b3415e6c4d53b17c8f99160dcb3a99b10470fce8ad43f6e3e"
+checksum = "747761bc3dc48f9a34553bf65605cf6cb6288ba219f3450b4275dbd81539551a"
dependencies = [
"bytes",
- "prost 0.11.0",
+ "prost 0.11.2",
]
[[package]]
@@ -9039,11 +9131,10 @@
[[package]]
name = "rayon"
-version = "1.5.3"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d"
+checksum = "1e060280438193c554f654141c9ea9417886713b7acd75974c85b18a69a88e0b"
dependencies = [
- "autocfg",
"crossbeam-deque",
"either",
"rayon-core",
@@ -9051,9 +9142,9 @@
[[package]]
name = "rayon-core"
-version = "1.9.3"
+version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f"
+checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",
@@ -9096,18 +9187,18 @@
[[package]]
name = "ref-cast"
-version = "1.0.12"
+version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12a733f1746c929b4913fe48f8697fcf9c55e3304ba251a79ffb41adfeaf49c2"
+checksum = "53b15debb4f9d60d767cd8ca9ef7abb2452922f3214671ff052defc7f3502c44"
dependencies = [
"ref-cast-impl",
]
[[package]]
name = "ref-cast-impl"
-version = "1.0.12"
+version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5887de4a01acafd221861463be6113e6e87275e79804e56779f4cdc131c60368"
+checksum = "abfa8511e9e94fd3de6585a3d3cd00e01ed556dc9814829280af0e8dc72a8f36"
dependencies = [
"proc-macro2",
"quote",
@@ -9128,9 +9219,9 @@
[[package]]
name = "regex"
-version = "1.6.0"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
+checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a"
dependencies = [
"aho-corasick",
"memchr",
@@ -9148,9 +9239,9 @@
[[package]]
name = "regex-syntax"
-version = "0.6.27"
+version = "0.6.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
+checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848"
[[package]]
name = "remote-externalities"
@@ -9426,16 +9517,30 @@
[[package]]
name = "rustix"
-version = "0.35.12"
+version = "0.35.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "985947f9b6423159c4726323f373be0a21bdb514c5af06a849cb3d2dce2d01e8"
+checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9"
dependencies = [
"bitflags",
"errno",
- "io-lifetimes",
+ "io-lifetimes 0.7.5",
"libc",
- "linux-raw-sys",
- "windows-sys 0.36.1",
+ "linux-raw-sys 0.0.46",
+ "windows-sys 0.42.0",
+]
+
+[[package]]
+name = "rustix"
+version = "0.36.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "203974af07ea769452490ee8de3e5947971efc3a090dca8a779dd432d3fa46a7"
+dependencies = [
+ "bitflags",
+ "errno",
+ "io-lifetimes 1.0.1",
+ "libc",
+ "linux-raw-sys 0.1.2",
+ "windows-sys 0.42.0",
]
[[package]]
@@ -9976,7 +10081,7 @@
"once_cell",
"parity-scale-codec 3.2.1",
"parity-wasm 0.45.0",
- "rustix",
+ "rustix 0.35.13",
"sc-allocator",
"sc-executor-common",
"sp-runtime-interface",
@@ -10135,8 +10240,8 @@
"futures 0.3.25",
"libp2p",
"log",
- "prost 0.11.0",
- "prost-build 0.11.1",
+ "prost 0.11.2",
+ "prost-build 0.11.2",
"sc-client-api",
"sc-network-common",
"sp-blockchain",
@@ -10612,9 +10717,9 @@
[[package]]
name = "scale-info"
-version = "2.2.0"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "333af15b02563b8182cd863f925bd31ef8fa86a0e095d30c091956057d436153"
+checksum = "88d8a765117b237ef233705cc2cc4c6a27fccd46eea6ef0c8c6dae5f3ef407f8"
dependencies = [
"bitvec 1.0.1",
"cfg-if 1.0.0",
@@ -10626,9 +10731,9 @@
[[package]]
name = "scale-info-derive"
-version = "2.2.0"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53f56acbd0743d29ffa08f911ab5397def774ad01bab3786804cf6ee057fb5e1"
+checksum = "cdcd47b380d8c4541044e341dcd9475f55ba37ddc50c908d945fc036a8642496"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -10804,9 +10909,9 @@
[[package]]
name = "serde_json"
-version = "1.0.87"
+version = "1.0.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ce777b7b150d76b9cf60d28b55f5847135a003f7d7350c6be7a773508ce7d45"
+checksum = "020ff22c755c2ed3f8cf162dbb41a7268d934702f3ed3631656ea597e08fc3db"
dependencies = [
"itoa",
"ryu",
@@ -10843,7 +10948,7 @@
dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
- "digest 0.10.5",
+ "digest 0.10.6",
]
[[package]]
@@ -10879,7 +10984,7 @@
dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
- "digest 0.10.5",
+ "digest 0.10.6",
]
[[package]]
@@ -10888,7 +10993,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9"
dependencies = [
- "digest 0.10.5",
+ "digest 0.10.6",
"keccak",
]
@@ -10956,9 +11061,9 @@
[[package]]
name = "similar"
-version = "2.2.0"
+version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62ac7f900db32bf3fd12e0117dd3dc4da74bc52ebaac97f39668446d89694803"
+checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf"
dependencies = [
"bstr",
"unicode-segmentation",
@@ -11018,9 +11123,9 @@
[[package]]
name = "snap"
-version = "1.0.5"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45456094d1983e2ee2a18fdfebce3189fa451699d0502cb8e3b49dba5ba41451"
+checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831"
[[package]]
name = "snow"
@@ -11318,7 +11423,7 @@
dependencies = [
"blake2",
"byteorder",
- "digest 0.10.5",
+ "digest 0.10.6",
"sha2 0.10.6",
"sha3",
"sp-std",
@@ -11816,9 +11921,9 @@
[[package]]
name = "ss58-registry"
-version = "1.33.0"
+version = "1.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ab7554f8a8b6f8d71cd5a8e6536ef116e2ce0504cf97ebf16311d58065dc8a6"
+checksum = "fa0813c10b9dbdc842c2305f949f724c64866e4ef4d09c9151e96f6a2106773c"
dependencies = [
"Inflector",
"num-format",
@@ -12141,9 +12246,9 @@
[[package]]
name = "target-lexicon"
-version = "0.12.4"
+version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1"
+checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d"
[[package]]
name = "tempfile"
@@ -12368,9 +12473,9 @@
[[package]]
name = "tokio"
-version = "1.21.2"
+version = "1.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9e03c497dc955702ba729190dc4aac6f2a0ce97f913e5b1b5912fc5039d9099"
+checksum = "d76ce4a75fb488c605c54bf610f221cea8b0dafb53333c1a67e8ee199dcd2ae3"
dependencies = [
"autocfg",
"bytes",
@@ -12694,7 +12799,7 @@
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
"cfg-if 1.0.0",
- "digest 0.10.5",
+ "digest 0.10.6",
"rand 0.8.5",
"static_assertions",
]
@@ -13340,9 +13445,9 @@
[[package]]
name = "wasmtime"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1f511c4917c83d04da68333921107db75747c4e11a2f654a8e909cc5e0520dc"
+checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731"
dependencies = [
"anyhow",
"bincode",
@@ -13368,18 +13473,18 @@
[[package]]
name = "wasmtime-asm-macros"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39bf3debfe744bf19dd3732990ce6f8c0ced7439e2370ba4e1d8f5a3660a3178"
+checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597"
dependencies = [
"cfg-if 1.0.0",
]
[[package]]
name = "wasmtime-cache"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ece42fa4676a263f7558cdaaf5a71c2592bebcbac22a0580e33cf3406c103da2"
+checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882"
dependencies = [
"anyhow",
"base64",
@@ -13387,7 +13492,7 @@
"directories-next",
"file-per-thread-logger",
"log",
- "rustix",
+ "rustix 0.35.13",
"serde",
"sha2 0.9.9",
"toml",
@@ -13397,9 +13502,9 @@
[[package]]
name = "wasmtime-cranelift"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "058217e28644b012bdcdf0e445f58d496d78c2e0b6a6dd93558e701591dad705"
+checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6"
dependencies = [
"anyhow",
"cranelift-codegen",
@@ -13418,9 +13523,9 @@
[[package]]
name = "wasmtime-environ"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7af06848df28b7661471d9a80d30a973e0f401f2e3ed5396ad7e225ed217047"
+checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644"
dependencies = [
"anyhow",
"cranelift-entity",
@@ -13437,9 +13542,9 @@
[[package]]
name = "wasmtime-jit"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9028fb63a54185b3c192b7500ef8039c7bb8d7f62bfc9e7c258483a33a3d13bb"
+checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681"
dependencies = [
"addr2line",
"anyhow",
@@ -13450,7 +13555,7 @@
"log",
"object",
"rustc-demangle",
- "rustix",
+ "rustix 0.35.13",
"serde",
"target-lexicon",
"thiserror",
@@ -13462,20 +13567,20 @@
[[package]]
name = "wasmtime-jit-debug"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25e82d4ef93296785de7efca92f7679dc67fe68a13b625a5ecc8d7503b377a37"
+checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731"
dependencies = [
"object",
"once_cell",
- "rustix",
+ "rustix 0.35.13",
]
[[package]]
name = "wasmtime-runtime"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f0e9bea7d517d114fe66b930b2124ee086516ee93eeebfd97f75f366c5b0553"
+checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd"
dependencies = [
"anyhow",
"cc",
@@ -13485,10 +13590,10 @@
"log",
"mach",
"memfd",
- "memoffset",
+ "memoffset 0.6.5",
"paste",
"rand 0.8.5",
- "rustix",
+ "rustix 0.35.13",
"thiserror",
"wasmtime-asm-macros",
"wasmtime-environ",
@@ -13498,9 +13603,9 @@
[[package]]
name = "wasmtime-types"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69b83e93ed41b8fdc936244cfd5e455480cf1eca1fd60c78a0040038b4ce5075"
+checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb"
dependencies = [
"cranelift-entity",
"serde",
@@ -13841,9 +13946,9 @@
[[package]]
name = "winreg"
-version = "0.7.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69"
+checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d"
dependencies = [
"winapi",
]
@@ -13856,9 +13961,9 @@
[[package]]
name = "wyz"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e"
+checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
dependencies = [
"tap",
]
client/rpc/Cargo.tomldiffbeforeafterboth--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -19,4 +19,4 @@
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
crates/evm-coder/Cargo.tomldiffbeforeafterboth--- a/crates/evm-coder/Cargo.toml
+++ b/crates/evm-coder/Cargo.toml
@@ -19,7 +19,7 @@
# We have tuple-heavy code in solidity.rs
impl-trait-for-tuples = "0.2.2"
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
[dev-dependencies]
# We want to assert some large binary blobs equality in tests
crates/evm-coder/src/lib.rsdiffbeforeafterboth--- a/crates/evm-coder/src/lib.rs
+++ b/crates/evm-coder/src/lib.rs
@@ -197,7 +197,7 @@
impl EthCrossAccount {
pub fn from_sub_cross_account<T>(cross_account_id: &T::CrossAccountId) -> Self
where
- T: pallet_evm::account::Config,
+ T: pallet_evm::Config,
T::AccountId: AsRef<[u8; 32]>,
{
if cross_account_id.is_canonical_substrate() {
@@ -215,7 +215,7 @@
pub fn into_sub_cross_account<T>(&self) -> crate::execution::Result<T::CrossAccountId>
where
- T: pallet_evm::account::Config,
+ T: pallet_evm::Config,
T::AccountId: From<[u8; 32]>,
{
if self.eth == Default::default() && self.sub == Default::default() {
@@ -231,7 +231,7 @@
}
/// Convert `CrossAccountId` to `uint256`.
- pub fn convert_cross_account_to_uint256<T: pallet_evm::account::Config>(
+ pub fn convert_cross_account_to_uint256<T: pallet_evm::Config>(
from: &T::CrossAccountId,
) -> uint256
where
@@ -242,7 +242,7 @@
}
/// Convert `uint256` to `CrossAccountId`.
- pub fn convert_uint256_to_cross_account<T: pallet_evm::account::Config>(
+ pub fn convert_uint256_to_cross_account<T: pallet_evm::Config>(
from: uint256,
) -> T::CrossAccountId
where
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -309,13 +309,13 @@
jsonrpsee = { version = "0.15.1", features = ["server", "macros"] }
tokio = { version = "1.19.2", features = ["time"] }
-fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
unique-rpc = { default-features = false, path = "../rpc" }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -45,7 +45,8 @@
use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};
use cumulus_relay_chain_rpc_interface::{RelayChainRpcInterface, create_client_and_start_worker};
-// Substrate Imports
+// Substrate ImportsA
+use sp_api::BlockT;
use sc_executor::NativeElseWasmExecutor;
use sc_executor::NativeExecutionDispatch;
use sc_network::{NetworkService, NetworkBlock};
@@ -159,7 +160,10 @@
}
}
-pub fn open_frontier_backend(config: &Configuration) -> Result<Arc<fc_db::Backend<Block>>, String> {
+pub fn open_frontier_backend<Block: BlockT, C: sp_blockchain::HeaderBackend<Block>>(
+ client: Arc<C>,
+ config: &Configuration,
+) -> Result<Arc<fc_db::Backend<Block>>, String> {
let config_dir = config
.base_path
.as_ref()
@@ -170,6 +174,7 @@
let database_dir = config_dir.join("frontier").join("db");
Ok(Arc::new(fc_db::Backend::<Block>::new(
+ client,
&fc_db::DatabaseSettings {
source: fc_db::DatabaseSource::RocksDb {
path: database_dir,
@@ -285,7 +290,7 @@
let filter_pool: Option<FilterPool> = Some(Arc::new(Mutex::new(BTreeMap::new())));
- let frontier_backend = open_frontier_backend(config)?;
+ let frontier_backend = open_frontier_backend(client.clone(), config)?;
let import_queue = build_import_queue(
client.clone(),
node/rpc/Cargo.tomldiffbeforeafterboth--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -40,20 +40,20 @@
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
tokio = { version = "1.19.2", features = ["macros", "sync"] }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
pallet-common = { default-features = false, path = "../../pallets/common" }
up-common = { path = "../../primitives/common" }
pallet-unique = { path = "../../pallets/unique" }
uc-rpc = { path = "../../client/rpc" }
up-rpc = { path = "../../primitives/rpc" }
-app-promotion-rpc = { path = "../../primitives/app_promotion_rpc"}
+app-promotion-rpc = { path = "../../primitives/app_promotion_rpc" }
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
node/rpc/src/lib.rsdiffbeforeafterboth--- a/node/rpc/src/lib.rs
+++ b/node/rpc/src/lib.rs
@@ -230,6 +230,7 @@
block_data_cache.clone(),
fee_history_cache,
fee_history_limit,
+ 10,
)
.into_rpc(),
)?;
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -47,28 +47,30 @@
################################################################################
# Substrate Dependencies
-codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = '3.1.2' }
-frame-benchmarking = {default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
+codec = { default-features = false, features = [
+ 'derive',
+], package = 'parity-scale-codec', version = '3.1.2' }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-frame-system ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-balances ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-timestamp ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-randomness-collective-flip ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm ={ default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-sp-std ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
+pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
+pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
+pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-sp-io ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
serde = { default-features = false, features = ['derive'], version = '1.0.130' }
################################################################################
# local dependencies
-up-data-structs ={ default-features = false, path = "../../primitives/data-structs" }
-pallet-common ={ default-features = false, path = "../common" }
-pallet-unique ={ default-features = false, path = "../unique" }
-pallet-evm-contract-helpers ={ default-features = false, path = "../evm-contract-helpers" }
-pallet-evm-migration ={ default-features = false, path = "../evm-migration" }
+up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
+pallet-common = { default-features = false, path = "../common" }
+pallet-unique = { default-features = false, path = "../unique" }
+pallet-evm-contract-helpers = { default-features = false, path = "../evm-contract-helpers" }
+pallet-evm-migration = { default-features = false, path = "../evm-migration" }
# [dev-dependencies]
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -102,7 +102,7 @@
use frame_system::pallet_prelude::*;
#[pallet::config]
- pub trait Config: frame_system::Config + pallet_evm::account::Config {
+ pub trait Config: frame_system::Config + pallet_evm::Config {
/// Type to interact with the native token
type Currency: ExtendedLockableCurrency<Self::AccountId>
+ ReservableCurrency<Self::AccountId>;
@@ -274,11 +274,13 @@
if !block_pending.is_empty() {
block_pending.into_iter().for_each(|(staker, amount)| {
- <T::Currency as ReservableCurrency<T::AccountId>>::unreserve(&staker, amount);
+ <<T as Config>::Currency as ReservableCurrency<T::AccountId>>::unreserve(
+ &staker, amount,
+ );
});
}
- T::WeightInfo::on_initialize(counter)
+ <T as Config>::WeightInfo::on_initialize(counter)
}
}
@@ -297,7 +299,7 @@
/// # Arguments
///
/// * `admin`: account of the new admin.
- #[pallet::weight(T::WeightInfo::set_admin_address())]
+ #[pallet::weight(<T as Config>::WeightInfo::set_admin_address())]
pub fn set_admin_address(origin: OriginFor<T>, admin: T::CrossAccountId) -> DispatchResult {
ensure_root(origin)?;
@@ -315,7 +317,7 @@
/// # Arguments
///
/// * `amount`: in native tokens.
- #[pallet::weight(T::WeightInfo::stake())]
+ #[pallet::weight(<T as Config>::WeightInfo::stake())]
pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
@@ -388,7 +390,7 @@
/// Moves the sum of all stakes to the `reserved` state.
/// After the end of `PendingInterval` this sum becomes completely
/// free for further use.
- #[pallet::weight(T::WeightInfo::unstake())]
+ #[pallet::weight(<T as Config>::WeightInfo::unstake())]
pub fn unstake(staker: OriginFor<T>) -> DispatchResultWithPostInfo {
let staker_id = ensure_signed(staker)?;
@@ -421,7 +423,10 @@
Self::unlock_balance(&staker_id, total_staked)?;
- <T::Currency as ReservableCurrency<T::AccountId>>::reserve(&staker_id, total_staked)?;
+ <<T as Config>::Currency as ReservableCurrency<T::AccountId>>::reserve(
+ &staker_id,
+ total_staked,
+ )?;
TotalStaked::<T>::set(
TotalStaked::<T>::get()
@@ -445,7 +450,7 @@
/// # Arguments
///
/// * `collection_id`: ID of the collection that will be sponsored by `pallet_id`
- #[pallet::weight(T::WeightInfo::sponsor_collection())]
+ #[pallet::weight(<T as Config>::WeightInfo::sponsor_collection())]
pub fn sponsor_collection(
admin: OriginFor<T>,
collection_id: CollectionId,
@@ -470,7 +475,7 @@
/// # Arguments
///
/// * `collection_id`: ID of the collection that is sponsored by `pallet_id`
- #[pallet::weight(T::WeightInfo::stop_sponsoring_collection())]
+ #[pallet::weight(<T as Config>::WeightInfo::stop_sponsoring_collection())]
pub fn stop_sponsoring_collection(
admin: OriginFor<T>,
collection_id: CollectionId,
@@ -499,7 +504,7 @@
/// # Arguments
///
/// * `contract_id`: the contract address that will be sponsored by `pallet_id`
- #[pallet::weight(T::WeightInfo::sponsor_contract())]
+ #[pallet::weight(<T as Config>::WeightInfo::sponsor_contract())]
pub fn sponsor_contract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
let admin_id = ensure_signed(admin)?;
@@ -525,7 +530,7 @@
/// # Arguments
///
/// * `contract_id`: the contract address that is sponsored by `pallet_id`
- #[pallet::weight(T::WeightInfo::stop_sponsoring_contract())]
+ #[pallet::weight(<T as Config>::WeightInfo::stop_sponsoring_contract())]
pub fn stop_sponsoring_contract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
let admin_id = ensure_signed(admin)?;
@@ -555,7 +560,7 @@
/// # Arguments
///
/// * `stakers_number`: the number of stakers for which recalculation will be performed
- #[pallet::weight(T::WeightInfo::payout_stakers(stakers_number.unwrap_or(20) as u32))]
+ #[pallet::weight(<T as Config>::WeightInfo::payout_stakers(stakers_number.unwrap_or(20) as u32))]
pub fn payout_stakers(admin: OriginFor<T>, stakers_number: Option<u8>) -> DispatchResult {
let admin_id = ensure_signed(admin)?;
@@ -589,7 +594,7 @@
let flush_stake = || -> DispatchResult {
if let Some(last_id) = &*last_id.borrow() {
if !income_acc.borrow().is_zero() {
- <T::Currency as Currency<T::AccountId>>::transfer(
+ <<T as Config>::Currency as Currency<T::AccountId>>::transfer(
&T::TreasuryAccountId::get(),
last_id,
*income_acc.borrow(),
@@ -700,9 +705,12 @@
/// - `amount`: amount of locked funds.
fn set_lock_unchecked(staker: &T::AccountId, amount: BalanceOf<T>) {
if amount.is_zero() {
- <T::Currency as LockableCurrency<T::AccountId>>::remove_lock(LOCK_IDENTIFIER, &staker);
+ <<T as Config>::Currency as LockableCurrency<T::AccountId>>::remove_lock(
+ LOCK_IDENTIFIER,
+ &staker,
+ );
} else {
- <T::Currency as LockableCurrency<T::AccountId>>::set_lock(
+ <<T as Config>::Currency as LockableCurrency<T::AccountId>>::set_lock(
LOCK_IDENTIFIER,
staker,
amount,
@@ -717,7 +725,7 @@
pub fn get_locked_balance(
staker: impl EncodeLike<T::AccountId>,
) -> Option<BalanceLock<BalanceOf<T>>> {
- <T::Currency as ExtendedLockableCurrency<T::AccountId>>::locks(staker)
+ <<T as Config>::Currency as ExtendedLockableCurrency<T::AccountId>>::locks(staker)
.into_iter()
.find(|l| l.id == LOCK_IDENTIFIER)
}
pallets/common/Cargo.tomldiffbeforeafterboth--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -17,12 +17,12 @@
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
ethereum = { version = "0.12.0", default-features = false }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
serde = { version = "1.0.130", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = [
pallets/common/src/eth.rsdiffbeforeafterboth--- a/pallets/common/src/eth.rs
+++ b/pallets/common/src/eth.rs
@@ -17,7 +17,7 @@
//! The module contains a number of functions for converting and checking ethereum identifiers.
use evm_coder::types::{uint256, address};
-pub use pallet_evm::account::{Config, CrossAccountId};
+pub use pallet_evm::{Config, account::CrossAccountId};
use sp_core::H160;
use up_data_structs::CollectionId;
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -342,7 +342,6 @@
#[frame_support::pallet]
pub mod pallet {
use super::*;
- use pallet_evm::account;
use dispatch::CollectionDispatch;
use frame_support::{Blake2_128Concat, pallet_prelude::*, storage::Key, traits::StorageVersion};
use frame_system::pallet_prelude::*;
@@ -353,11 +352,7 @@
#[pallet::config]
pub trait Config:
- frame_system::Config
- + pallet_evm_coder_substrate::Config
- + pallet_evm::Config
- + TypeInfo
- + account::Config
+ frame_system::Config + pallet_evm_coder_substrate::Config + pallet_evm::Config + TypeInfo
{
/// Weight information for functions of this pallet.
type WeightInfo: WeightInfo;
pallets/configuration/Cargo.tomldiffbeforeafterboth--- a/pallets/configuration/Cargo.toml
+++ b/pallets/configuration/Cargo.toml
@@ -16,7 +16,7 @@
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
smallvec = "1.6.1"
[features]
pallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-coder-substrate/Cargo.toml
+++ b/pallets/evm-coder-substrate/Cargo.toml
@@ -12,8 +12,8 @@
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
ethereum = { version = "0.12.0", default-features = false }
evm-coder = { default-features = false, path = "../../crates/evm-coder" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -19,8 +19,8 @@
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
# Unique
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.30" }
# Locals
pallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/lib.rs
+++ b/pallets/evm-contract-helpers/src/lib.rs
@@ -41,7 +41,7 @@
#[pallet::config]
pub trait Config:
- frame_system::Config + pallet_evm_coder_substrate::Config + pallet_evm::account::Config
+ frame_system::Config + pallet_evm_coder_substrate::Config + pallet_evm::Config
{
/// Overarching event type.
type RuntimeEvent: IsType<<Self as frame_system::Config>::RuntimeEvent> + From<Event<Self>>;
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -16,8 +16,8 @@
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
[dependencies.codec]
default-features = false
pallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-transaction-payment/Cargo.toml
+++ b/pallets/evm-transaction-payment/Cargo.toml
@@ -14,11 +14,11 @@
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.30" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
[dependencies.codec]
default-features = false
pallets/evm-transaction-payment/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-transaction-payment/src/lib.rs
+++ b/pallets/evm-transaction-payment/src/lib.rs
@@ -44,7 +44,7 @@
}
#[pallet::config]
- pub trait Config: frame_system::Config + pallet_evm::account::Config {
+ pub trait Config: frame_system::Config + pallet_evm::Config {
/// Loosly-coupled handlers for evm call sponsoring
type EvmSponsorshipHandler: SponsorshipHandler<Self::CrossAccountId, CallContext>;
}
pallets/fungible/Cargo.tomldiffbeforeafterboth--- a/pallets/fungible/Cargo.toml
+++ b/pallets/fungible/Cargo.toml
@@ -23,7 +23,7 @@
pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
ethereum = { version = "0.12.0", default-features = false }
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
pallets/fungible/src/lib.rsdiffbeforeafterboth--- a/pallets/fungible/src/lib.rs
+++ b/pallets/fungible/src/lib.rs
@@ -106,7 +106,7 @@
pub mod erc;
pub mod weights;
-pub type CreateItemData<T> = (<T as pallet_evm::account::Config>::CrossAccountId, u128);
+pub type CreateItemData<T> = (<T as pallet_evm::Config>::CrossAccountId, u128);
pub(crate) type SelfWeightOf<T> = <T as Config>::WeightInfo;
#[frame_support::pallet]
pallets/nonfungible/Cargo.tomldiffbeforeafterboth--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -16,7 +16,7 @@
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
pallet-common = { default-features = false, path = '../common' }
pallet-structure = { default-features = false, path = '../structure' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
pallets/nonfungible/src/lib.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -127,7 +127,7 @@
pub mod erc;
pub mod weights;
-pub type CreateItemData<T> = CreateNftExData<<T as pallet_evm::account::Config>::CrossAccountId>;
+pub type CreateItemData<T> = CreateNftExData<<T as pallet_evm::Config>::CrossAccountId>;
pub(crate) type SelfWeightOf<T> = <T as Config>::WeightInfo;
/// Token data, stored independently from other data used to describe it
pallets/proxy-rmrk-core/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-core/Cargo.toml
+++ b/pallets/proxy-rmrk-core/Cargo.toml
@@ -20,7 +20,7 @@
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
pallet-structure = { default-features = false, path = "../../pallets/structure" }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
scale-info = { version = "2.0.1", default-features = false, features = [
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -190,11 +190,13 @@
#[frame_support::pallet]
pub mod pallet {
use super::*;
- use pallet_evm::account;
#[pallet::config]
pub trait Config:
- frame_system::Config + pallet_common::Config + pallet_nonfungible::Config + account::Config
+ frame_system::Config
+ + pallet_common::Config
+ + pallet_nonfungible::Config
+ + pallet_evm::Config
{
/// Overarching event type.
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
pallets/proxy-rmrk-equip/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/Cargo.toml
+++ b/pallets/proxy-rmrk-equip/Cargo.toml
@@ -19,7 +19,7 @@
pallet-common = { default-features = false, path = '../common' }
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
scale-info = { version = "2.0.1", default-features = false, features = [
pallets/refungible/Cargo.tomldiffbeforeafterboth--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/Cargo.toml
@@ -16,7 +16,7 @@
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
pallet-common = { default-features = false, path = '../common' }
pallets/structure/Cargo.tomldiffbeforeafterboth--- a/pallets/structure/Cargo.toml
+++ b/pallets/structure/Cargo.toml
@@ -16,7 +16,7 @@
"derive",
] }
up-data-structs = { path = "../../primitives/data-structs", default-features = false }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
[features]
default = ["std"]
pallets/unique/Cargo.tomldiffbeforeafterboth--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -100,7 +100,7 @@
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
pallet-common = { default-features = false, path = "../common" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -138,7 +138,7 @@
pub enum Event<T>
where
<T as frame_system::Config>::AccountId,
- <T as pallet_evm::account::Config>::CrossAccountId,
+ <T as pallet_evm::Config>::CrossAccountId,
{
/// Collection sponsor was removed
///
primitives/app_promotion_rpc/Cargo.tomldiffbeforeafterboth--- a/primitives/app_promotion_rpc/Cargo.toml
+++ b/primitives/app_promotion_rpc/Cargo.toml
@@ -14,7 +14,7 @@
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
[features]
default = ["std"]
primitives/common/Cargo.tomldiffbeforeafterboth--- a/primitives/common/Cargo.toml
+++ b/primitives/common/Cargo.toml
@@ -48,9 +48,9 @@
[dependencies.fp-rpc]
default-features = false
git = "https://github.com/uniquenetwork/frontier"
-branch = "unique-polkadot-v0.9.30"
+branch = "unique-polkadot-v0.9.30-2"
[dependencies.pallet-evm]
default-features = false
git = "https://github.com/uniquenetwork/frontier"
-branch = "unique-polkadot-v0.9.30"
+branch = "unique-polkadot-v0.9.30-2"
primitives/data-structs/Cargo.tomldiffbeforeafterboth--- a/primitives/data-structs/Cargo.toml
+++ b/primitives/data-structs/Cargo.toml
@@ -25,9 +25,11 @@
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
derivative = { version = "2.2.0", features = ["use_core"] }
struct-versioning = { path = "../../crates/struct-versioning" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
rmrk-traits = { default-features = false, path = "../rmrk-traits" }
-bondrewd = { version = "0.1.14", features = ["derive"], default-features = false }
+bondrewd = { version = "0.1.14", features = [
+ "derive",
+], default-features = false }
[features]
default = ["std"]
primitives/data-structs/src/lib.rsdiffbeforeafterboth--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -962,12 +962,15 @@
use scale_info::{
Type, Path,
build::{FieldsBuilder, UnnamedFields},
+ form::MetaForm,
type_params,
};
Type::builder()
.path(Path::new("up_data_structs", "PhantomType"))
.type_params(type_params!(T))
- .composite(<FieldsBuilder<UnnamedFields>>::default().field(|b| b.ty::<[T; 0]>()))
+ .composite(
+ <FieldsBuilder<MetaForm, UnnamedFields>>::default().field(|b| b.ty::<[T; 0]>()),
+ )
}
}
impl<T> MaxEncodedLen for PhantomType<T> {
primitives/rpc/Cargo.tomldiffbeforeafterboth--- a/primitives/rpc/Cargo.toml
+++ b/primitives/rpc/Cargo.toml
@@ -14,7 +14,7 @@
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
[features]
default = ["std"]
runtime/common/config/ethereum.rsdiffbeforeafterboth--- a/runtime/common/config/ethereum.rs
+++ b/runtime/common/config/ethereum.rs
@@ -17,19 +17,15 @@
pub type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;
-impl pallet_evm::account::Config for Runtime {
- type CrossAccountId = CrossAccountId;
- type EvmAddressMapping = pallet_evm::HashedAddressMapping<Self::Hashing>;
- type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;
-}
-
// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case
// (contract, which only writes a lot of data),
// approximating on top of our real store write weight
parameter_types! {
pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND.ref_time() / <Runtime as frame_system::Config>::DbWeight::get().write;
pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;
- pub const WeightPerGas: u64 = WEIGHT_PER_SECOND.ref_time() / GasPerSecond::get();
+ pub const WeightTimePerGas: u64 = WEIGHT_PER_SECOND.ref_time() / GasPerSecond::get();
+
+ pub const WeightPerGas: Weight = Weight::from_ref_time(WeightTimePerGas::get());
}
/// Limiting EVM execution to 50% of block for substrate users and management tasks
@@ -37,17 +33,7 @@
/// scheduled fairly
const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);
parameter_types! {
- pub BlockGasLimit: U256 = U256::from((NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get()).ref_time());
-}
-
-pub enum FixedGasWeightMapping {}
-impl pallet_evm::GasWeightMapping for FixedGasWeightMapping {
- fn gas_to_weight(gas: u64) -> Weight {
- Weight::from_ref_time(gas).saturating_mul(WeightPerGas::get())
- }
- fn weight_to_gas(weight: Weight) -> u64 {
- (weight / WeightPerGas::get()).ref_time()
- }
+ pub BlockGasLimit: U256 = U256::from((NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightTimePerGas::get()).ref_time());
}
pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);
@@ -65,9 +51,13 @@
}
impl pallet_evm::Config for Runtime {
+ type CrossAccountId = CrossAccountId;
+ type EvmAddressMapping = pallet_evm::HashedAddressMapping<Self::Hashing>;
+ type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;
type BlockGasLimit = BlockGasLimit;
type FeeCalculator = pallet_configuration::FeeCalculator<Self>;
- type GasWeightMapping = FixedGasWeightMapping;
+ type GasWeightMapping = pallet_evm::FixedGasWeightMapping<Self>;
+ type WeightPerGas = WeightPerGas;
type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;
type CallOrigin = EnsureAddressTruncated<Self>;
type WithdrawOrigin = EnsureAddressTruncated<Self>;
runtime/common/ethereum/self_contained_call.rsdiffbeforeafterboth--- a/runtime/common/ethereum/self_contained_call.rs
+++ b/runtime/common/ethereum/self_contained_call.rs
@@ -69,9 +69,13 @@
fn pre_dispatch_self_contained(
&self,
info: &Self::SignedInfo,
+ dispatch_info: &DispatchInfoOf<RuntimeCall>,
+ len: usize,
) -> Option<Result<(), TransactionValidityError>> {
match self {
- RuntimeCall::Ethereum(call) => call.pre_dispatch_self_contained(info),
+ RuntimeCall::Ethereum(call) => {
+ call.pre_dispatch_self_contained(info, dispatch_info, len)
+ }
_ => None,
}
}
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -493,6 +493,7 @@
nonce,
access_list.unwrap_or_default(),
is_transactional,
+ false,
config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),
).map_err(|err| err.error.into())
}
@@ -528,6 +529,7 @@
nonce,
access_list.unwrap_or_default(),
is_transactional,
+ false,
config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),
).map_err(|err| err.error.into())
}
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -82,7 +82,6 @@
'pallet-proxy-rmrk-equip/try-runtime',
'pallet-app-promotion/try-runtime',
'pallet-foreign-assets/try-runtime',
- 'pallet-evm/try-runtime',
'pallet-ethereum/try-runtime',
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
@@ -174,7 +173,14 @@
'pallet-test-utils?/std',
]
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-opal-runtime = ['refungible', 'scheduler', 'rmrk', 'app-promotion', 'foreign-assets', 'pallet-test-utils']
+opal-runtime = [
+ 'refungible',
+ 'scheduler',
+ 'rmrk',
+ 'app-promotion',
+ 'foreign-assets',
+ 'pallet-test-utils',
+]
refungible = []
scheduler = []
@@ -461,7 +467,7 @@
up-rpc = { path = "../../primitives/rpc", default-features = false }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }
rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }
up-data-structs = { path = '../../primitives/data-structs', default-features = false }
@@ -479,11 +485,11 @@
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }
pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -80,7 +80,6 @@
'pallet-proxy-rmrk-equip/try-runtime',
'pallet-app-promotion/try-runtime',
'pallet-foreign-assets/try-runtime',
- 'pallet-evm/try-runtime',
'pallet-ethereum/try-runtime',
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
@@ -460,7 +459,7 @@
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }
up-data-structs = { path = '../../primitives/data-structs', default-features = false }
@@ -478,11 +477,11 @@
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }
pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }
runtime/tests/Cargo.tomldiffbeforeafterboth--- a/runtime/tests/Cargo.toml
+++ b/runtime/tests/Cargo.toml
@@ -16,7 +16,7 @@
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
@@ -25,8 +25,8 @@
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
pallet-common = { path = '../../pallets/common' }
pallet-structure = { path = '../../pallets/structure' }
runtime/tests/src/lib.rsdiffbeforeafterboth--- a/runtime/tests/src/lib.rs
+++ b/runtime/tests/src/lib.rs
@@ -21,6 +21,7 @@
parameter_types,
traits::{Everything, ConstU32, ConstU64},
weights::IdentityFee,
+ pallet_prelude::Weight,
};
use sp_runtime::{
traits::{BlakeTwo256, IdentityLookup},
@@ -202,6 +203,7 @@
parameter_types! {
pub BlockGasLimit: U256 = 0u32.into();
+ pub WeightPerGas: Weight = Weight::from_ref_time(20);
}
impl pallet_ethereum::Config for Test {
@@ -210,11 +212,15 @@
}
impl pallet_evm::Config for Test {
+ type CrossAccountId = TestCrossAccountId;
+ type EvmAddressMapping = TestEvmAddressMapping;
+ type EvmBackwardsAddressMapping = TestEvmBackwardsAddressMapping;
type RuntimeEvent = RuntimeEvent;
type FeeCalculator = ();
- type GasWeightMapping = ();
- type CallOrigin = EnsureAddressNever<Self::CrossAccountId>;
- type WithdrawOrigin = EnsureAddressNever<Self::CrossAccountId>;
+ type GasWeightMapping = pallet_evm::FixedGasWeightMapping<Self>;
+ type WeightPerGas = WeightPerGas;
+ type CallOrigin = EnsureAddressNever<Self>;
+ type WithdrawOrigin = EnsureAddressNever<Self>;
type AddressMapping = TestEvmAddressMapping;
type Currency = Balances;
type PrecompilesType = ();
@@ -242,12 +248,6 @@
type EvmTokenAddressMapping = EvmTokenAddressMapping;
type CrossTokenAddressMapping = CrossTokenAddressMapping<Self::AccountId>;
type ContractAddress = EvmCollectionHelpersAddress;
-}
-
-impl pallet_evm::account::Config for Test {
- type CrossAccountId = TestCrossAccountId;
- type EvmAddressMapping = TestEvmAddressMapping;
- type EvmBackwardsAddressMapping = TestEvmBackwardsAddressMapping;
}
impl pallet_structure::Config for Test {
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -81,7 +81,6 @@
'pallet-proxy-rmrk-equip/try-runtime',
'pallet-app-promotion/try-runtime',
'pallet-foreign-assets/try-runtime',
- 'pallet-evm/try-runtime',
'pallet-ethereum/try-runtime',
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
@@ -472,12 +471,12 @@
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30-2" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }
pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }
tests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/contractSponsoring.test.ts
+++ b/tests/src/eth/contractSponsoring.test.ts
@@ -372,7 +372,7 @@
const originalFlipperBalance = await helper.balance.getEthereum(flipper.options.address);
expect(originalFlipperBalance).to.be.not.equal('0');
- await expect(flipper.methods.flip().send({from: caller})).to.be.rejectedWith(/InvalidTransaction::Payment/);
+ await expect(flipper.methods.flip().send({from: caller})).to.be.rejectedWith(/Returned error: insufficient funds for gas \* price \+ value/);
expect(await flipper.methods.getValue().call()).to.be.false;
// Balance should be taken from flipper instead of caller
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -265,6 +265,14 @@
**/
FeeOverflow: AugmentedError<ApiType>;
/**
+ * Gas limit is too high.
+ **/
+ GasLimitTooHigh: AugmentedError<ApiType>;
+ /**
+ * Gas limit is too low.
+ **/
+ GasLimitTooLow: AugmentedError<ApiType>;
+ /**
* Gas price is too low.
**/
GasPriceTooLow: AugmentedError<ApiType>;
@@ -277,6 +285,14 @@
**/
PaymentOverflow: AugmentedError<ApiType>;
/**
+ * EVM reentrancy
+ **/
+ Reentrancy: AugmentedError<ApiType>;
+ /**
+ * Undefined error.
+ **/
+ Undefined: AugmentedError<ApiType>;
+ /**
* Withdraw fee failed
**/
WithdrawFailed: AugmentedError<ApiType>;
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -6,7 +6,7 @@
import '@polkadot/api-base/types/events';
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
-import type { Bytes, Null, Option, Result, U256, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
+import type { Bytes, Null, Option, Result, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256, Weight } from '@polkadot/types/interfaces/runtime';
import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, SpRuntimeDispatchError, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
@@ -204,9 +204,9 @@
};
ethereum: {
/**
- * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason]
+ * An ethereum transaction was successfully executed.
**/
- Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>;
+ Executed: AugmentedEvent<ApiType, [from: H160, to: H160, transactionHash: H256, exitReason: EvmCoreErrorExitReason], { from: H160, to: H160, transactionHash: H256, exitReason: EvmCoreErrorExitReason }>;
/**
* Generic event
**/
@@ -214,33 +214,25 @@
};
evm: {
/**
- * A deposit has been made at a given address. \[sender, address, value\]
+ * A contract has been created at given address.
**/
- BalanceDeposit: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;
+ Created: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
- * A withdrawal has been made from a given address. \[sender, address, value\]
+ * A contract was attempted to be created, but the execution failed.
**/
- BalanceWithdraw: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;
+ CreatedFailed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
- * A contract has been created at given \[address\].
+ * A contract has been executed successfully with states applied.
**/
- Created: AugmentedEvent<ApiType, [H160]>;
+ Executed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
- * A \[contract\] was attempted to be created, but the execution failed.
+ * A contract has been executed with errors. States are reverted with only gas fees applied.
**/
- CreatedFailed: AugmentedEvent<ApiType, [H160]>;
- /**
- * A \[contract\] has been executed successfully with states applied.
- **/
- Executed: AugmentedEvent<ApiType, [H160]>;
- /**
- * A \[contract\] has been executed with errors. States are reverted with only gas fees applied.
- **/
- ExecutedFailed: AugmentedEvent<ApiType, [H160]>;
+ ExecutedFailed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
* Ethereum events from contracts.
**/
- Log: AugmentedEvent<ApiType, [EthereumLog]>;
+ Log: AugmentedEvent<ApiType, [log: EthereumLog], { log: EthereumLog }>;
/**
* Generic event
**/
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1347,7 +1347,12 @@
/** @name PalletEthereumEvent */
export interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
- readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
+ readonly asExecuted: {
+ readonly from: H160;
+ readonly to: H160;
+ readonly transactionHash: H256;
+ readonly exitReason: EvmCoreErrorExitReason;
+ } & Struct;
readonly type: 'Executed';
}
@@ -1457,26 +1462,36 @@
readonly isWithdrawFailed: boolean;
readonly isGasPriceTooLow: boolean;
readonly isInvalidNonce: boolean;
- readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
+ readonly isGasLimitTooLow: boolean;
+ readonly isGasLimitTooHigh: boolean;
+ readonly isUndefined: boolean;
+ readonly isReentrancy: boolean;
+ readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';
}
/** @name PalletEvmEvent */
export interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
- readonly asLog: EthereumLog;
+ readonly asLog: {
+ readonly log: EthereumLog;
+ } & Struct;
readonly isCreated: boolean;
- readonly asCreated: H160;
+ readonly asCreated: {
+ readonly address: H160;
+ } & Struct;
readonly isCreatedFailed: boolean;
- readonly asCreatedFailed: H160;
+ readonly asCreatedFailed: {
+ readonly address: H160;
+ } & Struct;
readonly isExecuted: boolean;
- readonly asExecuted: H160;
+ readonly asExecuted: {
+ readonly address: H160;
+ } & Struct;
readonly isExecutedFailed: boolean;
- readonly asExecutedFailed: H160;
- readonly isBalanceDeposit: boolean;
- readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;
- readonly isBalanceWithdraw: boolean;
- readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;
- readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
+ readonly asExecutedFailed: {
+ readonly address: H160;
+ } & Struct;
+ readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
/** @name PalletEvmMigrationCall */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1216,13 +1216,21 @@
**/
PalletEvmEvent: {
_enum: {
- Log: 'EthereumLog',
- Created: 'H160',
- CreatedFailed: 'H160',
- Executed: 'H160',
- ExecutedFailed: 'H160',
- BalanceDeposit: '(AccountId32,H160,U256)',
- BalanceWithdraw: '(AccountId32,H160,U256)'
+ Log: {
+ log: 'EthereumLog',
+ },
+ Created: {
+ address: 'H160',
+ },
+ CreatedFailed: {
+ address: 'H160',
+ },
+ Executed: {
+ address: 'H160',
+ },
+ ExecutedFailed: {
+ address: 'H160'
+ }
}
},
/**
@@ -1234,15 +1242,20 @@
data: 'Bytes'
},
/**
- * Lookup116: pallet_ethereum::pallet::Event
+ * Lookup114: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
- Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'
+ Executed: {
+ from: 'H160',
+ to: 'H160',
+ transactionHash: 'H256',
+ exitReason: 'EvmCoreErrorExitReason'
+ }
}
},
/**
- * Lookup117: evm_core::error::ExitReason
+ * Lookup115: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1253,13 +1266,13 @@
}
},
/**
- * Lookup118: evm_core::error::ExitSucceed
+ * Lookup116: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup119: evm_core::error::ExitError
+ * Lookup117: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1281,13 +1294,13 @@
}
},
/**
- * Lookup122: evm_core::error::ExitRevert
+ * Lookup120: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup123: evm_core::error::ExitFatal
+ * Lookup121: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1298,7 +1311,7 @@
}
},
/**
- * Lookup124: pallet_evm_contract_helpers::pallet::Event<T>
+ * Lookup122: pallet_evm_contract_helpers::pallet::Event<T>
**/
PalletEvmContractHelpersEvent: {
_enum: {
@@ -1308,19 +1321,19 @@
}
},
/**
- * Lookup125: pallet_maintenance::pallet::Event<T>
+ * Lookup123: pallet_maintenance::pallet::Event<T>
**/
PalletMaintenanceEvent: {
_enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
},
/**
- * Lookup126: pallet_test_utils::pallet::Event<T>
+ * Lookup124: pallet_test_utils::pallet::Event<T>
**/
PalletTestUtilsEvent: {
_enum: ['ValueIsSet', 'ShouldRollback']
},
/**
- * Lookup127: frame_system::Phase
+ * Lookup125: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1330,14 +1343,14 @@
}
},
/**
- * Lookup129: frame_system::LastRuntimeUpgradeInfo
+ * Lookup127: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup130: frame_system::pallet::Call<T>
+ * Lookup128: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1375,7 +1388,7 @@
}
},
/**
- * Lookup135: frame_system::limits::BlockWeights
+ * Lookup133: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'Weight',
@@ -1383,7 +1396,7 @@
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
},
/**
- * Lookup136: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup134: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1391,7 +1404,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup137: frame_system::limits::WeightsPerClass
+ * Lookup135: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'Weight',
@@ -1400,13 +1413,13 @@
reserved: 'Option<Weight>'
},
/**
- * Lookup139: frame_system::limits::BlockLength
+ * Lookup137: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportDispatchPerDispatchClassU32'
},
/**
- * Lookup140: frame_support::dispatch::PerDispatchClass<T>
+ * Lookup138: frame_support::dispatch::PerDispatchClass<T>
**/
FrameSupportDispatchPerDispatchClassU32: {
normal: 'u32',
@@ -1414,14 +1427,14 @@
mandatory: 'u32'
},
/**
- * Lookup141: sp_weights::RuntimeDbWeight
+ * Lookup139: sp_weights::RuntimeDbWeight
**/
SpWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup142: sp_version::RuntimeVersion
+ * Lookup140: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1434,13 +1447,13 @@
stateVersion: 'u8'
},
/**
- * Lookup147: frame_system::pallet::Error<T>
+ * Lookup145: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup148: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup146: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1449,19 +1462,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup151: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup149: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup152: sp_trie::storage_proof::StorageProof
+ * Lookup150: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup154: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup152: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1470,7 +1483,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup157: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup155: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1481,7 +1494,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup158: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup156: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1495,14 +1508,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup164: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup162: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup165: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup163: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1521,7 +1534,7 @@
}
},
/**
- * Lookup166: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup164: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1530,27 +1543,27 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup168: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup166: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup171: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup169: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup174: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup172: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup176: pallet_balances::BalanceLock<Balance>
+ * Lookup174: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -1558,26 +1571,26 @@
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup177: pallet_balances::Reasons
+ * Lookup175: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup180: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup178: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup182: pallet_balances::Releases
+ * Lookup180: pallet_balances::Releases
**/
PalletBalancesReleases: {
_enum: ['V1_0_0', 'V2_0_0']
},
/**
- * Lookup183: pallet_balances::pallet::Call<T, I>
+ * Lookup181: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1610,13 +1623,13 @@
}
},
/**
- * Lookup186: pallet_balances::pallet::Error<T, I>
+ * Lookup184: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup188: pallet_timestamp::pallet::Call<T>
+ * Lookup186: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1626,13 +1639,13 @@
}
},
/**
- * Lookup190: pallet_transaction_payment::Releases
+ * Lookup188: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup191: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup189: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1641,7 +1654,7 @@
bond: 'u128'
},
/**
- * Lookup194: pallet_treasury::pallet::Call<T, I>
+ * Lookup192: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1665,17 +1678,17 @@
}
},
/**
- * Lookup197: frame_support::PalletId
+ * Lookup195: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup198: pallet_treasury::pallet::Error<T, I>
+ * Lookup196: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup199: pallet_sudo::pallet::Call<T>
+ * Lookup197: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1699,7 +1712,7 @@
}
},
/**
- * Lookup201: orml_vesting::module::Call<T>
+ * Lookup199: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1718,7 +1731,7 @@
}
},
/**
- * Lookup203: orml_xtokens::module::Call<T>
+ * Lookup201: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1761,7 +1774,7 @@
}
},
/**
- * Lookup204: xcm::VersionedMultiAsset
+ * Lookup202: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
@@ -1770,7 +1783,7 @@
}
},
/**
- * Lookup207: orml_tokens::module::Call<T>
+ * Lookup205: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1804,7 +1817,7 @@
}
},
/**
- * Lookup208: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup206: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -1853,7 +1866,7 @@
}
},
/**
- * Lookup209: pallet_xcm::pallet::Call<T>
+ * Lookup207: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -1907,7 +1920,7 @@
}
},
/**
- * Lookup210: xcm::VersionedXcm<RuntimeCall>
+ * Lookup208: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
@@ -1917,7 +1930,7 @@
}
},
/**
- * Lookup211: xcm::v0::Xcm<RuntimeCall>
+ * Lookup209: xcm::v0::Xcm<RuntimeCall>
**/
XcmV0Xcm: {
_enum: {
@@ -1971,7 +1984,7 @@
}
},
/**
- * Lookup213: xcm::v0::order::Order<RuntimeCall>
+ * Lookup211: xcm::v0::order::Order<RuntimeCall>
**/
XcmV0Order: {
_enum: {
@@ -2014,7 +2027,7 @@
}
},
/**
- * Lookup215: xcm::v0::Response
+ * Lookup213: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -2022,7 +2035,7 @@
}
},
/**
- * Lookup216: xcm::v1::Xcm<RuntimeCall>
+ * Lookup214: xcm::v1::Xcm<RuntimeCall>
**/
XcmV1Xcm: {
_enum: {
@@ -2081,7 +2094,7 @@
}
},
/**
- * Lookup218: xcm::v1::order::Order<RuntimeCall>
+ * Lookup216: xcm::v1::order::Order<RuntimeCall>
**/
XcmV1Order: {
_enum: {
@@ -2126,7 +2139,7 @@
}
},
/**
- * Lookup220: xcm::v1::Response
+ * Lookup218: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -2135,11 +2148,11 @@
}
},
/**
- * Lookup234: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup232: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup235: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup233: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -2150,7 +2163,7 @@
}
},
/**
- * Lookup236: pallet_inflation::pallet::Call<T>
+ * Lookup234: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2160,7 +2173,7 @@
}
},
/**
- * Lookup237: pallet_unique::Call<T>
+ * Lookup235: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2292,7 +2305,7 @@
}
},
/**
- * Lookup242: up_data_structs::CollectionMode
+ * Lookup240: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2302,7 +2315,7 @@
}
},
/**
- * Lookup243: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup241: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2317,13 +2330,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup245: up_data_structs::AccessMode
+ * Lookup243: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup247: up_data_structs::CollectionLimits
+ * Lookup245: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2337,7 +2350,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup249: up_data_structs::SponsoringRateLimit
+ * Lookup247: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2346,7 +2359,7 @@
}
},
/**
- * Lookup252: up_data_structs::CollectionPermissions
+ * Lookup250: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2354,7 +2367,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup254: up_data_structs::NestingPermissions
+ * Lookup252: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2362,18 +2375,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup256: up_data_structs::OwnerRestrictedSet
+ * Lookup254: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup261: up_data_structs::PropertyKeyPermission
+ * Lookup259: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup262: up_data_structs::PropertyPermission
+ * Lookup260: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2381,14 +2394,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup265: up_data_structs::Property
+ * Lookup263: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup268: up_data_structs::CreateItemData
+ * Lookup266: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2398,26 +2411,26 @@
}
},
/**
- * Lookup269: up_data_structs::CreateNftData
+ * Lookup267: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup270: up_data_structs::CreateFungibleData
+ * Lookup268: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup271: up_data_structs::CreateReFungibleData
+ * Lookup269: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup274: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup272: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2428,14 +2441,14 @@
}
},
/**
- * Lookup276: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup274: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup283: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup281: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2443,14 +2456,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup285: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup283: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup286: pallet_unique_scheduler::pallet::Call<T>
+ * Lookup284: pallet_unique_scheduler::pallet::Call<T>
**/
PalletUniqueSchedulerCall: {
_enum: {
@@ -2478,7 +2491,7 @@
}
},
/**
- * Lookup289: frame_support::traits::schedule::MaybeHashed<opal_runtime::RuntimeCall, primitive_types::H256>
+ * Lookup287: frame_support::traits::schedule::MaybeHashed<opal_runtime::RuntimeCall, primitive_types::H256>
**/
FrameSupportScheduleMaybeHashed: {
_enum: {
@@ -2487,7 +2500,7 @@
}
},
/**
- * Lookup290: pallet_configuration::pallet::Call<T>
+ * Lookup288: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2500,15 +2513,15 @@
}
},
/**
- * Lookup292: pallet_template_transaction_payment::Call<T>
+ * Lookup290: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup293: pallet_structure::pallet::Call<T>
+ * Lookup291: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup294: pallet_rmrk_core::pallet::Call<T>
+ * Lookup292: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -2599,7 +2612,7 @@
}
},
/**
- * Lookup300: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup298: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2609,7 +2622,7 @@
}
},
/**
- * Lookup302: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup300: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -2618,7 +2631,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup304: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup302: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -2629,7 +2642,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup305: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup303: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -2640,7 +2653,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup308: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup306: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -2661,7 +2674,7 @@
}
},
/**
- * Lookup311: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup309: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -2670,7 +2683,7 @@
}
},
/**
- * Lookup313: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup311: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -2678,7 +2691,7 @@
src: 'Bytes'
},
/**
- * Lookup314: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup312: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -2687,7 +2700,7 @@
z: 'u32'
},
/**
- * Lookup315: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup313: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -2697,7 +2710,7 @@
}
},
/**
- * Lookup317: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
+ * Lookup315: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -2705,14 +2718,14 @@
inherit: 'bool'
},
/**
- * Lookup319: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup317: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup321: pallet_app_promotion::pallet::Call<T>
+ * Lookup319: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -2741,7 +2754,7 @@
}
},
/**
- * Lookup322: pallet_foreign_assets::module::Call<T>
+ * Lookup320: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2758,7 +2771,7 @@
}
},
/**
- * Lookup323: pallet_evm::pallet::Call<T>
+ * Lookup321: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -3458,7 +3471,7 @@
* Lookup450: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
- _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
+ _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']
},
/**
* Lookup453: fp_rpc::TransactionStatus
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill, Weight } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */32 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {33 readonly normal: Weight;34 readonly operational: Weight;35 readonly mandatory: Weight;36 }3738 /** @name SpRuntimeDigest (12) */39 interface SpRuntimeDigest extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;41 }4243 /** @name SpRuntimeDigestDigestItem (14) */44 interface SpRuntimeDigestDigestItem extends Enum {45 readonly isOther: boolean;46 readonly asOther: Bytes;47 readonly isConsensus: boolean;48 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;49 readonly isSeal: boolean;50 readonly asSeal: ITuple<[U8aFixed, Bytes]>;51 readonly isPreRuntime: boolean;52 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;53 readonly isRuntimeEnvironmentUpdated: boolean;54 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';55 }5657 /** @name FrameSystemEventRecord (17) */58 interface FrameSystemEventRecord extends Struct {59 readonly phase: FrameSystemPhase;60 readonly event: Event;61 readonly topics: Vec<H256>;62 }6364 /** @name FrameSystemEvent (19) */65 interface FrameSystemEvent extends Enum {66 readonly isExtrinsicSuccess: boolean;67 readonly asExtrinsicSuccess: {68 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;69 } & Struct;70 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {72 readonly dispatchError: SpRuntimeDispatchError;73 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;74 } & Struct;75 readonly isCodeUpdated: boolean;76 readonly isNewAccount: boolean;77 readonly asNewAccount: {78 readonly account: AccountId32;79 } & Struct;80 readonly isKilledAccount: boolean;81 readonly asKilledAccount: {82 readonly account: AccountId32;83 } & Struct;84 readonly isRemarked: boolean;85 readonly asRemarked: {86 readonly sender: AccountId32;87 readonly hash_: H256;88 } & Struct;89 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';90 }9192 /** @name FrameSupportDispatchDispatchInfo (20) */93 interface FrameSupportDispatchDispatchInfo extends Struct {94 readonly weight: Weight;95 readonly class: FrameSupportDispatchDispatchClass;96 readonly paysFee: FrameSupportDispatchPays;97 }9899 /** @name FrameSupportDispatchDispatchClass (21) */100 interface FrameSupportDispatchDispatchClass extends Enum {101 readonly isNormal: boolean;102 readonly isOperational: boolean;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }106107 /** @name FrameSupportDispatchPays (22) */108 interface FrameSupportDispatchPays extends Enum {109 readonly isYes: boolean;110 readonly isNo: boolean;111 readonly type: 'Yes' | 'No';112 }113114 /** @name SpRuntimeDispatchError (23) */115 interface SpRuntimeDispatchError extends Enum {116 readonly isOther: boolean;117 readonly isCannotLookup: boolean;118 readonly isBadOrigin: boolean;119 readonly isModule: boolean;120 readonly asModule: SpRuntimeModuleError;121 readonly isConsumerRemaining: boolean;122 readonly isNoProviders: boolean;123 readonly isTooManyConsumers: boolean;124 readonly isToken: boolean;125 readonly asToken: SpRuntimeTokenError;126 readonly isArithmetic: boolean;127 readonly asArithmetic: SpRuntimeArithmeticError;128 readonly isTransactional: boolean;129 readonly asTransactional: SpRuntimeTransactionalError;130 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';131 }132133 /** @name SpRuntimeModuleError (24) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (25) */140 interface SpRuntimeTokenError extends Enum {141 readonly isNoFunds: boolean;142 readonly isWouldDie: boolean;143 readonly isBelowMinimum: boolean;144 readonly isCannotCreate: boolean;145 readonly isUnknownAsset: boolean;146 readonly isFrozen: boolean;147 readonly isUnsupported: boolean;148 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';149 }150151 /** @name SpRuntimeArithmeticError (26) */152 interface SpRuntimeArithmeticError extends Enum {153 readonly isUnderflow: boolean;154 readonly isOverflow: boolean;155 readonly isDivisionByZero: boolean;156 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';157 }158159 /** @name SpRuntimeTransactionalError (27) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (28) */167 interface CumulusPalletParachainSystemEvent extends Enum {168 readonly isValidationFunctionStored: boolean;169 readonly isValidationFunctionApplied: boolean;170 readonly asValidationFunctionApplied: {171 readonly relayChainBlockNum: u32;172 } & Struct;173 readonly isValidationFunctionDiscarded: boolean;174 readonly isUpgradeAuthorized: boolean;175 readonly asUpgradeAuthorized: {176 readonly codeHash: H256;177 } & Struct;178 readonly isDownwardMessagesReceived: boolean;179 readonly asDownwardMessagesReceived: {180 readonly count: u32;181 } & Struct;182 readonly isDownwardMessagesProcessed: boolean;183 readonly asDownwardMessagesProcessed: {184 readonly weightUsed: Weight;185 readonly dmqHead: H256;186 } & Struct;187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }189190 /** @name PalletBalancesEvent (29) */191 interface PalletBalancesEvent extends Enum {192 readonly isEndowed: boolean;193 readonly asEndowed: {194 readonly account: AccountId32;195 readonly freeBalance: u128;196 } & Struct;197 readonly isDustLost: boolean;198 readonly asDustLost: {199 readonly account: AccountId32;200 readonly amount: u128;201 } & Struct;202 readonly isTransfer: boolean;203 readonly asTransfer: {204 readonly from: AccountId32;205 readonly to: AccountId32;206 readonly amount: u128;207 } & Struct;208 readonly isBalanceSet: boolean;209 readonly asBalanceSet: {210 readonly who: AccountId32;211 readonly free: u128;212 readonly reserved: u128;213 } & Struct;214 readonly isReserved: boolean;215 readonly asReserved: {216 readonly who: AccountId32;217 readonly amount: u128;218 } & Struct;219 readonly isUnreserved: boolean;220 readonly asUnreserved: {221 readonly who: AccountId32;222 readonly amount: u128;223 } & Struct;224 readonly isReserveRepatriated: boolean;225 readonly asReserveRepatriated: {226 readonly from: AccountId32;227 readonly to: AccountId32;228 readonly amount: u128;229 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;230 } & Struct;231 readonly isDeposit: boolean;232 readonly asDeposit: {233 readonly who: AccountId32;234 readonly amount: u128;235 } & Struct;236 readonly isWithdraw: boolean;237 readonly asWithdraw: {238 readonly who: AccountId32;239 readonly amount: u128;240 } & Struct;241 readonly isSlashed: boolean;242 readonly asSlashed: {243 readonly who: AccountId32;244 readonly amount: u128;245 } & Struct;246 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';247 }248249 /** @name FrameSupportTokensMiscBalanceStatus (30) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;252 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';254 }255256 /** @name PalletTransactionPaymentEvent (31) */257 interface PalletTransactionPaymentEvent extends Enum {258 readonly isTransactionFeePaid: boolean;259 readonly asTransactionFeePaid: {260 readonly who: AccountId32;261 readonly actualFee: u128;262 readonly tip: u128;263 } & Struct;264 readonly type: 'TransactionFeePaid';265 }266267 /** @name PalletTreasuryEvent (32) */268 interface PalletTreasuryEvent extends Enum {269 readonly isProposed: boolean;270 readonly asProposed: {271 readonly proposalIndex: u32;272 } & Struct;273 readonly isSpending: boolean;274 readonly asSpending: {275 readonly budgetRemaining: u128;276 } & Struct;277 readonly isAwarded: boolean;278 readonly asAwarded: {279 readonly proposalIndex: u32;280 readonly award: u128;281 readonly account: AccountId32;282 } & Struct;283 readonly isRejected: boolean;284 readonly asRejected: {285 readonly proposalIndex: u32;286 readonly slashed: u128;287 } & Struct;288 readonly isBurnt: boolean;289 readonly asBurnt: {290 readonly burntFunds: u128;291 } & Struct;292 readonly isRollover: boolean;293 readonly asRollover: {294 readonly rolloverBalance: u128;295 } & Struct;296 readonly isDeposit: boolean;297 readonly asDeposit: {298 readonly value: u128;299 } & Struct;300 readonly isSpendApproved: boolean;301 readonly asSpendApproved: {302 readonly proposalIndex: u32;303 readonly amount: u128;304 readonly beneficiary: AccountId32;305 } & Struct;306 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';307 }308309 /** @name PalletSudoEvent (33) */310 interface PalletSudoEvent extends Enum {311 readonly isSudid: boolean;312 readonly asSudid: {313 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;314 } & Struct;315 readonly isKeyChanged: boolean;316 readonly asKeyChanged: {317 readonly oldSudoer: Option<AccountId32>;318 } & Struct;319 readonly isSudoAsDone: boolean;320 readonly asSudoAsDone: {321 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;322 } & Struct;323 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';324 }325326 /** @name OrmlVestingModuleEvent (37) */327 interface OrmlVestingModuleEvent extends Enum {328 readonly isVestingScheduleAdded: boolean;329 readonly asVestingScheduleAdded: {330 readonly from: AccountId32;331 readonly to: AccountId32;332 readonly vestingSchedule: OrmlVestingVestingSchedule;333 } & Struct;334 readonly isClaimed: boolean;335 readonly asClaimed: {336 readonly who: AccountId32;337 readonly amount: u128;338 } & Struct;339 readonly isVestingSchedulesUpdated: boolean;340 readonly asVestingSchedulesUpdated: {341 readonly who: AccountId32;342 } & Struct;343 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';344 }345346 /** @name OrmlVestingVestingSchedule (38) */347 interface OrmlVestingVestingSchedule extends Struct {348 readonly start: u32;349 readonly period: u32;350 readonly periodCount: u32;351 readonly perPeriod: Compact<u128>;352 }353354 /** @name OrmlXtokensModuleEvent (40) */355 interface OrmlXtokensModuleEvent extends Enum {356 readonly isTransferredMultiAssets: boolean;357 readonly asTransferredMultiAssets: {358 readonly sender: AccountId32;359 readonly assets: XcmV1MultiassetMultiAssets;360 readonly fee: XcmV1MultiAsset;361 readonly dest: XcmV1MultiLocation;362 } & Struct;363 readonly type: 'TransferredMultiAssets';364 }365366 /** @name XcmV1MultiassetMultiAssets (41) */367 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}368369 /** @name XcmV1MultiAsset (43) */370 interface XcmV1MultiAsset extends Struct {371 readonly id: XcmV1MultiassetAssetId;372 readonly fun: XcmV1MultiassetFungibility;373 }374375 /** @name XcmV1MultiassetAssetId (44) */376 interface XcmV1MultiassetAssetId extends Enum {377 readonly isConcrete: boolean;378 readonly asConcrete: XcmV1MultiLocation;379 readonly isAbstract: boolean;380 readonly asAbstract: Bytes;381 readonly type: 'Concrete' | 'Abstract';382 }383384 /** @name XcmV1MultiLocation (45) */385 interface XcmV1MultiLocation extends Struct {386 readonly parents: u8;387 readonly interior: XcmV1MultilocationJunctions;388 }389390 /** @name XcmV1MultilocationJunctions (46) */391 interface XcmV1MultilocationJunctions extends Enum {392 readonly isHere: boolean;393 readonly isX1: boolean;394 readonly asX1: XcmV1Junction;395 readonly isX2: boolean;396 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;397 readonly isX3: boolean;398 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;399 readonly isX4: boolean;400 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;401 readonly isX5: boolean;402 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;403 readonly isX6: boolean;404 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;405 readonly isX7: boolean;406 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;407 readonly isX8: boolean;408 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;409 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';410 }411412 /** @name XcmV1Junction (47) */413 interface XcmV1Junction extends Enum {414 readonly isParachain: boolean;415 readonly asParachain: Compact<u32>;416 readonly isAccountId32: boolean;417 readonly asAccountId32: {418 readonly network: XcmV0JunctionNetworkId;419 readonly id: U8aFixed;420 } & Struct;421 readonly isAccountIndex64: boolean;422 readonly asAccountIndex64: {423 readonly network: XcmV0JunctionNetworkId;424 readonly index: Compact<u64>;425 } & Struct;426 readonly isAccountKey20: boolean;427 readonly asAccountKey20: {428 readonly network: XcmV0JunctionNetworkId;429 readonly key: U8aFixed;430 } & Struct;431 readonly isPalletInstance: boolean;432 readonly asPalletInstance: u8;433 readonly isGeneralIndex: boolean;434 readonly asGeneralIndex: Compact<u128>;435 readonly isGeneralKey: boolean;436 readonly asGeneralKey: Bytes;437 readonly isOnlyChild: boolean;438 readonly isPlurality: boolean;439 readonly asPlurality: {440 readonly id: XcmV0JunctionBodyId;441 readonly part: XcmV0JunctionBodyPart;442 } & Struct;443 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';444 }445446 /** @name XcmV0JunctionNetworkId (49) */447 interface XcmV0JunctionNetworkId extends Enum {448 readonly isAny: boolean;449 readonly isNamed: boolean;450 readonly asNamed: Bytes;451 readonly isPolkadot: boolean;452 readonly isKusama: boolean;453 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';454 }455456 /** @name XcmV0JunctionBodyId (53) */457 interface XcmV0JunctionBodyId extends Enum {458 readonly isUnit: boolean;459 readonly isNamed: boolean;460 readonly asNamed: Bytes;461 readonly isIndex: boolean;462 readonly asIndex: Compact<u32>;463 readonly isExecutive: boolean;464 readonly isTechnical: boolean;465 readonly isLegislative: boolean;466 readonly isJudicial: boolean;467 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';468 }469470 /** @name XcmV0JunctionBodyPart (54) */471 interface XcmV0JunctionBodyPart extends Enum {472 readonly isVoice: boolean;473 readonly isMembers: boolean;474 readonly asMembers: {475 readonly count: Compact<u32>;476 } & Struct;477 readonly isFraction: boolean;478 readonly asFraction: {479 readonly nom: Compact<u32>;480 readonly denom: Compact<u32>;481 } & Struct;482 readonly isAtLeastProportion: boolean;483 readonly asAtLeastProportion: {484 readonly nom: Compact<u32>;485 readonly denom: Compact<u32>;486 } & Struct;487 readonly isMoreThanProportion: boolean;488 readonly asMoreThanProportion: {489 readonly nom: Compact<u32>;490 readonly denom: Compact<u32>;491 } & Struct;492 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';493 }494495 /** @name XcmV1MultiassetFungibility (55) */496 interface XcmV1MultiassetFungibility extends Enum {497 readonly isFungible: boolean;498 readonly asFungible: Compact<u128>;499 readonly isNonFungible: boolean;500 readonly asNonFungible: XcmV1MultiassetAssetInstance;501 readonly type: 'Fungible' | 'NonFungible';502 }503504 /** @name XcmV1MultiassetAssetInstance (56) */505 interface XcmV1MultiassetAssetInstance extends Enum {506 readonly isUndefined: boolean;507 readonly isIndex: boolean;508 readonly asIndex: Compact<u128>;509 readonly isArray4: boolean;510 readonly asArray4: U8aFixed;511 readonly isArray8: boolean;512 readonly asArray8: U8aFixed;513 readonly isArray16: boolean;514 readonly asArray16: U8aFixed;515 readonly isArray32: boolean;516 readonly asArray32: U8aFixed;517 readonly isBlob: boolean;518 readonly asBlob: Bytes;519 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';520 }521522 /** @name OrmlTokensModuleEvent (59) */523 interface OrmlTokensModuleEvent extends Enum {524 readonly isEndowed: boolean;525 readonly asEndowed: {526 readonly currencyId: PalletForeignAssetsAssetIds;527 readonly who: AccountId32;528 readonly amount: u128;529 } & Struct;530 readonly isDustLost: boolean;531 readonly asDustLost: {532 readonly currencyId: PalletForeignAssetsAssetIds;533 readonly who: AccountId32;534 readonly amount: u128;535 } & Struct;536 readonly isTransfer: boolean;537 readonly asTransfer: {538 readonly currencyId: PalletForeignAssetsAssetIds;539 readonly from: AccountId32;540 readonly to: AccountId32;541 readonly amount: u128;542 } & Struct;543 readonly isReserved: boolean;544 readonly asReserved: {545 readonly currencyId: PalletForeignAssetsAssetIds;546 readonly who: AccountId32;547 readonly amount: u128;548 } & Struct;549 readonly isUnreserved: boolean;550 readonly asUnreserved: {551 readonly currencyId: PalletForeignAssetsAssetIds;552 readonly who: AccountId32;553 readonly amount: u128;554 } & Struct;555 readonly isReserveRepatriated: boolean;556 readonly asReserveRepatriated: {557 readonly currencyId: PalletForeignAssetsAssetIds;558 readonly from: AccountId32;559 readonly to: AccountId32;560 readonly amount: u128;561 readonly status: FrameSupportTokensMiscBalanceStatus;562 } & Struct;563 readonly isBalanceSet: boolean;564 readonly asBalanceSet: {565 readonly currencyId: PalletForeignAssetsAssetIds;566 readonly who: AccountId32;567 readonly free: u128;568 readonly reserved: u128;569 } & Struct;570 readonly isTotalIssuanceSet: boolean;571 readonly asTotalIssuanceSet: {572 readonly currencyId: PalletForeignAssetsAssetIds;573 readonly amount: u128;574 } & Struct;575 readonly isWithdrawn: boolean;576 readonly asWithdrawn: {577 readonly currencyId: PalletForeignAssetsAssetIds;578 readonly who: AccountId32;579 readonly amount: u128;580 } & Struct;581 readonly isSlashed: boolean;582 readonly asSlashed: {583 readonly currencyId: PalletForeignAssetsAssetIds;584 readonly who: AccountId32;585 readonly freeAmount: u128;586 readonly reservedAmount: u128;587 } & Struct;588 readonly isDeposited: boolean;589 readonly asDeposited: {590 readonly currencyId: PalletForeignAssetsAssetIds;591 readonly who: AccountId32;592 readonly amount: u128;593 } & Struct;594 readonly isLockSet: boolean;595 readonly asLockSet: {596 readonly lockId: U8aFixed;597 readonly currencyId: PalletForeignAssetsAssetIds;598 readonly who: AccountId32;599 readonly amount: u128;600 } & Struct;601 readonly isLockRemoved: boolean;602 readonly asLockRemoved: {603 readonly lockId: U8aFixed;604 readonly currencyId: PalletForeignAssetsAssetIds;605 readonly who: AccountId32;606 } & Struct;607 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';608 }609610 /** @name PalletForeignAssetsAssetIds (60) */611 interface PalletForeignAssetsAssetIds extends Enum {612 readonly isForeignAssetId: boolean;613 readonly asForeignAssetId: u32;614 readonly isNativeAssetId: boolean;615 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;616 readonly type: 'ForeignAssetId' | 'NativeAssetId';617 }618619 /** @name PalletForeignAssetsNativeCurrency (61) */620 interface PalletForeignAssetsNativeCurrency extends Enum {621 readonly isHere: boolean;622 readonly isParent: boolean;623 readonly type: 'Here' | 'Parent';624 }625626 /** @name CumulusPalletXcmpQueueEvent (62) */627 interface CumulusPalletXcmpQueueEvent extends Enum {628 readonly isSuccess: boolean;629 readonly asSuccess: {630 readonly messageHash: Option<H256>;631 readonly weight: Weight;632 } & Struct;633 readonly isFail: boolean;634 readonly asFail: {635 readonly messageHash: Option<H256>;636 readonly error: XcmV2TraitsError;637 readonly weight: Weight;638 } & Struct;639 readonly isBadVersion: boolean;640 readonly asBadVersion: {641 readonly messageHash: Option<H256>;642 } & Struct;643 readonly isBadFormat: boolean;644 readonly asBadFormat: {645 readonly messageHash: Option<H256>;646 } & Struct;647 readonly isUpwardMessageSent: boolean;648 readonly asUpwardMessageSent: {649 readonly messageHash: Option<H256>;650 } & Struct;651 readonly isXcmpMessageSent: boolean;652 readonly asXcmpMessageSent: {653 readonly messageHash: Option<H256>;654 } & Struct;655 readonly isOverweightEnqueued: boolean;656 readonly asOverweightEnqueued: {657 readonly sender: u32;658 readonly sentAt: u32;659 readonly index: u64;660 readonly required: Weight;661 } & Struct;662 readonly isOverweightServiced: boolean;663 readonly asOverweightServiced: {664 readonly index: u64;665 readonly used: Weight;666 } & Struct;667 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';668 }669670 /** @name XcmV2TraitsError (64) */671 interface XcmV2TraitsError extends Enum {672 readonly isOverflow: boolean;673 readonly isUnimplemented: boolean;674 readonly isUntrustedReserveLocation: boolean;675 readonly isUntrustedTeleportLocation: boolean;676 readonly isMultiLocationFull: boolean;677 readonly isMultiLocationNotInvertible: boolean;678 readonly isBadOrigin: boolean;679 readonly isInvalidLocation: boolean;680 readonly isAssetNotFound: boolean;681 readonly isFailedToTransactAsset: boolean;682 readonly isNotWithdrawable: boolean;683 readonly isLocationCannotHold: boolean;684 readonly isExceedsMaxMessageSize: boolean;685 readonly isDestinationUnsupported: boolean;686 readonly isTransport: boolean;687 readonly isUnroutable: boolean;688 readonly isUnknownClaim: boolean;689 readonly isFailedToDecode: boolean;690 readonly isMaxWeightInvalid: boolean;691 readonly isNotHoldingFees: boolean;692 readonly isTooExpensive: boolean;693 readonly isTrap: boolean;694 readonly asTrap: u64;695 readonly isUnhandledXcmVersion: boolean;696 readonly isWeightLimitReached: boolean;697 readonly asWeightLimitReached: u64;698 readonly isBarrier: boolean;699 readonly isWeightNotComputable: boolean;700 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';701 }702703 /** @name PalletXcmEvent (66) */704 interface PalletXcmEvent extends Enum {705 readonly isAttempted: boolean;706 readonly asAttempted: XcmV2TraitsOutcome;707 readonly isSent: boolean;708 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;709 readonly isUnexpectedResponse: boolean;710 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;711 readonly isResponseReady: boolean;712 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;713 readonly isNotified: boolean;714 readonly asNotified: ITuple<[u64, u8, u8]>;715 readonly isNotifyOverweight: boolean;716 readonly asNotifyOverweight: ITuple<[u64, u8, u8, Weight, Weight]>;717 readonly isNotifyDispatchError: boolean;718 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;719 readonly isNotifyDecodeFailed: boolean;720 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;721 readonly isInvalidResponder: boolean;722 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;723 readonly isInvalidResponderVersion: boolean;724 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;725 readonly isResponseTaken: boolean;726 readonly asResponseTaken: u64;727 readonly isAssetsTrapped: boolean;728 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;729 readonly isVersionChangeNotified: boolean;730 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;731 readonly isSupportedVersionChanged: boolean;732 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;733 readonly isNotifyTargetSendFail: boolean;734 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;735 readonly isNotifyTargetMigrationFail: boolean;736 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;737 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';738 }739740 /** @name XcmV2TraitsOutcome (67) */741 interface XcmV2TraitsOutcome extends Enum {742 readonly isComplete: boolean;743 readonly asComplete: u64;744 readonly isIncomplete: boolean;745 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;746 readonly isError: boolean;747 readonly asError: XcmV2TraitsError;748 readonly type: 'Complete' | 'Incomplete' | 'Error';749 }750751 /** @name XcmV2Xcm (68) */752 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}753754 /** @name XcmV2Instruction (70) */755 interface XcmV2Instruction extends Enum {756 readonly isWithdrawAsset: boolean;757 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;758 readonly isReserveAssetDeposited: boolean;759 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;760 readonly isReceiveTeleportedAsset: boolean;761 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;762 readonly isQueryResponse: boolean;763 readonly asQueryResponse: {764 readonly queryId: Compact<u64>;765 readonly response: XcmV2Response;766 readonly maxWeight: Compact<u64>;767 } & Struct;768 readonly isTransferAsset: boolean;769 readonly asTransferAsset: {770 readonly assets: XcmV1MultiassetMultiAssets;771 readonly beneficiary: XcmV1MultiLocation;772 } & Struct;773 readonly isTransferReserveAsset: boolean;774 readonly asTransferReserveAsset: {775 readonly assets: XcmV1MultiassetMultiAssets;776 readonly dest: XcmV1MultiLocation;777 readonly xcm: XcmV2Xcm;778 } & Struct;779 readonly isTransact: boolean;780 readonly asTransact: {781 readonly originType: XcmV0OriginKind;782 readonly requireWeightAtMost: Compact<u64>;783 readonly call: XcmDoubleEncoded;784 } & Struct;785 readonly isHrmpNewChannelOpenRequest: boolean;786 readonly asHrmpNewChannelOpenRequest: {787 readonly sender: Compact<u32>;788 readonly maxMessageSize: Compact<u32>;789 readonly maxCapacity: Compact<u32>;790 } & Struct;791 readonly isHrmpChannelAccepted: boolean;792 readonly asHrmpChannelAccepted: {793 readonly recipient: Compact<u32>;794 } & Struct;795 readonly isHrmpChannelClosing: boolean;796 readonly asHrmpChannelClosing: {797 readonly initiator: Compact<u32>;798 readonly sender: Compact<u32>;799 readonly recipient: Compact<u32>;800 } & Struct;801 readonly isClearOrigin: boolean;802 readonly isDescendOrigin: boolean;803 readonly asDescendOrigin: XcmV1MultilocationJunctions;804 readonly isReportError: boolean;805 readonly asReportError: {806 readonly queryId: Compact<u64>;807 readonly dest: XcmV1MultiLocation;808 readonly maxResponseWeight: Compact<u64>;809 } & Struct;810 readonly isDepositAsset: boolean;811 readonly asDepositAsset: {812 readonly assets: XcmV1MultiassetMultiAssetFilter;813 readonly maxAssets: Compact<u32>;814 readonly beneficiary: XcmV1MultiLocation;815 } & Struct;816 readonly isDepositReserveAsset: boolean;817 readonly asDepositReserveAsset: {818 readonly assets: XcmV1MultiassetMultiAssetFilter;819 readonly maxAssets: Compact<u32>;820 readonly dest: XcmV1MultiLocation;821 readonly xcm: XcmV2Xcm;822 } & Struct;823 readonly isExchangeAsset: boolean;824 readonly asExchangeAsset: {825 readonly give: XcmV1MultiassetMultiAssetFilter;826 readonly receive: XcmV1MultiassetMultiAssets;827 } & Struct;828 readonly isInitiateReserveWithdraw: boolean;829 readonly asInitiateReserveWithdraw: {830 readonly assets: XcmV1MultiassetMultiAssetFilter;831 readonly reserve: XcmV1MultiLocation;832 readonly xcm: XcmV2Xcm;833 } & Struct;834 readonly isInitiateTeleport: boolean;835 readonly asInitiateTeleport: {836 readonly assets: XcmV1MultiassetMultiAssetFilter;837 readonly dest: XcmV1MultiLocation;838 readonly xcm: XcmV2Xcm;839 } & Struct;840 readonly isQueryHolding: boolean;841 readonly asQueryHolding: {842 readonly queryId: Compact<u64>;843 readonly dest: XcmV1MultiLocation;844 readonly assets: XcmV1MultiassetMultiAssetFilter;845 readonly maxResponseWeight: Compact<u64>;846 } & Struct;847 readonly isBuyExecution: boolean;848 readonly asBuyExecution: {849 readonly fees: XcmV1MultiAsset;850 readonly weightLimit: XcmV2WeightLimit;851 } & Struct;852 readonly isRefundSurplus: boolean;853 readonly isSetErrorHandler: boolean;854 readonly asSetErrorHandler: XcmV2Xcm;855 readonly isSetAppendix: boolean;856 readonly asSetAppendix: XcmV2Xcm;857 readonly isClearError: boolean;858 readonly isClaimAsset: boolean;859 readonly asClaimAsset: {860 readonly assets: XcmV1MultiassetMultiAssets;861 readonly ticket: XcmV1MultiLocation;862 } & Struct;863 readonly isTrap: boolean;864 readonly asTrap: Compact<u64>;865 readonly isSubscribeVersion: boolean;866 readonly asSubscribeVersion: {867 readonly queryId: Compact<u64>;868 readonly maxResponseWeight: Compact<u64>;869 } & Struct;870 readonly isUnsubscribeVersion: boolean;871 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';872 }873874 /** @name XcmV2Response (71) */875 interface XcmV2Response extends Enum {876 readonly isNull: boolean;877 readonly isAssets: boolean;878 readonly asAssets: XcmV1MultiassetMultiAssets;879 readonly isExecutionResult: boolean;880 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;881 readonly isVersion: boolean;882 readonly asVersion: u32;883 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';884 }885886 /** @name XcmV0OriginKind (74) */887 interface XcmV0OriginKind extends Enum {888 readonly isNative: boolean;889 readonly isSovereignAccount: boolean;890 readonly isSuperuser: boolean;891 readonly isXcm: boolean;892 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';893 }894895 /** @name XcmDoubleEncoded (75) */896 interface XcmDoubleEncoded extends Struct {897 readonly encoded: Bytes;898 }899900 /** @name XcmV1MultiassetMultiAssetFilter (76) */901 interface XcmV1MultiassetMultiAssetFilter extends Enum {902 readonly isDefinite: boolean;903 readonly asDefinite: XcmV1MultiassetMultiAssets;904 readonly isWild: boolean;905 readonly asWild: XcmV1MultiassetWildMultiAsset;906 readonly type: 'Definite' | 'Wild';907 }908909 /** @name XcmV1MultiassetWildMultiAsset (77) */910 interface XcmV1MultiassetWildMultiAsset extends Enum {911 readonly isAll: boolean;912 readonly isAllOf: boolean;913 readonly asAllOf: {914 readonly id: XcmV1MultiassetAssetId;915 readonly fun: XcmV1MultiassetWildFungibility;916 } & Struct;917 readonly type: 'All' | 'AllOf';918 }919920 /** @name XcmV1MultiassetWildFungibility (78) */921 interface XcmV1MultiassetWildFungibility extends Enum {922 readonly isFungible: boolean;923 readonly isNonFungible: boolean;924 readonly type: 'Fungible' | 'NonFungible';925 }926927 /** @name XcmV2WeightLimit (79) */928 interface XcmV2WeightLimit extends Enum {929 readonly isUnlimited: boolean;930 readonly isLimited: boolean;931 readonly asLimited: Compact<u64>;932 readonly type: 'Unlimited' | 'Limited';933 }934935 /** @name XcmVersionedMultiAssets (81) */936 interface XcmVersionedMultiAssets extends Enum {937 readonly isV0: boolean;938 readonly asV0: Vec<XcmV0MultiAsset>;939 readonly isV1: boolean;940 readonly asV1: XcmV1MultiassetMultiAssets;941 readonly type: 'V0' | 'V1';942 }943944 /** @name XcmV0MultiAsset (83) */945 interface XcmV0MultiAsset extends Enum {946 readonly isNone: boolean;947 readonly isAll: boolean;948 readonly isAllFungible: boolean;949 readonly isAllNonFungible: boolean;950 readonly isAllAbstractFungible: boolean;951 readonly asAllAbstractFungible: {952 readonly id: Bytes;953 } & Struct;954 readonly isAllAbstractNonFungible: boolean;955 readonly asAllAbstractNonFungible: {956 readonly class: Bytes;957 } & Struct;958 readonly isAllConcreteFungible: boolean;959 readonly asAllConcreteFungible: {960 readonly id: XcmV0MultiLocation;961 } & Struct;962 readonly isAllConcreteNonFungible: boolean;963 readonly asAllConcreteNonFungible: {964 readonly class: XcmV0MultiLocation;965 } & Struct;966 readonly isAbstractFungible: boolean;967 readonly asAbstractFungible: {968 readonly id: Bytes;969 readonly amount: Compact<u128>;970 } & Struct;971 readonly isAbstractNonFungible: boolean;972 readonly asAbstractNonFungible: {973 readonly class: Bytes;974 readonly instance: XcmV1MultiassetAssetInstance;975 } & Struct;976 readonly isConcreteFungible: boolean;977 readonly asConcreteFungible: {978 readonly id: XcmV0MultiLocation;979 readonly amount: Compact<u128>;980 } & Struct;981 readonly isConcreteNonFungible: boolean;982 readonly asConcreteNonFungible: {983 readonly class: XcmV0MultiLocation;984 readonly instance: XcmV1MultiassetAssetInstance;985 } & Struct;986 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';987 }988989 /** @name XcmV0MultiLocation (84) */990 interface XcmV0MultiLocation extends Enum {991 readonly isNull: boolean;992 readonly isX1: boolean;993 readonly asX1: XcmV0Junction;994 readonly isX2: boolean;995 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;996 readonly isX3: boolean;997 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;998 readonly isX4: boolean;999 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1000 readonly isX5: boolean;1001 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1002 readonly isX6: boolean;1003 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1004 readonly isX7: boolean;1005 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1006 readonly isX8: boolean;1007 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1008 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1009 }10101011 /** @name XcmV0Junction (85) */1012 interface XcmV0Junction extends Enum {1013 readonly isParent: boolean;1014 readonly isParachain: boolean;1015 readonly asParachain: Compact<u32>;1016 readonly isAccountId32: boolean;1017 readonly asAccountId32: {1018 readonly network: XcmV0JunctionNetworkId;1019 readonly id: U8aFixed;1020 } & Struct;1021 readonly isAccountIndex64: boolean;1022 readonly asAccountIndex64: {1023 readonly network: XcmV0JunctionNetworkId;1024 readonly index: Compact<u64>;1025 } & Struct;1026 readonly isAccountKey20: boolean;1027 readonly asAccountKey20: {1028 readonly network: XcmV0JunctionNetworkId;1029 readonly key: U8aFixed;1030 } & Struct;1031 readonly isPalletInstance: boolean;1032 readonly asPalletInstance: u8;1033 readonly isGeneralIndex: boolean;1034 readonly asGeneralIndex: Compact<u128>;1035 readonly isGeneralKey: boolean;1036 readonly asGeneralKey: Bytes;1037 readonly isOnlyChild: boolean;1038 readonly isPlurality: boolean;1039 readonly asPlurality: {1040 readonly id: XcmV0JunctionBodyId;1041 readonly part: XcmV0JunctionBodyPart;1042 } & Struct;1043 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1044 }10451046 /** @name XcmVersionedMultiLocation (86) */1047 interface XcmVersionedMultiLocation extends Enum {1048 readonly isV0: boolean;1049 readonly asV0: XcmV0MultiLocation;1050 readonly isV1: boolean;1051 readonly asV1: XcmV1MultiLocation;1052 readonly type: 'V0' | 'V1';1053 }10541055 /** @name CumulusPalletXcmEvent (87) */1056 interface CumulusPalletXcmEvent extends Enum {1057 readonly isInvalidFormat: boolean;1058 readonly asInvalidFormat: U8aFixed;1059 readonly isUnsupportedVersion: boolean;1060 readonly asUnsupportedVersion: U8aFixed;1061 readonly isExecutedDownward: boolean;1062 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1063 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1064 }10651066 /** @name CumulusPalletDmpQueueEvent (88) */1067 interface CumulusPalletDmpQueueEvent extends Enum {1068 readonly isInvalidFormat: boolean;1069 readonly asInvalidFormat: {1070 readonly messageId: U8aFixed;1071 } & Struct;1072 readonly isUnsupportedVersion: boolean;1073 readonly asUnsupportedVersion: {1074 readonly messageId: U8aFixed;1075 } & Struct;1076 readonly isExecutedDownward: boolean;1077 readonly asExecutedDownward: {1078 readonly messageId: U8aFixed;1079 readonly outcome: XcmV2TraitsOutcome;1080 } & Struct;1081 readonly isWeightExhausted: boolean;1082 readonly asWeightExhausted: {1083 readonly messageId: U8aFixed;1084 readonly remainingWeight: Weight;1085 readonly requiredWeight: Weight;1086 } & Struct;1087 readonly isOverweightEnqueued: boolean;1088 readonly asOverweightEnqueued: {1089 readonly messageId: U8aFixed;1090 readonly overweightIndex: u64;1091 readonly requiredWeight: Weight;1092 } & Struct;1093 readonly isOverweightServiced: boolean;1094 readonly asOverweightServiced: {1095 readonly overweightIndex: u64;1096 readonly weightUsed: Weight;1097 } & Struct;1098 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1099 }11001101 /** @name PalletUniqueRawEvent (89) */1102 interface PalletUniqueRawEvent extends Enum {1103 readonly isCollectionSponsorRemoved: boolean;1104 readonly asCollectionSponsorRemoved: u32;1105 readonly isCollectionAdminAdded: boolean;1106 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1107 readonly isCollectionOwnedChanged: boolean;1108 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1109 readonly isCollectionSponsorSet: boolean;1110 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1111 readonly isSponsorshipConfirmed: boolean;1112 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1113 readonly isCollectionAdminRemoved: boolean;1114 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1115 readonly isAllowListAddressRemoved: boolean;1116 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1117 readonly isAllowListAddressAdded: boolean;1118 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1119 readonly isCollectionLimitSet: boolean;1120 readonly asCollectionLimitSet: u32;1121 readonly isCollectionPermissionSet: boolean;1122 readonly asCollectionPermissionSet: u32;1123 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1124 }11251126 /** @name PalletEvmAccountBasicCrossAccountIdRepr (90) */1127 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1128 readonly isSubstrate: boolean;1129 readonly asSubstrate: AccountId32;1130 readonly isEthereum: boolean;1131 readonly asEthereum: H160;1132 readonly type: 'Substrate' | 'Ethereum';1133 }11341135 /** @name PalletUniqueSchedulerEvent (93) */1136 interface PalletUniqueSchedulerEvent extends Enum {1137 readonly isScheduled: boolean;1138 readonly asScheduled: {1139 readonly when: u32;1140 readonly index: u32;1141 } & Struct;1142 readonly isCanceled: boolean;1143 readonly asCanceled: {1144 readonly when: u32;1145 readonly index: u32;1146 } & Struct;1147 readonly isPriorityChanged: boolean;1148 readonly asPriorityChanged: {1149 readonly when: u32;1150 readonly index: u32;1151 readonly priority: u8;1152 } & Struct;1153 readonly isDispatched: boolean;1154 readonly asDispatched: {1155 readonly task: ITuple<[u32, u32]>;1156 readonly id: Option<U8aFixed>;1157 readonly result: Result<Null, SpRuntimeDispatchError>;1158 } & Struct;1159 readonly isCallLookupFailed: boolean;1160 readonly asCallLookupFailed: {1161 readonly task: ITuple<[u32, u32]>;1162 readonly id: Option<U8aFixed>;1163 readonly error: FrameSupportScheduleLookupError;1164 } & Struct;1165 readonly type: 'Scheduled' | 'Canceled' | 'PriorityChanged' | 'Dispatched' | 'CallLookupFailed';1166 }11671168 /** @name FrameSupportScheduleLookupError (96) */1169 interface FrameSupportScheduleLookupError extends Enum {1170 readonly isUnknown: boolean;1171 readonly isBadFormat: boolean;1172 readonly type: 'Unknown' | 'BadFormat';1173 }11741175 /** @name PalletCommonEvent (97) */1176 interface PalletCommonEvent extends Enum {1177 readonly isCollectionCreated: boolean;1178 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1179 readonly isCollectionDestroyed: boolean;1180 readonly asCollectionDestroyed: u32;1181 readonly isItemCreated: boolean;1182 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1183 readonly isItemDestroyed: boolean;1184 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1185 readonly isTransfer: boolean;1186 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1187 readonly isApproved: boolean;1188 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1189 readonly isCollectionPropertySet: boolean;1190 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1191 readonly isCollectionPropertyDeleted: boolean;1192 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1193 readonly isTokenPropertySet: boolean;1194 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1195 readonly isTokenPropertyDeleted: boolean;1196 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1197 readonly isPropertyPermissionSet: boolean;1198 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1199 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1200 }12011202 /** @name PalletStructureEvent (100) */1203 interface PalletStructureEvent extends Enum {1204 readonly isExecuted: boolean;1205 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1206 readonly type: 'Executed';1207 }12081209 /** @name PalletRmrkCoreEvent (101) */1210 interface PalletRmrkCoreEvent extends Enum {1211 readonly isCollectionCreated: boolean;1212 readonly asCollectionCreated: {1213 readonly issuer: AccountId32;1214 readonly collectionId: u32;1215 } & Struct;1216 readonly isCollectionDestroyed: boolean;1217 readonly asCollectionDestroyed: {1218 readonly issuer: AccountId32;1219 readonly collectionId: u32;1220 } & Struct;1221 readonly isIssuerChanged: boolean;1222 readonly asIssuerChanged: {1223 readonly oldIssuer: AccountId32;1224 readonly newIssuer: AccountId32;1225 readonly collectionId: u32;1226 } & Struct;1227 readonly isCollectionLocked: boolean;1228 readonly asCollectionLocked: {1229 readonly issuer: AccountId32;1230 readonly collectionId: u32;1231 } & Struct;1232 readonly isNftMinted: boolean;1233 readonly asNftMinted: {1234 readonly owner: AccountId32;1235 readonly collectionId: u32;1236 readonly nftId: u32;1237 } & Struct;1238 readonly isNftBurned: boolean;1239 readonly asNftBurned: {1240 readonly owner: AccountId32;1241 readonly nftId: u32;1242 } & Struct;1243 readonly isNftSent: boolean;1244 readonly asNftSent: {1245 readonly sender: AccountId32;1246 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1247 readonly collectionId: u32;1248 readonly nftId: u32;1249 readonly approvalRequired: bool;1250 } & Struct;1251 readonly isNftAccepted: boolean;1252 readonly asNftAccepted: {1253 readonly sender: AccountId32;1254 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1255 readonly collectionId: u32;1256 readonly nftId: u32;1257 } & Struct;1258 readonly isNftRejected: boolean;1259 readonly asNftRejected: {1260 readonly sender: AccountId32;1261 readonly collectionId: u32;1262 readonly nftId: u32;1263 } & Struct;1264 readonly isPropertySet: boolean;1265 readonly asPropertySet: {1266 readonly collectionId: u32;1267 readonly maybeNftId: Option<u32>;1268 readonly key: Bytes;1269 readonly value: Bytes;1270 } & Struct;1271 readonly isResourceAdded: boolean;1272 readonly asResourceAdded: {1273 readonly nftId: u32;1274 readonly resourceId: u32;1275 } & Struct;1276 readonly isResourceRemoval: boolean;1277 readonly asResourceRemoval: {1278 readonly nftId: u32;1279 readonly resourceId: u32;1280 } & Struct;1281 readonly isResourceAccepted: boolean;1282 readonly asResourceAccepted: {1283 readonly nftId: u32;1284 readonly resourceId: u32;1285 } & Struct;1286 readonly isResourceRemovalAccepted: boolean;1287 readonly asResourceRemovalAccepted: {1288 readonly nftId: u32;1289 readonly resourceId: u32;1290 } & Struct;1291 readonly isPrioritySet: boolean;1292 readonly asPrioritySet: {1293 readonly collectionId: u32;1294 readonly nftId: u32;1295 } & Struct;1296 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1297 }12981299 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (102) */1300 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1301 readonly isAccountId: boolean;1302 readonly asAccountId: AccountId32;1303 readonly isCollectionAndNftTuple: boolean;1304 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1305 readonly type: 'AccountId' | 'CollectionAndNftTuple';1306 }13071308 /** @name PalletRmrkEquipEvent (107) */1309 interface PalletRmrkEquipEvent extends Enum {1310 readonly isBaseCreated: boolean;1311 readonly asBaseCreated: {1312 readonly issuer: AccountId32;1313 readonly baseId: u32;1314 } & Struct;1315 readonly isEquippablesUpdated: boolean;1316 readonly asEquippablesUpdated: {1317 readonly baseId: u32;1318 readonly slotId: u32;1319 } & Struct;1320 readonly type: 'BaseCreated' | 'EquippablesUpdated';1321 }13221323 /** @name PalletAppPromotionEvent (108) */1324 interface PalletAppPromotionEvent extends Enum {1325 readonly isStakingRecalculation: boolean;1326 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1327 readonly isStake: boolean;1328 readonly asStake: ITuple<[AccountId32, u128]>;1329 readonly isUnstake: boolean;1330 readonly asUnstake: ITuple<[AccountId32, u128]>;1331 readonly isSetAdmin: boolean;1332 readonly asSetAdmin: AccountId32;1333 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1334 }13351336 /** @name PalletForeignAssetsModuleEvent (109) */1337 interface PalletForeignAssetsModuleEvent extends Enum {1338 readonly isForeignAssetRegistered: boolean;1339 readonly asForeignAssetRegistered: {1340 readonly assetId: u32;1341 readonly assetAddress: XcmV1MultiLocation;1342 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1343 } & Struct;1344 readonly isForeignAssetUpdated: boolean;1345 readonly asForeignAssetUpdated: {1346 readonly assetId: u32;1347 readonly assetAddress: XcmV1MultiLocation;1348 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1349 } & Struct;1350 readonly isAssetRegistered: boolean;1351 readonly asAssetRegistered: {1352 readonly assetId: PalletForeignAssetsAssetIds;1353 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1354 } & Struct;1355 readonly isAssetUpdated: boolean;1356 readonly asAssetUpdated: {1357 readonly assetId: PalletForeignAssetsAssetIds;1358 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1359 } & Struct;1360 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1361 }13621363 /** @name PalletForeignAssetsModuleAssetMetadata (110) */1364 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1365 readonly name: Bytes;1366 readonly symbol: Bytes;1367 readonly decimals: u8;1368 readonly minimalBalance: u128;1369 }13701371 /** @name PalletEvmEvent (111) */1372 interface PalletEvmEvent extends Enum {1373 readonly isLog: boolean;1374 readonly asLog: EthereumLog;1375 readonly isCreated: boolean;1376 readonly asCreated: H160;1377 readonly isCreatedFailed: boolean;1378 readonly asCreatedFailed: H160;1379 readonly isExecuted: boolean;1380 readonly asExecuted: H160;1381 readonly isExecutedFailed: boolean;1382 readonly asExecutedFailed: H160;1383 readonly isBalanceDeposit: boolean;1384 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1385 readonly isBalanceWithdraw: boolean;1386 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1387 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1388 }13891390 /** @name EthereumLog (112) */1391 interface EthereumLog extends Struct {1392 readonly address: H160;1393 readonly topics: Vec<H256>;1394 readonly data: Bytes;1395 }13961397 /** @name PalletEthereumEvent (116) */1398 interface PalletEthereumEvent extends Enum {1399 readonly isExecuted: boolean;1400 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1401 readonly type: 'Executed';1402 }14031404 /** @name EvmCoreErrorExitReason (117) */1405 interface EvmCoreErrorExitReason extends Enum {1406 readonly isSucceed: boolean;1407 readonly asSucceed: EvmCoreErrorExitSucceed;1408 readonly isError: boolean;1409 readonly asError: EvmCoreErrorExitError;1410 readonly isRevert: boolean;1411 readonly asRevert: EvmCoreErrorExitRevert;1412 readonly isFatal: boolean;1413 readonly asFatal: EvmCoreErrorExitFatal;1414 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1415 }14161417 /** @name EvmCoreErrorExitSucceed (118) */1418 interface EvmCoreErrorExitSucceed extends Enum {1419 readonly isStopped: boolean;1420 readonly isReturned: boolean;1421 readonly isSuicided: boolean;1422 readonly type: 'Stopped' | 'Returned' | 'Suicided';1423 }14241425 /** @name EvmCoreErrorExitError (119) */1426 interface EvmCoreErrorExitError extends Enum {1427 readonly isStackUnderflow: boolean;1428 readonly isStackOverflow: boolean;1429 readonly isInvalidJump: boolean;1430 readonly isInvalidRange: boolean;1431 readonly isDesignatedInvalid: boolean;1432 readonly isCallTooDeep: boolean;1433 readonly isCreateCollision: boolean;1434 readonly isCreateContractLimit: boolean;1435 readonly isOutOfOffset: boolean;1436 readonly isOutOfGas: boolean;1437 readonly isOutOfFund: boolean;1438 readonly isPcUnderflow: boolean;1439 readonly isCreateEmpty: boolean;1440 readonly isOther: boolean;1441 readonly asOther: Text;1442 readonly isInvalidCode: boolean;1443 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1444 }14451446 /** @name EvmCoreErrorExitRevert (122) */1447 interface EvmCoreErrorExitRevert extends Enum {1448 readonly isReverted: boolean;1449 readonly type: 'Reverted';1450 }14511452 /** @name EvmCoreErrorExitFatal (123) */1453 interface EvmCoreErrorExitFatal extends Enum {1454 readonly isNotSupported: boolean;1455 readonly isUnhandledInterrupt: boolean;1456 readonly isCallErrorAsFatal: boolean;1457 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1458 readonly isOther: boolean;1459 readonly asOther: Text;1460 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1461 }14621463 /** @name PalletEvmContractHelpersEvent (124) */1464 interface PalletEvmContractHelpersEvent extends Enum {1465 readonly isContractSponsorSet: boolean;1466 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1467 readonly isContractSponsorshipConfirmed: boolean;1468 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1469 readonly isContractSponsorRemoved: boolean;1470 readonly asContractSponsorRemoved: H160;1471 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1472 }14731474 /** @name PalletMaintenanceEvent (125) */1475 interface PalletMaintenanceEvent extends Enum {1476 readonly isMaintenanceEnabled: boolean;1477 readonly isMaintenanceDisabled: boolean;1478 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1479 }14801481 /** @name PalletTestUtilsEvent (126) */1482 interface PalletTestUtilsEvent extends Enum {1483 readonly isValueIsSet: boolean;1484 readonly isShouldRollback: boolean;1485 readonly type: 'ValueIsSet' | 'ShouldRollback';1486 }14871488 /** @name FrameSystemPhase (127) */1489 interface FrameSystemPhase extends Enum {1490 readonly isApplyExtrinsic: boolean;1491 readonly asApplyExtrinsic: u32;1492 readonly isFinalization: boolean;1493 readonly isInitialization: boolean;1494 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1495 }14961497 /** @name FrameSystemLastRuntimeUpgradeInfo (129) */1498 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1499 readonly specVersion: Compact<u32>;1500 readonly specName: Text;1501 }15021503 /** @name FrameSystemCall (130) */1504 interface FrameSystemCall extends Enum {1505 readonly isFillBlock: boolean;1506 readonly asFillBlock: {1507 readonly ratio: Perbill;1508 } & Struct;1509 readonly isRemark: boolean;1510 readonly asRemark: {1511 readonly remark: Bytes;1512 } & Struct;1513 readonly isSetHeapPages: boolean;1514 readonly asSetHeapPages: {1515 readonly pages: u64;1516 } & Struct;1517 readonly isSetCode: boolean;1518 readonly asSetCode: {1519 readonly code: Bytes;1520 } & Struct;1521 readonly isSetCodeWithoutChecks: boolean;1522 readonly asSetCodeWithoutChecks: {1523 readonly code: Bytes;1524 } & Struct;1525 readonly isSetStorage: boolean;1526 readonly asSetStorage: {1527 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1528 } & Struct;1529 readonly isKillStorage: boolean;1530 readonly asKillStorage: {1531 readonly keys_: Vec<Bytes>;1532 } & Struct;1533 readonly isKillPrefix: boolean;1534 readonly asKillPrefix: {1535 readonly prefix: Bytes;1536 readonly subkeys: u32;1537 } & Struct;1538 readonly isRemarkWithEvent: boolean;1539 readonly asRemarkWithEvent: {1540 readonly remark: Bytes;1541 } & Struct;1542 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1543 }15441545 /** @name FrameSystemLimitsBlockWeights (135) */1546 interface FrameSystemLimitsBlockWeights extends Struct {1547 readonly baseBlock: Weight;1548 readonly maxBlock: Weight;1549 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1550 }15511552 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (136) */1553 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1554 readonly normal: FrameSystemLimitsWeightsPerClass;1555 readonly operational: FrameSystemLimitsWeightsPerClass;1556 readonly mandatory: FrameSystemLimitsWeightsPerClass;1557 }15581559 /** @name FrameSystemLimitsWeightsPerClass (137) */1560 interface FrameSystemLimitsWeightsPerClass extends Struct {1561 readonly baseExtrinsic: Weight;1562 readonly maxExtrinsic: Option<Weight>;1563 readonly maxTotal: Option<Weight>;1564 readonly reserved: Option<Weight>;1565 }15661567 /** @name FrameSystemLimitsBlockLength (139) */1568 interface FrameSystemLimitsBlockLength extends Struct {1569 readonly max: FrameSupportDispatchPerDispatchClassU32;1570 }15711572 /** @name FrameSupportDispatchPerDispatchClassU32 (140) */1573 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1574 readonly normal: u32;1575 readonly operational: u32;1576 readonly mandatory: u32;1577 }15781579 /** @name SpWeightsRuntimeDbWeight (141) */1580 interface SpWeightsRuntimeDbWeight extends Struct {1581 readonly read: u64;1582 readonly write: u64;1583 }15841585 /** @name SpVersionRuntimeVersion (142) */1586 interface SpVersionRuntimeVersion extends Struct {1587 readonly specName: Text;1588 readonly implName: Text;1589 readonly authoringVersion: u32;1590 readonly specVersion: u32;1591 readonly implVersion: u32;1592 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1593 readonly transactionVersion: u32;1594 readonly stateVersion: u8;1595 }15961597 /** @name FrameSystemError (147) */1598 interface FrameSystemError extends Enum {1599 readonly isInvalidSpecName: boolean;1600 readonly isSpecVersionNeedsToIncrease: boolean;1601 readonly isFailedToExtractRuntimeVersion: boolean;1602 readonly isNonDefaultComposite: boolean;1603 readonly isNonZeroRefCount: boolean;1604 readonly isCallFiltered: boolean;1605 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1606 }16071608 /** @name PolkadotPrimitivesV2PersistedValidationData (148) */1609 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1610 readonly parentHead: Bytes;1611 readonly relayParentNumber: u32;1612 readonly relayParentStorageRoot: H256;1613 readonly maxPovSize: u32;1614 }16151616 /** @name PolkadotPrimitivesV2UpgradeRestriction (151) */1617 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1618 readonly isPresent: boolean;1619 readonly type: 'Present';1620 }16211622 /** @name SpTrieStorageProof (152) */1623 interface SpTrieStorageProof extends Struct {1624 readonly trieNodes: BTreeSet<Bytes>;1625 }16261627 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (154) */1628 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1629 readonly dmqMqcHead: H256;1630 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1631 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1632 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1633 }16341635 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (157) */1636 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1637 readonly maxCapacity: u32;1638 readonly maxTotalSize: u32;1639 readonly maxMessageSize: u32;1640 readonly msgCount: u32;1641 readonly totalSize: u32;1642 readonly mqcHead: Option<H256>;1643 }16441645 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (158) */1646 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1647 readonly maxCodeSize: u32;1648 readonly maxHeadDataSize: u32;1649 readonly maxUpwardQueueCount: u32;1650 readonly maxUpwardQueueSize: u32;1651 readonly maxUpwardMessageSize: u32;1652 readonly maxUpwardMessageNumPerCandidate: u32;1653 readonly hrmpMaxMessageNumPerCandidate: u32;1654 readonly validationUpgradeCooldown: u32;1655 readonly validationUpgradeDelay: u32;1656 }16571658 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (164) */1659 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1660 readonly recipient: u32;1661 readonly data: Bytes;1662 }16631664 /** @name CumulusPalletParachainSystemCall (165) */1665 interface CumulusPalletParachainSystemCall extends Enum {1666 readonly isSetValidationData: boolean;1667 readonly asSetValidationData: {1668 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1669 } & Struct;1670 readonly isSudoSendUpwardMessage: boolean;1671 readonly asSudoSendUpwardMessage: {1672 readonly message: Bytes;1673 } & Struct;1674 readonly isAuthorizeUpgrade: boolean;1675 readonly asAuthorizeUpgrade: {1676 readonly codeHash: H256;1677 } & Struct;1678 readonly isEnactAuthorizedUpgrade: boolean;1679 readonly asEnactAuthorizedUpgrade: {1680 readonly code: Bytes;1681 } & Struct;1682 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1683 }16841685 /** @name CumulusPrimitivesParachainInherentParachainInherentData (166) */1686 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1687 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1688 readonly relayChainState: SpTrieStorageProof;1689 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1690 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1691 }16921693 /** @name PolkadotCorePrimitivesInboundDownwardMessage (168) */1694 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1695 readonly sentAt: u32;1696 readonly msg: Bytes;1697 }16981699 /** @name PolkadotCorePrimitivesInboundHrmpMessage (171) */1700 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1701 readonly sentAt: u32;1702 readonly data: Bytes;1703 }17041705 /** @name CumulusPalletParachainSystemError (174) */1706 interface CumulusPalletParachainSystemError extends Enum {1707 readonly isOverlappingUpgrades: boolean;1708 readonly isProhibitedByPolkadot: boolean;1709 readonly isTooBig: boolean;1710 readonly isValidationDataNotAvailable: boolean;1711 readonly isHostConfigurationNotAvailable: boolean;1712 readonly isNotScheduled: boolean;1713 readonly isNothingAuthorized: boolean;1714 readonly isUnauthorized: boolean;1715 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1716 }17171718 /** @name PalletBalancesBalanceLock (176) */1719 interface PalletBalancesBalanceLock extends Struct {1720 readonly id: U8aFixed;1721 readonly amount: u128;1722 readonly reasons: PalletBalancesReasons;1723 }17241725 /** @name PalletBalancesReasons (177) */1726 interface PalletBalancesReasons extends Enum {1727 readonly isFee: boolean;1728 readonly isMisc: boolean;1729 readonly isAll: boolean;1730 readonly type: 'Fee' | 'Misc' | 'All';1731 }17321733 /** @name PalletBalancesReserveData (180) */1734 interface PalletBalancesReserveData extends Struct {1735 readonly id: U8aFixed;1736 readonly amount: u128;1737 }17381739 /** @name PalletBalancesReleases (182) */1740 interface PalletBalancesReleases extends Enum {1741 readonly isV100: boolean;1742 readonly isV200: boolean;1743 readonly type: 'V100' | 'V200';1744 }17451746 /** @name PalletBalancesCall (183) */1747 interface PalletBalancesCall extends Enum {1748 readonly isTransfer: boolean;1749 readonly asTransfer: {1750 readonly dest: MultiAddress;1751 readonly value: Compact<u128>;1752 } & Struct;1753 readonly isSetBalance: boolean;1754 readonly asSetBalance: {1755 readonly who: MultiAddress;1756 readonly newFree: Compact<u128>;1757 readonly newReserved: Compact<u128>;1758 } & Struct;1759 readonly isForceTransfer: boolean;1760 readonly asForceTransfer: {1761 readonly source: MultiAddress;1762 readonly dest: MultiAddress;1763 readonly value: Compact<u128>;1764 } & Struct;1765 readonly isTransferKeepAlive: boolean;1766 readonly asTransferKeepAlive: {1767 readonly dest: MultiAddress;1768 readonly value: Compact<u128>;1769 } & Struct;1770 readonly isTransferAll: boolean;1771 readonly asTransferAll: {1772 readonly dest: MultiAddress;1773 readonly keepAlive: bool;1774 } & Struct;1775 readonly isForceUnreserve: boolean;1776 readonly asForceUnreserve: {1777 readonly who: MultiAddress;1778 readonly amount: u128;1779 } & Struct;1780 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1781 }17821783 /** @name PalletBalancesError (186) */1784 interface PalletBalancesError extends Enum {1785 readonly isVestingBalance: boolean;1786 readonly isLiquidityRestrictions: boolean;1787 readonly isInsufficientBalance: boolean;1788 readonly isExistentialDeposit: boolean;1789 readonly isKeepAlive: boolean;1790 readonly isExistingVestingSchedule: boolean;1791 readonly isDeadAccount: boolean;1792 readonly isTooManyReserves: boolean;1793 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1794 }17951796 /** @name PalletTimestampCall (188) */1797 interface PalletTimestampCall extends Enum {1798 readonly isSet: boolean;1799 readonly asSet: {1800 readonly now: Compact<u64>;1801 } & Struct;1802 readonly type: 'Set';1803 }18041805 /** @name PalletTransactionPaymentReleases (190) */1806 interface PalletTransactionPaymentReleases extends Enum {1807 readonly isV1Ancient: boolean;1808 readonly isV2: boolean;1809 readonly type: 'V1Ancient' | 'V2';1810 }18111812 /** @name PalletTreasuryProposal (191) */1813 interface PalletTreasuryProposal extends Struct {1814 readonly proposer: AccountId32;1815 readonly value: u128;1816 readonly beneficiary: AccountId32;1817 readonly bond: u128;1818 }18191820 /** @name PalletTreasuryCall (194) */1821 interface PalletTreasuryCall extends Enum {1822 readonly isProposeSpend: boolean;1823 readonly asProposeSpend: {1824 readonly value: Compact<u128>;1825 readonly beneficiary: MultiAddress;1826 } & Struct;1827 readonly isRejectProposal: boolean;1828 readonly asRejectProposal: {1829 readonly proposalId: Compact<u32>;1830 } & Struct;1831 readonly isApproveProposal: boolean;1832 readonly asApproveProposal: {1833 readonly proposalId: Compact<u32>;1834 } & Struct;1835 readonly isSpend: boolean;1836 readonly asSpend: {1837 readonly amount: Compact<u128>;1838 readonly beneficiary: MultiAddress;1839 } & Struct;1840 readonly isRemoveApproval: boolean;1841 readonly asRemoveApproval: {1842 readonly proposalId: Compact<u32>;1843 } & Struct;1844 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1845 }18461847 /** @name FrameSupportPalletId (197) */1848 interface FrameSupportPalletId extends U8aFixed {}18491850 /** @name PalletTreasuryError (198) */1851 interface PalletTreasuryError extends Enum {1852 readonly isInsufficientProposersBalance: boolean;1853 readonly isInvalidIndex: boolean;1854 readonly isTooManyApprovals: boolean;1855 readonly isInsufficientPermission: boolean;1856 readonly isProposalNotApproved: boolean;1857 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1858 }18591860 /** @name PalletSudoCall (199) */1861 interface PalletSudoCall extends Enum {1862 readonly isSudo: boolean;1863 readonly asSudo: {1864 readonly call: Call;1865 } & Struct;1866 readonly isSudoUncheckedWeight: boolean;1867 readonly asSudoUncheckedWeight: {1868 readonly call: Call;1869 readonly weight: Weight;1870 } & Struct;1871 readonly isSetKey: boolean;1872 readonly asSetKey: {1873 readonly new_: MultiAddress;1874 } & Struct;1875 readonly isSudoAs: boolean;1876 readonly asSudoAs: {1877 readonly who: MultiAddress;1878 readonly call: Call;1879 } & Struct;1880 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1881 }18821883 /** @name OrmlVestingModuleCall (201) */1884 interface OrmlVestingModuleCall extends Enum {1885 readonly isClaim: boolean;1886 readonly isVestedTransfer: boolean;1887 readonly asVestedTransfer: {1888 readonly dest: MultiAddress;1889 readonly schedule: OrmlVestingVestingSchedule;1890 } & Struct;1891 readonly isUpdateVestingSchedules: boolean;1892 readonly asUpdateVestingSchedules: {1893 readonly who: MultiAddress;1894 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1895 } & Struct;1896 readonly isClaimFor: boolean;1897 readonly asClaimFor: {1898 readonly dest: MultiAddress;1899 } & Struct;1900 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1901 }19021903 /** @name OrmlXtokensModuleCall (203) */1904 interface OrmlXtokensModuleCall extends Enum {1905 readonly isTransfer: boolean;1906 readonly asTransfer: {1907 readonly currencyId: PalletForeignAssetsAssetIds;1908 readonly amount: u128;1909 readonly dest: XcmVersionedMultiLocation;1910 readonly destWeight: u64;1911 } & Struct;1912 readonly isTransferMultiasset: boolean;1913 readonly asTransferMultiasset: {1914 readonly asset: XcmVersionedMultiAsset;1915 readonly dest: XcmVersionedMultiLocation;1916 readonly destWeight: u64;1917 } & Struct;1918 readonly isTransferWithFee: boolean;1919 readonly asTransferWithFee: {1920 readonly currencyId: PalletForeignAssetsAssetIds;1921 readonly amount: u128;1922 readonly fee: u128;1923 readonly dest: XcmVersionedMultiLocation;1924 readonly destWeight: u64;1925 } & Struct;1926 readonly isTransferMultiassetWithFee: boolean;1927 readonly asTransferMultiassetWithFee: {1928 readonly asset: XcmVersionedMultiAsset;1929 readonly fee: XcmVersionedMultiAsset;1930 readonly dest: XcmVersionedMultiLocation;1931 readonly destWeight: u64;1932 } & Struct;1933 readonly isTransferMulticurrencies: boolean;1934 readonly asTransferMulticurrencies: {1935 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;1936 readonly feeItem: u32;1937 readonly dest: XcmVersionedMultiLocation;1938 readonly destWeight: u64;1939 } & Struct;1940 readonly isTransferMultiassets: boolean;1941 readonly asTransferMultiassets: {1942 readonly assets: XcmVersionedMultiAssets;1943 readonly feeItem: u32;1944 readonly dest: XcmVersionedMultiLocation;1945 readonly destWeight: u64;1946 } & Struct;1947 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1948 }19491950 /** @name XcmVersionedMultiAsset (204) */1951 interface XcmVersionedMultiAsset extends Enum {1952 readonly isV0: boolean;1953 readonly asV0: XcmV0MultiAsset;1954 readonly isV1: boolean;1955 readonly asV1: XcmV1MultiAsset;1956 readonly type: 'V0' | 'V1';1957 }19581959 /** @name OrmlTokensModuleCall (207) */1960 interface OrmlTokensModuleCall extends Enum {1961 readonly isTransfer: boolean;1962 readonly asTransfer: {1963 readonly dest: MultiAddress;1964 readonly currencyId: PalletForeignAssetsAssetIds;1965 readonly amount: Compact<u128>;1966 } & Struct;1967 readonly isTransferAll: boolean;1968 readonly asTransferAll: {1969 readonly dest: MultiAddress;1970 readonly currencyId: PalletForeignAssetsAssetIds;1971 readonly keepAlive: bool;1972 } & Struct;1973 readonly isTransferKeepAlive: boolean;1974 readonly asTransferKeepAlive: {1975 readonly dest: MultiAddress;1976 readonly currencyId: PalletForeignAssetsAssetIds;1977 readonly amount: Compact<u128>;1978 } & Struct;1979 readonly isForceTransfer: boolean;1980 readonly asForceTransfer: {1981 readonly source: MultiAddress;1982 readonly dest: MultiAddress;1983 readonly currencyId: PalletForeignAssetsAssetIds;1984 readonly amount: Compact<u128>;1985 } & Struct;1986 readonly isSetBalance: boolean;1987 readonly asSetBalance: {1988 readonly who: MultiAddress;1989 readonly currencyId: PalletForeignAssetsAssetIds;1990 readonly newFree: Compact<u128>;1991 readonly newReserved: Compact<u128>;1992 } & Struct;1993 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';1994 }19951996 /** @name CumulusPalletXcmpQueueCall (208) */1997 interface CumulusPalletXcmpQueueCall extends Enum {1998 readonly isServiceOverweight: boolean;1999 readonly asServiceOverweight: {2000 readonly index: u64;2001 readonly weightLimit: Weight;2002 } & Struct;2003 readonly isSuspendXcmExecution: boolean;2004 readonly isResumeXcmExecution: boolean;2005 readonly isUpdateSuspendThreshold: boolean;2006 readonly asUpdateSuspendThreshold: {2007 readonly new_: u32;2008 } & Struct;2009 readonly isUpdateDropThreshold: boolean;2010 readonly asUpdateDropThreshold: {2011 readonly new_: u32;2012 } & Struct;2013 readonly isUpdateResumeThreshold: boolean;2014 readonly asUpdateResumeThreshold: {2015 readonly new_: u32;2016 } & Struct;2017 readonly isUpdateThresholdWeight: boolean;2018 readonly asUpdateThresholdWeight: {2019 readonly new_: Weight;2020 } & Struct;2021 readonly isUpdateWeightRestrictDecay: boolean;2022 readonly asUpdateWeightRestrictDecay: {2023 readonly new_: Weight;2024 } & Struct;2025 readonly isUpdateXcmpMaxIndividualWeight: boolean;2026 readonly asUpdateXcmpMaxIndividualWeight: {2027 readonly new_: Weight;2028 } & Struct;2029 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2030 }20312032 /** @name PalletXcmCall (209) */2033 interface PalletXcmCall extends Enum {2034 readonly isSend: boolean;2035 readonly asSend: {2036 readonly dest: XcmVersionedMultiLocation;2037 readonly message: XcmVersionedXcm;2038 } & Struct;2039 readonly isTeleportAssets: boolean;2040 readonly asTeleportAssets: {2041 readonly dest: XcmVersionedMultiLocation;2042 readonly beneficiary: XcmVersionedMultiLocation;2043 readonly assets: XcmVersionedMultiAssets;2044 readonly feeAssetItem: u32;2045 } & Struct;2046 readonly isReserveTransferAssets: boolean;2047 readonly asReserveTransferAssets: {2048 readonly dest: XcmVersionedMultiLocation;2049 readonly beneficiary: XcmVersionedMultiLocation;2050 readonly assets: XcmVersionedMultiAssets;2051 readonly feeAssetItem: u32;2052 } & Struct;2053 readonly isExecute: boolean;2054 readonly asExecute: {2055 readonly message: XcmVersionedXcm;2056 readonly maxWeight: Weight;2057 } & Struct;2058 readonly isForceXcmVersion: boolean;2059 readonly asForceXcmVersion: {2060 readonly location: XcmV1MultiLocation;2061 readonly xcmVersion: u32;2062 } & Struct;2063 readonly isForceDefaultXcmVersion: boolean;2064 readonly asForceDefaultXcmVersion: {2065 readonly maybeXcmVersion: Option<u32>;2066 } & Struct;2067 readonly isForceSubscribeVersionNotify: boolean;2068 readonly asForceSubscribeVersionNotify: {2069 readonly location: XcmVersionedMultiLocation;2070 } & Struct;2071 readonly isForceUnsubscribeVersionNotify: boolean;2072 readonly asForceUnsubscribeVersionNotify: {2073 readonly location: XcmVersionedMultiLocation;2074 } & Struct;2075 readonly isLimitedReserveTransferAssets: boolean;2076 readonly asLimitedReserveTransferAssets: {2077 readonly dest: XcmVersionedMultiLocation;2078 readonly beneficiary: XcmVersionedMultiLocation;2079 readonly assets: XcmVersionedMultiAssets;2080 readonly feeAssetItem: u32;2081 readonly weightLimit: XcmV2WeightLimit;2082 } & Struct;2083 readonly isLimitedTeleportAssets: boolean;2084 readonly asLimitedTeleportAssets: {2085 readonly dest: XcmVersionedMultiLocation;2086 readonly beneficiary: XcmVersionedMultiLocation;2087 readonly assets: XcmVersionedMultiAssets;2088 readonly feeAssetItem: u32;2089 readonly weightLimit: XcmV2WeightLimit;2090 } & Struct;2091 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2092 }20932094 /** @name XcmVersionedXcm (210) */2095 interface XcmVersionedXcm extends Enum {2096 readonly isV0: boolean;2097 readonly asV0: XcmV0Xcm;2098 readonly isV1: boolean;2099 readonly asV1: XcmV1Xcm;2100 readonly isV2: boolean;2101 readonly asV2: XcmV2Xcm;2102 readonly type: 'V0' | 'V1' | 'V2';2103 }21042105 /** @name XcmV0Xcm (211) */2106 interface XcmV0Xcm extends Enum {2107 readonly isWithdrawAsset: boolean;2108 readonly asWithdrawAsset: {2109 readonly assets: Vec<XcmV0MultiAsset>;2110 readonly effects: Vec<XcmV0Order>;2111 } & Struct;2112 readonly isReserveAssetDeposit: boolean;2113 readonly asReserveAssetDeposit: {2114 readonly assets: Vec<XcmV0MultiAsset>;2115 readonly effects: Vec<XcmV0Order>;2116 } & Struct;2117 readonly isTeleportAsset: boolean;2118 readonly asTeleportAsset: {2119 readonly assets: Vec<XcmV0MultiAsset>;2120 readonly effects: Vec<XcmV0Order>;2121 } & Struct;2122 readonly isQueryResponse: boolean;2123 readonly asQueryResponse: {2124 readonly queryId: Compact<u64>;2125 readonly response: XcmV0Response;2126 } & Struct;2127 readonly isTransferAsset: boolean;2128 readonly asTransferAsset: {2129 readonly assets: Vec<XcmV0MultiAsset>;2130 readonly dest: XcmV0MultiLocation;2131 } & Struct;2132 readonly isTransferReserveAsset: boolean;2133 readonly asTransferReserveAsset: {2134 readonly assets: Vec<XcmV0MultiAsset>;2135 readonly dest: XcmV0MultiLocation;2136 readonly effects: Vec<XcmV0Order>;2137 } & Struct;2138 readonly isTransact: boolean;2139 readonly asTransact: {2140 readonly originType: XcmV0OriginKind;2141 readonly requireWeightAtMost: u64;2142 readonly call: XcmDoubleEncoded;2143 } & Struct;2144 readonly isHrmpNewChannelOpenRequest: boolean;2145 readonly asHrmpNewChannelOpenRequest: {2146 readonly sender: Compact<u32>;2147 readonly maxMessageSize: Compact<u32>;2148 readonly maxCapacity: Compact<u32>;2149 } & Struct;2150 readonly isHrmpChannelAccepted: boolean;2151 readonly asHrmpChannelAccepted: {2152 readonly recipient: Compact<u32>;2153 } & Struct;2154 readonly isHrmpChannelClosing: boolean;2155 readonly asHrmpChannelClosing: {2156 readonly initiator: Compact<u32>;2157 readonly sender: Compact<u32>;2158 readonly recipient: Compact<u32>;2159 } & Struct;2160 readonly isRelayedFrom: boolean;2161 readonly asRelayedFrom: {2162 readonly who: XcmV0MultiLocation;2163 readonly message: XcmV0Xcm;2164 } & Struct;2165 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2166 }21672168 /** @name XcmV0Order (213) */2169 interface XcmV0Order extends Enum {2170 readonly isNull: boolean;2171 readonly isDepositAsset: boolean;2172 readonly asDepositAsset: {2173 readonly assets: Vec<XcmV0MultiAsset>;2174 readonly dest: XcmV0MultiLocation;2175 } & Struct;2176 readonly isDepositReserveAsset: boolean;2177 readonly asDepositReserveAsset: {2178 readonly assets: Vec<XcmV0MultiAsset>;2179 readonly dest: XcmV0MultiLocation;2180 readonly effects: Vec<XcmV0Order>;2181 } & Struct;2182 readonly isExchangeAsset: boolean;2183 readonly asExchangeAsset: {2184 readonly give: Vec<XcmV0MultiAsset>;2185 readonly receive: Vec<XcmV0MultiAsset>;2186 } & Struct;2187 readonly isInitiateReserveWithdraw: boolean;2188 readonly asInitiateReserveWithdraw: {2189 readonly assets: Vec<XcmV0MultiAsset>;2190 readonly reserve: XcmV0MultiLocation;2191 readonly effects: Vec<XcmV0Order>;2192 } & Struct;2193 readonly isInitiateTeleport: boolean;2194 readonly asInitiateTeleport: {2195 readonly assets: Vec<XcmV0MultiAsset>;2196 readonly dest: XcmV0MultiLocation;2197 readonly effects: Vec<XcmV0Order>;2198 } & Struct;2199 readonly isQueryHolding: boolean;2200 readonly asQueryHolding: {2201 readonly queryId: Compact<u64>;2202 readonly dest: XcmV0MultiLocation;2203 readonly assets: Vec<XcmV0MultiAsset>;2204 } & Struct;2205 readonly isBuyExecution: boolean;2206 readonly asBuyExecution: {2207 readonly fees: XcmV0MultiAsset;2208 readonly weight: u64;2209 readonly debt: u64;2210 readonly haltOnError: bool;2211 readonly xcm: Vec<XcmV0Xcm>;2212 } & Struct;2213 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2214 }22152216 /** @name XcmV0Response (215) */2217 interface XcmV0Response extends Enum {2218 readonly isAssets: boolean;2219 readonly asAssets: Vec<XcmV0MultiAsset>;2220 readonly type: 'Assets';2221 }22222223 /** @name XcmV1Xcm (216) */2224 interface XcmV1Xcm extends Enum {2225 readonly isWithdrawAsset: boolean;2226 readonly asWithdrawAsset: {2227 readonly assets: XcmV1MultiassetMultiAssets;2228 readonly effects: Vec<XcmV1Order>;2229 } & Struct;2230 readonly isReserveAssetDeposited: boolean;2231 readonly asReserveAssetDeposited: {2232 readonly assets: XcmV1MultiassetMultiAssets;2233 readonly effects: Vec<XcmV1Order>;2234 } & Struct;2235 readonly isReceiveTeleportedAsset: boolean;2236 readonly asReceiveTeleportedAsset: {2237 readonly assets: XcmV1MultiassetMultiAssets;2238 readonly effects: Vec<XcmV1Order>;2239 } & Struct;2240 readonly isQueryResponse: boolean;2241 readonly asQueryResponse: {2242 readonly queryId: Compact<u64>;2243 readonly response: XcmV1Response;2244 } & Struct;2245 readonly isTransferAsset: boolean;2246 readonly asTransferAsset: {2247 readonly assets: XcmV1MultiassetMultiAssets;2248 readonly beneficiary: XcmV1MultiLocation;2249 } & Struct;2250 readonly isTransferReserveAsset: boolean;2251 readonly asTransferReserveAsset: {2252 readonly assets: XcmV1MultiassetMultiAssets;2253 readonly dest: XcmV1MultiLocation;2254 readonly effects: Vec<XcmV1Order>;2255 } & Struct;2256 readonly isTransact: boolean;2257 readonly asTransact: {2258 readonly originType: XcmV0OriginKind;2259 readonly requireWeightAtMost: u64;2260 readonly call: XcmDoubleEncoded;2261 } & Struct;2262 readonly isHrmpNewChannelOpenRequest: boolean;2263 readonly asHrmpNewChannelOpenRequest: {2264 readonly sender: Compact<u32>;2265 readonly maxMessageSize: Compact<u32>;2266 readonly maxCapacity: Compact<u32>;2267 } & Struct;2268 readonly isHrmpChannelAccepted: boolean;2269 readonly asHrmpChannelAccepted: {2270 readonly recipient: Compact<u32>;2271 } & Struct;2272 readonly isHrmpChannelClosing: boolean;2273 readonly asHrmpChannelClosing: {2274 readonly initiator: Compact<u32>;2275 readonly sender: Compact<u32>;2276 readonly recipient: Compact<u32>;2277 } & Struct;2278 readonly isRelayedFrom: boolean;2279 readonly asRelayedFrom: {2280 readonly who: XcmV1MultilocationJunctions;2281 readonly message: XcmV1Xcm;2282 } & Struct;2283 readonly isSubscribeVersion: boolean;2284 readonly asSubscribeVersion: {2285 readonly queryId: Compact<u64>;2286 readonly maxResponseWeight: Compact<u64>;2287 } & Struct;2288 readonly isUnsubscribeVersion: boolean;2289 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2290 }22912292 /** @name XcmV1Order (218) */2293 interface XcmV1Order extends Enum {2294 readonly isNoop: boolean;2295 readonly isDepositAsset: boolean;2296 readonly asDepositAsset: {2297 readonly assets: XcmV1MultiassetMultiAssetFilter;2298 readonly maxAssets: u32;2299 readonly beneficiary: XcmV1MultiLocation;2300 } & Struct;2301 readonly isDepositReserveAsset: boolean;2302 readonly asDepositReserveAsset: {2303 readonly assets: XcmV1MultiassetMultiAssetFilter;2304 readonly maxAssets: u32;2305 readonly dest: XcmV1MultiLocation;2306 readonly effects: Vec<XcmV1Order>;2307 } & Struct;2308 readonly isExchangeAsset: boolean;2309 readonly asExchangeAsset: {2310 readonly give: XcmV1MultiassetMultiAssetFilter;2311 readonly receive: XcmV1MultiassetMultiAssets;2312 } & Struct;2313 readonly isInitiateReserveWithdraw: boolean;2314 readonly asInitiateReserveWithdraw: {2315 readonly assets: XcmV1MultiassetMultiAssetFilter;2316 readonly reserve: XcmV1MultiLocation;2317 readonly effects: Vec<XcmV1Order>;2318 } & Struct;2319 readonly isInitiateTeleport: boolean;2320 readonly asInitiateTeleport: {2321 readonly assets: XcmV1MultiassetMultiAssetFilter;2322 readonly dest: XcmV1MultiLocation;2323 readonly effects: Vec<XcmV1Order>;2324 } & Struct;2325 readonly isQueryHolding: boolean;2326 readonly asQueryHolding: {2327 readonly queryId: Compact<u64>;2328 readonly dest: XcmV1MultiLocation;2329 readonly assets: XcmV1MultiassetMultiAssetFilter;2330 } & Struct;2331 readonly isBuyExecution: boolean;2332 readonly asBuyExecution: {2333 readonly fees: XcmV1MultiAsset;2334 readonly weight: u64;2335 readonly debt: u64;2336 readonly haltOnError: bool;2337 readonly instructions: Vec<XcmV1Xcm>;2338 } & Struct;2339 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2340 }23412342 /** @name XcmV1Response (220) */2343 interface XcmV1Response extends Enum {2344 readonly isAssets: boolean;2345 readonly asAssets: XcmV1MultiassetMultiAssets;2346 readonly isVersion: boolean;2347 readonly asVersion: u32;2348 readonly type: 'Assets' | 'Version';2349 }23502351 /** @name CumulusPalletXcmCall (234) */2352 type CumulusPalletXcmCall = Null;23532354 /** @name CumulusPalletDmpQueueCall (235) */2355 interface CumulusPalletDmpQueueCall extends Enum {2356 readonly isServiceOverweight: boolean;2357 readonly asServiceOverweight: {2358 readonly index: u64;2359 readonly weightLimit: Weight;2360 } & Struct;2361 readonly type: 'ServiceOverweight';2362 }23632364 /** @name PalletInflationCall (236) */2365 interface PalletInflationCall extends Enum {2366 readonly isStartInflation: boolean;2367 readonly asStartInflation: {2368 readonly inflationStartRelayBlock: u32;2369 } & Struct;2370 readonly type: 'StartInflation';2371 }23722373 /** @name PalletUniqueCall (237) */2374 interface PalletUniqueCall extends Enum {2375 readonly isCreateCollection: boolean;2376 readonly asCreateCollection: {2377 readonly collectionName: Vec<u16>;2378 readonly collectionDescription: Vec<u16>;2379 readonly tokenPrefix: Bytes;2380 readonly mode: UpDataStructsCollectionMode;2381 } & Struct;2382 readonly isCreateCollectionEx: boolean;2383 readonly asCreateCollectionEx: {2384 readonly data: UpDataStructsCreateCollectionData;2385 } & Struct;2386 readonly isDestroyCollection: boolean;2387 readonly asDestroyCollection: {2388 readonly collectionId: u32;2389 } & Struct;2390 readonly isAddToAllowList: boolean;2391 readonly asAddToAllowList: {2392 readonly collectionId: u32;2393 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2394 } & Struct;2395 readonly isRemoveFromAllowList: boolean;2396 readonly asRemoveFromAllowList: {2397 readonly collectionId: u32;2398 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2399 } & Struct;2400 readonly isChangeCollectionOwner: boolean;2401 readonly asChangeCollectionOwner: {2402 readonly collectionId: u32;2403 readonly newOwner: AccountId32;2404 } & Struct;2405 readonly isAddCollectionAdmin: boolean;2406 readonly asAddCollectionAdmin: {2407 readonly collectionId: u32;2408 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2409 } & Struct;2410 readonly isRemoveCollectionAdmin: boolean;2411 readonly asRemoveCollectionAdmin: {2412 readonly collectionId: u32;2413 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2414 } & Struct;2415 readonly isSetCollectionSponsor: boolean;2416 readonly asSetCollectionSponsor: {2417 readonly collectionId: u32;2418 readonly newSponsor: AccountId32;2419 } & Struct;2420 readonly isConfirmSponsorship: boolean;2421 readonly asConfirmSponsorship: {2422 readonly collectionId: u32;2423 } & Struct;2424 readonly isRemoveCollectionSponsor: boolean;2425 readonly asRemoveCollectionSponsor: {2426 readonly collectionId: u32;2427 } & Struct;2428 readonly isCreateItem: boolean;2429 readonly asCreateItem: {2430 readonly collectionId: u32;2431 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2432 readonly data: UpDataStructsCreateItemData;2433 } & Struct;2434 readonly isCreateMultipleItems: boolean;2435 readonly asCreateMultipleItems: {2436 readonly collectionId: u32;2437 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2438 readonly itemsData: Vec<UpDataStructsCreateItemData>;2439 } & Struct;2440 readonly isSetCollectionProperties: boolean;2441 readonly asSetCollectionProperties: {2442 readonly collectionId: u32;2443 readonly properties: Vec<UpDataStructsProperty>;2444 } & Struct;2445 readonly isDeleteCollectionProperties: boolean;2446 readonly asDeleteCollectionProperties: {2447 readonly collectionId: u32;2448 readonly propertyKeys: Vec<Bytes>;2449 } & Struct;2450 readonly isSetTokenProperties: boolean;2451 readonly asSetTokenProperties: {2452 readonly collectionId: u32;2453 readonly tokenId: u32;2454 readonly properties: Vec<UpDataStructsProperty>;2455 } & Struct;2456 readonly isDeleteTokenProperties: boolean;2457 readonly asDeleteTokenProperties: {2458 readonly collectionId: u32;2459 readonly tokenId: u32;2460 readonly propertyKeys: Vec<Bytes>;2461 } & Struct;2462 readonly isSetTokenPropertyPermissions: boolean;2463 readonly asSetTokenPropertyPermissions: {2464 readonly collectionId: u32;2465 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2466 } & Struct;2467 readonly isCreateMultipleItemsEx: boolean;2468 readonly asCreateMultipleItemsEx: {2469 readonly collectionId: u32;2470 readonly data: UpDataStructsCreateItemExData;2471 } & Struct;2472 readonly isSetTransfersEnabledFlag: boolean;2473 readonly asSetTransfersEnabledFlag: {2474 readonly collectionId: u32;2475 readonly value: bool;2476 } & Struct;2477 readonly isBurnItem: boolean;2478 readonly asBurnItem: {2479 readonly collectionId: u32;2480 readonly itemId: u32;2481 readonly value: u128;2482 } & Struct;2483 readonly isBurnFrom: boolean;2484 readonly asBurnFrom: {2485 readonly collectionId: u32;2486 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2487 readonly itemId: u32;2488 readonly value: u128;2489 } & Struct;2490 readonly isTransfer: boolean;2491 readonly asTransfer: {2492 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2493 readonly collectionId: u32;2494 readonly itemId: u32;2495 readonly value: u128;2496 } & Struct;2497 readonly isApprove: boolean;2498 readonly asApprove: {2499 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2500 readonly collectionId: u32;2501 readonly itemId: u32;2502 readonly amount: u128;2503 } & Struct;2504 readonly isTransferFrom: boolean;2505 readonly asTransferFrom: {2506 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2507 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2508 readonly collectionId: u32;2509 readonly itemId: u32;2510 readonly value: u128;2511 } & Struct;2512 readonly isSetCollectionLimits: boolean;2513 readonly asSetCollectionLimits: {2514 readonly collectionId: u32;2515 readonly newLimit: UpDataStructsCollectionLimits;2516 } & Struct;2517 readonly isSetCollectionPermissions: boolean;2518 readonly asSetCollectionPermissions: {2519 readonly collectionId: u32;2520 readonly newPermission: UpDataStructsCollectionPermissions;2521 } & Struct;2522 readonly isRepartition: boolean;2523 readonly asRepartition: {2524 readonly collectionId: u32;2525 readonly tokenId: u32;2526 readonly amount: u128;2527 } & Struct;2528 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';2529 }25302531 /** @name UpDataStructsCollectionMode (242) */2532 interface UpDataStructsCollectionMode extends Enum {2533 readonly isNft: boolean;2534 readonly isFungible: boolean;2535 readonly asFungible: u8;2536 readonly isReFungible: boolean;2537 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2538 }25392540 /** @name UpDataStructsCreateCollectionData (243) */2541 interface UpDataStructsCreateCollectionData extends Struct {2542 readonly mode: UpDataStructsCollectionMode;2543 readonly access: Option<UpDataStructsAccessMode>;2544 readonly name: Vec<u16>;2545 readonly description: Vec<u16>;2546 readonly tokenPrefix: Bytes;2547 readonly pendingSponsor: Option<AccountId32>;2548 readonly limits: Option<UpDataStructsCollectionLimits>;2549 readonly permissions: Option<UpDataStructsCollectionPermissions>;2550 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2551 readonly properties: Vec<UpDataStructsProperty>;2552 }25532554 /** @name UpDataStructsAccessMode (245) */2555 interface UpDataStructsAccessMode extends Enum {2556 readonly isNormal: boolean;2557 readonly isAllowList: boolean;2558 readonly type: 'Normal' | 'AllowList';2559 }25602561 /** @name UpDataStructsCollectionLimits (247) */2562 interface UpDataStructsCollectionLimits extends Struct {2563 readonly accountTokenOwnershipLimit: Option<u32>;2564 readonly sponsoredDataSize: Option<u32>;2565 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2566 readonly tokenLimit: Option<u32>;2567 readonly sponsorTransferTimeout: Option<u32>;2568 readonly sponsorApproveTimeout: Option<u32>;2569 readonly ownerCanTransfer: Option<bool>;2570 readonly ownerCanDestroy: Option<bool>;2571 readonly transfersEnabled: Option<bool>;2572 }25732574 /** @name UpDataStructsSponsoringRateLimit (249) */2575 interface UpDataStructsSponsoringRateLimit extends Enum {2576 readonly isSponsoringDisabled: boolean;2577 readonly isBlocks: boolean;2578 readonly asBlocks: u32;2579 readonly type: 'SponsoringDisabled' | 'Blocks';2580 }25812582 /** @name UpDataStructsCollectionPermissions (252) */2583 interface UpDataStructsCollectionPermissions extends Struct {2584 readonly access: Option<UpDataStructsAccessMode>;2585 readonly mintMode: Option<bool>;2586 readonly nesting: Option<UpDataStructsNestingPermissions>;2587 }25882589 /** @name UpDataStructsNestingPermissions (254) */2590 interface UpDataStructsNestingPermissions extends Struct {2591 readonly tokenOwner: bool;2592 readonly collectionAdmin: bool;2593 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2594 }25952596 /** @name UpDataStructsOwnerRestrictedSet (256) */2597 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25982599 /** @name UpDataStructsPropertyKeyPermission (261) */2600 interface UpDataStructsPropertyKeyPermission extends Struct {2601 readonly key: Bytes;2602 readonly permission: UpDataStructsPropertyPermission;2603 }26042605 /** @name UpDataStructsPropertyPermission (262) */2606 interface UpDataStructsPropertyPermission extends Struct {2607 readonly mutable: bool;2608 readonly collectionAdmin: bool;2609 readonly tokenOwner: bool;2610 }26112612 /** @name UpDataStructsProperty (265) */2613 interface UpDataStructsProperty extends Struct {2614 readonly key: Bytes;2615 readonly value: Bytes;2616 }26172618 /** @name UpDataStructsCreateItemData (268) */2619 interface UpDataStructsCreateItemData extends Enum {2620 readonly isNft: boolean;2621 readonly asNft: UpDataStructsCreateNftData;2622 readonly isFungible: boolean;2623 readonly asFungible: UpDataStructsCreateFungibleData;2624 readonly isReFungible: boolean;2625 readonly asReFungible: UpDataStructsCreateReFungibleData;2626 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2627 }26282629 /** @name UpDataStructsCreateNftData (269) */2630 interface UpDataStructsCreateNftData extends Struct {2631 readonly properties: Vec<UpDataStructsProperty>;2632 }26332634 /** @name UpDataStructsCreateFungibleData (270) */2635 interface UpDataStructsCreateFungibleData extends Struct {2636 readonly value: u128;2637 }26382639 /** @name UpDataStructsCreateReFungibleData (271) */2640 interface UpDataStructsCreateReFungibleData extends Struct {2641 readonly pieces: u128;2642 readonly properties: Vec<UpDataStructsProperty>;2643 }26442645 /** @name UpDataStructsCreateItemExData (274) */2646 interface UpDataStructsCreateItemExData extends Enum {2647 readonly isNft: boolean;2648 readonly asNft: Vec<UpDataStructsCreateNftExData>;2649 readonly isFungible: boolean;2650 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2651 readonly isRefungibleMultipleItems: boolean;2652 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2653 readonly isRefungibleMultipleOwners: boolean;2654 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2655 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2656 }26572658 /** @name UpDataStructsCreateNftExData (276) */2659 interface UpDataStructsCreateNftExData extends Struct {2660 readonly properties: Vec<UpDataStructsProperty>;2661 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2662 }26632664 /** @name UpDataStructsCreateRefungibleExSingleOwner (283) */2665 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2666 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2667 readonly pieces: u128;2668 readonly properties: Vec<UpDataStructsProperty>;2669 }26702671 /** @name UpDataStructsCreateRefungibleExMultipleOwners (285) */2672 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2673 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2674 readonly properties: Vec<UpDataStructsProperty>;2675 }26762677 /** @name PalletUniqueSchedulerCall (286) */2678 interface PalletUniqueSchedulerCall extends Enum {2679 readonly isScheduleNamed: boolean;2680 readonly asScheduleNamed: {2681 readonly id: U8aFixed;2682 readonly when: u32;2683 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2684 readonly priority: Option<u8>;2685 readonly call: FrameSupportScheduleMaybeHashed;2686 } & Struct;2687 readonly isCancelNamed: boolean;2688 readonly asCancelNamed: {2689 readonly id: U8aFixed;2690 } & Struct;2691 readonly isScheduleNamedAfter: boolean;2692 readonly asScheduleNamedAfter: {2693 readonly id: U8aFixed;2694 readonly after: u32;2695 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2696 readonly priority: Option<u8>;2697 readonly call: FrameSupportScheduleMaybeHashed;2698 } & Struct;2699 readonly isChangeNamedPriority: boolean;2700 readonly asChangeNamedPriority: {2701 readonly id: U8aFixed;2702 readonly priority: u8;2703 } & Struct;2704 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter' | 'ChangeNamedPriority';2705 }27062707 /** @name FrameSupportScheduleMaybeHashed (289) */2708 interface FrameSupportScheduleMaybeHashed extends Enum {2709 readonly isValue: boolean;2710 readonly asValue: Call;2711 readonly isHash: boolean;2712 readonly asHash: H256;2713 readonly type: 'Value' | 'Hash';2714 }27152716 /** @name PalletConfigurationCall (290) */2717 interface PalletConfigurationCall extends Enum {2718 readonly isSetWeightToFeeCoefficientOverride: boolean;2719 readonly asSetWeightToFeeCoefficientOverride: {2720 readonly coeff: Option<u32>;2721 } & Struct;2722 readonly isSetMinGasPriceOverride: boolean;2723 readonly asSetMinGasPriceOverride: {2724 readonly coeff: Option<u64>;2725 } & Struct;2726 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2727 }27282729 /** @name PalletTemplateTransactionPaymentCall (292) */2730 type PalletTemplateTransactionPaymentCall = Null;27312732 /** @name PalletStructureCall (293) */2733 type PalletStructureCall = Null;27342735 /** @name PalletRmrkCoreCall (294) */2736 interface PalletRmrkCoreCall extends Enum {2737 readonly isCreateCollection: boolean;2738 readonly asCreateCollection: {2739 readonly metadata: Bytes;2740 readonly max: Option<u32>;2741 readonly symbol: Bytes;2742 } & Struct;2743 readonly isDestroyCollection: boolean;2744 readonly asDestroyCollection: {2745 readonly collectionId: u32;2746 } & Struct;2747 readonly isChangeCollectionIssuer: boolean;2748 readonly asChangeCollectionIssuer: {2749 readonly collectionId: u32;2750 readonly newIssuer: MultiAddress;2751 } & Struct;2752 readonly isLockCollection: boolean;2753 readonly asLockCollection: {2754 readonly collectionId: u32;2755 } & Struct;2756 readonly isMintNft: boolean;2757 readonly asMintNft: {2758 readonly owner: Option<AccountId32>;2759 readonly collectionId: u32;2760 readonly recipient: Option<AccountId32>;2761 readonly royaltyAmount: Option<Permill>;2762 readonly metadata: Bytes;2763 readonly transferable: bool;2764 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2765 } & Struct;2766 readonly isBurnNft: boolean;2767 readonly asBurnNft: {2768 readonly collectionId: u32;2769 readonly nftId: u32;2770 readonly maxBurns: u32;2771 } & Struct;2772 readonly isSend: boolean;2773 readonly asSend: {2774 readonly rmrkCollectionId: u32;2775 readonly rmrkNftId: u32;2776 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2777 } & Struct;2778 readonly isAcceptNft: boolean;2779 readonly asAcceptNft: {2780 readonly rmrkCollectionId: u32;2781 readonly rmrkNftId: u32;2782 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2783 } & Struct;2784 readonly isRejectNft: boolean;2785 readonly asRejectNft: {2786 readonly rmrkCollectionId: u32;2787 readonly rmrkNftId: u32;2788 } & Struct;2789 readonly isAcceptResource: boolean;2790 readonly asAcceptResource: {2791 readonly rmrkCollectionId: u32;2792 readonly rmrkNftId: u32;2793 readonly resourceId: u32;2794 } & Struct;2795 readonly isAcceptResourceRemoval: boolean;2796 readonly asAcceptResourceRemoval: {2797 readonly rmrkCollectionId: u32;2798 readonly rmrkNftId: u32;2799 readonly resourceId: u32;2800 } & Struct;2801 readonly isSetProperty: boolean;2802 readonly asSetProperty: {2803 readonly rmrkCollectionId: Compact<u32>;2804 readonly maybeNftId: Option<u32>;2805 readonly key: Bytes;2806 readonly value: Bytes;2807 } & Struct;2808 readonly isSetPriority: boolean;2809 readonly asSetPriority: {2810 readonly rmrkCollectionId: u32;2811 readonly rmrkNftId: u32;2812 readonly priorities: Vec<u32>;2813 } & Struct;2814 readonly isAddBasicResource: boolean;2815 readonly asAddBasicResource: {2816 readonly rmrkCollectionId: u32;2817 readonly nftId: u32;2818 readonly resource: RmrkTraitsResourceBasicResource;2819 } & Struct;2820 readonly isAddComposableResource: boolean;2821 readonly asAddComposableResource: {2822 readonly rmrkCollectionId: u32;2823 readonly nftId: u32;2824 readonly resource: RmrkTraitsResourceComposableResource;2825 } & Struct;2826 readonly isAddSlotResource: boolean;2827 readonly asAddSlotResource: {2828 readonly rmrkCollectionId: u32;2829 readonly nftId: u32;2830 readonly resource: RmrkTraitsResourceSlotResource;2831 } & Struct;2832 readonly isRemoveResource: boolean;2833 readonly asRemoveResource: {2834 readonly rmrkCollectionId: u32;2835 readonly nftId: u32;2836 readonly resourceId: u32;2837 } & Struct;2838 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2839 }28402841 /** @name RmrkTraitsResourceResourceTypes (300) */2842 interface RmrkTraitsResourceResourceTypes extends Enum {2843 readonly isBasic: boolean;2844 readonly asBasic: RmrkTraitsResourceBasicResource;2845 readonly isComposable: boolean;2846 readonly asComposable: RmrkTraitsResourceComposableResource;2847 readonly isSlot: boolean;2848 readonly asSlot: RmrkTraitsResourceSlotResource;2849 readonly type: 'Basic' | 'Composable' | 'Slot';2850 }28512852 /** @name RmrkTraitsResourceBasicResource (302) */2853 interface RmrkTraitsResourceBasicResource extends Struct {2854 readonly src: Option<Bytes>;2855 readonly metadata: Option<Bytes>;2856 readonly license: Option<Bytes>;2857 readonly thumb: Option<Bytes>;2858 }28592860 /** @name RmrkTraitsResourceComposableResource (304) */2861 interface RmrkTraitsResourceComposableResource extends Struct {2862 readonly parts: Vec<u32>;2863 readonly base: u32;2864 readonly src: Option<Bytes>;2865 readonly metadata: Option<Bytes>;2866 readonly license: Option<Bytes>;2867 readonly thumb: Option<Bytes>;2868 }28692870 /** @name RmrkTraitsResourceSlotResource (305) */2871 interface RmrkTraitsResourceSlotResource extends Struct {2872 readonly base: u32;2873 readonly src: Option<Bytes>;2874 readonly metadata: Option<Bytes>;2875 readonly slot: u32;2876 readonly license: Option<Bytes>;2877 readonly thumb: Option<Bytes>;2878 }28792880 /** @name PalletRmrkEquipCall (308) */2881 interface PalletRmrkEquipCall extends Enum {2882 readonly isCreateBase: boolean;2883 readonly asCreateBase: {2884 readonly baseType: Bytes;2885 readonly symbol: Bytes;2886 readonly parts: Vec<RmrkTraitsPartPartType>;2887 } & Struct;2888 readonly isThemeAdd: boolean;2889 readonly asThemeAdd: {2890 readonly baseId: u32;2891 readonly theme: RmrkTraitsTheme;2892 } & Struct;2893 readonly isEquippable: boolean;2894 readonly asEquippable: {2895 readonly baseId: u32;2896 readonly slotId: u32;2897 readonly equippables: RmrkTraitsPartEquippableList;2898 } & Struct;2899 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2900 }29012902 /** @name RmrkTraitsPartPartType (311) */2903 interface RmrkTraitsPartPartType extends Enum {2904 readonly isFixedPart: boolean;2905 readonly asFixedPart: RmrkTraitsPartFixedPart;2906 readonly isSlotPart: boolean;2907 readonly asSlotPart: RmrkTraitsPartSlotPart;2908 readonly type: 'FixedPart' | 'SlotPart';2909 }29102911 /** @name RmrkTraitsPartFixedPart (313) */2912 interface RmrkTraitsPartFixedPart extends Struct {2913 readonly id: u32;2914 readonly z: u32;2915 readonly src: Bytes;2916 }29172918 /** @name RmrkTraitsPartSlotPart (314) */2919 interface RmrkTraitsPartSlotPart extends Struct {2920 readonly id: u32;2921 readonly equippable: RmrkTraitsPartEquippableList;2922 readonly src: Bytes;2923 readonly z: u32;2924 }29252926 /** @name RmrkTraitsPartEquippableList (315) */2927 interface RmrkTraitsPartEquippableList extends Enum {2928 readonly isAll: boolean;2929 readonly isEmpty: boolean;2930 readonly isCustom: boolean;2931 readonly asCustom: Vec<u32>;2932 readonly type: 'All' | 'Empty' | 'Custom';2933 }29342935 /** @name RmrkTraitsTheme (317) */2936 interface RmrkTraitsTheme extends Struct {2937 readonly name: Bytes;2938 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2939 readonly inherit: bool;2940 }29412942 /** @name RmrkTraitsThemeThemeProperty (319) */2943 interface RmrkTraitsThemeThemeProperty extends Struct {2944 readonly key: Bytes;2945 readonly value: Bytes;2946 }29472948 /** @name PalletAppPromotionCall (321) */2949 interface PalletAppPromotionCall extends Enum {2950 readonly isSetAdminAddress: boolean;2951 readonly asSetAdminAddress: {2952 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2953 } & Struct;2954 readonly isStake: boolean;2955 readonly asStake: {2956 readonly amount: u128;2957 } & Struct;2958 readonly isUnstake: boolean;2959 readonly isSponsorCollection: boolean;2960 readonly asSponsorCollection: {2961 readonly collectionId: u32;2962 } & Struct;2963 readonly isStopSponsoringCollection: boolean;2964 readonly asStopSponsoringCollection: {2965 readonly collectionId: u32;2966 } & Struct;2967 readonly isSponsorContract: boolean;2968 readonly asSponsorContract: {2969 readonly contractId: H160;2970 } & Struct;2971 readonly isStopSponsoringContract: boolean;2972 readonly asStopSponsoringContract: {2973 readonly contractId: H160;2974 } & Struct;2975 readonly isPayoutStakers: boolean;2976 readonly asPayoutStakers: {2977 readonly stakersNumber: Option<u8>;2978 } & Struct;2979 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';2980 }29812982 /** @name PalletForeignAssetsModuleCall (322) */2983 interface PalletForeignAssetsModuleCall extends Enum {2984 readonly isRegisterForeignAsset: boolean;2985 readonly asRegisterForeignAsset: {2986 readonly owner: AccountId32;2987 readonly location: XcmVersionedMultiLocation;2988 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2989 } & Struct;2990 readonly isUpdateForeignAsset: boolean;2991 readonly asUpdateForeignAsset: {2992 readonly foreignAssetId: u32;2993 readonly location: XcmVersionedMultiLocation;2994 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2995 } & Struct;2996 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';2997 }29982999 /** @name PalletEvmCall (323) */3000 interface PalletEvmCall extends Enum {3001 readonly isWithdraw: boolean;3002 readonly asWithdraw: {3003 readonly address: H160;3004 readonly value: u128;3005 } & Struct;3006 readonly isCall: boolean;3007 readonly asCall: {3008 readonly source: H160;3009 readonly target: H160;3010 readonly input: Bytes;3011 readonly value: U256;3012 readonly gasLimit: u64;3013 readonly maxFeePerGas: U256;3014 readonly maxPriorityFeePerGas: Option<U256>;3015 readonly nonce: Option<U256>;3016 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3017 } & Struct;3018 readonly isCreate: boolean;3019 readonly asCreate: {3020 readonly source: H160;3021 readonly init: Bytes;3022 readonly value: U256;3023 readonly gasLimit: u64;3024 readonly maxFeePerGas: U256;3025 readonly maxPriorityFeePerGas: Option<U256>;3026 readonly nonce: Option<U256>;3027 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3028 } & Struct;3029 readonly isCreate2: boolean;3030 readonly asCreate2: {3031 readonly source: H160;3032 readonly init: Bytes;3033 readonly salt: H256;3034 readonly value: U256;3035 readonly gasLimit: u64;3036 readonly maxFeePerGas: U256;3037 readonly maxPriorityFeePerGas: Option<U256>;3038 readonly nonce: Option<U256>;3039 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3040 } & Struct;3041 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3042 }30433044 /** @name PalletEthereumCall (327) */3045 interface PalletEthereumCall extends Enum {3046 readonly isTransact: boolean;3047 readonly asTransact: {3048 readonly transaction: EthereumTransactionTransactionV2;3049 } & Struct;3050 readonly type: 'Transact';3051 }30523053 /** @name EthereumTransactionTransactionV2 (328) */3054 interface EthereumTransactionTransactionV2 extends Enum {3055 readonly isLegacy: boolean;3056 readonly asLegacy: EthereumTransactionLegacyTransaction;3057 readonly isEip2930: boolean;3058 readonly asEip2930: EthereumTransactionEip2930Transaction;3059 readonly isEip1559: boolean;3060 readonly asEip1559: EthereumTransactionEip1559Transaction;3061 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3062 }30633064 /** @name EthereumTransactionLegacyTransaction (329) */3065 interface EthereumTransactionLegacyTransaction extends Struct {3066 readonly nonce: U256;3067 readonly gasPrice: U256;3068 readonly gasLimit: U256;3069 readonly action: EthereumTransactionTransactionAction;3070 readonly value: U256;3071 readonly input: Bytes;3072 readonly signature: EthereumTransactionTransactionSignature;3073 }30743075 /** @name EthereumTransactionTransactionAction (330) */3076 interface EthereumTransactionTransactionAction extends Enum {3077 readonly isCall: boolean;3078 readonly asCall: H160;3079 readonly isCreate: boolean;3080 readonly type: 'Call' | 'Create';3081 }30823083 /** @name EthereumTransactionTransactionSignature (331) */3084 interface EthereumTransactionTransactionSignature extends Struct {3085 readonly v: u64;3086 readonly r: H256;3087 readonly s: H256;3088 }30893090 /** @name EthereumTransactionEip2930Transaction (333) */3091 interface EthereumTransactionEip2930Transaction extends Struct {3092 readonly chainId: u64;3093 readonly nonce: U256;3094 readonly gasPrice: U256;3095 readonly gasLimit: U256;3096 readonly action: EthereumTransactionTransactionAction;3097 readonly value: U256;3098 readonly input: Bytes;3099 readonly accessList: Vec<EthereumTransactionAccessListItem>;3100 readonly oddYParity: bool;3101 readonly r: H256;3102 readonly s: H256;3103 }31043105 /** @name EthereumTransactionAccessListItem (335) */3106 interface EthereumTransactionAccessListItem extends Struct {3107 readonly address: H160;3108 readonly storageKeys: Vec<H256>;3109 }31103111 /** @name EthereumTransactionEip1559Transaction (336) */3112 interface EthereumTransactionEip1559Transaction extends Struct {3113 readonly chainId: u64;3114 readonly nonce: U256;3115 readonly maxPriorityFeePerGas: U256;3116 readonly maxFeePerGas: U256;3117 readonly gasLimit: U256;3118 readonly action: EthereumTransactionTransactionAction;3119 readonly value: U256;3120 readonly input: Bytes;3121 readonly accessList: Vec<EthereumTransactionAccessListItem>;3122 readonly oddYParity: bool;3123 readonly r: H256;3124 readonly s: H256;3125 }31263127 /** @name PalletEvmMigrationCall (337) */3128 interface PalletEvmMigrationCall extends Enum {3129 readonly isBegin: boolean;3130 readonly asBegin: {3131 readonly address: H160;3132 } & Struct;3133 readonly isSetData: boolean;3134 readonly asSetData: {3135 readonly address: H160;3136 readonly data: Vec<ITuple<[H256, H256]>>;3137 } & Struct;3138 readonly isFinish: boolean;3139 readonly asFinish: {3140 readonly address: H160;3141 readonly code: Bytes;3142 } & Struct;3143 readonly type: 'Begin' | 'SetData' | 'Finish';3144 }31453146 /** @name PalletMaintenanceCall (340) */3147 interface PalletMaintenanceCall extends Enum {3148 readonly isEnable: boolean;3149 readonly isDisable: boolean;3150 readonly type: 'Enable' | 'Disable';3151 }31523153 /** @name PalletTestUtilsCall (341) */3154 interface PalletTestUtilsCall extends Enum {3155 readonly isEnable: boolean;3156 readonly isSetTestValue: boolean;3157 readonly asSetTestValue: {3158 readonly value: u32;3159 } & Struct;3160 readonly isSetTestValueAndRollback: boolean;3161 readonly asSetTestValueAndRollback: {3162 readonly value: u32;3163 } & Struct;3164 readonly isIncTestValue: boolean;3165 readonly isSelfCancelingInc: boolean;3166 readonly asSelfCancelingInc: {3167 readonly id: U8aFixed;3168 readonly maxTestValue: u32;3169 } & Struct;3170 readonly isJustTakeFee: boolean;3171 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'SelfCancelingInc' | 'JustTakeFee';3172 }31733174 /** @name PalletSudoError (342) */3175 interface PalletSudoError extends Enum {3176 readonly isRequireSudo: boolean;3177 readonly type: 'RequireSudo';3178 }31793180 /** @name OrmlVestingModuleError (344) */3181 interface OrmlVestingModuleError extends Enum {3182 readonly isZeroVestingPeriod: boolean;3183 readonly isZeroVestingPeriodCount: boolean;3184 readonly isInsufficientBalanceToLock: boolean;3185 readonly isTooManyVestingSchedules: boolean;3186 readonly isAmountLow: boolean;3187 readonly isMaxVestingSchedulesExceeded: boolean;3188 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3189 }31903191 /** @name OrmlXtokensModuleError (345) */3192 interface OrmlXtokensModuleError extends Enum {3193 readonly isAssetHasNoReserve: boolean;3194 readonly isNotCrossChainTransfer: boolean;3195 readonly isInvalidDest: boolean;3196 readonly isNotCrossChainTransferableCurrency: boolean;3197 readonly isUnweighableMessage: boolean;3198 readonly isXcmExecutionFailed: boolean;3199 readonly isCannotReanchor: boolean;3200 readonly isInvalidAncestry: boolean;3201 readonly isInvalidAsset: boolean;3202 readonly isDestinationNotInvertible: boolean;3203 readonly isBadVersion: boolean;3204 readonly isDistinctReserveForAssetAndFee: boolean;3205 readonly isZeroFee: boolean;3206 readonly isZeroAmount: boolean;3207 readonly isTooManyAssetsBeingSent: boolean;3208 readonly isAssetIndexNonExistent: boolean;3209 readonly isFeeNotEnough: boolean;3210 readonly isNotSupportedMultiLocation: boolean;3211 readonly isMinXcmFeeNotDefined: boolean;3212 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3213 }32143215 /** @name OrmlTokensBalanceLock (348) */3216 interface OrmlTokensBalanceLock extends Struct {3217 readonly id: U8aFixed;3218 readonly amount: u128;3219 }32203221 /** @name OrmlTokensAccountData (350) */3222 interface OrmlTokensAccountData extends Struct {3223 readonly free: u128;3224 readonly reserved: u128;3225 readonly frozen: u128;3226 }32273228 /** @name OrmlTokensReserveData (352) */3229 interface OrmlTokensReserveData extends Struct {3230 readonly id: Null;3231 readonly amount: u128;3232 }32333234 /** @name OrmlTokensModuleError (354) */3235 interface OrmlTokensModuleError extends Enum {3236 readonly isBalanceTooLow: boolean;3237 readonly isAmountIntoBalanceFailed: boolean;3238 readonly isLiquidityRestrictions: boolean;3239 readonly isMaxLocksExceeded: boolean;3240 readonly isKeepAlive: boolean;3241 readonly isExistentialDeposit: boolean;3242 readonly isDeadAccount: boolean;3243 readonly isTooManyReserves: boolean;3244 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3245 }32463247 /** @name CumulusPalletXcmpQueueInboundChannelDetails (356) */3248 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3249 readonly sender: u32;3250 readonly state: CumulusPalletXcmpQueueInboundState;3251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3252 }32533254 /** @name CumulusPalletXcmpQueueInboundState (357) */3255 interface CumulusPalletXcmpQueueInboundState extends Enum {3256 readonly isOk: boolean;3257 readonly isSuspended: boolean;3258 readonly type: 'Ok' | 'Suspended';3259 }32603261 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (360) */3262 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3263 readonly isConcatenatedVersionedXcm: boolean;3264 readonly isConcatenatedEncodedBlob: boolean;3265 readonly isSignals: boolean;3266 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3267 }32683269 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (363) */3270 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3271 readonly recipient: u32;3272 readonly state: CumulusPalletXcmpQueueOutboundState;3273 readonly signalsExist: bool;3274 readonly firstIndex: u16;3275 readonly lastIndex: u16;3276 }32773278 /** @name CumulusPalletXcmpQueueOutboundState (364) */3279 interface CumulusPalletXcmpQueueOutboundState extends Enum {3280 readonly isOk: boolean;3281 readonly isSuspended: boolean;3282 readonly type: 'Ok' | 'Suspended';3283 }32843285 /** @name CumulusPalletXcmpQueueQueueConfigData (366) */3286 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3287 readonly suspendThreshold: u32;3288 readonly dropThreshold: u32;3289 readonly resumeThreshold: u32;3290 readonly thresholdWeight: Weight;3291 readonly weightRestrictDecay: Weight;3292 readonly xcmpMaxIndividualWeight: Weight;3293 }32943295 /** @name CumulusPalletXcmpQueueError (368) */3296 interface CumulusPalletXcmpQueueError extends Enum {3297 readonly isFailedToSend: boolean;3298 readonly isBadXcmOrigin: boolean;3299 readonly isBadXcm: boolean;3300 readonly isBadOverweightIndex: boolean;3301 readonly isWeightOverLimit: boolean;3302 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3303 }33043305 /** @name PalletXcmError (369) */3306 interface PalletXcmError extends Enum {3307 readonly isUnreachable: boolean;3308 readonly isSendFailure: boolean;3309 readonly isFiltered: boolean;3310 readonly isUnweighableMessage: boolean;3311 readonly isDestinationNotInvertible: boolean;3312 readonly isEmpty: boolean;3313 readonly isCannotReanchor: boolean;3314 readonly isTooManyAssets: boolean;3315 readonly isInvalidOrigin: boolean;3316 readonly isBadVersion: boolean;3317 readonly isBadLocation: boolean;3318 readonly isNoSubscription: boolean;3319 readonly isAlreadySubscribed: boolean;3320 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3321 }33223323 /** @name CumulusPalletXcmError (370) */3324 type CumulusPalletXcmError = Null;33253326 /** @name CumulusPalletDmpQueueConfigData (371) */3327 interface CumulusPalletDmpQueueConfigData extends Struct {3328 readonly maxIndividual: Weight;3329 }33303331 /** @name CumulusPalletDmpQueuePageIndexData (372) */3332 interface CumulusPalletDmpQueuePageIndexData extends Struct {3333 readonly beginUsed: u32;3334 readonly endUsed: u32;3335 readonly overweightCount: u64;3336 }33373338 /** @name CumulusPalletDmpQueueError (375) */3339 interface CumulusPalletDmpQueueError extends Enum {3340 readonly isUnknown: boolean;3341 readonly isOverLimit: boolean;3342 readonly type: 'Unknown' | 'OverLimit';3343 }33443345 /** @name PalletUniqueError (379) */3346 interface PalletUniqueError extends Enum {3347 readonly isCollectionDecimalPointLimitExceeded: boolean;3348 readonly isConfirmUnsetSponsorFail: boolean;3349 readonly isEmptyArgument: boolean;3350 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3351 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3352 }33533354 /** @name PalletUniqueSchedulerScheduledV3 (382) */3355 interface PalletUniqueSchedulerScheduledV3 extends Struct {3356 readonly maybeId: Option<U8aFixed>;3357 readonly priority: u8;3358 readonly call: FrameSupportScheduleMaybeHashed;3359 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;3360 readonly origin: OpalRuntimeOriginCaller;3361 }33623363 /** @name OpalRuntimeOriginCaller (383) */3364 interface OpalRuntimeOriginCaller extends Enum {3365 readonly isSystem: boolean;3366 readonly asSystem: FrameSupportDispatchRawOrigin;3367 readonly isVoid: boolean;3368 readonly isPolkadotXcm: boolean;3369 readonly asPolkadotXcm: PalletXcmOrigin;3370 readonly isCumulusXcm: boolean;3371 readonly asCumulusXcm: CumulusPalletXcmOrigin;3372 readonly isEthereum: boolean;3373 readonly asEthereum: PalletEthereumRawOrigin;3374 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';3375 }33763377 /** @name FrameSupportDispatchRawOrigin (384) */3378 interface FrameSupportDispatchRawOrigin extends Enum {3379 readonly isRoot: boolean;3380 readonly isSigned: boolean;3381 readonly asSigned: AccountId32;3382 readonly isNone: boolean;3383 readonly type: 'Root' | 'Signed' | 'None';3384 }33853386 /** @name PalletXcmOrigin (385) */3387 interface PalletXcmOrigin extends Enum {3388 readonly isXcm: boolean;3389 readonly asXcm: XcmV1MultiLocation;3390 readonly isResponse: boolean;3391 readonly asResponse: XcmV1MultiLocation;3392 readonly type: 'Xcm' | 'Response';3393 }33943395 /** @name CumulusPalletXcmOrigin (386) */3396 interface CumulusPalletXcmOrigin extends Enum {3397 readonly isRelay: boolean;3398 readonly isSiblingParachain: boolean;3399 readonly asSiblingParachain: u32;3400 readonly type: 'Relay' | 'SiblingParachain';3401 }34023403 /** @name PalletEthereumRawOrigin (387) */3404 interface PalletEthereumRawOrigin extends Enum {3405 readonly isEthereumTransaction: boolean;3406 readonly asEthereumTransaction: H160;3407 readonly type: 'EthereumTransaction';3408 }34093410 /** @name SpCoreVoid (388) */3411 type SpCoreVoid = Null;34123413 /** @name PalletUniqueSchedulerError (389) */3414 interface PalletUniqueSchedulerError extends Enum {3415 readonly isFailedToSchedule: boolean;3416 readonly isNotFound: boolean;3417 readonly isTargetBlockNumberInPast: boolean;3418 readonly isRescheduleNoChange: boolean;3419 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3420 }34213422 /** @name UpDataStructsCollection (390) */3423 interface UpDataStructsCollection extends Struct {3424 readonly owner: AccountId32;3425 readonly mode: UpDataStructsCollectionMode;3426 readonly name: Vec<u16>;3427 readonly description: Vec<u16>;3428 readonly tokenPrefix: Bytes;3429 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3430 readonly limits: UpDataStructsCollectionLimits;3431 readonly permissions: UpDataStructsCollectionPermissions;3432 readonly flags: U8aFixed;3433 }34343435 /** @name UpDataStructsSponsorshipStateAccountId32 (391) */3436 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3437 readonly isDisabled: boolean;3438 readonly isUnconfirmed: boolean;3439 readonly asUnconfirmed: AccountId32;3440 readonly isConfirmed: boolean;3441 readonly asConfirmed: AccountId32;3442 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3443 }34443445 /** @name UpDataStructsProperties (393) */3446 interface UpDataStructsProperties extends Struct {3447 readonly map: UpDataStructsPropertiesMapBoundedVec;3448 readonly consumedSpace: u32;3449 readonly spaceLimit: u32;3450 }34513452 /** @name UpDataStructsPropertiesMapBoundedVec (394) */3453 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}34543455 /** @name UpDataStructsPropertiesMapPropertyPermission (399) */3456 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}34573458 /** @name UpDataStructsCollectionStats (406) */3459 interface UpDataStructsCollectionStats extends Struct {3460 readonly created: u32;3461 readonly destroyed: u32;3462 readonly alive: u32;3463 }34643465 /** @name UpDataStructsTokenChild (407) */3466 interface UpDataStructsTokenChild extends Struct {3467 readonly token: u32;3468 readonly collection: u32;3469 }34703471 /** @name PhantomTypeUpDataStructs (408) */3472 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}34733474 /** @name UpDataStructsTokenData (410) */3475 interface UpDataStructsTokenData extends Struct {3476 readonly properties: Vec<UpDataStructsProperty>;3477 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3478 readonly pieces: u128;3479 }34803481 /** @name UpDataStructsRpcCollection (412) */3482 interface UpDataStructsRpcCollection extends Struct {3483 readonly owner: AccountId32;3484 readonly mode: UpDataStructsCollectionMode;3485 readonly name: Vec<u16>;3486 readonly description: Vec<u16>;3487 readonly tokenPrefix: Bytes;3488 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3489 readonly limits: UpDataStructsCollectionLimits;3490 readonly permissions: UpDataStructsCollectionPermissions;3491 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3492 readonly properties: Vec<UpDataStructsProperty>;3493 readonly readOnly: bool;3494 readonly flags: UpDataStructsRpcCollectionFlags;3495 }34963497 /** @name UpDataStructsRpcCollectionFlags (413) */3498 interface UpDataStructsRpcCollectionFlags extends Struct {3499 readonly foreign: bool;3500 readonly erc721metadata: bool;3501 }35023503 /** @name RmrkTraitsCollectionCollectionInfo (414) */3504 interface RmrkTraitsCollectionCollectionInfo extends Struct {3505 readonly issuer: AccountId32;3506 readonly metadata: Bytes;3507 readonly max: Option<u32>;3508 readonly symbol: Bytes;3509 readonly nftsCount: u32;3510 }35113512 /** @name RmrkTraitsNftNftInfo (415) */3513 interface RmrkTraitsNftNftInfo extends Struct {3514 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3515 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3516 readonly metadata: Bytes;3517 readonly equipped: bool;3518 readonly pending: bool;3519 }35203521 /** @name RmrkTraitsNftRoyaltyInfo (417) */3522 interface RmrkTraitsNftRoyaltyInfo extends Struct {3523 readonly recipient: AccountId32;3524 readonly amount: Permill;3525 }35263527 /** @name RmrkTraitsResourceResourceInfo (418) */3528 interface RmrkTraitsResourceResourceInfo extends Struct {3529 readonly id: u32;3530 readonly resource: RmrkTraitsResourceResourceTypes;3531 readonly pending: bool;3532 readonly pendingRemoval: bool;3533 }35343535 /** @name RmrkTraitsPropertyPropertyInfo (419) */3536 interface RmrkTraitsPropertyPropertyInfo extends Struct {3537 readonly key: Bytes;3538 readonly value: Bytes;3539 }35403541 /** @name RmrkTraitsBaseBaseInfo (420) */3542 interface RmrkTraitsBaseBaseInfo extends Struct {3543 readonly issuer: AccountId32;3544 readonly baseType: Bytes;3545 readonly symbol: Bytes;3546 }35473548 /** @name RmrkTraitsNftNftChild (421) */3549 interface RmrkTraitsNftNftChild extends Struct {3550 readonly collectionId: u32;3551 readonly nftId: u32;3552 }35533554 /** @name PalletCommonError (423) */3555 interface PalletCommonError extends Enum {3556 readonly isCollectionNotFound: boolean;3557 readonly isMustBeTokenOwner: boolean;3558 readonly isNoPermission: boolean;3559 readonly isCantDestroyNotEmptyCollection: boolean;3560 readonly isPublicMintingNotAllowed: boolean;3561 readonly isAddressNotInAllowlist: boolean;3562 readonly isCollectionNameLimitExceeded: boolean;3563 readonly isCollectionDescriptionLimitExceeded: boolean;3564 readonly isCollectionTokenPrefixLimitExceeded: boolean;3565 readonly isTotalCollectionsLimitExceeded: boolean;3566 readonly isCollectionAdminCountExceeded: boolean;3567 readonly isCollectionLimitBoundsExceeded: boolean;3568 readonly isOwnerPermissionsCantBeReverted: boolean;3569 readonly isTransferNotAllowed: boolean;3570 readonly isAccountTokenLimitExceeded: boolean;3571 readonly isCollectionTokenLimitExceeded: boolean;3572 readonly isMetadataFlagFrozen: boolean;3573 readonly isTokenNotFound: boolean;3574 readonly isTokenValueTooLow: boolean;3575 readonly isApprovedValueTooLow: boolean;3576 readonly isCantApproveMoreThanOwned: boolean;3577 readonly isAddressIsZero: boolean;3578 readonly isUnsupportedOperation: boolean;3579 readonly isNotSufficientFounds: boolean;3580 readonly isUserIsNotAllowedToNest: boolean;3581 readonly isSourceCollectionIsNotAllowedToNest: boolean;3582 readonly isCollectionFieldSizeExceeded: boolean;3583 readonly isNoSpaceForProperty: boolean;3584 readonly isPropertyLimitReached: boolean;3585 readonly isPropertyKeyIsTooLong: boolean;3586 readonly isInvalidCharacterInPropertyKey: boolean;3587 readonly isEmptyPropertyKey: boolean;3588 readonly isCollectionIsExternal: boolean;3589 readonly isCollectionIsInternal: boolean;3590 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';3591 }35923593 /** @name PalletFungibleError (425) */3594 interface PalletFungibleError extends Enum {3595 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3596 readonly isFungibleItemsHaveNoId: boolean;3597 readonly isFungibleItemsDontHaveData: boolean;3598 readonly isFungibleDisallowsNesting: boolean;3599 readonly isSettingPropertiesNotAllowed: boolean;3600 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3601 }36023603 /** @name PalletRefungibleItemData (426) */3604 interface PalletRefungibleItemData extends Struct {3605 readonly constData: Bytes;3606 }36073608 /** @name PalletRefungibleError (431) */3609 interface PalletRefungibleError extends Enum {3610 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3611 readonly isWrongRefungiblePieces: boolean;3612 readonly isRepartitionWhileNotOwningAllPieces: boolean;3613 readonly isRefungibleDisallowsNesting: boolean;3614 readonly isSettingPropertiesNotAllowed: boolean;3615 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3616 }36173618 /** @name PalletNonfungibleItemData (432) */3619 interface PalletNonfungibleItemData extends Struct {3620 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3621 }36223623 /** @name UpDataStructsPropertyScope (434) */3624 interface UpDataStructsPropertyScope extends Enum {3625 readonly isNone: boolean;3626 readonly isRmrk: boolean;3627 readonly type: 'None' | 'Rmrk';3628 }36293630 /** @name PalletNonfungibleError (436) */3631 interface PalletNonfungibleError extends Enum {3632 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3633 readonly isNonfungibleItemsHaveNoAmount: boolean;3634 readonly isCantBurnNftWithChildren: boolean;3635 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3636 }36373638 /** @name PalletStructureError (437) */3639 interface PalletStructureError extends Enum {3640 readonly isOuroborosDetected: boolean;3641 readonly isDepthLimit: boolean;3642 readonly isBreadthLimit: boolean;3643 readonly isTokenNotFound: boolean;3644 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3645 }36463647 /** @name PalletRmrkCoreError (438) */3648 interface PalletRmrkCoreError extends Enum {3649 readonly isCorruptedCollectionType: boolean;3650 readonly isRmrkPropertyKeyIsTooLong: boolean;3651 readonly isRmrkPropertyValueIsTooLong: boolean;3652 readonly isRmrkPropertyIsNotFound: boolean;3653 readonly isUnableToDecodeRmrkData: boolean;3654 readonly isCollectionNotEmpty: boolean;3655 readonly isNoAvailableCollectionId: boolean;3656 readonly isNoAvailableNftId: boolean;3657 readonly isCollectionUnknown: boolean;3658 readonly isNoPermission: boolean;3659 readonly isNonTransferable: boolean;3660 readonly isCollectionFullOrLocked: boolean;3661 readonly isResourceDoesntExist: boolean;3662 readonly isCannotSendToDescendentOrSelf: boolean;3663 readonly isCannotAcceptNonOwnedNft: boolean;3664 readonly isCannotRejectNonOwnedNft: boolean;3665 readonly isCannotRejectNonPendingNft: boolean;3666 readonly isResourceNotPending: boolean;3667 readonly isNoAvailableResourceId: boolean;3668 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3669 }36703671 /** @name PalletRmrkEquipError (440) */3672 interface PalletRmrkEquipError extends Enum {3673 readonly isPermissionError: boolean;3674 readonly isNoAvailableBaseId: boolean;3675 readonly isNoAvailablePartId: boolean;3676 readonly isBaseDoesntExist: boolean;3677 readonly isNeedsDefaultThemeFirst: boolean;3678 readonly isPartDoesntExist: boolean;3679 readonly isNoEquippableOnFixedPart: boolean;3680 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3681 }36823683 /** @name PalletAppPromotionError (446) */3684 interface PalletAppPromotionError extends Enum {3685 readonly isAdminNotSet: boolean;3686 readonly isNoPermission: boolean;3687 readonly isNotSufficientFunds: boolean;3688 readonly isPendingForBlockOverflow: boolean;3689 readonly isSponsorNotSet: boolean;3690 readonly isIncorrectLockedBalanceOperation: boolean;3691 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3692 }36933694 /** @name PalletForeignAssetsModuleError (447) */3695 interface PalletForeignAssetsModuleError extends Enum {3696 readonly isBadLocation: boolean;3697 readonly isMultiLocationExisted: boolean;3698 readonly isAssetIdNotExists: boolean;3699 readonly isAssetIdExisted: boolean;3700 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3701 }37023703 /** @name PalletEvmError (450) */3704 interface PalletEvmError extends Enum {3705 readonly isBalanceLow: boolean;3706 readonly isFeeOverflow: boolean;3707 readonly isPaymentOverflow: boolean;3708 readonly isWithdrawFailed: boolean;3709 readonly isGasPriceTooLow: boolean;3710 readonly isInvalidNonce: boolean;3711 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3712 }37133714 /** @name FpRpcTransactionStatus (453) */3715 interface FpRpcTransactionStatus extends Struct {3716 readonly transactionHash: H256;3717 readonly transactionIndex: u32;3718 readonly from: H160;3719 readonly to: Option<H160>;3720 readonly contractAddress: Option<H160>;3721 readonly logs: Vec<EthereumLog>;3722 readonly logsBloom: EthbloomBloom;3723 }37243725 /** @name EthbloomBloom (455) */3726 interface EthbloomBloom extends U8aFixed {}37273728 /** @name EthereumReceiptReceiptV3 (457) */3729 interface EthereumReceiptReceiptV3 extends Enum {3730 readonly isLegacy: boolean;3731 readonly asLegacy: EthereumReceiptEip658ReceiptData;3732 readonly isEip2930: boolean;3733 readonly asEip2930: EthereumReceiptEip658ReceiptData;3734 readonly isEip1559: boolean;3735 readonly asEip1559: EthereumReceiptEip658ReceiptData;3736 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3737 }37383739 /** @name EthereumReceiptEip658ReceiptData (458) */3740 interface EthereumReceiptEip658ReceiptData extends Struct {3741 readonly statusCode: u8;3742 readonly usedGas: U256;3743 readonly logsBloom: EthbloomBloom;3744 readonly logs: Vec<EthereumLog>;3745 }37463747 /** @name EthereumBlock (459) */3748 interface EthereumBlock extends Struct {3749 readonly header: EthereumHeader;3750 readonly transactions: Vec<EthereumTransactionTransactionV2>;3751 readonly ommers: Vec<EthereumHeader>;3752 }37533754 /** @name EthereumHeader (460) */3755 interface EthereumHeader extends Struct {3756 readonly parentHash: H256;3757 readonly ommersHash: H256;3758 readonly beneficiary: H160;3759 readonly stateRoot: H256;3760 readonly transactionsRoot: H256;3761 readonly receiptsRoot: H256;3762 readonly logsBloom: EthbloomBloom;3763 readonly difficulty: U256;3764 readonly number: U256;3765 readonly gasLimit: U256;3766 readonly gasUsed: U256;3767 readonly timestamp: u64;3768 readonly extraData: Bytes;3769 readonly mixHash: H256;3770 readonly nonce: EthereumTypesHashH64;3771 }37723773 /** @name EthereumTypesHashH64 (461) */3774 interface EthereumTypesHashH64 extends U8aFixed {}37753776 /** @name PalletEthereumError (466) */3777 interface PalletEthereumError extends Enum {3778 readonly isInvalidSignature: boolean;3779 readonly isPreLogExists: boolean;3780 readonly type: 'InvalidSignature' | 'PreLogExists';3781 }37823783 /** @name PalletEvmCoderSubstrateError (467) */3784 interface PalletEvmCoderSubstrateError extends Enum {3785 readonly isOutOfGas: boolean;3786 readonly isOutOfFund: boolean;3787 readonly type: 'OutOfGas' | 'OutOfFund';3788 }37893790 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (468) */3791 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3792 readonly isDisabled: boolean;3793 readonly isUnconfirmed: boolean;3794 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3795 readonly isConfirmed: boolean;3796 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3797 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3798 }37993800 /** @name PalletEvmContractHelpersSponsoringModeT (469) */3801 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3802 readonly isDisabled: boolean;3803 readonly isAllowlisted: boolean;3804 readonly isGenerous: boolean;3805 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3806 }38073808 /** @name PalletEvmContractHelpersError (475) */3809 interface PalletEvmContractHelpersError extends Enum {3810 readonly isNoPermission: boolean;3811 readonly isNoPendingSponsor: boolean;3812 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3813 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3814 }38153816 /** @name PalletEvmMigrationError (476) */3817 interface PalletEvmMigrationError extends Enum {3818 readonly isAccountNotEmpty: boolean;3819 readonly isAccountIsNotMigrating: boolean;3820 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3821 }38223823 /** @name PalletMaintenanceError (477) */3824 type PalletMaintenanceError = Null;38253826 /** @name PalletTestUtilsError (478) */3827 interface PalletTestUtilsError extends Enum {3828 readonly isTestPalletDisabled: boolean;3829 readonly isTriggerRollback: boolean;3830 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3831 }38323833 /** @name SpRuntimeMultiSignature (480) */3834 interface SpRuntimeMultiSignature extends Enum {3835 readonly isEd25519: boolean;3836 readonly asEd25519: SpCoreEd25519Signature;3837 readonly isSr25519: boolean;3838 readonly asSr25519: SpCoreSr25519Signature;3839 readonly isEcdsa: boolean;3840 readonly asEcdsa: SpCoreEcdsaSignature;3841 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3842 }38433844 /** @name SpCoreEd25519Signature (481) */3845 interface SpCoreEd25519Signature extends U8aFixed {}38463847 /** @name SpCoreSr25519Signature (483) */3848 interface SpCoreSr25519Signature extends U8aFixed {}38493850 /** @name SpCoreEcdsaSignature (484) */3851 interface SpCoreEcdsaSignature extends U8aFixed {}38523853 /** @name FrameSystemExtensionsCheckSpecVersion (487) */3854 type FrameSystemExtensionsCheckSpecVersion = Null;38553856 /** @name FrameSystemExtensionsCheckTxVersion (488) */3857 type FrameSystemExtensionsCheckTxVersion = Null;38583859 /** @name FrameSystemExtensionsCheckGenesis (489) */3860 type FrameSystemExtensionsCheckGenesis = Null;38613862 /** @name FrameSystemExtensionsCheckNonce (492) */3863 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}38643865 /** @name FrameSystemExtensionsCheckWeight (493) */3866 type FrameSystemExtensionsCheckWeight = Null;38673868 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (494) */3869 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;38703871 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (495) */3872 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}38733874 /** @name OpalRuntimeRuntime (496) */3875 type OpalRuntimeRuntime = Null;38763877 /** @name PalletEthereumFakeTransactionFinalizer (497) */3878 type PalletEthereumFakeTransactionFinalizer = Null;38793880} // declare moduletests/src/maintenanceMode.seqtest.tsdiffbeforeafterboth--- a/tests/src/maintenanceMode.seqtest.ts
+++ b/tests/src/maintenanceMode.seqtest.ts
@@ -237,7 +237,7 @@
expect(tokenId).to.be.equal('1');
await expect(contract.methods.mintWithTokenURI(receiver, 'Test URI').send())
- .to.be.rejectedWith(/submit transaction to pool failed: Pool\(InvalidTransaction\(InvalidTransaction::Call\)\)/);
+ .to.be.rejectedWith(/Returned error: unknown error/);
await expect(contract.methods.ownerOf(tokenId).call()).rejectedWith(/token not found/);