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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill, Weight } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: Weight;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: Weight;50 readonly requiredWeight: Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: Weight;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: Weight;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: Weight;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: Weight;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: Weight;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: Weight;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: Weight;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: Weight;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: Weight;290 readonly weightRestrictDecay: Weight;291 readonly xcmpMaxIndividualWeight: Weight;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchDispatchClass */505export interface FrameSupportDispatchDispatchClass extends Enum {506 readonly isNormal: boolean;507 readonly isOperational: boolean;508 readonly isMandatory: boolean;509 readonly type: 'Normal' | 'Operational' | 'Mandatory';510}511512/** @name FrameSupportDispatchDispatchInfo */513export interface FrameSupportDispatchDispatchInfo extends Struct {514 readonly weight: Weight;515 readonly class: FrameSupportDispatchDispatchClass;516 readonly paysFee: FrameSupportDispatchPays;517}518519/** @name FrameSupportDispatchPays */520export interface FrameSupportDispatchPays extends Enum {521 readonly isYes: boolean;522 readonly isNo: boolean;523 readonly type: 'Yes' | 'No';524}525526/** @name FrameSupportDispatchPerDispatchClassU32 */527export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {528 readonly normal: u32;529 readonly operational: u32;530 readonly mandatory: u32;531}532533/** @name FrameSupportDispatchPerDispatchClassWeight */534export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {535 readonly normal: Weight;536 readonly operational: Weight;537 readonly mandatory: Weight;538}539540/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */541export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {542 readonly normal: FrameSystemLimitsWeightsPerClass;543 readonly operational: FrameSystemLimitsWeightsPerClass;544 readonly mandatory: FrameSystemLimitsWeightsPerClass;545}546547/** @name FrameSupportDispatchRawOrigin */548export interface FrameSupportDispatchRawOrigin extends Enum {549 readonly isRoot: boolean;550 readonly isSigned: boolean;551 readonly asSigned: AccountId32;552 readonly isNone: boolean;553 readonly type: 'Root' | 'Signed' | 'None';554}555556/** @name FrameSupportPalletId */557export interface FrameSupportPalletId extends U8aFixed {}558559/** @name FrameSupportScheduleLookupError */560export interface FrameSupportScheduleLookupError extends Enum {561 readonly isUnknown: boolean;562 readonly isBadFormat: boolean;563 readonly type: 'Unknown' | 'BadFormat';564}565566/** @name FrameSupportScheduleMaybeHashed */567export interface FrameSupportScheduleMaybeHashed extends Enum {568 readonly isValue: boolean;569 readonly asValue: Call;570 readonly isHash: boolean;571 readonly asHash: H256;572 readonly type: 'Value' | 'Hash';573}574575/** @name FrameSupportTokensMiscBalanceStatus */576export interface FrameSupportTokensMiscBalanceStatus extends Enum {577 readonly isFree: boolean;578 readonly isReserved: boolean;579 readonly type: 'Free' | 'Reserved';580}581582/** @name FrameSystemAccountInfo */583export interface FrameSystemAccountInfo extends Struct {584 readonly nonce: u32;585 readonly consumers: u32;586 readonly providers: u32;587 readonly sufficients: u32;588 readonly data: PalletBalancesAccountData;589}590591/** @name FrameSystemCall */592export interface FrameSystemCall extends Enum {593 readonly isFillBlock: boolean;594 readonly asFillBlock: {595 readonly ratio: Perbill;596 } & Struct;597 readonly isRemark: boolean;598 readonly asRemark: {599 readonly remark: Bytes;600 } & Struct;601 readonly isSetHeapPages: boolean;602 readonly asSetHeapPages: {603 readonly pages: u64;604 } & Struct;605 readonly isSetCode: boolean;606 readonly asSetCode: {607 readonly code: Bytes;608 } & Struct;609 readonly isSetCodeWithoutChecks: boolean;610 readonly asSetCodeWithoutChecks: {611 readonly code: Bytes;612 } & Struct;613 readonly isSetStorage: boolean;614 readonly asSetStorage: {615 readonly items: Vec<ITuple<[Bytes, Bytes]>>;616 } & Struct;617 readonly isKillStorage: boolean;618 readonly asKillStorage: {619 readonly keys_: Vec<Bytes>;620 } & Struct;621 readonly isKillPrefix: boolean;622 readonly asKillPrefix: {623 readonly prefix: Bytes;624 readonly subkeys: u32;625 } & Struct;626 readonly isRemarkWithEvent: boolean;627 readonly asRemarkWithEvent: {628 readonly remark: Bytes;629 } & Struct;630 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';631}632633/** @name FrameSystemError */634export interface FrameSystemError extends Enum {635 readonly isInvalidSpecName: boolean;636 readonly isSpecVersionNeedsToIncrease: boolean;637 readonly isFailedToExtractRuntimeVersion: boolean;638 readonly isNonDefaultComposite: boolean;639 readonly isNonZeroRefCount: boolean;640 readonly isCallFiltered: boolean;641 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';642}643644/** @name FrameSystemEvent */645export interface FrameSystemEvent extends Enum {646 readonly isExtrinsicSuccess: boolean;647 readonly asExtrinsicSuccess: {648 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;649 } & Struct;650 readonly isExtrinsicFailed: boolean;651 readonly asExtrinsicFailed: {652 readonly dispatchError: SpRuntimeDispatchError;653 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;654 } & Struct;655 readonly isCodeUpdated: boolean;656 readonly isNewAccount: boolean;657 readonly asNewAccount: {658 readonly account: AccountId32;659 } & Struct;660 readonly isKilledAccount: boolean;661 readonly asKilledAccount: {662 readonly account: AccountId32;663 } & Struct;664 readonly isRemarked: boolean;665 readonly asRemarked: {666 readonly sender: AccountId32;667 readonly hash_: H256;668 } & Struct;669 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';670}671672/** @name FrameSystemEventRecord */673export interface FrameSystemEventRecord extends Struct {674 readonly phase: FrameSystemPhase;675 readonly event: Event;676 readonly topics: Vec<H256>;677}678679/** @name FrameSystemExtensionsCheckGenesis */680export interface FrameSystemExtensionsCheckGenesis extends Null {}681682/** @name FrameSystemExtensionsCheckNonce */683export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}684685/** @name FrameSystemExtensionsCheckSpecVersion */686export interface FrameSystemExtensionsCheckSpecVersion extends Null {}687688/** @name FrameSystemExtensionsCheckTxVersion */689export interface FrameSystemExtensionsCheckTxVersion extends Null {}690691/** @name FrameSystemExtensionsCheckWeight */692export interface FrameSystemExtensionsCheckWeight extends Null {}693694/** @name FrameSystemLastRuntimeUpgradeInfo */695export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {696 readonly specVersion: Compact<u32>;697 readonly specName: Text;698}699700/** @name FrameSystemLimitsBlockLength */701export interface FrameSystemLimitsBlockLength extends Struct {702 readonly max: FrameSupportDispatchPerDispatchClassU32;703}704705/** @name FrameSystemLimitsBlockWeights */706export interface FrameSystemLimitsBlockWeights extends Struct {707 readonly baseBlock: Weight;708 readonly maxBlock: Weight;709 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;710}711712/** @name FrameSystemLimitsWeightsPerClass */713export interface FrameSystemLimitsWeightsPerClass extends Struct {714 readonly baseExtrinsic: Weight;715 readonly maxExtrinsic: Option<Weight>;716 readonly maxTotal: Option<Weight>;717 readonly reserved: Option<Weight>;718}719720/** @name FrameSystemPhase */721export interface FrameSystemPhase extends Enum {722 readonly isApplyExtrinsic: boolean;723 readonly asApplyExtrinsic: u32;724 readonly isFinalization: boolean;725 readonly isInitialization: boolean;726 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';727}728729/** @name OpalRuntimeOriginCaller */730export interface OpalRuntimeOriginCaller extends Enum {731 readonly isSystem: boolean;732 readonly asSystem: FrameSupportDispatchRawOrigin;733 readonly isVoid: boolean;734 readonly asVoid: SpCoreVoid;735 readonly isPolkadotXcm: boolean;736 readonly asPolkadotXcm: PalletXcmOrigin;737 readonly isCumulusXcm: boolean;738 readonly asCumulusXcm: CumulusPalletXcmOrigin;739 readonly isEthereum: boolean;740 readonly asEthereum: PalletEthereumRawOrigin;741 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';742}743744/** @name OpalRuntimeRuntime */745export interface OpalRuntimeRuntime extends Null {}746747/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */748export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}749750/** @name OrmlTokensAccountData */751export interface OrmlTokensAccountData extends Struct {752 readonly free: u128;753 readonly reserved: u128;754 readonly frozen: u128;755}756757/** @name OrmlTokensBalanceLock */758export interface OrmlTokensBalanceLock extends Struct {759 readonly id: U8aFixed;760 readonly amount: u128;761}762763/** @name OrmlTokensModuleCall */764export interface OrmlTokensModuleCall extends Enum {765 readonly isTransfer: boolean;766 readonly asTransfer: {767 readonly dest: MultiAddress;768 readonly currencyId: PalletForeignAssetsAssetIds;769 readonly amount: Compact<u128>;770 } & Struct;771 readonly isTransferAll: boolean;772 readonly asTransferAll: {773 readonly dest: MultiAddress;774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly keepAlive: bool;776 } & Struct;777 readonly isTransferKeepAlive: boolean;778 readonly asTransferKeepAlive: {779 readonly dest: MultiAddress;780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly amount: Compact<u128>;782 } & Struct;783 readonly isForceTransfer: boolean;784 readonly asForceTransfer: {785 readonly source: MultiAddress;786 readonly dest: MultiAddress;787 readonly currencyId: PalletForeignAssetsAssetIds;788 readonly amount: Compact<u128>;789 } & Struct;790 readonly isSetBalance: boolean;791 readonly asSetBalance: {792 readonly who: MultiAddress;793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly newFree: Compact<u128>;795 readonly newReserved: Compact<u128>;796 } & Struct;797 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';798}799800/** @name OrmlTokensModuleError */801export interface OrmlTokensModuleError extends Enum {802 readonly isBalanceTooLow: boolean;803 readonly isAmountIntoBalanceFailed: boolean;804 readonly isLiquidityRestrictions: boolean;805 readonly isMaxLocksExceeded: boolean;806 readonly isKeepAlive: boolean;807 readonly isExistentialDeposit: boolean;808 readonly isDeadAccount: boolean;809 readonly isTooManyReserves: boolean;810 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';811}812813/** @name OrmlTokensModuleEvent */814export interface OrmlTokensModuleEvent extends Enum {815 readonly isEndowed: boolean;816 readonly asEndowed: {817 readonly currencyId: PalletForeignAssetsAssetIds;818 readonly who: AccountId32;819 readonly amount: u128;820 } & Struct;821 readonly isDustLost: boolean;822 readonly asDustLost: {823 readonly currencyId: PalletForeignAssetsAssetIds;824 readonly who: AccountId32;825 readonly amount: u128;826 } & Struct;827 readonly isTransfer: boolean;828 readonly asTransfer: {829 readonly currencyId: PalletForeignAssetsAssetIds;830 readonly from: AccountId32;831 readonly to: AccountId32;832 readonly amount: u128;833 } & Struct;834 readonly isReserved: boolean;835 readonly asReserved: {836 readonly currencyId: PalletForeignAssetsAssetIds;837 readonly who: AccountId32;838 readonly amount: u128;839 } & Struct;840 readonly isUnreserved: boolean;841 readonly asUnreserved: {842 readonly currencyId: PalletForeignAssetsAssetIds;843 readonly who: AccountId32;844 readonly amount: u128;845 } & Struct;846 readonly isReserveRepatriated: boolean;847 readonly asReserveRepatriated: {848 readonly currencyId: PalletForeignAssetsAssetIds;849 readonly from: AccountId32;850 readonly to: AccountId32;851 readonly amount: u128;852 readonly status: FrameSupportTokensMiscBalanceStatus;853 } & Struct;854 readonly isBalanceSet: boolean;855 readonly asBalanceSet: {856 readonly currencyId: PalletForeignAssetsAssetIds;857 readonly who: AccountId32;858 readonly free: u128;859 readonly reserved: u128;860 } & Struct;861 readonly isTotalIssuanceSet: boolean;862 readonly asTotalIssuanceSet: {863 readonly currencyId: PalletForeignAssetsAssetIds;864 readonly amount: u128;865 } & Struct;866 readonly isWithdrawn: boolean;867 readonly asWithdrawn: {868 readonly currencyId: PalletForeignAssetsAssetIds;869 readonly who: AccountId32;870 readonly amount: u128;871 } & Struct;872 readonly isSlashed: boolean;873 readonly asSlashed: {874 readonly currencyId: PalletForeignAssetsAssetIds;875 readonly who: AccountId32;876 readonly freeAmount: u128;877 readonly reservedAmount: u128;878 } & Struct;879 readonly isDeposited: boolean;880 readonly asDeposited: {881 readonly currencyId: PalletForeignAssetsAssetIds;882 readonly who: AccountId32;883 readonly amount: u128;884 } & Struct;885 readonly isLockSet: boolean;886 readonly asLockSet: {887 readonly lockId: U8aFixed;888 readonly currencyId: PalletForeignAssetsAssetIds;889 readonly who: AccountId32;890 readonly amount: u128;891 } & Struct;892 readonly isLockRemoved: boolean;893 readonly asLockRemoved: {894 readonly lockId: U8aFixed;895 readonly currencyId: PalletForeignAssetsAssetIds;896 readonly who: AccountId32;897 } & Struct;898 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';899}900901/** @name OrmlTokensReserveData */902export interface OrmlTokensReserveData extends Struct {903 readonly id: Null;904 readonly amount: u128;905}906907/** @name OrmlVestingModuleCall */908export interface OrmlVestingModuleCall extends Enum {909 readonly isClaim: boolean;910 readonly isVestedTransfer: boolean;911 readonly asVestedTransfer: {912 readonly dest: MultiAddress;913 readonly schedule: OrmlVestingVestingSchedule;914 } & Struct;915 readonly isUpdateVestingSchedules: boolean;916 readonly asUpdateVestingSchedules: {917 readonly who: MultiAddress;918 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;919 } & Struct;920 readonly isClaimFor: boolean;921 readonly asClaimFor: {922 readonly dest: MultiAddress;923 } & Struct;924 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';925}926927/** @name OrmlVestingModuleError */928export interface OrmlVestingModuleError extends Enum {929 readonly isZeroVestingPeriod: boolean;930 readonly isZeroVestingPeriodCount: boolean;931 readonly isInsufficientBalanceToLock: boolean;932 readonly isTooManyVestingSchedules: boolean;933 readonly isAmountLow: boolean;934 readonly isMaxVestingSchedulesExceeded: boolean;935 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';936}937938/** @name OrmlVestingModuleEvent */939export interface OrmlVestingModuleEvent extends Enum {940 readonly isVestingScheduleAdded: boolean;941 readonly asVestingScheduleAdded: {942 readonly from: AccountId32;943 readonly to: AccountId32;944 readonly vestingSchedule: OrmlVestingVestingSchedule;945 } & Struct;946 readonly isClaimed: boolean;947 readonly asClaimed: {948 readonly who: AccountId32;949 readonly amount: u128;950 } & Struct;951 readonly isVestingSchedulesUpdated: boolean;952 readonly asVestingSchedulesUpdated: {953 readonly who: AccountId32;954 } & Struct;955 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';956}957958/** @name OrmlVestingVestingSchedule */959export interface OrmlVestingVestingSchedule extends Struct {960 readonly start: u32;961 readonly period: u32;962 readonly periodCount: u32;963 readonly perPeriod: Compact<u128>;964}965966/** @name OrmlXtokensModuleCall */967export interface OrmlXtokensModuleCall extends Enum {968 readonly isTransfer: boolean;969 readonly asTransfer: {970 readonly currencyId: PalletForeignAssetsAssetIds;971 readonly amount: u128;972 readonly dest: XcmVersionedMultiLocation;973 readonly destWeight: u64;974 } & Struct;975 readonly isTransferMultiasset: boolean;976 readonly asTransferMultiasset: {977 readonly asset: XcmVersionedMultiAsset;978 readonly dest: XcmVersionedMultiLocation;979 readonly destWeight: u64;980 } & Struct;981 readonly isTransferWithFee: boolean;982 readonly asTransferWithFee: {983 readonly currencyId: PalletForeignAssetsAssetIds;984 readonly amount: u128;985 readonly fee: u128;986 readonly dest: XcmVersionedMultiLocation;987 readonly destWeight: u64;988 } & Struct;989 readonly isTransferMultiassetWithFee: boolean;990 readonly asTransferMultiassetWithFee: {991 readonly asset: XcmVersionedMultiAsset;992 readonly fee: XcmVersionedMultiAsset;993 readonly dest: XcmVersionedMultiLocation;994 readonly destWeight: u64;995 } & Struct;996 readonly isTransferMulticurrencies: boolean;997 readonly asTransferMulticurrencies: {998 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;999 readonly feeItem: u32;1000 readonly dest: XcmVersionedMultiLocation;1001 readonly destWeight: u64;1002 } & Struct;1003 readonly isTransferMultiassets: boolean;1004 readonly asTransferMultiassets: {1005 readonly assets: XcmVersionedMultiAssets;1006 readonly feeItem: u32;1007 readonly dest: XcmVersionedMultiLocation;1008 readonly destWeight: u64;1009 } & Struct;1010 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1011}10121013/** @name OrmlXtokensModuleError */1014export interface OrmlXtokensModuleError extends Enum {1015 readonly isAssetHasNoReserve: boolean;1016 readonly isNotCrossChainTransfer: boolean;1017 readonly isInvalidDest: boolean;1018 readonly isNotCrossChainTransferableCurrency: boolean;1019 readonly isUnweighableMessage: boolean;1020 readonly isXcmExecutionFailed: boolean;1021 readonly isCannotReanchor: boolean;1022 readonly isInvalidAncestry: boolean;1023 readonly isInvalidAsset: boolean;1024 readonly isDestinationNotInvertible: boolean;1025 readonly isBadVersion: boolean;1026 readonly isDistinctReserveForAssetAndFee: boolean;1027 readonly isZeroFee: boolean;1028 readonly isZeroAmount: boolean;1029 readonly isTooManyAssetsBeingSent: boolean;1030 readonly isAssetIndexNonExistent: boolean;1031 readonly isFeeNotEnough: boolean;1032 readonly isNotSupportedMultiLocation: boolean;1033 readonly isMinXcmFeeNotDefined: boolean;1034 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';1035}10361037/** @name OrmlXtokensModuleEvent */1038export interface OrmlXtokensModuleEvent extends Enum {1039 readonly isTransferredMultiAssets: boolean;1040 readonly asTransferredMultiAssets: {1041 readonly sender: AccountId32;1042 readonly assets: XcmV1MultiassetMultiAssets;1043 readonly fee: XcmV1MultiAsset;1044 readonly dest: XcmV1MultiLocation;1045 } & Struct;1046 readonly type: 'TransferredMultiAssets';1047}10481049/** @name PalletAppPromotionCall */1050export interface PalletAppPromotionCall extends Enum {1051 readonly isSetAdminAddress: boolean;1052 readonly asSetAdminAddress: {1053 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1054 } & Struct;1055 readonly isStake: boolean;1056 readonly asStake: {1057 readonly amount: u128;1058 } & Struct;1059 readonly isUnstake: boolean;1060 readonly isSponsorCollection: boolean;1061 readonly asSponsorCollection: {1062 readonly collectionId: u32;1063 } & Struct;1064 readonly isStopSponsoringCollection: boolean;1065 readonly asStopSponsoringCollection: {1066 readonly collectionId: u32;1067 } & Struct;1068 readonly isSponsorContract: boolean;1069 readonly asSponsorContract: {1070 readonly contractId: H160;1071 } & Struct;1072 readonly isStopSponsoringContract: boolean;1073 readonly asStopSponsoringContract: {1074 readonly contractId: H160;1075 } & Struct;1076 readonly isPayoutStakers: boolean;1077 readonly asPayoutStakers: {1078 readonly stakersNumber: Option<u8>;1079 } & Struct;1080 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1081}10821083/** @name PalletAppPromotionError */1084export interface PalletAppPromotionError extends Enum {1085 readonly isAdminNotSet: boolean;1086 readonly isNoPermission: boolean;1087 readonly isNotSufficientFunds: boolean;1088 readonly isPendingForBlockOverflow: boolean;1089 readonly isSponsorNotSet: boolean;1090 readonly isIncorrectLockedBalanceOperation: boolean;1091 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1092}10931094/** @name PalletAppPromotionEvent */1095export interface PalletAppPromotionEvent extends Enum {1096 readonly isStakingRecalculation: boolean;1097 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1098 readonly isStake: boolean;1099 readonly asStake: ITuple<[AccountId32, u128]>;1100 readonly isUnstake: boolean;1101 readonly asUnstake: ITuple<[AccountId32, u128]>;1102 readonly isSetAdmin: boolean;1103 readonly asSetAdmin: AccountId32;1104 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1105}11061107/** @name PalletBalancesAccountData */1108export interface PalletBalancesAccountData extends Struct {1109 readonly free: u128;1110 readonly reserved: u128;1111 readonly miscFrozen: u128;1112 readonly feeFrozen: u128;1113}11141115/** @name PalletBalancesBalanceLock */1116export interface PalletBalancesBalanceLock extends Struct {1117 readonly id: U8aFixed;1118 readonly amount: u128;1119 readonly reasons: PalletBalancesReasons;1120}11211122/** @name PalletBalancesCall */1123export interface PalletBalancesCall extends Enum {1124 readonly isTransfer: boolean;1125 readonly asTransfer: {1126 readonly dest: MultiAddress;1127 readonly value: Compact<u128>;1128 } & Struct;1129 readonly isSetBalance: boolean;1130 readonly asSetBalance: {1131 readonly who: MultiAddress;1132 readonly newFree: Compact<u128>;1133 readonly newReserved: Compact<u128>;1134 } & Struct;1135 readonly isForceTransfer: boolean;1136 readonly asForceTransfer: {1137 readonly source: MultiAddress;1138 readonly dest: MultiAddress;1139 readonly value: Compact<u128>;1140 } & Struct;1141 readonly isTransferKeepAlive: boolean;1142 readonly asTransferKeepAlive: {1143 readonly dest: MultiAddress;1144 readonly value: Compact<u128>;1145 } & Struct;1146 readonly isTransferAll: boolean;1147 readonly asTransferAll: {1148 readonly dest: MultiAddress;1149 readonly keepAlive: bool;1150 } & Struct;1151 readonly isForceUnreserve: boolean;1152 readonly asForceUnreserve: {1153 readonly who: MultiAddress;1154 readonly amount: u128;1155 } & Struct;1156 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1157}11581159/** @name PalletBalancesError */1160export interface PalletBalancesError extends Enum {1161 readonly isVestingBalance: boolean;1162 readonly isLiquidityRestrictions: boolean;1163 readonly isInsufficientBalance: boolean;1164 readonly isExistentialDeposit: boolean;1165 readonly isKeepAlive: boolean;1166 readonly isExistingVestingSchedule: boolean;1167 readonly isDeadAccount: boolean;1168 readonly isTooManyReserves: boolean;1169 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1170}11711172/** @name PalletBalancesEvent */1173export interface PalletBalancesEvent extends Enum {1174 readonly isEndowed: boolean;1175 readonly asEndowed: {1176 readonly account: AccountId32;1177 readonly freeBalance: u128;1178 } & Struct;1179 readonly isDustLost: boolean;1180 readonly asDustLost: {1181 readonly account: AccountId32;1182 readonly amount: u128;1183 } & Struct;1184 readonly isTransfer: boolean;1185 readonly asTransfer: {1186 readonly from: AccountId32;1187 readonly to: AccountId32;1188 readonly amount: u128;1189 } & Struct;1190 readonly isBalanceSet: boolean;1191 readonly asBalanceSet: {1192 readonly who: AccountId32;1193 readonly free: u128;1194 readonly reserved: u128;1195 } & Struct;1196 readonly isReserved: boolean;1197 readonly asReserved: {1198 readonly who: AccountId32;1199 readonly amount: u128;1200 } & Struct;1201 readonly isUnreserved: boolean;1202 readonly asUnreserved: {1203 readonly who: AccountId32;1204 readonly amount: u128;1205 } & Struct;1206 readonly isReserveRepatriated: boolean;1207 readonly asReserveRepatriated: {1208 readonly from: AccountId32;1209 readonly to: AccountId32;1210 readonly amount: u128;1211 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1212 } & Struct;1213 readonly isDeposit: boolean;1214 readonly asDeposit: {1215 readonly who: AccountId32;1216 readonly amount: u128;1217 } & Struct;1218 readonly isWithdraw: boolean;1219 readonly asWithdraw: {1220 readonly who: AccountId32;1221 readonly amount: u128;1222 } & Struct;1223 readonly isSlashed: boolean;1224 readonly asSlashed: {1225 readonly who: AccountId32;1226 readonly amount: u128;1227 } & Struct;1228 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1229}12301231/** @name PalletBalancesReasons */1232export interface PalletBalancesReasons extends Enum {1233 readonly isFee: boolean;1234 readonly isMisc: boolean;1235 readonly isAll: boolean;1236 readonly type: 'Fee' | 'Misc' | 'All';1237}12381239/** @name PalletBalancesReleases */1240export interface PalletBalancesReleases extends Enum {1241 readonly isV100: boolean;1242 readonly isV200: boolean;1243 readonly type: 'V100' | 'V200';1244}12451246/** @name PalletBalancesReserveData */1247export interface PalletBalancesReserveData extends Struct {1248 readonly id: U8aFixed;1249 readonly amount: u128;1250}12511252/** @name PalletCommonError */1253export interface PalletCommonError extends Enum {1254 readonly isCollectionNotFound: boolean;1255 readonly isMustBeTokenOwner: boolean;1256 readonly isNoPermission: boolean;1257 readonly isCantDestroyNotEmptyCollection: boolean;1258 readonly isPublicMintingNotAllowed: boolean;1259 readonly isAddressNotInAllowlist: boolean;1260 readonly isCollectionNameLimitExceeded: boolean;1261 readonly isCollectionDescriptionLimitExceeded: boolean;1262 readonly isCollectionTokenPrefixLimitExceeded: boolean;1263 readonly isTotalCollectionsLimitExceeded: boolean;1264 readonly isCollectionAdminCountExceeded: boolean;1265 readonly isCollectionLimitBoundsExceeded: boolean;1266 readonly isOwnerPermissionsCantBeReverted: boolean;1267 readonly isTransferNotAllowed: boolean;1268 readonly isAccountTokenLimitExceeded: boolean;1269 readonly isCollectionTokenLimitExceeded: boolean;1270 readonly isMetadataFlagFrozen: boolean;1271 readonly isTokenNotFound: boolean;1272 readonly isTokenValueTooLow: boolean;1273 readonly isApprovedValueTooLow: boolean;1274 readonly isCantApproveMoreThanOwned: boolean;1275 readonly isAddressIsZero: boolean;1276 readonly isUnsupportedOperation: boolean;1277 readonly isNotSufficientFounds: boolean;1278 readonly isUserIsNotAllowedToNest: boolean;1279 readonly isSourceCollectionIsNotAllowedToNest: boolean;1280 readonly isCollectionFieldSizeExceeded: boolean;1281 readonly isNoSpaceForProperty: boolean;1282 readonly isPropertyLimitReached: boolean;1283 readonly isPropertyKeyIsTooLong: boolean;1284 readonly isInvalidCharacterInPropertyKey: boolean;1285 readonly isEmptyPropertyKey: boolean;1286 readonly isCollectionIsExternal: boolean;1287 readonly isCollectionIsInternal: boolean;1288 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';1289}12901291/** @name PalletCommonEvent */1292export interface PalletCommonEvent extends Enum {1293 readonly isCollectionCreated: boolean;1294 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1295 readonly isCollectionDestroyed: boolean;1296 readonly asCollectionDestroyed: u32;1297 readonly isItemCreated: boolean;1298 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1299 readonly isItemDestroyed: boolean;1300 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1301 readonly isTransfer: boolean;1302 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1303 readonly isApproved: boolean;1304 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1305 readonly isCollectionPropertySet: boolean;1306 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1307 readonly isCollectionPropertyDeleted: boolean;1308 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1309 readonly isTokenPropertySet: boolean;1310 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1311 readonly isTokenPropertyDeleted: boolean;1312 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1313 readonly isPropertyPermissionSet: boolean;1314 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1315 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1316}13171318/** @name PalletConfigurationCall */1319export interface PalletConfigurationCall extends Enum {1320 readonly isSetWeightToFeeCoefficientOverride: boolean;1321 readonly asSetWeightToFeeCoefficientOverride: {1322 readonly coeff: Option<u32>;1323 } & Struct;1324 readonly isSetMinGasPriceOverride: boolean;1325 readonly asSetMinGasPriceOverride: {1326 readonly coeff: Option<u64>;1327 } & Struct;1328 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1329}13301331/** @name PalletEthereumCall */1332export interface PalletEthereumCall extends Enum {1333 readonly isTransact: boolean;1334 readonly asTransact: {1335 readonly transaction: EthereumTransactionTransactionV2;1336 } & Struct;1337 readonly type: 'Transact';1338}13391340/** @name PalletEthereumError */1341export interface PalletEthereumError extends Enum {1342 readonly isInvalidSignature: boolean;1343 readonly isPreLogExists: boolean;1344 readonly type: 'InvalidSignature' | 'PreLogExists';1345}13461347/** @name PalletEthereumEvent */1348export interface PalletEthereumEvent extends Enum {1349 readonly isExecuted: boolean;1350 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1351 readonly type: 'Executed';1352}13531354/** @name PalletEthereumFakeTransactionFinalizer */1355export interface PalletEthereumFakeTransactionFinalizer extends Null {}13561357/** @name PalletEthereumRawOrigin */1358export interface PalletEthereumRawOrigin extends Enum {1359 readonly isEthereumTransaction: boolean;1360 readonly asEthereumTransaction: H160;1361 readonly type: 'EthereumTransaction';1362}13631364/** @name PalletEvmAccountBasicCrossAccountIdRepr */1365export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1366 readonly isSubstrate: boolean;1367 readonly asSubstrate: AccountId32;1368 readonly isEthereum: boolean;1369 readonly asEthereum: H160;1370 readonly type: 'Substrate' | 'Ethereum';1371}13721373/** @name PalletEvmCall */1374export interface PalletEvmCall extends Enum {1375 readonly isWithdraw: boolean;1376 readonly asWithdraw: {1377 readonly address: H160;1378 readonly value: u128;1379 } & Struct;1380 readonly isCall: boolean;1381 readonly asCall: {1382 readonly source: H160;1383 readonly target: H160;1384 readonly input: Bytes;1385 readonly value: U256;1386 readonly gasLimit: u64;1387 readonly maxFeePerGas: U256;1388 readonly maxPriorityFeePerGas: Option<U256>;1389 readonly nonce: Option<U256>;1390 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1391 } & Struct;1392 readonly isCreate: boolean;1393 readonly asCreate: {1394 readonly source: H160;1395 readonly init: Bytes;1396 readonly value: U256;1397 readonly gasLimit: u64;1398 readonly maxFeePerGas: U256;1399 readonly maxPriorityFeePerGas: Option<U256>;1400 readonly nonce: Option<U256>;1401 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1402 } & Struct;1403 readonly isCreate2: boolean;1404 readonly asCreate2: {1405 readonly source: H160;1406 readonly init: Bytes;1407 readonly salt: H256;1408 readonly value: U256;1409 readonly gasLimit: u64;1410 readonly maxFeePerGas: U256;1411 readonly maxPriorityFeePerGas: Option<U256>;1412 readonly nonce: Option<U256>;1413 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1414 } & Struct;1415 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1416}14171418/** @name PalletEvmCoderSubstrateError */1419export interface PalletEvmCoderSubstrateError extends Enum {1420 readonly isOutOfGas: boolean;1421 readonly isOutOfFund: boolean;1422 readonly type: 'OutOfGas' | 'OutOfFund';1423}14241425/** @name PalletEvmContractHelpersError */1426export interface PalletEvmContractHelpersError extends Enum {1427 readonly isNoPermission: boolean;1428 readonly isNoPendingSponsor: boolean;1429 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1430 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1431}14321433/** @name PalletEvmContractHelpersEvent */1434export interface PalletEvmContractHelpersEvent extends Enum {1435 readonly isContractSponsorSet: boolean;1436 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1437 readonly isContractSponsorshipConfirmed: boolean;1438 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1439 readonly isContractSponsorRemoved: boolean;1440 readonly asContractSponsorRemoved: H160;1441 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1442}14431444/** @name PalletEvmContractHelpersSponsoringModeT */1445export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1446 readonly isDisabled: boolean;1447 readonly isAllowlisted: boolean;1448 readonly isGenerous: boolean;1449 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1450}14511452/** @name PalletEvmError */1453export interface PalletEvmError extends Enum {1454 readonly isBalanceLow: boolean;1455 readonly isFeeOverflow: boolean;1456 readonly isPaymentOverflow: boolean;1457 readonly isWithdrawFailed: boolean;1458 readonly isGasPriceTooLow: boolean;1459 readonly isInvalidNonce: boolean;1460 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1461}14621463/** @name PalletEvmEvent */1464export interface PalletEvmEvent extends Enum {1465 readonly isLog: boolean;1466 readonly asLog: EthereumLog;1467 readonly isCreated: boolean;1468 readonly asCreated: H160;1469 readonly isCreatedFailed: boolean;1470 readonly asCreatedFailed: H160;1471 readonly isExecuted: boolean;1472 readonly asExecuted: H160;1473 readonly isExecutedFailed: boolean;1474 readonly asExecutedFailed: H160;1475 readonly isBalanceDeposit: boolean;1476 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1477 readonly isBalanceWithdraw: boolean;1478 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1479 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1480}14811482/** @name PalletEvmMigrationCall */1483export interface PalletEvmMigrationCall extends Enum {1484 readonly isBegin: boolean;1485 readonly asBegin: {1486 readonly address: H160;1487 } & Struct;1488 readonly isSetData: boolean;1489 readonly asSetData: {1490 readonly address: H160;1491 readonly data: Vec<ITuple<[H256, H256]>>;1492 } & Struct;1493 readonly isFinish: boolean;1494 readonly asFinish: {1495 readonly address: H160;1496 readonly code: Bytes;1497 } & Struct;1498 readonly type: 'Begin' | 'SetData' | 'Finish';1499}15001501/** @name PalletEvmMigrationError */1502export interface PalletEvmMigrationError extends Enum {1503 readonly isAccountNotEmpty: boolean;1504 readonly isAccountIsNotMigrating: boolean;1505 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1506}15071508/** @name PalletForeignAssetsAssetIds */1509export interface PalletForeignAssetsAssetIds extends Enum {1510 readonly isForeignAssetId: boolean;1511 readonly asForeignAssetId: u32;1512 readonly isNativeAssetId: boolean;1513 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1514 readonly type: 'ForeignAssetId' | 'NativeAssetId';1515}15161517/** @name PalletForeignAssetsModuleAssetMetadata */1518export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1519 readonly name: Bytes;1520 readonly symbol: Bytes;1521 readonly decimals: u8;1522 readonly minimalBalance: u128;1523}15241525/** @name PalletForeignAssetsModuleCall */1526export interface PalletForeignAssetsModuleCall extends Enum {1527 readonly isRegisterForeignAsset: boolean;1528 readonly asRegisterForeignAsset: {1529 readonly owner: AccountId32;1530 readonly location: XcmVersionedMultiLocation;1531 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1532 } & Struct;1533 readonly isUpdateForeignAsset: boolean;1534 readonly asUpdateForeignAsset: {1535 readonly foreignAssetId: u32;1536 readonly location: XcmVersionedMultiLocation;1537 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1538 } & Struct;1539 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1540}15411542/** @name PalletForeignAssetsModuleError */1543export interface PalletForeignAssetsModuleError extends Enum {1544 readonly isBadLocation: boolean;1545 readonly isMultiLocationExisted: boolean;1546 readonly isAssetIdNotExists: boolean;1547 readonly isAssetIdExisted: boolean;1548 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1549}15501551/** @name PalletForeignAssetsModuleEvent */1552export interface PalletForeignAssetsModuleEvent extends Enum {1553 readonly isForeignAssetRegistered: boolean;1554 readonly asForeignAssetRegistered: {1555 readonly assetId: u32;1556 readonly assetAddress: XcmV1MultiLocation;1557 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1558 } & Struct;1559 readonly isForeignAssetUpdated: boolean;1560 readonly asForeignAssetUpdated: {1561 readonly assetId: u32;1562 readonly assetAddress: XcmV1MultiLocation;1563 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1564 } & Struct;1565 readonly isAssetRegistered: boolean;1566 readonly asAssetRegistered: {1567 readonly assetId: PalletForeignAssetsAssetIds;1568 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1569 } & Struct;1570 readonly isAssetUpdated: boolean;1571 readonly asAssetUpdated: {1572 readonly assetId: PalletForeignAssetsAssetIds;1573 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1574 } & Struct;1575 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1576}15771578/** @name PalletForeignAssetsNativeCurrency */1579export interface PalletForeignAssetsNativeCurrency extends Enum {1580 readonly isHere: boolean;1581 readonly isParent: boolean;1582 readonly type: 'Here' | 'Parent';1583}15841585/** @name PalletFungibleError */1586export interface PalletFungibleError extends Enum {1587 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1588 readonly isFungibleItemsHaveNoId: boolean;1589 readonly isFungibleItemsDontHaveData: boolean;1590 readonly isFungibleDisallowsNesting: boolean;1591 readonly isSettingPropertiesNotAllowed: boolean;1592 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1593}15941595/** @name PalletInflationCall */1596export interface PalletInflationCall extends Enum {1597 readonly isStartInflation: boolean;1598 readonly asStartInflation: {1599 readonly inflationStartRelayBlock: u32;1600 } & Struct;1601 readonly type: 'StartInflation';1602}16031604/** @name PalletMaintenanceCall */1605export interface PalletMaintenanceCall extends Enum {1606 readonly isEnable: boolean;1607 readonly isDisable: boolean;1608 readonly type: 'Enable' | 'Disable';1609}16101611/** @name PalletMaintenanceError */1612export interface PalletMaintenanceError extends Null {}16131614/** @name PalletMaintenanceEvent */1615export interface PalletMaintenanceEvent extends Enum {1616 readonly isMaintenanceEnabled: boolean;1617 readonly isMaintenanceDisabled: boolean;1618 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1619}16201621/** @name PalletNonfungibleError */1622export interface PalletNonfungibleError extends Enum {1623 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1624 readonly isNonfungibleItemsHaveNoAmount: boolean;1625 readonly isCantBurnNftWithChildren: boolean;1626 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1627}16281629/** @name PalletNonfungibleItemData */1630export interface PalletNonfungibleItemData extends Struct {1631 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1632}16331634/** @name PalletRefungibleError */1635export interface PalletRefungibleError extends Enum {1636 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1637 readonly isWrongRefungiblePieces: boolean;1638 readonly isRepartitionWhileNotOwningAllPieces: boolean;1639 readonly isRefungibleDisallowsNesting: boolean;1640 readonly isSettingPropertiesNotAllowed: boolean;1641 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1642}16431644/** @name PalletRefungibleItemData */1645export interface PalletRefungibleItemData extends Struct {1646 readonly constData: Bytes;1647}16481649/** @name PalletRmrkCoreCall */1650export interface PalletRmrkCoreCall extends Enum {1651 readonly isCreateCollection: boolean;1652 readonly asCreateCollection: {1653 readonly metadata: Bytes;1654 readonly max: Option<u32>;1655 readonly symbol: Bytes;1656 } & Struct;1657 readonly isDestroyCollection: boolean;1658 readonly asDestroyCollection: {1659 readonly collectionId: u32;1660 } & Struct;1661 readonly isChangeCollectionIssuer: boolean;1662 readonly asChangeCollectionIssuer: {1663 readonly collectionId: u32;1664 readonly newIssuer: MultiAddress;1665 } & Struct;1666 readonly isLockCollection: boolean;1667 readonly asLockCollection: {1668 readonly collectionId: u32;1669 } & Struct;1670 readonly isMintNft: boolean;1671 readonly asMintNft: {1672 readonly owner: Option<AccountId32>;1673 readonly collectionId: u32;1674 readonly recipient: Option<AccountId32>;1675 readonly royaltyAmount: Option<Permill>;1676 readonly metadata: Bytes;1677 readonly transferable: bool;1678 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1679 } & Struct;1680 readonly isBurnNft: boolean;1681 readonly asBurnNft: {1682 readonly collectionId: u32;1683 readonly nftId: u32;1684 readonly maxBurns: u32;1685 } & Struct;1686 readonly isSend: boolean;1687 readonly asSend: {1688 readonly rmrkCollectionId: u32;1689 readonly rmrkNftId: u32;1690 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1691 } & Struct;1692 readonly isAcceptNft: boolean;1693 readonly asAcceptNft: {1694 readonly rmrkCollectionId: u32;1695 readonly rmrkNftId: u32;1696 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1697 } & Struct;1698 readonly isRejectNft: boolean;1699 readonly asRejectNft: {1700 readonly rmrkCollectionId: u32;1701 readonly rmrkNftId: u32;1702 } & Struct;1703 readonly isAcceptResource: boolean;1704 readonly asAcceptResource: {1705 readonly rmrkCollectionId: u32;1706 readonly rmrkNftId: u32;1707 readonly resourceId: u32;1708 } & Struct;1709 readonly isAcceptResourceRemoval: boolean;1710 readonly asAcceptResourceRemoval: {1711 readonly rmrkCollectionId: u32;1712 readonly rmrkNftId: u32;1713 readonly resourceId: u32;1714 } & Struct;1715 readonly isSetProperty: boolean;1716 readonly asSetProperty: {1717 readonly rmrkCollectionId: Compact<u32>;1718 readonly maybeNftId: Option<u32>;1719 readonly key: Bytes;1720 readonly value: Bytes;1721 } & Struct;1722 readonly isSetPriority: boolean;1723 readonly asSetPriority: {1724 readonly rmrkCollectionId: u32;1725 readonly rmrkNftId: u32;1726 readonly priorities: Vec<u32>;1727 } & Struct;1728 readonly isAddBasicResource: boolean;1729 readonly asAddBasicResource: {1730 readonly rmrkCollectionId: u32;1731 readonly nftId: u32;1732 readonly resource: RmrkTraitsResourceBasicResource;1733 } & Struct;1734 readonly isAddComposableResource: boolean;1735 readonly asAddComposableResource: {1736 readonly rmrkCollectionId: u32;1737 readonly nftId: u32;1738 readonly resource: RmrkTraitsResourceComposableResource;1739 } & Struct;1740 readonly isAddSlotResource: boolean;1741 readonly asAddSlotResource: {1742 readonly rmrkCollectionId: u32;1743 readonly nftId: u32;1744 readonly resource: RmrkTraitsResourceSlotResource;1745 } & Struct;1746 readonly isRemoveResource: boolean;1747 readonly asRemoveResource: {1748 readonly rmrkCollectionId: u32;1749 readonly nftId: u32;1750 readonly resourceId: u32;1751 } & Struct;1752 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1753}17541755/** @name PalletRmrkCoreError */1756export interface PalletRmrkCoreError extends Enum {1757 readonly isCorruptedCollectionType: boolean;1758 readonly isRmrkPropertyKeyIsTooLong: boolean;1759 readonly isRmrkPropertyValueIsTooLong: boolean;1760 readonly isRmrkPropertyIsNotFound: boolean;1761 readonly isUnableToDecodeRmrkData: boolean;1762 readonly isCollectionNotEmpty: boolean;1763 readonly isNoAvailableCollectionId: boolean;1764 readonly isNoAvailableNftId: boolean;1765 readonly isCollectionUnknown: boolean;1766 readonly isNoPermission: boolean;1767 readonly isNonTransferable: boolean;1768 readonly isCollectionFullOrLocked: boolean;1769 readonly isResourceDoesntExist: boolean;1770 readonly isCannotSendToDescendentOrSelf: boolean;1771 readonly isCannotAcceptNonOwnedNft: boolean;1772 readonly isCannotRejectNonOwnedNft: boolean;1773 readonly isCannotRejectNonPendingNft: boolean;1774 readonly isResourceNotPending: boolean;1775 readonly isNoAvailableResourceId: boolean;1776 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1777}17781779/** @name PalletRmrkCoreEvent */1780export interface PalletRmrkCoreEvent extends Enum {1781 readonly isCollectionCreated: boolean;1782 readonly asCollectionCreated: {1783 readonly issuer: AccountId32;1784 readonly collectionId: u32;1785 } & Struct;1786 readonly isCollectionDestroyed: boolean;1787 readonly asCollectionDestroyed: {1788 readonly issuer: AccountId32;1789 readonly collectionId: u32;1790 } & Struct;1791 readonly isIssuerChanged: boolean;1792 readonly asIssuerChanged: {1793 readonly oldIssuer: AccountId32;1794 readonly newIssuer: AccountId32;1795 readonly collectionId: u32;1796 } & Struct;1797 readonly isCollectionLocked: boolean;1798 readonly asCollectionLocked: {1799 readonly issuer: AccountId32;1800 readonly collectionId: u32;1801 } & Struct;1802 readonly isNftMinted: boolean;1803 readonly asNftMinted: {1804 readonly owner: AccountId32;1805 readonly collectionId: u32;1806 readonly nftId: u32;1807 } & Struct;1808 readonly isNftBurned: boolean;1809 readonly asNftBurned: {1810 readonly owner: AccountId32;1811 readonly nftId: u32;1812 } & Struct;1813 readonly isNftSent: boolean;1814 readonly asNftSent: {1815 readonly sender: AccountId32;1816 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1817 readonly collectionId: u32;1818 readonly nftId: u32;1819 readonly approvalRequired: bool;1820 } & Struct;1821 readonly isNftAccepted: boolean;1822 readonly asNftAccepted: {1823 readonly sender: AccountId32;1824 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1825 readonly collectionId: u32;1826 readonly nftId: u32;1827 } & Struct;1828 readonly isNftRejected: boolean;1829 readonly asNftRejected: {1830 readonly sender: AccountId32;1831 readonly collectionId: u32;1832 readonly nftId: u32;1833 } & Struct;1834 readonly isPropertySet: boolean;1835 readonly asPropertySet: {1836 readonly collectionId: u32;1837 readonly maybeNftId: Option<u32>;1838 readonly key: Bytes;1839 readonly value: Bytes;1840 } & Struct;1841 readonly isResourceAdded: boolean;1842 readonly asResourceAdded: {1843 readonly nftId: u32;1844 readonly resourceId: u32;1845 } & Struct;1846 readonly isResourceRemoval: boolean;1847 readonly asResourceRemoval: {1848 readonly nftId: u32;1849 readonly resourceId: u32;1850 } & Struct;1851 readonly isResourceAccepted: boolean;1852 readonly asResourceAccepted: {1853 readonly nftId: u32;1854 readonly resourceId: u32;1855 } & Struct;1856 readonly isResourceRemovalAccepted: boolean;1857 readonly asResourceRemovalAccepted: {1858 readonly nftId: u32;1859 readonly resourceId: u32;1860 } & Struct;1861 readonly isPrioritySet: boolean;1862 readonly asPrioritySet: {1863 readonly collectionId: u32;1864 readonly nftId: u32;1865 } & Struct;1866 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1867}18681869/** @name PalletRmrkEquipCall */1870export interface PalletRmrkEquipCall extends Enum {1871 readonly isCreateBase: boolean;1872 readonly asCreateBase: {1873 readonly baseType: Bytes;1874 readonly symbol: Bytes;1875 readonly parts: Vec<RmrkTraitsPartPartType>;1876 } & Struct;1877 readonly isThemeAdd: boolean;1878 readonly asThemeAdd: {1879 readonly baseId: u32;1880 readonly theme: RmrkTraitsTheme;1881 } & Struct;1882 readonly isEquippable: boolean;1883 readonly asEquippable: {1884 readonly baseId: u32;1885 readonly slotId: u32;1886 readonly equippables: RmrkTraitsPartEquippableList;1887 } & Struct;1888 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1889}18901891/** @name PalletRmrkEquipError */1892export interface PalletRmrkEquipError extends Enum {1893 readonly isPermissionError: boolean;1894 readonly isNoAvailableBaseId: boolean;1895 readonly isNoAvailablePartId: boolean;1896 readonly isBaseDoesntExist: boolean;1897 readonly isNeedsDefaultThemeFirst: boolean;1898 readonly isPartDoesntExist: boolean;1899 readonly isNoEquippableOnFixedPart: boolean;1900 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1901}19021903/** @name PalletRmrkEquipEvent */1904export interface PalletRmrkEquipEvent extends Enum {1905 readonly isBaseCreated: boolean;1906 readonly asBaseCreated: {1907 readonly issuer: AccountId32;1908 readonly baseId: u32;1909 } & Struct;1910 readonly isEquippablesUpdated: boolean;1911 readonly asEquippablesUpdated: {1912 readonly baseId: u32;1913 readonly slotId: u32;1914 } & Struct;1915 readonly type: 'BaseCreated' | 'EquippablesUpdated';1916}19171918/** @name PalletStructureCall */1919export interface PalletStructureCall extends Null {}19201921/** @name PalletStructureError */1922export interface PalletStructureError extends Enum {1923 readonly isOuroborosDetected: boolean;1924 readonly isDepthLimit: boolean;1925 readonly isBreadthLimit: boolean;1926 readonly isTokenNotFound: boolean;1927 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1928}19291930/** @name PalletStructureEvent */1931export interface PalletStructureEvent extends Enum {1932 readonly isExecuted: boolean;1933 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1934 readonly type: 'Executed';1935}19361937/** @name PalletSudoCall */1938export interface PalletSudoCall extends Enum {1939 readonly isSudo: boolean;1940 readonly asSudo: {1941 readonly call: Call;1942 } & Struct;1943 readonly isSudoUncheckedWeight: boolean;1944 readonly asSudoUncheckedWeight: {1945 readonly call: Call;1946 readonly weight: Weight;1947 } & Struct;1948 readonly isSetKey: boolean;1949 readonly asSetKey: {1950 readonly new_: MultiAddress;1951 } & Struct;1952 readonly isSudoAs: boolean;1953 readonly asSudoAs: {1954 readonly who: MultiAddress;1955 readonly call: Call;1956 } & Struct;1957 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1958}19591960/** @name PalletSudoError */1961export interface PalletSudoError extends Enum {1962 readonly isRequireSudo: boolean;1963 readonly type: 'RequireSudo';1964}19651966/** @name PalletSudoEvent */1967export interface PalletSudoEvent extends Enum {1968 readonly isSudid: boolean;1969 readonly asSudid: {1970 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1971 } & Struct;1972 readonly isKeyChanged: boolean;1973 readonly asKeyChanged: {1974 readonly oldSudoer: Option<AccountId32>;1975 } & Struct;1976 readonly isSudoAsDone: boolean;1977 readonly asSudoAsDone: {1978 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1979 } & Struct;1980 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1981}19821983/** @name PalletTemplateTransactionPaymentCall */1984export interface PalletTemplateTransactionPaymentCall extends Null {}19851986/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1987export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}19881989/** @name PalletTestUtilsCall */1990export interface PalletTestUtilsCall extends Enum {1991 readonly isEnable: boolean;1992 readonly isSetTestValue: boolean;1993 readonly asSetTestValue: {1994 readonly value: u32;1995 } & Struct;1996 readonly isSetTestValueAndRollback: boolean;1997 readonly asSetTestValueAndRollback: {1998 readonly value: u32;1999 } & Struct;2000 readonly isIncTestValue: boolean;2001 readonly isSelfCancelingInc: boolean;2002 readonly asSelfCancelingInc: {2003 readonly id: U8aFixed;2004 readonly maxTestValue: u32;2005 } & Struct;2006 readonly isJustTakeFee: boolean;2007 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'SelfCancelingInc' | 'JustTakeFee';2008}20092010/** @name PalletTestUtilsError */2011export interface PalletTestUtilsError extends Enum {2012 readonly isTestPalletDisabled: boolean;2013 readonly isTriggerRollback: boolean;2014 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2015}20162017/** @name PalletTestUtilsEvent */2018export interface PalletTestUtilsEvent extends Enum {2019 readonly isValueIsSet: boolean;2020 readonly isShouldRollback: boolean;2021 readonly type: 'ValueIsSet' | 'ShouldRollback';2022}20232024/** @name PalletTimestampCall */2025export interface PalletTimestampCall extends Enum {2026 readonly isSet: boolean;2027 readonly asSet: {2028 readonly now: Compact<u64>;2029 } & Struct;2030 readonly type: 'Set';2031}20322033/** @name PalletTransactionPaymentEvent */2034export interface PalletTransactionPaymentEvent extends Enum {2035 readonly isTransactionFeePaid: boolean;2036 readonly asTransactionFeePaid: {2037 readonly who: AccountId32;2038 readonly actualFee: u128;2039 readonly tip: u128;2040 } & Struct;2041 readonly type: 'TransactionFeePaid';2042}20432044/** @name PalletTransactionPaymentReleases */2045export interface PalletTransactionPaymentReleases extends Enum {2046 readonly isV1Ancient: boolean;2047 readonly isV2: boolean;2048 readonly type: 'V1Ancient' | 'V2';2049}20502051/** @name PalletTreasuryCall */2052export interface PalletTreasuryCall extends Enum {2053 readonly isProposeSpend: boolean;2054 readonly asProposeSpend: {2055 readonly value: Compact<u128>;2056 readonly beneficiary: MultiAddress;2057 } & Struct;2058 readonly isRejectProposal: boolean;2059 readonly asRejectProposal: {2060 readonly proposalId: Compact<u32>;2061 } & Struct;2062 readonly isApproveProposal: boolean;2063 readonly asApproveProposal: {2064 readonly proposalId: Compact<u32>;2065 } & Struct;2066 readonly isSpend: boolean;2067 readonly asSpend: {2068 readonly amount: Compact<u128>;2069 readonly beneficiary: MultiAddress;2070 } & Struct;2071 readonly isRemoveApproval: boolean;2072 readonly asRemoveApproval: {2073 readonly proposalId: Compact<u32>;2074 } & Struct;2075 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2076}20772078/** @name PalletTreasuryError */2079export interface PalletTreasuryError extends Enum {2080 readonly isInsufficientProposersBalance: boolean;2081 readonly isInvalidIndex: boolean;2082 readonly isTooManyApprovals: boolean;2083 readonly isInsufficientPermission: boolean;2084 readonly isProposalNotApproved: boolean;2085 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2086}20872088/** @name PalletTreasuryEvent */2089export interface PalletTreasuryEvent extends Enum {2090 readonly isProposed: boolean;2091 readonly asProposed: {2092 readonly proposalIndex: u32;2093 } & Struct;2094 readonly isSpending: boolean;2095 readonly asSpending: {2096 readonly budgetRemaining: u128;2097 } & Struct;2098 readonly isAwarded: boolean;2099 readonly asAwarded: {2100 readonly proposalIndex: u32;2101 readonly award: u128;2102 readonly account: AccountId32;2103 } & Struct;2104 readonly isRejected: boolean;2105 readonly asRejected: {2106 readonly proposalIndex: u32;2107 readonly slashed: u128;2108 } & Struct;2109 readonly isBurnt: boolean;2110 readonly asBurnt: {2111 readonly burntFunds: u128;2112 } & Struct;2113 readonly isRollover: boolean;2114 readonly asRollover: {2115 readonly rolloverBalance: u128;2116 } & Struct;2117 readonly isDeposit: boolean;2118 readonly asDeposit: {2119 readonly value: u128;2120 } & Struct;2121 readonly isSpendApproved: boolean;2122 readonly asSpendApproved: {2123 readonly proposalIndex: u32;2124 readonly amount: u128;2125 readonly beneficiary: AccountId32;2126 } & Struct;2127 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2128}21292130/** @name PalletTreasuryProposal */2131export interface PalletTreasuryProposal extends Struct {2132 readonly proposer: AccountId32;2133 readonly value: u128;2134 readonly beneficiary: AccountId32;2135 readonly bond: u128;2136}21372138/** @name PalletUniqueCall */2139export interface PalletUniqueCall extends Enum {2140 readonly isCreateCollection: boolean;2141 readonly asCreateCollection: {2142 readonly collectionName: Vec<u16>;2143 readonly collectionDescription: Vec<u16>;2144 readonly tokenPrefix: Bytes;2145 readonly mode: UpDataStructsCollectionMode;2146 } & Struct;2147 readonly isCreateCollectionEx: boolean;2148 readonly asCreateCollectionEx: {2149 readonly data: UpDataStructsCreateCollectionData;2150 } & Struct;2151 readonly isDestroyCollection: boolean;2152 readonly asDestroyCollection: {2153 readonly collectionId: u32;2154 } & Struct;2155 readonly isAddToAllowList: boolean;2156 readonly asAddToAllowList: {2157 readonly collectionId: u32;2158 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2159 } & Struct;2160 readonly isRemoveFromAllowList: boolean;2161 readonly asRemoveFromAllowList: {2162 readonly collectionId: u32;2163 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2164 } & Struct;2165 readonly isChangeCollectionOwner: boolean;2166 readonly asChangeCollectionOwner: {2167 readonly collectionId: u32;2168 readonly newOwner: AccountId32;2169 } & Struct;2170 readonly isAddCollectionAdmin: boolean;2171 readonly asAddCollectionAdmin: {2172 readonly collectionId: u32;2173 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2174 } & Struct;2175 readonly isRemoveCollectionAdmin: boolean;2176 readonly asRemoveCollectionAdmin: {2177 readonly collectionId: u32;2178 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2179 } & Struct;2180 readonly isSetCollectionSponsor: boolean;2181 readonly asSetCollectionSponsor: {2182 readonly collectionId: u32;2183 readonly newSponsor: AccountId32;2184 } & Struct;2185 readonly isConfirmSponsorship: boolean;2186 readonly asConfirmSponsorship: {2187 readonly collectionId: u32;2188 } & Struct;2189 readonly isRemoveCollectionSponsor: boolean;2190 readonly asRemoveCollectionSponsor: {2191 readonly collectionId: u32;2192 } & Struct;2193 readonly isCreateItem: boolean;2194 readonly asCreateItem: {2195 readonly collectionId: u32;2196 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2197 readonly data: UpDataStructsCreateItemData;2198 } & Struct;2199 readonly isCreateMultipleItems: boolean;2200 readonly asCreateMultipleItems: {2201 readonly collectionId: u32;2202 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2203 readonly itemsData: Vec<UpDataStructsCreateItemData>;2204 } & Struct;2205 readonly isSetCollectionProperties: boolean;2206 readonly asSetCollectionProperties: {2207 readonly collectionId: u32;2208 readonly properties: Vec<UpDataStructsProperty>;2209 } & Struct;2210 readonly isDeleteCollectionProperties: boolean;2211 readonly asDeleteCollectionProperties: {2212 readonly collectionId: u32;2213 readonly propertyKeys: Vec<Bytes>;2214 } & Struct;2215 readonly isSetTokenProperties: boolean;2216 readonly asSetTokenProperties: {2217 readonly collectionId: u32;2218 readonly tokenId: u32;2219 readonly properties: Vec<UpDataStructsProperty>;2220 } & Struct;2221 readonly isDeleteTokenProperties: boolean;2222 readonly asDeleteTokenProperties: {2223 readonly collectionId: u32;2224 readonly tokenId: u32;2225 readonly propertyKeys: Vec<Bytes>;2226 } & Struct;2227 readonly isSetTokenPropertyPermissions: boolean;2228 readonly asSetTokenPropertyPermissions: {2229 readonly collectionId: u32;2230 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2231 } & Struct;2232 readonly isCreateMultipleItemsEx: boolean;2233 readonly asCreateMultipleItemsEx: {2234 readonly collectionId: u32;2235 readonly data: UpDataStructsCreateItemExData;2236 } & Struct;2237 readonly isSetTransfersEnabledFlag: boolean;2238 readonly asSetTransfersEnabledFlag: {2239 readonly collectionId: u32;2240 readonly value: bool;2241 } & Struct;2242 readonly isBurnItem: boolean;2243 readonly asBurnItem: {2244 readonly collectionId: u32;2245 readonly itemId: u32;2246 readonly value: u128;2247 } & Struct;2248 readonly isBurnFrom: boolean;2249 readonly asBurnFrom: {2250 readonly collectionId: u32;2251 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2252 readonly itemId: u32;2253 readonly value: u128;2254 } & Struct;2255 readonly isTransfer: boolean;2256 readonly asTransfer: {2257 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2258 readonly collectionId: u32;2259 readonly itemId: u32;2260 readonly value: u128;2261 } & Struct;2262 readonly isApprove: boolean;2263 readonly asApprove: {2264 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2265 readonly collectionId: u32;2266 readonly itemId: u32;2267 readonly amount: u128;2268 } & Struct;2269 readonly isTransferFrom: boolean;2270 readonly asTransferFrom: {2271 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2272 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2273 readonly collectionId: u32;2274 readonly itemId: u32;2275 readonly value: u128;2276 } & Struct;2277 readonly isSetCollectionLimits: boolean;2278 readonly asSetCollectionLimits: {2279 readonly collectionId: u32;2280 readonly newLimit: UpDataStructsCollectionLimits;2281 } & Struct;2282 readonly isSetCollectionPermissions: boolean;2283 readonly asSetCollectionPermissions: {2284 readonly collectionId: u32;2285 readonly newPermission: UpDataStructsCollectionPermissions;2286 } & Struct;2287 readonly isRepartition: boolean;2288 readonly asRepartition: {2289 readonly collectionId: u32;2290 readonly tokenId: u32;2291 readonly amount: u128;2292 } & Struct;2293 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';2294}22952296/** @name PalletUniqueError */2297export interface PalletUniqueError extends Enum {2298 readonly isCollectionDecimalPointLimitExceeded: boolean;2299 readonly isConfirmUnsetSponsorFail: boolean;2300 readonly isEmptyArgument: boolean;2301 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2302 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2303}23042305/** @name PalletUniqueRawEvent */2306export interface PalletUniqueRawEvent extends Enum {2307 readonly isCollectionSponsorRemoved: boolean;2308 readonly asCollectionSponsorRemoved: u32;2309 readonly isCollectionAdminAdded: boolean;2310 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2311 readonly isCollectionOwnedChanged: boolean;2312 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2313 readonly isCollectionSponsorSet: boolean;2314 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2315 readonly isSponsorshipConfirmed: boolean;2316 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2317 readonly isCollectionAdminRemoved: boolean;2318 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2319 readonly isAllowListAddressRemoved: boolean;2320 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2321 readonly isAllowListAddressAdded: boolean;2322 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2323 readonly isCollectionLimitSet: boolean;2324 readonly asCollectionLimitSet: u32;2325 readonly isCollectionPermissionSet: boolean;2326 readonly asCollectionPermissionSet: u32;2327 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2328}23292330/** @name PalletUniqueSchedulerCall */2331export interface PalletUniqueSchedulerCall extends Enum {2332 readonly isScheduleNamed: boolean;2333 readonly asScheduleNamed: {2334 readonly id: U8aFixed;2335 readonly when: u32;2336 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2337 readonly priority: Option<u8>;2338 readonly call: FrameSupportScheduleMaybeHashed;2339 } & Struct;2340 readonly isCancelNamed: boolean;2341 readonly asCancelNamed: {2342 readonly id: U8aFixed;2343 } & Struct;2344 readonly isScheduleNamedAfter: boolean;2345 readonly asScheduleNamedAfter: {2346 readonly id: U8aFixed;2347 readonly after: u32;2348 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2349 readonly priority: Option<u8>;2350 readonly call: FrameSupportScheduleMaybeHashed;2351 } & Struct;2352 readonly isChangeNamedPriority: boolean;2353 readonly asChangeNamedPriority: {2354 readonly id: U8aFixed;2355 readonly priority: u8;2356 } & Struct;2357 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter' | 'ChangeNamedPriority';2358}23592360/** @name PalletUniqueSchedulerError */2361export interface PalletUniqueSchedulerError extends Enum {2362 readonly isFailedToSchedule: boolean;2363 readonly isNotFound: boolean;2364 readonly isTargetBlockNumberInPast: boolean;2365 readonly isRescheduleNoChange: boolean;2366 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2367}23682369/** @name PalletUniqueSchedulerEvent */2370export interface PalletUniqueSchedulerEvent extends Enum {2371 readonly isScheduled: boolean;2372 readonly asScheduled: {2373 readonly when: u32;2374 readonly index: u32;2375 } & Struct;2376 readonly isCanceled: boolean;2377 readonly asCanceled: {2378 readonly when: u32;2379 readonly index: u32;2380 } & Struct;2381 readonly isPriorityChanged: boolean;2382 readonly asPriorityChanged: {2383 readonly when: u32;2384 readonly index: u32;2385 readonly priority: u8;2386 } & Struct;2387 readonly isDispatched: boolean;2388 readonly asDispatched: {2389 readonly task: ITuple<[u32, u32]>;2390 readonly id: Option<U8aFixed>;2391 readonly result: Result<Null, SpRuntimeDispatchError>;2392 } & Struct;2393 readonly isCallLookupFailed: boolean;2394 readonly asCallLookupFailed: {2395 readonly task: ITuple<[u32, u32]>;2396 readonly id: Option<U8aFixed>;2397 readonly error: FrameSupportScheduleLookupError;2398 } & Struct;2399 readonly type: 'Scheduled' | 'Canceled' | 'PriorityChanged' | 'Dispatched' | 'CallLookupFailed';2400}24012402/** @name PalletUniqueSchedulerScheduledV3 */2403export interface PalletUniqueSchedulerScheduledV3 extends Struct {2404 readonly maybeId: Option<U8aFixed>;2405 readonly priority: u8;2406 readonly call: FrameSupportScheduleMaybeHashed;2407 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2408 readonly origin: OpalRuntimeOriginCaller;2409}24102411/** @name PalletXcmCall */2412export interface PalletXcmCall extends Enum {2413 readonly isSend: boolean;2414 readonly asSend: {2415 readonly dest: XcmVersionedMultiLocation;2416 readonly message: XcmVersionedXcm;2417 } & Struct;2418 readonly isTeleportAssets: boolean;2419 readonly asTeleportAssets: {2420 readonly dest: XcmVersionedMultiLocation;2421 readonly beneficiary: XcmVersionedMultiLocation;2422 readonly assets: XcmVersionedMultiAssets;2423 readonly feeAssetItem: u32;2424 } & Struct;2425 readonly isReserveTransferAssets: boolean;2426 readonly asReserveTransferAssets: {2427 readonly dest: XcmVersionedMultiLocation;2428 readonly beneficiary: XcmVersionedMultiLocation;2429 readonly assets: XcmVersionedMultiAssets;2430 readonly feeAssetItem: u32;2431 } & Struct;2432 readonly isExecute: boolean;2433 readonly asExecute: {2434 readonly message: XcmVersionedXcm;2435 readonly maxWeight: Weight;2436 } & Struct;2437 readonly isForceXcmVersion: boolean;2438 readonly asForceXcmVersion: {2439 readonly location: XcmV1MultiLocation;2440 readonly xcmVersion: u32;2441 } & Struct;2442 readonly isForceDefaultXcmVersion: boolean;2443 readonly asForceDefaultXcmVersion: {2444 readonly maybeXcmVersion: Option<u32>;2445 } & Struct;2446 readonly isForceSubscribeVersionNotify: boolean;2447 readonly asForceSubscribeVersionNotify: {2448 readonly location: XcmVersionedMultiLocation;2449 } & Struct;2450 readonly isForceUnsubscribeVersionNotify: boolean;2451 readonly asForceUnsubscribeVersionNotify: {2452 readonly location: XcmVersionedMultiLocation;2453 } & Struct;2454 readonly isLimitedReserveTransferAssets: boolean;2455 readonly asLimitedReserveTransferAssets: {2456 readonly dest: XcmVersionedMultiLocation;2457 readonly beneficiary: XcmVersionedMultiLocation;2458 readonly assets: XcmVersionedMultiAssets;2459 readonly feeAssetItem: u32;2460 readonly weightLimit: XcmV2WeightLimit;2461 } & Struct;2462 readonly isLimitedTeleportAssets: boolean;2463 readonly asLimitedTeleportAssets: {2464 readonly dest: XcmVersionedMultiLocation;2465 readonly beneficiary: XcmVersionedMultiLocation;2466 readonly assets: XcmVersionedMultiAssets;2467 readonly feeAssetItem: u32;2468 readonly weightLimit: XcmV2WeightLimit;2469 } & Struct;2470 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2471}24722473/** @name PalletXcmError */2474export interface PalletXcmError extends Enum {2475 readonly isUnreachable: boolean;2476 readonly isSendFailure: boolean;2477 readonly isFiltered: boolean;2478 readonly isUnweighableMessage: boolean;2479 readonly isDestinationNotInvertible: boolean;2480 readonly isEmpty: boolean;2481 readonly isCannotReanchor: boolean;2482 readonly isTooManyAssets: boolean;2483 readonly isInvalidOrigin: boolean;2484 readonly isBadVersion: boolean;2485 readonly isBadLocation: boolean;2486 readonly isNoSubscription: boolean;2487 readonly isAlreadySubscribed: boolean;2488 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2489}24902491/** @name PalletXcmEvent */2492export interface PalletXcmEvent extends Enum {2493 readonly isAttempted: boolean;2494 readonly asAttempted: XcmV2TraitsOutcome;2495 readonly isSent: boolean;2496 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2497 readonly isUnexpectedResponse: boolean;2498 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2499 readonly isResponseReady: boolean;2500 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2501 readonly isNotified: boolean;2502 readonly asNotified: ITuple<[u64, u8, u8]>;2503 readonly isNotifyOverweight: boolean;2504 readonly asNotifyOverweight: ITuple<[u64, u8, u8, Weight, Weight]>;2505 readonly isNotifyDispatchError: boolean;2506 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2507 readonly isNotifyDecodeFailed: boolean;2508 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2509 readonly isInvalidResponder: boolean;2510 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2511 readonly isInvalidResponderVersion: boolean;2512 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2513 readonly isResponseTaken: boolean;2514 readonly asResponseTaken: u64;2515 readonly isAssetsTrapped: boolean;2516 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2517 readonly isVersionChangeNotified: boolean;2518 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2519 readonly isSupportedVersionChanged: boolean;2520 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2521 readonly isNotifyTargetSendFail: boolean;2522 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2523 readonly isNotifyTargetMigrationFail: boolean;2524 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2525 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2526}25272528/** @name PalletXcmOrigin */2529export interface PalletXcmOrigin extends Enum {2530 readonly isXcm: boolean;2531 readonly asXcm: XcmV1MultiLocation;2532 readonly isResponse: boolean;2533 readonly asResponse: XcmV1MultiLocation;2534 readonly type: 'Xcm' | 'Response';2535}25362537/** @name PhantomTypeUpDataStructs */2538export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}25392540/** @name PolkadotCorePrimitivesInboundDownwardMessage */2541export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2542 readonly sentAt: u32;2543 readonly msg: Bytes;2544}25452546/** @name PolkadotCorePrimitivesInboundHrmpMessage */2547export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2548 readonly sentAt: u32;2549 readonly data: Bytes;2550}25512552/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2553export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2554 readonly recipient: u32;2555 readonly data: Bytes;2556}25572558/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2559export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2560 readonly isConcatenatedVersionedXcm: boolean;2561 readonly isConcatenatedEncodedBlob: boolean;2562 readonly isSignals: boolean;2563 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2564}25652566/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2567export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2568 readonly maxCodeSize: u32;2569 readonly maxHeadDataSize: u32;2570 readonly maxUpwardQueueCount: u32;2571 readonly maxUpwardQueueSize: u32;2572 readonly maxUpwardMessageSize: u32;2573 readonly maxUpwardMessageNumPerCandidate: u32;2574 readonly hrmpMaxMessageNumPerCandidate: u32;2575 readonly validationUpgradeCooldown: u32;2576 readonly validationUpgradeDelay: u32;2577}25782579/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2580export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2581 readonly maxCapacity: u32;2582 readonly maxTotalSize: u32;2583 readonly maxMessageSize: u32;2584 readonly msgCount: u32;2585 readonly totalSize: u32;2586 readonly mqcHead: Option<H256>;2587}25882589/** @name PolkadotPrimitivesV2PersistedValidationData */2590export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2591 readonly parentHead: Bytes;2592 readonly relayParentNumber: u32;2593 readonly relayParentStorageRoot: H256;2594 readonly maxPovSize: u32;2595}25962597/** @name PolkadotPrimitivesV2UpgradeRestriction */2598export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2599 readonly isPresent: boolean;2600 readonly type: 'Present';2601}26022603/** @name RmrkTraitsBaseBaseInfo */2604export interface RmrkTraitsBaseBaseInfo extends Struct {2605 readonly issuer: AccountId32;2606 readonly baseType: Bytes;2607 readonly symbol: Bytes;2608}26092610/** @name RmrkTraitsCollectionCollectionInfo */2611export interface RmrkTraitsCollectionCollectionInfo extends Struct {2612 readonly issuer: AccountId32;2613 readonly metadata: Bytes;2614 readonly max: Option<u32>;2615 readonly symbol: Bytes;2616 readonly nftsCount: u32;2617}26182619/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2620export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2621 readonly isAccountId: boolean;2622 readonly asAccountId: AccountId32;2623 readonly isCollectionAndNftTuple: boolean;2624 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2625 readonly type: 'AccountId' | 'CollectionAndNftTuple';2626}26272628/** @name RmrkTraitsNftNftChild */2629export interface RmrkTraitsNftNftChild extends Struct {2630 readonly collectionId: u32;2631 readonly nftId: u32;2632}26332634/** @name RmrkTraitsNftNftInfo */2635export interface RmrkTraitsNftNftInfo extends Struct {2636 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2637 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2638 readonly metadata: Bytes;2639 readonly equipped: bool;2640 readonly pending: bool;2641}26422643/** @name RmrkTraitsNftRoyaltyInfo */2644export interface RmrkTraitsNftRoyaltyInfo extends Struct {2645 readonly recipient: AccountId32;2646 readonly amount: Permill;2647}26482649/** @name RmrkTraitsPartEquippableList */2650export interface RmrkTraitsPartEquippableList extends Enum {2651 readonly isAll: boolean;2652 readonly isEmpty: boolean;2653 readonly isCustom: boolean;2654 readonly asCustom: Vec<u32>;2655 readonly type: 'All' | 'Empty' | 'Custom';2656}26572658/** @name RmrkTraitsPartFixedPart */2659export interface RmrkTraitsPartFixedPart extends Struct {2660 readonly id: u32;2661 readonly z: u32;2662 readonly src: Bytes;2663}26642665/** @name RmrkTraitsPartPartType */2666export interface RmrkTraitsPartPartType extends Enum {2667 readonly isFixedPart: boolean;2668 readonly asFixedPart: RmrkTraitsPartFixedPart;2669 readonly isSlotPart: boolean;2670 readonly asSlotPart: RmrkTraitsPartSlotPart;2671 readonly type: 'FixedPart' | 'SlotPart';2672}26732674/** @name RmrkTraitsPartSlotPart */2675export interface RmrkTraitsPartSlotPart extends Struct {2676 readonly id: u32;2677 readonly equippable: RmrkTraitsPartEquippableList;2678 readonly src: Bytes;2679 readonly z: u32;2680}26812682/** @name RmrkTraitsPropertyPropertyInfo */2683export interface RmrkTraitsPropertyPropertyInfo extends Struct {2684 readonly key: Bytes;2685 readonly value: Bytes;2686}26872688/** @name RmrkTraitsResourceBasicResource */2689export interface RmrkTraitsResourceBasicResource extends Struct {2690 readonly src: Option<Bytes>;2691 readonly metadata: Option<Bytes>;2692 readonly license: Option<Bytes>;2693 readonly thumb: Option<Bytes>;2694}26952696/** @name RmrkTraitsResourceComposableResource */2697export interface RmrkTraitsResourceComposableResource extends Struct {2698 readonly parts: Vec<u32>;2699 readonly base: u32;2700 readonly src: Option<Bytes>;2701 readonly metadata: Option<Bytes>;2702 readonly license: Option<Bytes>;2703 readonly thumb: Option<Bytes>;2704}27052706/** @name RmrkTraitsResourceResourceInfo */2707export interface RmrkTraitsResourceResourceInfo extends Struct {2708 readonly id: u32;2709 readonly resource: RmrkTraitsResourceResourceTypes;2710 readonly pending: bool;2711 readonly pendingRemoval: bool;2712}27132714/** @name RmrkTraitsResourceResourceTypes */2715export interface RmrkTraitsResourceResourceTypes extends Enum {2716 readonly isBasic: boolean;2717 readonly asBasic: RmrkTraitsResourceBasicResource;2718 readonly isComposable: boolean;2719 readonly asComposable: RmrkTraitsResourceComposableResource;2720 readonly isSlot: boolean;2721 readonly asSlot: RmrkTraitsResourceSlotResource;2722 readonly type: 'Basic' | 'Composable' | 'Slot';2723}27242725/** @name RmrkTraitsResourceSlotResource */2726export interface RmrkTraitsResourceSlotResource extends Struct {2727 readonly base: u32;2728 readonly src: Option<Bytes>;2729 readonly metadata: Option<Bytes>;2730 readonly slot: u32;2731 readonly license: Option<Bytes>;2732 readonly thumb: Option<Bytes>;2733}27342735/** @name RmrkTraitsTheme */2736export interface RmrkTraitsTheme extends Struct {2737 readonly name: Bytes;2738 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2739 readonly inherit: bool;2740}27412742/** @name RmrkTraitsThemeThemeProperty */2743export interface RmrkTraitsThemeThemeProperty extends Struct {2744 readonly key: Bytes;2745 readonly value: Bytes;2746}27472748/** @name SpCoreEcdsaSignature */2749export interface SpCoreEcdsaSignature extends U8aFixed {}27502751/** @name SpCoreEd25519Signature */2752export interface SpCoreEd25519Signature extends U8aFixed {}27532754/** @name SpCoreSr25519Signature */2755export interface SpCoreSr25519Signature extends U8aFixed {}27562757/** @name SpCoreVoid */2758export interface SpCoreVoid extends Null {}27592760/** @name SpRuntimeArithmeticError */2761export interface SpRuntimeArithmeticError extends Enum {2762 readonly isUnderflow: boolean;2763 readonly isOverflow: boolean;2764 readonly isDivisionByZero: boolean;2765 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2766}27672768/** @name SpRuntimeDigest */2769export interface SpRuntimeDigest extends Struct {2770 readonly logs: Vec<SpRuntimeDigestDigestItem>;2771}27722773/** @name SpRuntimeDigestDigestItem */2774export interface SpRuntimeDigestDigestItem extends Enum {2775 readonly isOther: boolean;2776 readonly asOther: Bytes;2777 readonly isConsensus: boolean;2778 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2779 readonly isSeal: boolean;2780 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2781 readonly isPreRuntime: boolean;2782 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2783 readonly isRuntimeEnvironmentUpdated: boolean;2784 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2785}27862787/** @name SpRuntimeDispatchError */2788export interface SpRuntimeDispatchError extends Enum {2789 readonly isOther: boolean;2790 readonly isCannotLookup: boolean;2791 readonly isBadOrigin: boolean;2792 readonly isModule: boolean;2793 readonly asModule: SpRuntimeModuleError;2794 readonly isConsumerRemaining: boolean;2795 readonly isNoProviders: boolean;2796 readonly isTooManyConsumers: boolean;2797 readonly isToken: boolean;2798 readonly asToken: SpRuntimeTokenError;2799 readonly isArithmetic: boolean;2800 readonly asArithmetic: SpRuntimeArithmeticError;2801 readonly isTransactional: boolean;2802 readonly asTransactional: SpRuntimeTransactionalError;2803 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2804}28052806/** @name SpRuntimeModuleError */2807export interface SpRuntimeModuleError extends Struct {2808 readonly index: u8;2809 readonly error: U8aFixed;2810}28112812/** @name SpRuntimeMultiSignature */2813export interface SpRuntimeMultiSignature extends Enum {2814 readonly isEd25519: boolean;2815 readonly asEd25519: SpCoreEd25519Signature;2816 readonly isSr25519: boolean;2817 readonly asSr25519: SpCoreSr25519Signature;2818 readonly isEcdsa: boolean;2819 readonly asEcdsa: SpCoreEcdsaSignature;2820 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2821}28222823/** @name SpRuntimeTokenError */2824export interface SpRuntimeTokenError extends Enum {2825 readonly isNoFunds: boolean;2826 readonly isWouldDie: boolean;2827 readonly isBelowMinimum: boolean;2828 readonly isCannotCreate: boolean;2829 readonly isUnknownAsset: boolean;2830 readonly isFrozen: boolean;2831 readonly isUnsupported: boolean;2832 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2833}28342835/** @name SpRuntimeTransactionalError */2836export interface SpRuntimeTransactionalError extends Enum {2837 readonly isLimitReached: boolean;2838 readonly isNoLayer: boolean;2839 readonly type: 'LimitReached' | 'NoLayer';2840}28412842/** @name SpTrieStorageProof */2843export interface SpTrieStorageProof extends Struct {2844 readonly trieNodes: BTreeSet<Bytes>;2845}28462847/** @name SpVersionRuntimeVersion */2848export interface SpVersionRuntimeVersion extends Struct {2849 readonly specName: Text;2850 readonly implName: Text;2851 readonly authoringVersion: u32;2852 readonly specVersion: u32;2853 readonly implVersion: u32;2854 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2855 readonly transactionVersion: u32;2856 readonly stateVersion: u8;2857}28582859/** @name SpWeightsRuntimeDbWeight */2860export interface SpWeightsRuntimeDbWeight extends Struct {2861 readonly read: u64;2862 readonly write: u64;2863}28642865/** @name UpDataStructsAccessMode */2866export interface UpDataStructsAccessMode extends Enum {2867 readonly isNormal: boolean;2868 readonly isAllowList: boolean;2869 readonly type: 'Normal' | 'AllowList';2870}28712872/** @name UpDataStructsCollection */2873export interface UpDataStructsCollection extends Struct {2874 readonly owner: AccountId32;2875 readonly mode: UpDataStructsCollectionMode;2876 readonly name: Vec<u16>;2877 readonly description: Vec<u16>;2878 readonly tokenPrefix: Bytes;2879 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2880 readonly limits: UpDataStructsCollectionLimits;2881 readonly permissions: UpDataStructsCollectionPermissions;2882 readonly flags: U8aFixed;2883}28842885/** @name UpDataStructsCollectionLimits */2886export interface UpDataStructsCollectionLimits extends Struct {2887 readonly accountTokenOwnershipLimit: Option<u32>;2888 readonly sponsoredDataSize: Option<u32>;2889 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2890 readonly tokenLimit: Option<u32>;2891 readonly sponsorTransferTimeout: Option<u32>;2892 readonly sponsorApproveTimeout: Option<u32>;2893 readonly ownerCanTransfer: Option<bool>;2894 readonly ownerCanDestroy: Option<bool>;2895 readonly transfersEnabled: Option<bool>;2896}28972898/** @name UpDataStructsCollectionMode */2899export interface UpDataStructsCollectionMode extends Enum {2900 readonly isNft: boolean;2901 readonly isFungible: boolean;2902 readonly asFungible: u8;2903 readonly isReFungible: boolean;2904 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2905}29062907/** @name UpDataStructsCollectionPermissions */2908export interface UpDataStructsCollectionPermissions extends Struct {2909 readonly access: Option<UpDataStructsAccessMode>;2910 readonly mintMode: Option<bool>;2911 readonly nesting: Option<UpDataStructsNestingPermissions>;2912}29132914/** @name UpDataStructsCollectionStats */2915export interface UpDataStructsCollectionStats extends Struct {2916 readonly created: u32;2917 readonly destroyed: u32;2918 readonly alive: u32;2919}29202921/** @name UpDataStructsCreateCollectionData */2922export interface UpDataStructsCreateCollectionData extends Struct {2923 readonly mode: UpDataStructsCollectionMode;2924 readonly access: Option<UpDataStructsAccessMode>;2925 readonly name: Vec<u16>;2926 readonly description: Vec<u16>;2927 readonly tokenPrefix: Bytes;2928 readonly pendingSponsor: Option<AccountId32>;2929 readonly limits: Option<UpDataStructsCollectionLimits>;2930 readonly permissions: Option<UpDataStructsCollectionPermissions>;2931 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2932 readonly properties: Vec<UpDataStructsProperty>;2933}29342935/** @name UpDataStructsCreateFungibleData */2936export interface UpDataStructsCreateFungibleData extends Struct {2937 readonly value: u128;2938}29392940/** @name UpDataStructsCreateItemData */2941export interface UpDataStructsCreateItemData extends Enum {2942 readonly isNft: boolean;2943 readonly asNft: UpDataStructsCreateNftData;2944 readonly isFungible: boolean;2945 readonly asFungible: UpDataStructsCreateFungibleData;2946 readonly isReFungible: boolean;2947 readonly asReFungible: UpDataStructsCreateReFungibleData;2948 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2949}29502951/** @name UpDataStructsCreateItemExData */2952export interface UpDataStructsCreateItemExData extends Enum {2953 readonly isNft: boolean;2954 readonly asNft: Vec<UpDataStructsCreateNftExData>;2955 readonly isFungible: boolean;2956 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2957 readonly isRefungibleMultipleItems: boolean;2958 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2959 readonly isRefungibleMultipleOwners: boolean;2960 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2961 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2962}29632964/** @name UpDataStructsCreateNftData */2965export interface UpDataStructsCreateNftData extends Struct {2966 readonly properties: Vec<UpDataStructsProperty>;2967}29682969/** @name UpDataStructsCreateNftExData */2970export interface UpDataStructsCreateNftExData extends Struct {2971 readonly properties: Vec<UpDataStructsProperty>;2972 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2973}29742975/** @name UpDataStructsCreateReFungibleData */2976export interface UpDataStructsCreateReFungibleData extends Struct {2977 readonly pieces: u128;2978 readonly properties: Vec<UpDataStructsProperty>;2979}29802981/** @name UpDataStructsCreateRefungibleExMultipleOwners */2982export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2983 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2984 readonly properties: Vec<UpDataStructsProperty>;2985}29862987/** @name UpDataStructsCreateRefungibleExSingleOwner */2988export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2989 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2990 readonly pieces: u128;2991 readonly properties: Vec<UpDataStructsProperty>;2992}29932994/** @name UpDataStructsNestingPermissions */2995export interface UpDataStructsNestingPermissions extends Struct {2996 readonly tokenOwner: bool;2997 readonly collectionAdmin: bool;2998 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2999}30003001/** @name UpDataStructsOwnerRestrictedSet */3002export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}30033004/** @name UpDataStructsProperties */3005export interface UpDataStructsProperties extends Struct {3006 readonly map: UpDataStructsPropertiesMapBoundedVec;3007 readonly consumedSpace: u32;3008 readonly spaceLimit: u32;3009}30103011/** @name UpDataStructsPropertiesMapBoundedVec */3012export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30133014/** @name UpDataStructsPropertiesMapPropertyPermission */3015export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30163017/** @name UpDataStructsProperty */3018export interface UpDataStructsProperty extends Struct {3019 readonly key: Bytes;3020 readonly value: Bytes;3021}30223023/** @name UpDataStructsPropertyKeyPermission */3024export interface UpDataStructsPropertyKeyPermission extends Struct {3025 readonly key: Bytes;3026 readonly permission: UpDataStructsPropertyPermission;3027}30283029/** @name UpDataStructsPropertyPermission */3030export interface UpDataStructsPropertyPermission extends Struct {3031 readonly mutable: bool;3032 readonly collectionAdmin: bool;3033 readonly tokenOwner: bool;3034}30353036/** @name UpDataStructsPropertyScope */3037export interface UpDataStructsPropertyScope extends Enum {3038 readonly isNone: boolean;3039 readonly isRmrk: boolean;3040 readonly type: 'None' | 'Rmrk';3041}30423043/** @name UpDataStructsRpcCollection */3044export interface UpDataStructsRpcCollection extends Struct {3045 readonly owner: AccountId32;3046 readonly mode: UpDataStructsCollectionMode;3047 readonly name: Vec<u16>;3048 readonly description: Vec<u16>;3049 readonly tokenPrefix: Bytes;3050 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3051 readonly limits: UpDataStructsCollectionLimits;3052 readonly permissions: UpDataStructsCollectionPermissions;3053 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3054 readonly properties: Vec<UpDataStructsProperty>;3055 readonly readOnly: bool;3056 readonly flags: UpDataStructsRpcCollectionFlags;3057}30583059/** @name UpDataStructsRpcCollectionFlags */3060export interface UpDataStructsRpcCollectionFlags extends Struct {3061 readonly foreign: bool;3062 readonly erc721metadata: bool;3063}30643065/** @name UpDataStructsSponsoringRateLimit */3066export interface UpDataStructsSponsoringRateLimit extends Enum {3067 readonly isSponsoringDisabled: boolean;3068 readonly isBlocks: boolean;3069 readonly asBlocks: u32;3070 readonly type: 'SponsoringDisabled' | 'Blocks';3071}30723073/** @name UpDataStructsSponsorshipStateAccountId32 */3074export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3075 readonly isDisabled: boolean;3076 readonly isUnconfirmed: boolean;3077 readonly asUnconfirmed: AccountId32;3078 readonly isConfirmed: boolean;3079 readonly asConfirmed: AccountId32;3080 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3081}30823083/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3084export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3085 readonly isDisabled: boolean;3086 readonly isUnconfirmed: boolean;3087 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3088 readonly isConfirmed: boolean;3089 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3090 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3091}30923093/** @name UpDataStructsTokenChild */3094export interface UpDataStructsTokenChild extends Struct {3095 readonly token: u32;3096 readonly collection: u32;3097}30983099/** @name UpDataStructsTokenData */3100export interface UpDataStructsTokenData extends Struct {3101 readonly properties: Vec<UpDataStructsProperty>;3102 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3103 readonly pieces: u128;3104}31053106/** @name XcmDoubleEncoded */3107export interface XcmDoubleEncoded extends Struct {3108 readonly encoded: Bytes;3109}31103111/** @name XcmV0Junction */3112export interface XcmV0Junction extends Enum {3113 readonly isParent: boolean;3114 readonly isParachain: boolean;3115 readonly asParachain: Compact<u32>;3116 readonly isAccountId32: boolean;3117 readonly asAccountId32: {3118 readonly network: XcmV0JunctionNetworkId;3119 readonly id: U8aFixed;3120 } & Struct;3121 readonly isAccountIndex64: boolean;3122 readonly asAccountIndex64: {3123 readonly network: XcmV0JunctionNetworkId;3124 readonly index: Compact<u64>;3125 } & Struct;3126 readonly isAccountKey20: boolean;3127 readonly asAccountKey20: {3128 readonly network: XcmV0JunctionNetworkId;3129 readonly key: U8aFixed;3130 } & Struct;3131 readonly isPalletInstance: boolean;3132 readonly asPalletInstance: u8;3133 readonly isGeneralIndex: boolean;3134 readonly asGeneralIndex: Compact<u128>;3135 readonly isGeneralKey: boolean;3136 readonly asGeneralKey: Bytes;3137 readonly isOnlyChild: boolean;3138 readonly isPlurality: boolean;3139 readonly asPlurality: {3140 readonly id: XcmV0JunctionBodyId;3141 readonly part: XcmV0JunctionBodyPart;3142 } & Struct;3143 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3144}31453146/** @name XcmV0JunctionBodyId */3147export interface XcmV0JunctionBodyId extends Enum {3148 readonly isUnit: boolean;3149 readonly isNamed: boolean;3150 readonly asNamed: Bytes;3151 readonly isIndex: boolean;3152 readonly asIndex: Compact<u32>;3153 readonly isExecutive: boolean;3154 readonly isTechnical: boolean;3155 readonly isLegislative: boolean;3156 readonly isJudicial: boolean;3157 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3158}31593160/** @name XcmV0JunctionBodyPart */3161export interface XcmV0JunctionBodyPart extends Enum {3162 readonly isVoice: boolean;3163 readonly isMembers: boolean;3164 readonly asMembers: {3165 readonly count: Compact<u32>;3166 } & Struct;3167 readonly isFraction: boolean;3168 readonly asFraction: {3169 readonly nom: Compact<u32>;3170 readonly denom: Compact<u32>;3171 } & Struct;3172 readonly isAtLeastProportion: boolean;3173 readonly asAtLeastProportion: {3174 readonly nom: Compact<u32>;3175 readonly denom: Compact<u32>;3176 } & Struct;3177 readonly isMoreThanProportion: boolean;3178 readonly asMoreThanProportion: {3179 readonly nom: Compact<u32>;3180 readonly denom: Compact<u32>;3181 } & Struct;3182 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3183}31843185/** @name XcmV0JunctionNetworkId */3186export interface XcmV0JunctionNetworkId extends Enum {3187 readonly isAny: boolean;3188 readonly isNamed: boolean;3189 readonly asNamed: Bytes;3190 readonly isPolkadot: boolean;3191 readonly isKusama: boolean;3192 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3193}31943195/** @name XcmV0MultiAsset */3196export interface XcmV0MultiAsset extends Enum {3197 readonly isNone: boolean;3198 readonly isAll: boolean;3199 readonly isAllFungible: boolean;3200 readonly isAllNonFungible: boolean;3201 readonly isAllAbstractFungible: boolean;3202 readonly asAllAbstractFungible: {3203 readonly id: Bytes;3204 } & Struct;3205 readonly isAllAbstractNonFungible: boolean;3206 readonly asAllAbstractNonFungible: {3207 readonly class: Bytes;3208 } & Struct;3209 readonly isAllConcreteFungible: boolean;3210 readonly asAllConcreteFungible: {3211 readonly id: XcmV0MultiLocation;3212 } & Struct;3213 readonly isAllConcreteNonFungible: boolean;3214 readonly asAllConcreteNonFungible: {3215 readonly class: XcmV0MultiLocation;3216 } & Struct;3217 readonly isAbstractFungible: boolean;3218 readonly asAbstractFungible: {3219 readonly id: Bytes;3220 readonly amount: Compact<u128>;3221 } & Struct;3222 readonly isAbstractNonFungible: boolean;3223 readonly asAbstractNonFungible: {3224 readonly class: Bytes;3225 readonly instance: XcmV1MultiassetAssetInstance;3226 } & Struct;3227 readonly isConcreteFungible: boolean;3228 readonly asConcreteFungible: {3229 readonly id: XcmV0MultiLocation;3230 readonly amount: Compact<u128>;3231 } & Struct;3232 readonly isConcreteNonFungible: boolean;3233 readonly asConcreteNonFungible: {3234 readonly class: XcmV0MultiLocation;3235 readonly instance: XcmV1MultiassetAssetInstance;3236 } & Struct;3237 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3238}32393240/** @name XcmV0MultiLocation */3241export interface XcmV0MultiLocation extends Enum {3242 readonly isNull: boolean;3243 readonly isX1: boolean;3244 readonly asX1: XcmV0Junction;3245 readonly isX2: boolean;3246 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3247 readonly isX3: boolean;3248 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3249 readonly isX4: boolean;3250 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3251 readonly isX5: boolean;3252 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3253 readonly isX6: boolean;3254 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3255 readonly isX7: boolean;3256 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3257 readonly isX8: boolean;3258 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3259 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3260}32613262/** @name XcmV0Order */3263export interface XcmV0Order extends Enum {3264 readonly isNull: boolean;3265 readonly isDepositAsset: boolean;3266 readonly asDepositAsset: {3267 readonly assets: Vec<XcmV0MultiAsset>;3268 readonly dest: XcmV0MultiLocation;3269 } & Struct;3270 readonly isDepositReserveAsset: boolean;3271 readonly asDepositReserveAsset: {3272 readonly assets: Vec<XcmV0MultiAsset>;3273 readonly dest: XcmV0MultiLocation;3274 readonly effects: Vec<XcmV0Order>;3275 } & Struct;3276 readonly isExchangeAsset: boolean;3277 readonly asExchangeAsset: {3278 readonly give: Vec<XcmV0MultiAsset>;3279 readonly receive: Vec<XcmV0MultiAsset>;3280 } & Struct;3281 readonly isInitiateReserveWithdraw: boolean;3282 readonly asInitiateReserveWithdraw: {3283 readonly assets: Vec<XcmV0MultiAsset>;3284 readonly reserve: XcmV0MultiLocation;3285 readonly effects: Vec<XcmV0Order>;3286 } & Struct;3287 readonly isInitiateTeleport: boolean;3288 readonly asInitiateTeleport: {3289 readonly assets: Vec<XcmV0MultiAsset>;3290 readonly dest: XcmV0MultiLocation;3291 readonly effects: Vec<XcmV0Order>;3292 } & Struct;3293 readonly isQueryHolding: boolean;3294 readonly asQueryHolding: {3295 readonly queryId: Compact<u64>;3296 readonly dest: XcmV0MultiLocation;3297 readonly assets: Vec<XcmV0MultiAsset>;3298 } & Struct;3299 readonly isBuyExecution: boolean;3300 readonly asBuyExecution: {3301 readonly fees: XcmV0MultiAsset;3302 readonly weight: u64;3303 readonly debt: u64;3304 readonly haltOnError: bool;3305 readonly xcm: Vec<XcmV0Xcm>;3306 } & Struct;3307 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3308}33093310/** @name XcmV0OriginKind */3311export interface XcmV0OriginKind extends Enum {3312 readonly isNative: boolean;3313 readonly isSovereignAccount: boolean;3314 readonly isSuperuser: boolean;3315 readonly isXcm: boolean;3316 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3317}33183319/** @name XcmV0Response */3320export interface XcmV0Response extends Enum {3321 readonly isAssets: boolean;3322 readonly asAssets: Vec<XcmV0MultiAsset>;3323 readonly type: 'Assets';3324}33253326/** @name XcmV0Xcm */3327export interface XcmV0Xcm extends Enum {3328 readonly isWithdrawAsset: boolean;3329 readonly asWithdrawAsset: {3330 readonly assets: Vec<XcmV0MultiAsset>;3331 readonly effects: Vec<XcmV0Order>;3332 } & Struct;3333 readonly isReserveAssetDeposit: boolean;3334 readonly asReserveAssetDeposit: {3335 readonly assets: Vec<XcmV0MultiAsset>;3336 readonly effects: Vec<XcmV0Order>;3337 } & Struct;3338 readonly isTeleportAsset: boolean;3339 readonly asTeleportAsset: {3340 readonly assets: Vec<XcmV0MultiAsset>;3341 readonly effects: Vec<XcmV0Order>;3342 } & Struct;3343 readonly isQueryResponse: boolean;3344 readonly asQueryResponse: {3345 readonly queryId: Compact<u64>;3346 readonly response: XcmV0Response;3347 } & Struct;3348 readonly isTransferAsset: boolean;3349 readonly asTransferAsset: {3350 readonly assets: Vec<XcmV0MultiAsset>;3351 readonly dest: XcmV0MultiLocation;3352 } & Struct;3353 readonly isTransferReserveAsset: boolean;3354 readonly asTransferReserveAsset: {3355 readonly assets: Vec<XcmV0MultiAsset>;3356 readonly dest: XcmV0MultiLocation;3357 readonly effects: Vec<XcmV0Order>;3358 } & Struct;3359 readonly isTransact: boolean;3360 readonly asTransact: {3361 readonly originType: XcmV0OriginKind;3362 readonly requireWeightAtMost: u64;3363 readonly call: XcmDoubleEncoded;3364 } & Struct;3365 readonly isHrmpNewChannelOpenRequest: boolean;3366 readonly asHrmpNewChannelOpenRequest: {3367 readonly sender: Compact<u32>;3368 readonly maxMessageSize: Compact<u32>;3369 readonly maxCapacity: Compact<u32>;3370 } & Struct;3371 readonly isHrmpChannelAccepted: boolean;3372 readonly asHrmpChannelAccepted: {3373 readonly recipient: Compact<u32>;3374 } & Struct;3375 readonly isHrmpChannelClosing: boolean;3376 readonly asHrmpChannelClosing: {3377 readonly initiator: Compact<u32>;3378 readonly sender: Compact<u32>;3379 readonly recipient: Compact<u32>;3380 } & Struct;3381 readonly isRelayedFrom: boolean;3382 readonly asRelayedFrom: {3383 readonly who: XcmV0MultiLocation;3384 readonly message: XcmV0Xcm;3385 } & Struct;3386 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3387}33883389/** @name XcmV1Junction */3390export interface XcmV1Junction extends Enum {3391 readonly isParachain: boolean;3392 readonly asParachain: Compact<u32>;3393 readonly isAccountId32: boolean;3394 readonly asAccountId32: {3395 readonly network: XcmV0JunctionNetworkId;3396 readonly id: U8aFixed;3397 } & Struct;3398 readonly isAccountIndex64: boolean;3399 readonly asAccountIndex64: {3400 readonly network: XcmV0JunctionNetworkId;3401 readonly index: Compact<u64>;3402 } & Struct;3403 readonly isAccountKey20: boolean;3404 readonly asAccountKey20: {3405 readonly network: XcmV0JunctionNetworkId;3406 readonly key: U8aFixed;3407 } & Struct;3408 readonly isPalletInstance: boolean;3409 readonly asPalletInstance: u8;3410 readonly isGeneralIndex: boolean;3411 readonly asGeneralIndex: Compact<u128>;3412 readonly isGeneralKey: boolean;3413 readonly asGeneralKey: Bytes;3414 readonly isOnlyChild: boolean;3415 readonly isPlurality: boolean;3416 readonly asPlurality: {3417 readonly id: XcmV0JunctionBodyId;3418 readonly part: XcmV0JunctionBodyPart;3419 } & Struct;3420 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3421}34223423/** @name XcmV1MultiAsset */3424export interface XcmV1MultiAsset extends Struct {3425 readonly id: XcmV1MultiassetAssetId;3426 readonly fun: XcmV1MultiassetFungibility;3427}34283429/** @name XcmV1MultiassetAssetId */3430export interface XcmV1MultiassetAssetId extends Enum {3431 readonly isConcrete: boolean;3432 readonly asConcrete: XcmV1MultiLocation;3433 readonly isAbstract: boolean;3434 readonly asAbstract: Bytes;3435 readonly type: 'Concrete' | 'Abstract';3436}34373438/** @name XcmV1MultiassetAssetInstance */3439export interface XcmV1MultiassetAssetInstance extends Enum {3440 readonly isUndefined: boolean;3441 readonly isIndex: boolean;3442 readonly asIndex: Compact<u128>;3443 readonly isArray4: boolean;3444 readonly asArray4: U8aFixed;3445 readonly isArray8: boolean;3446 readonly asArray8: U8aFixed;3447 readonly isArray16: boolean;3448 readonly asArray16: U8aFixed;3449 readonly isArray32: boolean;3450 readonly asArray32: U8aFixed;3451 readonly isBlob: boolean;3452 readonly asBlob: Bytes;3453 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3454}34553456/** @name XcmV1MultiassetFungibility */3457export interface XcmV1MultiassetFungibility extends Enum {3458 readonly isFungible: boolean;3459 readonly asFungible: Compact<u128>;3460 readonly isNonFungible: boolean;3461 readonly asNonFungible: XcmV1MultiassetAssetInstance;3462 readonly type: 'Fungible' | 'NonFungible';3463}34643465/** @name XcmV1MultiassetMultiAssetFilter */3466export interface XcmV1MultiassetMultiAssetFilter extends Enum {3467 readonly isDefinite: boolean;3468 readonly asDefinite: XcmV1MultiassetMultiAssets;3469 readonly isWild: boolean;3470 readonly asWild: XcmV1MultiassetWildMultiAsset;3471 readonly type: 'Definite' | 'Wild';3472}34733474/** @name XcmV1MultiassetMultiAssets */3475export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34763477/** @name XcmV1MultiassetWildFungibility */3478export interface XcmV1MultiassetWildFungibility extends Enum {3479 readonly isFungible: boolean;3480 readonly isNonFungible: boolean;3481 readonly type: 'Fungible' | 'NonFungible';3482}34833484/** @name XcmV1MultiassetWildMultiAsset */3485export interface XcmV1MultiassetWildMultiAsset extends Enum {3486 readonly isAll: boolean;3487 readonly isAllOf: boolean;3488 readonly asAllOf: {3489 readonly id: XcmV1MultiassetAssetId;3490 readonly fun: XcmV1MultiassetWildFungibility;3491 } & Struct;3492 readonly type: 'All' | 'AllOf';3493}34943495/** @name XcmV1MultiLocation */3496export interface XcmV1MultiLocation extends Struct {3497 readonly parents: u8;3498 readonly interior: XcmV1MultilocationJunctions;3499}35003501/** @name XcmV1MultilocationJunctions */3502export interface XcmV1MultilocationJunctions extends Enum {3503 readonly isHere: boolean;3504 readonly isX1: boolean;3505 readonly asX1: XcmV1Junction;3506 readonly isX2: boolean;3507 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3508 readonly isX3: boolean;3509 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3510 readonly isX4: boolean;3511 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3512 readonly isX5: boolean;3513 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3514 readonly isX6: boolean;3515 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3516 readonly isX7: boolean;3517 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3518 readonly isX8: boolean;3519 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3520 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3521}35223523/** @name XcmV1Order */3524export interface XcmV1Order extends Enum {3525 readonly isNoop: boolean;3526 readonly isDepositAsset: boolean;3527 readonly asDepositAsset: {3528 readonly assets: XcmV1MultiassetMultiAssetFilter;3529 readonly maxAssets: u32;3530 readonly beneficiary: XcmV1MultiLocation;3531 } & Struct;3532 readonly isDepositReserveAsset: boolean;3533 readonly asDepositReserveAsset: {3534 readonly assets: XcmV1MultiassetMultiAssetFilter;3535 readonly maxAssets: u32;3536 readonly dest: XcmV1MultiLocation;3537 readonly effects: Vec<XcmV1Order>;3538 } & Struct;3539 readonly isExchangeAsset: boolean;3540 readonly asExchangeAsset: {3541 readonly give: XcmV1MultiassetMultiAssetFilter;3542 readonly receive: XcmV1MultiassetMultiAssets;3543 } & Struct;3544 readonly isInitiateReserveWithdraw: boolean;3545 readonly asInitiateReserveWithdraw: {3546 readonly assets: XcmV1MultiassetMultiAssetFilter;3547 readonly reserve: XcmV1MultiLocation;3548 readonly effects: Vec<XcmV1Order>;3549 } & Struct;3550 readonly isInitiateTeleport: boolean;3551 readonly asInitiateTeleport: {3552 readonly assets: XcmV1MultiassetMultiAssetFilter;3553 readonly dest: XcmV1MultiLocation;3554 readonly effects: Vec<XcmV1Order>;3555 } & Struct;3556 readonly isQueryHolding: boolean;3557 readonly asQueryHolding: {3558 readonly queryId: Compact<u64>;3559 readonly dest: XcmV1MultiLocation;3560 readonly assets: XcmV1MultiassetMultiAssetFilter;3561 } & Struct;3562 readonly isBuyExecution: boolean;3563 readonly asBuyExecution: {3564 readonly fees: XcmV1MultiAsset;3565 readonly weight: u64;3566 readonly debt: u64;3567 readonly haltOnError: bool;3568 readonly instructions: Vec<XcmV1Xcm>;3569 } & Struct;3570 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3571}35723573/** @name XcmV1Response */3574export interface XcmV1Response extends Enum {3575 readonly isAssets: boolean;3576 readonly asAssets: XcmV1MultiassetMultiAssets;3577 readonly isVersion: boolean;3578 readonly asVersion: u32;3579 readonly type: 'Assets' | 'Version';3580}35813582/** @name XcmV1Xcm */3583export interface XcmV1Xcm extends Enum {3584 readonly isWithdrawAsset: boolean;3585 readonly asWithdrawAsset: {3586 readonly assets: XcmV1MultiassetMultiAssets;3587 readonly effects: Vec<XcmV1Order>;3588 } & Struct;3589 readonly isReserveAssetDeposited: boolean;3590 readonly asReserveAssetDeposited: {3591 readonly assets: XcmV1MultiassetMultiAssets;3592 readonly effects: Vec<XcmV1Order>;3593 } & Struct;3594 readonly isReceiveTeleportedAsset: boolean;3595 readonly asReceiveTeleportedAsset: {3596 readonly assets: XcmV1MultiassetMultiAssets;3597 readonly effects: Vec<XcmV1Order>;3598 } & Struct;3599 readonly isQueryResponse: boolean;3600 readonly asQueryResponse: {3601 readonly queryId: Compact<u64>;3602 readonly response: XcmV1Response;3603 } & Struct;3604 readonly isTransferAsset: boolean;3605 readonly asTransferAsset: {3606 readonly assets: XcmV1MultiassetMultiAssets;3607 readonly beneficiary: XcmV1MultiLocation;3608 } & Struct;3609 readonly isTransferReserveAsset: boolean;3610 readonly asTransferReserveAsset: {3611 readonly assets: XcmV1MultiassetMultiAssets;3612 readonly dest: XcmV1MultiLocation;3613 readonly effects: Vec<XcmV1Order>;3614 } & Struct;3615 readonly isTransact: boolean;3616 readonly asTransact: {3617 readonly originType: XcmV0OriginKind;3618 readonly requireWeightAtMost: u64;3619 readonly call: XcmDoubleEncoded;3620 } & Struct;3621 readonly isHrmpNewChannelOpenRequest: boolean;3622 readonly asHrmpNewChannelOpenRequest: {3623 readonly sender: Compact<u32>;3624 readonly maxMessageSize: Compact<u32>;3625 readonly maxCapacity: Compact<u32>;3626 } & Struct;3627 readonly isHrmpChannelAccepted: boolean;3628 readonly asHrmpChannelAccepted: {3629 readonly recipient: Compact<u32>;3630 } & Struct;3631 readonly isHrmpChannelClosing: boolean;3632 readonly asHrmpChannelClosing: {3633 readonly initiator: Compact<u32>;3634 readonly sender: Compact<u32>;3635 readonly recipient: Compact<u32>;3636 } & Struct;3637 readonly isRelayedFrom: boolean;3638 readonly asRelayedFrom: {3639 readonly who: XcmV1MultilocationJunctions;3640 readonly message: XcmV1Xcm;3641 } & Struct;3642 readonly isSubscribeVersion: boolean;3643 readonly asSubscribeVersion: {3644 readonly queryId: Compact<u64>;3645 readonly maxResponseWeight: Compact<u64>;3646 } & Struct;3647 readonly isUnsubscribeVersion: boolean;3648 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3649}36503651/** @name XcmV2Instruction */3652export interface XcmV2Instruction extends Enum {3653 readonly isWithdrawAsset: boolean;3654 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3655 readonly isReserveAssetDeposited: boolean;3656 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3657 readonly isReceiveTeleportedAsset: boolean;3658 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3659 readonly isQueryResponse: boolean;3660 readonly asQueryResponse: {3661 readonly queryId: Compact<u64>;3662 readonly response: XcmV2Response;3663 readonly maxWeight: Compact<u64>;3664 } & Struct;3665 readonly isTransferAsset: boolean;3666 readonly asTransferAsset: {3667 readonly assets: XcmV1MultiassetMultiAssets;3668 readonly beneficiary: XcmV1MultiLocation;3669 } & Struct;3670 readonly isTransferReserveAsset: boolean;3671 readonly asTransferReserveAsset: {3672 readonly assets: XcmV1MultiassetMultiAssets;3673 readonly dest: XcmV1MultiLocation;3674 readonly xcm: XcmV2Xcm;3675 } & Struct;3676 readonly isTransact: boolean;3677 readonly asTransact: {3678 readonly originType: XcmV0OriginKind;3679 readonly requireWeightAtMost: Compact<u64>;3680 readonly call: XcmDoubleEncoded;3681 } & Struct;3682 readonly isHrmpNewChannelOpenRequest: boolean;3683 readonly asHrmpNewChannelOpenRequest: {3684 readonly sender: Compact<u32>;3685 readonly maxMessageSize: Compact<u32>;3686 readonly maxCapacity: Compact<u32>;3687 } & Struct;3688 readonly isHrmpChannelAccepted: boolean;3689 readonly asHrmpChannelAccepted: {3690 readonly recipient: Compact<u32>;3691 } & Struct;3692 readonly isHrmpChannelClosing: boolean;3693 readonly asHrmpChannelClosing: {3694 readonly initiator: Compact<u32>;3695 readonly sender: Compact<u32>;3696 readonly recipient: Compact<u32>;3697 } & Struct;3698 readonly isClearOrigin: boolean;3699 readonly isDescendOrigin: boolean;3700 readonly asDescendOrigin: XcmV1MultilocationJunctions;3701 readonly isReportError: boolean;3702 readonly asReportError: {3703 readonly queryId: Compact<u64>;3704 readonly dest: XcmV1MultiLocation;3705 readonly maxResponseWeight: Compact<u64>;3706 } & Struct;3707 readonly isDepositAsset: boolean;3708 readonly asDepositAsset: {3709 readonly assets: XcmV1MultiassetMultiAssetFilter;3710 readonly maxAssets: Compact<u32>;3711 readonly beneficiary: XcmV1MultiLocation;3712 } & Struct;3713 readonly isDepositReserveAsset: boolean;3714 readonly asDepositReserveAsset: {3715 readonly assets: XcmV1MultiassetMultiAssetFilter;3716 readonly maxAssets: Compact<u32>;3717 readonly dest: XcmV1MultiLocation;3718 readonly xcm: XcmV2Xcm;3719 } & Struct;3720 readonly isExchangeAsset: boolean;3721 readonly asExchangeAsset: {3722 readonly give: XcmV1MultiassetMultiAssetFilter;3723 readonly receive: XcmV1MultiassetMultiAssets;3724 } & Struct;3725 readonly isInitiateReserveWithdraw: boolean;3726 readonly asInitiateReserveWithdraw: {3727 readonly assets: XcmV1MultiassetMultiAssetFilter;3728 readonly reserve: XcmV1MultiLocation;3729 readonly xcm: XcmV2Xcm;3730 } & Struct;3731 readonly isInitiateTeleport: boolean;3732 readonly asInitiateTeleport: {3733 readonly assets: XcmV1MultiassetMultiAssetFilter;3734 readonly dest: XcmV1MultiLocation;3735 readonly xcm: XcmV2Xcm;3736 } & Struct;3737 readonly isQueryHolding: boolean;3738 readonly asQueryHolding: {3739 readonly queryId: Compact<u64>;3740 readonly dest: XcmV1MultiLocation;3741 readonly assets: XcmV1MultiassetMultiAssetFilter;3742 readonly maxResponseWeight: Compact<u64>;3743 } & Struct;3744 readonly isBuyExecution: boolean;3745 readonly asBuyExecution: {3746 readonly fees: XcmV1MultiAsset;3747 readonly weightLimit: XcmV2WeightLimit;3748 } & Struct;3749 readonly isRefundSurplus: boolean;3750 readonly isSetErrorHandler: boolean;3751 readonly asSetErrorHandler: XcmV2Xcm;3752 readonly isSetAppendix: boolean;3753 readonly asSetAppendix: XcmV2Xcm;3754 readonly isClearError: boolean;3755 readonly isClaimAsset: boolean;3756 readonly asClaimAsset: {3757 readonly assets: XcmV1MultiassetMultiAssets;3758 readonly ticket: XcmV1MultiLocation;3759 } & Struct;3760 readonly isTrap: boolean;3761 readonly asTrap: Compact<u64>;3762 readonly isSubscribeVersion: boolean;3763 readonly asSubscribeVersion: {3764 readonly queryId: Compact<u64>;3765 readonly maxResponseWeight: Compact<u64>;3766 } & Struct;3767 readonly isUnsubscribeVersion: boolean;3768 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';3769}37703771/** @name XcmV2Response */3772export interface XcmV2Response extends Enum {3773 readonly isNull: boolean;3774 readonly isAssets: boolean;3775 readonly asAssets: XcmV1MultiassetMultiAssets;3776 readonly isExecutionResult: boolean;3777 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3778 readonly isVersion: boolean;3779 readonly asVersion: u32;3780 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3781}37823783/** @name XcmV2TraitsError */3784export interface XcmV2TraitsError extends Enum {3785 readonly isOverflow: boolean;3786 readonly isUnimplemented: boolean;3787 readonly isUntrustedReserveLocation: boolean;3788 readonly isUntrustedTeleportLocation: boolean;3789 readonly isMultiLocationFull: boolean;3790 readonly isMultiLocationNotInvertible: boolean;3791 readonly isBadOrigin: boolean;3792 readonly isInvalidLocation: boolean;3793 readonly isAssetNotFound: boolean;3794 readonly isFailedToTransactAsset: boolean;3795 readonly isNotWithdrawable: boolean;3796 readonly isLocationCannotHold: boolean;3797 readonly isExceedsMaxMessageSize: boolean;3798 readonly isDestinationUnsupported: boolean;3799 readonly isTransport: boolean;3800 readonly isUnroutable: boolean;3801 readonly isUnknownClaim: boolean;3802 readonly isFailedToDecode: boolean;3803 readonly isMaxWeightInvalid: boolean;3804 readonly isNotHoldingFees: boolean;3805 readonly isTooExpensive: boolean;3806 readonly isTrap: boolean;3807 readonly asTrap: u64;3808 readonly isUnhandledXcmVersion: boolean;3809 readonly isWeightLimitReached: boolean;3810 readonly asWeightLimitReached: u64;3811 readonly isBarrier: boolean;3812 readonly isWeightNotComputable: boolean;3813 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';3814}38153816/** @name XcmV2TraitsOutcome */3817export interface XcmV2TraitsOutcome extends Enum {3818 readonly isComplete: boolean;3819 readonly asComplete: u64;3820 readonly isIncomplete: boolean;3821 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3822 readonly isError: boolean;3823 readonly asError: XcmV2TraitsError;3824 readonly type: 'Complete' | 'Incomplete' | 'Error';3825}38263827/** @name XcmV2WeightLimit */3828export interface XcmV2WeightLimit extends Enum {3829 readonly isUnlimited: boolean;3830 readonly isLimited: boolean;3831 readonly asLimited: Compact<u64>;3832 readonly type: 'Unlimited' | 'Limited';3833}38343835/** @name XcmV2Xcm */3836export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}38373838/** @name XcmVersionedMultiAsset */3839export interface XcmVersionedMultiAsset extends Enum {3840 readonly isV0: boolean;3841 readonly asV0: XcmV0MultiAsset;3842 readonly isV1: boolean;3843 readonly asV1: XcmV1MultiAsset;3844 readonly type: 'V0' | 'V1';3845}38463847/** @name XcmVersionedMultiAssets */3848export interface XcmVersionedMultiAssets extends Enum {3849 readonly isV0: boolean;3850 readonly asV0: Vec<XcmV0MultiAsset>;3851 readonly isV1: boolean;3852 readonly asV1: XcmV1MultiassetMultiAssets;3853 readonly type: 'V0' | 'V1';3854}38553856/** @name XcmVersionedMultiLocation */3857export interface XcmVersionedMultiLocation extends Enum {3858 readonly isV0: boolean;3859 readonly asV0: XcmV0MultiLocation;3860 readonly isV1: boolean;3861 readonly asV1: XcmV1MultiLocation;3862 readonly type: 'V0' | 'V1';3863}38643865/** @name XcmVersionedXcm */3866export interface XcmVersionedXcm extends Enum {3867 readonly isV0: boolean;3868 readonly asV0: XcmV0Xcm;3869 readonly isV1: boolean;3870 readonly asV1: XcmV1Xcm;3871 readonly isV2: boolean;3872 readonly asV2: XcmV2Xcm;3873 readonly type: 'V0' | 'V1' | 'V2';3874}38753876export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill, Weight } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: Weight;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: Weight;50 readonly requiredWeight: Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: Weight;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: Weight;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: Weight;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: Weight;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: Weight;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: Weight;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: Weight;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: Weight;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: Weight;290 readonly weightRestrictDecay: Weight;291 readonly xcmpMaxIndividualWeight: Weight;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchDispatchClass */505export interface FrameSupportDispatchDispatchClass extends Enum {506 readonly isNormal: boolean;507 readonly isOperational: boolean;508 readonly isMandatory: boolean;509 readonly type: 'Normal' | 'Operational' | 'Mandatory';510}511512/** @name FrameSupportDispatchDispatchInfo */513export interface FrameSupportDispatchDispatchInfo extends Struct {514 readonly weight: Weight;515 readonly class: FrameSupportDispatchDispatchClass;516 readonly paysFee: FrameSupportDispatchPays;517}518519/** @name FrameSupportDispatchPays */520export interface FrameSupportDispatchPays extends Enum {521 readonly isYes: boolean;522 readonly isNo: boolean;523 readonly type: 'Yes' | 'No';524}525526/** @name FrameSupportDispatchPerDispatchClassU32 */527export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {528 readonly normal: u32;529 readonly operational: u32;530 readonly mandatory: u32;531}532533/** @name FrameSupportDispatchPerDispatchClassWeight */534export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {535 readonly normal: Weight;536 readonly operational: Weight;537 readonly mandatory: Weight;538}539540/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */541export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {542 readonly normal: FrameSystemLimitsWeightsPerClass;543 readonly operational: FrameSystemLimitsWeightsPerClass;544 readonly mandatory: FrameSystemLimitsWeightsPerClass;545}546547/** @name FrameSupportDispatchRawOrigin */548export interface FrameSupportDispatchRawOrigin extends Enum {549 readonly isRoot: boolean;550 readonly isSigned: boolean;551 readonly asSigned: AccountId32;552 readonly isNone: boolean;553 readonly type: 'Root' | 'Signed' | 'None';554}555556/** @name FrameSupportPalletId */557export interface FrameSupportPalletId extends U8aFixed {}558559/** @name FrameSupportScheduleLookupError */560export interface FrameSupportScheduleLookupError extends Enum {561 readonly isUnknown: boolean;562 readonly isBadFormat: boolean;563 readonly type: 'Unknown' | 'BadFormat';564}565566/** @name FrameSupportScheduleMaybeHashed */567export interface FrameSupportScheduleMaybeHashed extends Enum {568 readonly isValue: boolean;569 readonly asValue: Call;570 readonly isHash: boolean;571 readonly asHash: H256;572 readonly type: 'Value' | 'Hash';573}574575/** @name FrameSupportTokensMiscBalanceStatus */576export interface FrameSupportTokensMiscBalanceStatus extends Enum {577 readonly isFree: boolean;578 readonly isReserved: boolean;579 readonly type: 'Free' | 'Reserved';580}581582/** @name FrameSystemAccountInfo */583export interface FrameSystemAccountInfo extends Struct {584 readonly nonce: u32;585 readonly consumers: u32;586 readonly providers: u32;587 readonly sufficients: u32;588 readonly data: PalletBalancesAccountData;589}590591/** @name FrameSystemCall */592export interface FrameSystemCall extends Enum {593 readonly isFillBlock: boolean;594 readonly asFillBlock: {595 readonly ratio: Perbill;596 } & Struct;597 readonly isRemark: boolean;598 readonly asRemark: {599 readonly remark: Bytes;600 } & Struct;601 readonly isSetHeapPages: boolean;602 readonly asSetHeapPages: {603 readonly pages: u64;604 } & Struct;605 readonly isSetCode: boolean;606 readonly asSetCode: {607 readonly code: Bytes;608 } & Struct;609 readonly isSetCodeWithoutChecks: boolean;610 readonly asSetCodeWithoutChecks: {611 readonly code: Bytes;612 } & Struct;613 readonly isSetStorage: boolean;614 readonly asSetStorage: {615 readonly items: Vec<ITuple<[Bytes, Bytes]>>;616 } & Struct;617 readonly isKillStorage: boolean;618 readonly asKillStorage: {619 readonly keys_: Vec<Bytes>;620 } & Struct;621 readonly isKillPrefix: boolean;622 readonly asKillPrefix: {623 readonly prefix: Bytes;624 readonly subkeys: u32;625 } & Struct;626 readonly isRemarkWithEvent: boolean;627 readonly asRemarkWithEvent: {628 readonly remark: Bytes;629 } & Struct;630 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';631}632633/** @name FrameSystemError */634export interface FrameSystemError extends Enum {635 readonly isInvalidSpecName: boolean;636 readonly isSpecVersionNeedsToIncrease: boolean;637 readonly isFailedToExtractRuntimeVersion: boolean;638 readonly isNonDefaultComposite: boolean;639 readonly isNonZeroRefCount: boolean;640 readonly isCallFiltered: boolean;641 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';642}643644/** @name FrameSystemEvent */645export interface FrameSystemEvent extends Enum {646 readonly isExtrinsicSuccess: boolean;647 readonly asExtrinsicSuccess: {648 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;649 } & Struct;650 readonly isExtrinsicFailed: boolean;651 readonly asExtrinsicFailed: {652 readonly dispatchError: SpRuntimeDispatchError;653 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;654 } & Struct;655 readonly isCodeUpdated: boolean;656 readonly isNewAccount: boolean;657 readonly asNewAccount: {658 readonly account: AccountId32;659 } & Struct;660 readonly isKilledAccount: boolean;661 readonly asKilledAccount: {662 readonly account: AccountId32;663 } & Struct;664 readonly isRemarked: boolean;665 readonly asRemarked: {666 readonly sender: AccountId32;667 readonly hash_: H256;668 } & Struct;669 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';670}671672/** @name FrameSystemEventRecord */673export interface FrameSystemEventRecord extends Struct {674 readonly phase: FrameSystemPhase;675 readonly event: Event;676 readonly topics: Vec<H256>;677}678679/** @name FrameSystemExtensionsCheckGenesis */680export interface FrameSystemExtensionsCheckGenesis extends Null {}681682/** @name FrameSystemExtensionsCheckNonce */683export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}684685/** @name FrameSystemExtensionsCheckSpecVersion */686export interface FrameSystemExtensionsCheckSpecVersion extends Null {}687688/** @name FrameSystemExtensionsCheckTxVersion */689export interface FrameSystemExtensionsCheckTxVersion extends Null {}690691/** @name FrameSystemExtensionsCheckWeight */692export interface FrameSystemExtensionsCheckWeight extends Null {}693694/** @name FrameSystemLastRuntimeUpgradeInfo */695export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {696 readonly specVersion: Compact<u32>;697 readonly specName: Text;698}699700/** @name FrameSystemLimitsBlockLength */701export interface FrameSystemLimitsBlockLength extends Struct {702 readonly max: FrameSupportDispatchPerDispatchClassU32;703}704705/** @name FrameSystemLimitsBlockWeights */706export interface FrameSystemLimitsBlockWeights extends Struct {707 readonly baseBlock: Weight;708 readonly maxBlock: Weight;709 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;710}711712/** @name FrameSystemLimitsWeightsPerClass */713export interface FrameSystemLimitsWeightsPerClass extends Struct {714 readonly baseExtrinsic: Weight;715 readonly maxExtrinsic: Option<Weight>;716 readonly maxTotal: Option<Weight>;717 readonly reserved: Option<Weight>;718}719720/** @name FrameSystemPhase */721export interface FrameSystemPhase extends Enum {722 readonly isApplyExtrinsic: boolean;723 readonly asApplyExtrinsic: u32;724 readonly isFinalization: boolean;725 readonly isInitialization: boolean;726 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';727}728729/** @name OpalRuntimeOriginCaller */730export interface OpalRuntimeOriginCaller extends Enum {731 readonly isSystem: boolean;732 readonly asSystem: FrameSupportDispatchRawOrigin;733 readonly isVoid: boolean;734 readonly asVoid: SpCoreVoid;735 readonly isPolkadotXcm: boolean;736 readonly asPolkadotXcm: PalletXcmOrigin;737 readonly isCumulusXcm: boolean;738 readonly asCumulusXcm: CumulusPalletXcmOrigin;739 readonly isEthereum: boolean;740 readonly asEthereum: PalletEthereumRawOrigin;741 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';742}743744/** @name OpalRuntimeRuntime */745export interface OpalRuntimeRuntime extends Null {}746747/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */748export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}749750/** @name OrmlTokensAccountData */751export interface OrmlTokensAccountData extends Struct {752 readonly free: u128;753 readonly reserved: u128;754 readonly frozen: u128;755}756757/** @name OrmlTokensBalanceLock */758export interface OrmlTokensBalanceLock extends Struct {759 readonly id: U8aFixed;760 readonly amount: u128;761}762763/** @name OrmlTokensModuleCall */764export interface OrmlTokensModuleCall extends Enum {765 readonly isTransfer: boolean;766 readonly asTransfer: {767 readonly dest: MultiAddress;768 readonly currencyId: PalletForeignAssetsAssetIds;769 readonly amount: Compact<u128>;770 } & Struct;771 readonly isTransferAll: boolean;772 readonly asTransferAll: {773 readonly dest: MultiAddress;774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly keepAlive: bool;776 } & Struct;777 readonly isTransferKeepAlive: boolean;778 readonly asTransferKeepAlive: {779 readonly dest: MultiAddress;780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly amount: Compact<u128>;782 } & Struct;783 readonly isForceTransfer: boolean;784 readonly asForceTransfer: {785 readonly source: MultiAddress;786 readonly dest: MultiAddress;787 readonly currencyId: PalletForeignAssetsAssetIds;788 readonly amount: Compact<u128>;789 } & Struct;790 readonly isSetBalance: boolean;791 readonly asSetBalance: {792 readonly who: MultiAddress;793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly newFree: Compact<u128>;795 readonly newReserved: Compact<u128>;796 } & Struct;797 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';798}799800/** @name OrmlTokensModuleError */801export interface OrmlTokensModuleError extends Enum {802 readonly isBalanceTooLow: boolean;803 readonly isAmountIntoBalanceFailed: boolean;804 readonly isLiquidityRestrictions: boolean;805 readonly isMaxLocksExceeded: boolean;806 readonly isKeepAlive: boolean;807 readonly isExistentialDeposit: boolean;808 readonly isDeadAccount: boolean;809 readonly isTooManyReserves: boolean;810 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';811}812813/** @name OrmlTokensModuleEvent */814export interface OrmlTokensModuleEvent extends Enum {815 readonly isEndowed: boolean;816 readonly asEndowed: {817 readonly currencyId: PalletForeignAssetsAssetIds;818 readonly who: AccountId32;819 readonly amount: u128;820 } & Struct;821 readonly isDustLost: boolean;822 readonly asDustLost: {823 readonly currencyId: PalletForeignAssetsAssetIds;824 readonly who: AccountId32;825 readonly amount: u128;826 } & Struct;827 readonly isTransfer: boolean;828 readonly asTransfer: {829 readonly currencyId: PalletForeignAssetsAssetIds;830 readonly from: AccountId32;831 readonly to: AccountId32;832 readonly amount: u128;833 } & Struct;834 readonly isReserved: boolean;835 readonly asReserved: {836 readonly currencyId: PalletForeignAssetsAssetIds;837 readonly who: AccountId32;838 readonly amount: u128;839 } & Struct;840 readonly isUnreserved: boolean;841 readonly asUnreserved: {842 readonly currencyId: PalletForeignAssetsAssetIds;843 readonly who: AccountId32;844 readonly amount: u128;845 } & Struct;846 readonly isReserveRepatriated: boolean;847 readonly asReserveRepatriated: {848 readonly currencyId: PalletForeignAssetsAssetIds;849 readonly from: AccountId32;850 readonly to: AccountId32;851 readonly amount: u128;852 readonly status: FrameSupportTokensMiscBalanceStatus;853 } & Struct;854 readonly isBalanceSet: boolean;855 readonly asBalanceSet: {856 readonly currencyId: PalletForeignAssetsAssetIds;857 readonly who: AccountId32;858 readonly free: u128;859 readonly reserved: u128;860 } & Struct;861 readonly isTotalIssuanceSet: boolean;862 readonly asTotalIssuanceSet: {863 readonly currencyId: PalletForeignAssetsAssetIds;864 readonly amount: u128;865 } & Struct;866 readonly isWithdrawn: boolean;867 readonly asWithdrawn: {868 readonly currencyId: PalletForeignAssetsAssetIds;869 readonly who: AccountId32;870 readonly amount: u128;871 } & Struct;872 readonly isSlashed: boolean;873 readonly asSlashed: {874 readonly currencyId: PalletForeignAssetsAssetIds;875 readonly who: AccountId32;876 readonly freeAmount: u128;877 readonly reservedAmount: u128;878 } & Struct;879 readonly isDeposited: boolean;880 readonly asDeposited: {881 readonly currencyId: PalletForeignAssetsAssetIds;882 readonly who: AccountId32;883 readonly amount: u128;884 } & Struct;885 readonly isLockSet: boolean;886 readonly asLockSet: {887 readonly lockId: U8aFixed;888 readonly currencyId: PalletForeignAssetsAssetIds;889 readonly who: AccountId32;890 readonly amount: u128;891 } & Struct;892 readonly isLockRemoved: boolean;893 readonly asLockRemoved: {894 readonly lockId: U8aFixed;895 readonly currencyId: PalletForeignAssetsAssetIds;896 readonly who: AccountId32;897 } & Struct;898 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';899}900901/** @name OrmlTokensReserveData */902export interface OrmlTokensReserveData extends Struct {903 readonly id: Null;904 readonly amount: u128;905}906907/** @name OrmlVestingModuleCall */908export interface OrmlVestingModuleCall extends Enum {909 readonly isClaim: boolean;910 readonly isVestedTransfer: boolean;911 readonly asVestedTransfer: {912 readonly dest: MultiAddress;913 readonly schedule: OrmlVestingVestingSchedule;914 } & Struct;915 readonly isUpdateVestingSchedules: boolean;916 readonly asUpdateVestingSchedules: {917 readonly who: MultiAddress;918 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;919 } & Struct;920 readonly isClaimFor: boolean;921 readonly asClaimFor: {922 readonly dest: MultiAddress;923 } & Struct;924 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';925}926927/** @name OrmlVestingModuleError */928export interface OrmlVestingModuleError extends Enum {929 readonly isZeroVestingPeriod: boolean;930 readonly isZeroVestingPeriodCount: boolean;931 readonly isInsufficientBalanceToLock: boolean;932 readonly isTooManyVestingSchedules: boolean;933 readonly isAmountLow: boolean;934 readonly isMaxVestingSchedulesExceeded: boolean;935 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';936}937938/** @name OrmlVestingModuleEvent */939export interface OrmlVestingModuleEvent extends Enum {940 readonly isVestingScheduleAdded: boolean;941 readonly asVestingScheduleAdded: {942 readonly from: AccountId32;943 readonly to: AccountId32;944 readonly vestingSchedule: OrmlVestingVestingSchedule;945 } & Struct;946 readonly isClaimed: boolean;947 readonly asClaimed: {948 readonly who: AccountId32;949 readonly amount: u128;950 } & Struct;951 readonly isVestingSchedulesUpdated: boolean;952 readonly asVestingSchedulesUpdated: {953 readonly who: AccountId32;954 } & Struct;955 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';956}957958/** @name OrmlVestingVestingSchedule */959export interface OrmlVestingVestingSchedule extends Struct {960 readonly start: u32;961 readonly period: u32;962 readonly periodCount: u32;963 readonly perPeriod: Compact<u128>;964}965966/** @name OrmlXtokensModuleCall */967export interface OrmlXtokensModuleCall extends Enum {968 readonly isTransfer: boolean;969 readonly asTransfer: {970 readonly currencyId: PalletForeignAssetsAssetIds;971 readonly amount: u128;972 readonly dest: XcmVersionedMultiLocation;973 readonly destWeight: u64;974 } & Struct;975 readonly isTransferMultiasset: boolean;976 readonly asTransferMultiasset: {977 readonly asset: XcmVersionedMultiAsset;978 readonly dest: XcmVersionedMultiLocation;979 readonly destWeight: u64;980 } & Struct;981 readonly isTransferWithFee: boolean;982 readonly asTransferWithFee: {983 readonly currencyId: PalletForeignAssetsAssetIds;984 readonly amount: u128;985 readonly fee: u128;986 readonly dest: XcmVersionedMultiLocation;987 readonly destWeight: u64;988 } & Struct;989 readonly isTransferMultiassetWithFee: boolean;990 readonly asTransferMultiassetWithFee: {991 readonly asset: XcmVersionedMultiAsset;992 readonly fee: XcmVersionedMultiAsset;993 readonly dest: XcmVersionedMultiLocation;994 readonly destWeight: u64;995 } & Struct;996 readonly isTransferMulticurrencies: boolean;997 readonly asTransferMulticurrencies: {998 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;999 readonly feeItem: u32;1000 readonly dest: XcmVersionedMultiLocation;1001 readonly destWeight: u64;1002 } & Struct;1003 readonly isTransferMultiassets: boolean;1004 readonly asTransferMultiassets: {1005 readonly assets: XcmVersionedMultiAssets;1006 readonly feeItem: u32;1007 readonly dest: XcmVersionedMultiLocation;1008 readonly destWeight: u64;1009 } & Struct;1010 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1011}10121013/** @name OrmlXtokensModuleError */1014export interface OrmlXtokensModuleError extends Enum {1015 readonly isAssetHasNoReserve: boolean;1016 readonly isNotCrossChainTransfer: boolean;1017 readonly isInvalidDest: boolean;1018 readonly isNotCrossChainTransferableCurrency: boolean;1019 readonly isUnweighableMessage: boolean;1020 readonly isXcmExecutionFailed: boolean;1021 readonly isCannotReanchor: boolean;1022 readonly isInvalidAncestry: boolean;1023 readonly isInvalidAsset: boolean;1024 readonly isDestinationNotInvertible: boolean;1025 readonly isBadVersion: boolean;1026 readonly isDistinctReserveForAssetAndFee: boolean;1027 readonly isZeroFee: boolean;1028 readonly isZeroAmount: boolean;1029 readonly isTooManyAssetsBeingSent: boolean;1030 readonly isAssetIndexNonExistent: boolean;1031 readonly isFeeNotEnough: boolean;1032 readonly isNotSupportedMultiLocation: boolean;1033 readonly isMinXcmFeeNotDefined: boolean;1034 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';1035}10361037/** @name OrmlXtokensModuleEvent */1038export interface OrmlXtokensModuleEvent extends Enum {1039 readonly isTransferredMultiAssets: boolean;1040 readonly asTransferredMultiAssets: {1041 readonly sender: AccountId32;1042 readonly assets: XcmV1MultiassetMultiAssets;1043 readonly fee: XcmV1MultiAsset;1044 readonly dest: XcmV1MultiLocation;1045 } & Struct;1046 readonly type: 'TransferredMultiAssets';1047}10481049/** @name PalletAppPromotionCall */1050export interface PalletAppPromotionCall extends Enum {1051 readonly isSetAdminAddress: boolean;1052 readonly asSetAdminAddress: {1053 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1054 } & Struct;1055 readonly isStake: boolean;1056 readonly asStake: {1057 readonly amount: u128;1058 } & Struct;1059 readonly isUnstake: boolean;1060 readonly isSponsorCollection: boolean;1061 readonly asSponsorCollection: {1062 readonly collectionId: u32;1063 } & Struct;1064 readonly isStopSponsoringCollection: boolean;1065 readonly asStopSponsoringCollection: {1066 readonly collectionId: u32;1067 } & Struct;1068 readonly isSponsorContract: boolean;1069 readonly asSponsorContract: {1070 readonly contractId: H160;1071 } & Struct;1072 readonly isStopSponsoringContract: boolean;1073 readonly asStopSponsoringContract: {1074 readonly contractId: H160;1075 } & Struct;1076 readonly isPayoutStakers: boolean;1077 readonly asPayoutStakers: {1078 readonly stakersNumber: Option<u8>;1079 } & Struct;1080 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1081}10821083/** @name PalletAppPromotionError */1084export interface PalletAppPromotionError extends Enum {1085 readonly isAdminNotSet: boolean;1086 readonly isNoPermission: boolean;1087 readonly isNotSufficientFunds: boolean;1088 readonly isPendingForBlockOverflow: boolean;1089 readonly isSponsorNotSet: boolean;1090 readonly isIncorrectLockedBalanceOperation: boolean;1091 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1092}10931094/** @name PalletAppPromotionEvent */1095export interface PalletAppPromotionEvent extends Enum {1096 readonly isStakingRecalculation: boolean;1097 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1098 readonly isStake: boolean;1099 readonly asStake: ITuple<[AccountId32, u128]>;1100 readonly isUnstake: boolean;1101 readonly asUnstake: ITuple<[AccountId32, u128]>;1102 readonly isSetAdmin: boolean;1103 readonly asSetAdmin: AccountId32;1104 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1105}11061107/** @name PalletBalancesAccountData */1108export interface PalletBalancesAccountData extends Struct {1109 readonly free: u128;1110 readonly reserved: u128;1111 readonly miscFrozen: u128;1112 readonly feeFrozen: u128;1113}11141115/** @name PalletBalancesBalanceLock */1116export interface PalletBalancesBalanceLock extends Struct {1117 readonly id: U8aFixed;1118 readonly amount: u128;1119 readonly reasons: PalletBalancesReasons;1120}11211122/** @name PalletBalancesCall */1123export interface PalletBalancesCall extends Enum {1124 readonly isTransfer: boolean;1125 readonly asTransfer: {1126 readonly dest: MultiAddress;1127 readonly value: Compact<u128>;1128 } & Struct;1129 readonly isSetBalance: boolean;1130 readonly asSetBalance: {1131 readonly who: MultiAddress;1132 readonly newFree: Compact<u128>;1133 readonly newReserved: Compact<u128>;1134 } & Struct;1135 readonly isForceTransfer: boolean;1136 readonly asForceTransfer: {1137 readonly source: MultiAddress;1138 readonly dest: MultiAddress;1139 readonly value: Compact<u128>;1140 } & Struct;1141 readonly isTransferKeepAlive: boolean;1142 readonly asTransferKeepAlive: {1143 readonly dest: MultiAddress;1144 readonly value: Compact<u128>;1145 } & Struct;1146 readonly isTransferAll: boolean;1147 readonly asTransferAll: {1148 readonly dest: MultiAddress;1149 readonly keepAlive: bool;1150 } & Struct;1151 readonly isForceUnreserve: boolean;1152 readonly asForceUnreserve: {1153 readonly who: MultiAddress;1154 readonly amount: u128;1155 } & Struct;1156 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1157}11581159/** @name PalletBalancesError */1160export interface PalletBalancesError extends Enum {1161 readonly isVestingBalance: boolean;1162 readonly isLiquidityRestrictions: boolean;1163 readonly isInsufficientBalance: boolean;1164 readonly isExistentialDeposit: boolean;1165 readonly isKeepAlive: boolean;1166 readonly isExistingVestingSchedule: boolean;1167 readonly isDeadAccount: boolean;1168 readonly isTooManyReserves: boolean;1169 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1170}11711172/** @name PalletBalancesEvent */1173export interface PalletBalancesEvent extends Enum {1174 readonly isEndowed: boolean;1175 readonly asEndowed: {1176 readonly account: AccountId32;1177 readonly freeBalance: u128;1178 } & Struct;1179 readonly isDustLost: boolean;1180 readonly asDustLost: {1181 readonly account: AccountId32;1182 readonly amount: u128;1183 } & Struct;1184 readonly isTransfer: boolean;1185 readonly asTransfer: {1186 readonly from: AccountId32;1187 readonly to: AccountId32;1188 readonly amount: u128;1189 } & Struct;1190 readonly isBalanceSet: boolean;1191 readonly asBalanceSet: {1192 readonly who: AccountId32;1193 readonly free: u128;1194 readonly reserved: u128;1195 } & Struct;1196 readonly isReserved: boolean;1197 readonly asReserved: {1198 readonly who: AccountId32;1199 readonly amount: u128;1200 } & Struct;1201 readonly isUnreserved: boolean;1202 readonly asUnreserved: {1203 readonly who: AccountId32;1204 readonly amount: u128;1205 } & Struct;1206 readonly isReserveRepatriated: boolean;1207 readonly asReserveRepatriated: {1208 readonly from: AccountId32;1209 readonly to: AccountId32;1210 readonly amount: u128;1211 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1212 } & Struct;1213 readonly isDeposit: boolean;1214 readonly asDeposit: {1215 readonly who: AccountId32;1216 readonly amount: u128;1217 } & Struct;1218 readonly isWithdraw: boolean;1219 readonly asWithdraw: {1220 readonly who: AccountId32;1221 readonly amount: u128;1222 } & Struct;1223 readonly isSlashed: boolean;1224 readonly asSlashed: {1225 readonly who: AccountId32;1226 readonly amount: u128;1227 } & Struct;1228 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1229}12301231/** @name PalletBalancesReasons */1232export interface PalletBalancesReasons extends Enum {1233 readonly isFee: boolean;1234 readonly isMisc: boolean;1235 readonly isAll: boolean;1236 readonly type: 'Fee' | 'Misc' | 'All';1237}12381239/** @name PalletBalancesReleases */1240export interface PalletBalancesReleases extends Enum {1241 readonly isV100: boolean;1242 readonly isV200: boolean;1243 readonly type: 'V100' | 'V200';1244}12451246/** @name PalletBalancesReserveData */1247export interface PalletBalancesReserveData extends Struct {1248 readonly id: U8aFixed;1249 readonly amount: u128;1250}12511252/** @name PalletCommonError */1253export interface PalletCommonError extends Enum {1254 readonly isCollectionNotFound: boolean;1255 readonly isMustBeTokenOwner: boolean;1256 readonly isNoPermission: boolean;1257 readonly isCantDestroyNotEmptyCollection: boolean;1258 readonly isPublicMintingNotAllowed: boolean;1259 readonly isAddressNotInAllowlist: boolean;1260 readonly isCollectionNameLimitExceeded: boolean;1261 readonly isCollectionDescriptionLimitExceeded: boolean;1262 readonly isCollectionTokenPrefixLimitExceeded: boolean;1263 readonly isTotalCollectionsLimitExceeded: boolean;1264 readonly isCollectionAdminCountExceeded: boolean;1265 readonly isCollectionLimitBoundsExceeded: boolean;1266 readonly isOwnerPermissionsCantBeReverted: boolean;1267 readonly isTransferNotAllowed: boolean;1268 readonly isAccountTokenLimitExceeded: boolean;1269 readonly isCollectionTokenLimitExceeded: boolean;1270 readonly isMetadataFlagFrozen: boolean;1271 readonly isTokenNotFound: boolean;1272 readonly isTokenValueTooLow: boolean;1273 readonly isApprovedValueTooLow: boolean;1274 readonly isCantApproveMoreThanOwned: boolean;1275 readonly isAddressIsZero: boolean;1276 readonly isUnsupportedOperation: boolean;1277 readonly isNotSufficientFounds: boolean;1278 readonly isUserIsNotAllowedToNest: boolean;1279 readonly isSourceCollectionIsNotAllowedToNest: boolean;1280 readonly isCollectionFieldSizeExceeded: boolean;1281 readonly isNoSpaceForProperty: boolean;1282 readonly isPropertyLimitReached: boolean;1283 readonly isPropertyKeyIsTooLong: boolean;1284 readonly isInvalidCharacterInPropertyKey: boolean;1285 readonly isEmptyPropertyKey: boolean;1286 readonly isCollectionIsExternal: boolean;1287 readonly isCollectionIsInternal: boolean;1288 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';1289}12901291/** @name PalletCommonEvent */1292export interface PalletCommonEvent extends Enum {1293 readonly isCollectionCreated: boolean;1294 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1295 readonly isCollectionDestroyed: boolean;1296 readonly asCollectionDestroyed: u32;1297 readonly isItemCreated: boolean;1298 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1299 readonly isItemDestroyed: boolean;1300 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1301 readonly isTransfer: boolean;1302 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1303 readonly isApproved: boolean;1304 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1305 readonly isCollectionPropertySet: boolean;1306 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1307 readonly isCollectionPropertyDeleted: boolean;1308 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1309 readonly isTokenPropertySet: boolean;1310 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1311 readonly isTokenPropertyDeleted: boolean;1312 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1313 readonly isPropertyPermissionSet: boolean;1314 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1315 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1316}13171318/** @name PalletConfigurationCall */1319export interface PalletConfigurationCall extends Enum {1320 readonly isSetWeightToFeeCoefficientOverride: boolean;1321 readonly asSetWeightToFeeCoefficientOverride: {1322 readonly coeff: Option<u32>;1323 } & Struct;1324 readonly isSetMinGasPriceOverride: boolean;1325 readonly asSetMinGasPriceOverride: {1326 readonly coeff: Option<u64>;1327 } & Struct;1328 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1329}13301331/** @name PalletEthereumCall */1332export interface PalletEthereumCall extends Enum {1333 readonly isTransact: boolean;1334 readonly asTransact: {1335 readonly transaction: EthereumTransactionTransactionV2;1336 } & Struct;1337 readonly type: 'Transact';1338}13391340/** @name PalletEthereumError */1341export interface PalletEthereumError extends Enum {1342 readonly isInvalidSignature: boolean;1343 readonly isPreLogExists: boolean;1344 readonly type: 'InvalidSignature' | 'PreLogExists';1345}13461347/** @name PalletEthereumEvent */1348export interface PalletEthereumEvent extends Enum {1349 readonly isExecuted: boolean;1350 readonly asExecuted: {1351 readonly from: H160;1352 readonly to: H160;1353 readonly transactionHash: H256;1354 readonly exitReason: EvmCoreErrorExitReason;1355 } & Struct;1356 readonly type: 'Executed';1357}13581359/** @name PalletEthereumFakeTransactionFinalizer */1360export interface PalletEthereumFakeTransactionFinalizer extends Null {}13611362/** @name PalletEthereumRawOrigin */1363export interface PalletEthereumRawOrigin extends Enum {1364 readonly isEthereumTransaction: boolean;1365 readonly asEthereumTransaction: H160;1366 readonly type: 'EthereumTransaction';1367}13681369/** @name PalletEvmAccountBasicCrossAccountIdRepr */1370export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1371 readonly isSubstrate: boolean;1372 readonly asSubstrate: AccountId32;1373 readonly isEthereum: boolean;1374 readonly asEthereum: H160;1375 readonly type: 'Substrate' | 'Ethereum';1376}13771378/** @name PalletEvmCall */1379export interface PalletEvmCall extends Enum {1380 readonly isWithdraw: boolean;1381 readonly asWithdraw: {1382 readonly address: H160;1383 readonly value: u128;1384 } & Struct;1385 readonly isCall: boolean;1386 readonly asCall: {1387 readonly source: H160;1388 readonly target: H160;1389 readonly input: Bytes;1390 readonly value: U256;1391 readonly gasLimit: u64;1392 readonly maxFeePerGas: U256;1393 readonly maxPriorityFeePerGas: Option<U256>;1394 readonly nonce: Option<U256>;1395 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1396 } & Struct;1397 readonly isCreate: boolean;1398 readonly asCreate: {1399 readonly source: H160;1400 readonly init: Bytes;1401 readonly value: U256;1402 readonly gasLimit: u64;1403 readonly maxFeePerGas: U256;1404 readonly maxPriorityFeePerGas: Option<U256>;1405 readonly nonce: Option<U256>;1406 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1407 } & Struct;1408 readonly isCreate2: boolean;1409 readonly asCreate2: {1410 readonly source: H160;1411 readonly init: Bytes;1412 readonly salt: H256;1413 readonly value: U256;1414 readonly gasLimit: u64;1415 readonly maxFeePerGas: U256;1416 readonly maxPriorityFeePerGas: Option<U256>;1417 readonly nonce: Option<U256>;1418 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1419 } & Struct;1420 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1421}14221423/** @name PalletEvmCoderSubstrateError */1424export interface PalletEvmCoderSubstrateError extends Enum {1425 readonly isOutOfGas: boolean;1426 readonly isOutOfFund: boolean;1427 readonly type: 'OutOfGas' | 'OutOfFund';1428}14291430/** @name PalletEvmContractHelpersError */1431export interface PalletEvmContractHelpersError extends Enum {1432 readonly isNoPermission: boolean;1433 readonly isNoPendingSponsor: boolean;1434 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1435 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1436}14371438/** @name PalletEvmContractHelpersEvent */1439export interface PalletEvmContractHelpersEvent extends Enum {1440 readonly isContractSponsorSet: boolean;1441 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1442 readonly isContractSponsorshipConfirmed: boolean;1443 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1444 readonly isContractSponsorRemoved: boolean;1445 readonly asContractSponsorRemoved: H160;1446 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1447}14481449/** @name PalletEvmContractHelpersSponsoringModeT */1450export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1451 readonly isDisabled: boolean;1452 readonly isAllowlisted: boolean;1453 readonly isGenerous: boolean;1454 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1455}14561457/** @name PalletEvmError */1458export interface PalletEvmError extends Enum {1459 readonly isBalanceLow: boolean;1460 readonly isFeeOverflow: boolean;1461 readonly isPaymentOverflow: boolean;1462 readonly isWithdrawFailed: boolean;1463 readonly isGasPriceTooLow: boolean;1464 readonly isInvalidNonce: boolean;1465 readonly isGasLimitTooLow: boolean;1466 readonly isGasLimitTooHigh: boolean;1467 readonly isUndefined: boolean;1468 readonly isReentrancy: boolean;1469 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';1470}14711472/** @name PalletEvmEvent */1473export interface PalletEvmEvent extends Enum {1474 readonly isLog: boolean;1475 readonly asLog: {1476 readonly log: EthereumLog;1477 } & Struct;1478 readonly isCreated: boolean;1479 readonly asCreated: {1480 readonly address: H160;1481 } & Struct;1482 readonly isCreatedFailed: boolean;1483 readonly asCreatedFailed: {1484 readonly address: H160;1485 } & Struct;1486 readonly isExecuted: boolean;1487 readonly asExecuted: {1488 readonly address: H160;1489 } & Struct;1490 readonly isExecutedFailed: boolean;1491 readonly asExecutedFailed: {1492 readonly address: H160;1493 } & Struct;1494 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1495}14961497/** @name PalletEvmMigrationCall */1498export interface PalletEvmMigrationCall extends Enum {1499 readonly isBegin: boolean;1500 readonly asBegin: {1501 readonly address: H160;1502 } & Struct;1503 readonly isSetData: boolean;1504 readonly asSetData: {1505 readonly address: H160;1506 readonly data: Vec<ITuple<[H256, H256]>>;1507 } & Struct;1508 readonly isFinish: boolean;1509 readonly asFinish: {1510 readonly address: H160;1511 readonly code: Bytes;1512 } & Struct;1513 readonly type: 'Begin' | 'SetData' | 'Finish';1514}15151516/** @name PalletEvmMigrationError */1517export interface PalletEvmMigrationError extends Enum {1518 readonly isAccountNotEmpty: boolean;1519 readonly isAccountIsNotMigrating: boolean;1520 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1521}15221523/** @name PalletForeignAssetsAssetIds */1524export interface PalletForeignAssetsAssetIds extends Enum {1525 readonly isForeignAssetId: boolean;1526 readonly asForeignAssetId: u32;1527 readonly isNativeAssetId: boolean;1528 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1529 readonly type: 'ForeignAssetId' | 'NativeAssetId';1530}15311532/** @name PalletForeignAssetsModuleAssetMetadata */1533export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1534 readonly name: Bytes;1535 readonly symbol: Bytes;1536 readonly decimals: u8;1537 readonly minimalBalance: u128;1538}15391540/** @name PalletForeignAssetsModuleCall */1541export interface PalletForeignAssetsModuleCall extends Enum {1542 readonly isRegisterForeignAsset: boolean;1543 readonly asRegisterForeignAsset: {1544 readonly owner: AccountId32;1545 readonly location: XcmVersionedMultiLocation;1546 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1547 } & Struct;1548 readonly isUpdateForeignAsset: boolean;1549 readonly asUpdateForeignAsset: {1550 readonly foreignAssetId: u32;1551 readonly location: XcmVersionedMultiLocation;1552 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1553 } & Struct;1554 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1555}15561557/** @name PalletForeignAssetsModuleError */1558export interface PalletForeignAssetsModuleError extends Enum {1559 readonly isBadLocation: boolean;1560 readonly isMultiLocationExisted: boolean;1561 readonly isAssetIdNotExists: boolean;1562 readonly isAssetIdExisted: boolean;1563 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1564}15651566/** @name PalletForeignAssetsModuleEvent */1567export interface PalletForeignAssetsModuleEvent extends Enum {1568 readonly isForeignAssetRegistered: boolean;1569 readonly asForeignAssetRegistered: {1570 readonly assetId: u32;1571 readonly assetAddress: XcmV1MultiLocation;1572 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1573 } & Struct;1574 readonly isForeignAssetUpdated: boolean;1575 readonly asForeignAssetUpdated: {1576 readonly assetId: u32;1577 readonly assetAddress: XcmV1MultiLocation;1578 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1579 } & Struct;1580 readonly isAssetRegistered: boolean;1581 readonly asAssetRegistered: {1582 readonly assetId: PalletForeignAssetsAssetIds;1583 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1584 } & Struct;1585 readonly isAssetUpdated: boolean;1586 readonly asAssetUpdated: {1587 readonly assetId: PalletForeignAssetsAssetIds;1588 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1589 } & Struct;1590 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1591}15921593/** @name PalletForeignAssetsNativeCurrency */1594export interface PalletForeignAssetsNativeCurrency extends Enum {1595 readonly isHere: boolean;1596 readonly isParent: boolean;1597 readonly type: 'Here' | 'Parent';1598}15991600/** @name PalletFungibleError */1601export interface PalletFungibleError extends Enum {1602 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1603 readonly isFungibleItemsHaveNoId: boolean;1604 readonly isFungibleItemsDontHaveData: boolean;1605 readonly isFungibleDisallowsNesting: boolean;1606 readonly isSettingPropertiesNotAllowed: boolean;1607 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1608}16091610/** @name PalletInflationCall */1611export interface PalletInflationCall extends Enum {1612 readonly isStartInflation: boolean;1613 readonly asStartInflation: {1614 readonly inflationStartRelayBlock: u32;1615 } & Struct;1616 readonly type: 'StartInflation';1617}16181619/** @name PalletMaintenanceCall */1620export interface PalletMaintenanceCall extends Enum {1621 readonly isEnable: boolean;1622 readonly isDisable: boolean;1623 readonly type: 'Enable' | 'Disable';1624}16251626/** @name PalletMaintenanceError */1627export interface PalletMaintenanceError extends Null {}16281629/** @name PalletMaintenanceEvent */1630export interface PalletMaintenanceEvent extends Enum {1631 readonly isMaintenanceEnabled: boolean;1632 readonly isMaintenanceDisabled: boolean;1633 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1634}16351636/** @name PalletNonfungibleError */1637export interface PalletNonfungibleError extends Enum {1638 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1639 readonly isNonfungibleItemsHaveNoAmount: boolean;1640 readonly isCantBurnNftWithChildren: boolean;1641 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1642}16431644/** @name PalletNonfungibleItemData */1645export interface PalletNonfungibleItemData extends Struct {1646 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1647}16481649/** @name PalletRefungibleError */1650export interface PalletRefungibleError extends Enum {1651 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1652 readonly isWrongRefungiblePieces: boolean;1653 readonly isRepartitionWhileNotOwningAllPieces: boolean;1654 readonly isRefungibleDisallowsNesting: boolean;1655 readonly isSettingPropertiesNotAllowed: boolean;1656 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1657}16581659/** @name PalletRefungibleItemData */1660export interface PalletRefungibleItemData extends Struct {1661 readonly constData: Bytes;1662}16631664/** @name PalletRmrkCoreCall */1665export interface PalletRmrkCoreCall extends Enum {1666 readonly isCreateCollection: boolean;1667 readonly asCreateCollection: {1668 readonly metadata: Bytes;1669 readonly max: Option<u32>;1670 readonly symbol: Bytes;1671 } & Struct;1672 readonly isDestroyCollection: boolean;1673 readonly asDestroyCollection: {1674 readonly collectionId: u32;1675 } & Struct;1676 readonly isChangeCollectionIssuer: boolean;1677 readonly asChangeCollectionIssuer: {1678 readonly collectionId: u32;1679 readonly newIssuer: MultiAddress;1680 } & Struct;1681 readonly isLockCollection: boolean;1682 readonly asLockCollection: {1683 readonly collectionId: u32;1684 } & Struct;1685 readonly isMintNft: boolean;1686 readonly asMintNft: {1687 readonly owner: Option<AccountId32>;1688 readonly collectionId: u32;1689 readonly recipient: Option<AccountId32>;1690 readonly royaltyAmount: Option<Permill>;1691 readonly metadata: Bytes;1692 readonly transferable: bool;1693 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1694 } & Struct;1695 readonly isBurnNft: boolean;1696 readonly asBurnNft: {1697 readonly collectionId: u32;1698 readonly nftId: u32;1699 readonly maxBurns: u32;1700 } & Struct;1701 readonly isSend: boolean;1702 readonly asSend: {1703 readonly rmrkCollectionId: u32;1704 readonly rmrkNftId: u32;1705 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1706 } & Struct;1707 readonly isAcceptNft: boolean;1708 readonly asAcceptNft: {1709 readonly rmrkCollectionId: u32;1710 readonly rmrkNftId: u32;1711 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1712 } & Struct;1713 readonly isRejectNft: boolean;1714 readonly asRejectNft: {1715 readonly rmrkCollectionId: u32;1716 readonly rmrkNftId: u32;1717 } & Struct;1718 readonly isAcceptResource: boolean;1719 readonly asAcceptResource: {1720 readonly rmrkCollectionId: u32;1721 readonly rmrkNftId: u32;1722 readonly resourceId: u32;1723 } & Struct;1724 readonly isAcceptResourceRemoval: boolean;1725 readonly asAcceptResourceRemoval: {1726 readonly rmrkCollectionId: u32;1727 readonly rmrkNftId: u32;1728 readonly resourceId: u32;1729 } & Struct;1730 readonly isSetProperty: boolean;1731 readonly asSetProperty: {1732 readonly rmrkCollectionId: Compact<u32>;1733 readonly maybeNftId: Option<u32>;1734 readonly key: Bytes;1735 readonly value: Bytes;1736 } & Struct;1737 readonly isSetPriority: boolean;1738 readonly asSetPriority: {1739 readonly rmrkCollectionId: u32;1740 readonly rmrkNftId: u32;1741 readonly priorities: Vec<u32>;1742 } & Struct;1743 readonly isAddBasicResource: boolean;1744 readonly asAddBasicResource: {1745 readonly rmrkCollectionId: u32;1746 readonly nftId: u32;1747 readonly resource: RmrkTraitsResourceBasicResource;1748 } & Struct;1749 readonly isAddComposableResource: boolean;1750 readonly asAddComposableResource: {1751 readonly rmrkCollectionId: u32;1752 readonly nftId: u32;1753 readonly resource: RmrkTraitsResourceComposableResource;1754 } & Struct;1755 readonly isAddSlotResource: boolean;1756 readonly asAddSlotResource: {1757 readonly rmrkCollectionId: u32;1758 readonly nftId: u32;1759 readonly resource: RmrkTraitsResourceSlotResource;1760 } & Struct;1761 readonly isRemoveResource: boolean;1762 readonly asRemoveResource: {1763 readonly rmrkCollectionId: u32;1764 readonly nftId: u32;1765 readonly resourceId: u32;1766 } & Struct;1767 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1768}17691770/** @name PalletRmrkCoreError */1771export interface PalletRmrkCoreError extends Enum {1772 readonly isCorruptedCollectionType: boolean;1773 readonly isRmrkPropertyKeyIsTooLong: boolean;1774 readonly isRmrkPropertyValueIsTooLong: boolean;1775 readonly isRmrkPropertyIsNotFound: boolean;1776 readonly isUnableToDecodeRmrkData: boolean;1777 readonly isCollectionNotEmpty: boolean;1778 readonly isNoAvailableCollectionId: boolean;1779 readonly isNoAvailableNftId: boolean;1780 readonly isCollectionUnknown: boolean;1781 readonly isNoPermission: boolean;1782 readonly isNonTransferable: boolean;1783 readonly isCollectionFullOrLocked: boolean;1784 readonly isResourceDoesntExist: boolean;1785 readonly isCannotSendToDescendentOrSelf: boolean;1786 readonly isCannotAcceptNonOwnedNft: boolean;1787 readonly isCannotRejectNonOwnedNft: boolean;1788 readonly isCannotRejectNonPendingNft: boolean;1789 readonly isResourceNotPending: boolean;1790 readonly isNoAvailableResourceId: boolean;1791 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1792}17931794/** @name PalletRmrkCoreEvent */1795export interface PalletRmrkCoreEvent extends Enum {1796 readonly isCollectionCreated: boolean;1797 readonly asCollectionCreated: {1798 readonly issuer: AccountId32;1799 readonly collectionId: u32;1800 } & Struct;1801 readonly isCollectionDestroyed: boolean;1802 readonly asCollectionDestroyed: {1803 readonly issuer: AccountId32;1804 readonly collectionId: u32;1805 } & Struct;1806 readonly isIssuerChanged: boolean;1807 readonly asIssuerChanged: {1808 readonly oldIssuer: AccountId32;1809 readonly newIssuer: AccountId32;1810 readonly collectionId: u32;1811 } & Struct;1812 readonly isCollectionLocked: boolean;1813 readonly asCollectionLocked: {1814 readonly issuer: AccountId32;1815 readonly collectionId: u32;1816 } & Struct;1817 readonly isNftMinted: boolean;1818 readonly asNftMinted: {1819 readonly owner: AccountId32;1820 readonly collectionId: u32;1821 readonly nftId: u32;1822 } & Struct;1823 readonly isNftBurned: boolean;1824 readonly asNftBurned: {1825 readonly owner: AccountId32;1826 readonly nftId: u32;1827 } & Struct;1828 readonly isNftSent: boolean;1829 readonly asNftSent: {1830 readonly sender: AccountId32;1831 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1832 readonly collectionId: u32;1833 readonly nftId: u32;1834 readonly approvalRequired: bool;1835 } & Struct;1836 readonly isNftAccepted: boolean;1837 readonly asNftAccepted: {1838 readonly sender: AccountId32;1839 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1840 readonly collectionId: u32;1841 readonly nftId: u32;1842 } & Struct;1843 readonly isNftRejected: boolean;1844 readonly asNftRejected: {1845 readonly sender: AccountId32;1846 readonly collectionId: u32;1847 readonly nftId: u32;1848 } & Struct;1849 readonly isPropertySet: boolean;1850 readonly asPropertySet: {1851 readonly collectionId: u32;1852 readonly maybeNftId: Option<u32>;1853 readonly key: Bytes;1854 readonly value: Bytes;1855 } & Struct;1856 readonly isResourceAdded: boolean;1857 readonly asResourceAdded: {1858 readonly nftId: u32;1859 readonly resourceId: u32;1860 } & Struct;1861 readonly isResourceRemoval: boolean;1862 readonly asResourceRemoval: {1863 readonly nftId: u32;1864 readonly resourceId: u32;1865 } & Struct;1866 readonly isResourceAccepted: boolean;1867 readonly asResourceAccepted: {1868 readonly nftId: u32;1869 readonly resourceId: u32;1870 } & Struct;1871 readonly isResourceRemovalAccepted: boolean;1872 readonly asResourceRemovalAccepted: {1873 readonly nftId: u32;1874 readonly resourceId: u32;1875 } & Struct;1876 readonly isPrioritySet: boolean;1877 readonly asPrioritySet: {1878 readonly collectionId: u32;1879 readonly nftId: u32;1880 } & Struct;1881 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1882}18831884/** @name PalletRmrkEquipCall */1885export interface PalletRmrkEquipCall extends Enum {1886 readonly isCreateBase: boolean;1887 readonly asCreateBase: {1888 readonly baseType: Bytes;1889 readonly symbol: Bytes;1890 readonly parts: Vec<RmrkTraitsPartPartType>;1891 } & Struct;1892 readonly isThemeAdd: boolean;1893 readonly asThemeAdd: {1894 readonly baseId: u32;1895 readonly theme: RmrkTraitsTheme;1896 } & Struct;1897 readonly isEquippable: boolean;1898 readonly asEquippable: {1899 readonly baseId: u32;1900 readonly slotId: u32;1901 readonly equippables: RmrkTraitsPartEquippableList;1902 } & Struct;1903 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1904}19051906/** @name PalletRmrkEquipError */1907export interface PalletRmrkEquipError extends Enum {1908 readonly isPermissionError: boolean;1909 readonly isNoAvailableBaseId: boolean;1910 readonly isNoAvailablePartId: boolean;1911 readonly isBaseDoesntExist: boolean;1912 readonly isNeedsDefaultThemeFirst: boolean;1913 readonly isPartDoesntExist: boolean;1914 readonly isNoEquippableOnFixedPart: boolean;1915 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1916}19171918/** @name PalletRmrkEquipEvent */1919export interface PalletRmrkEquipEvent extends Enum {1920 readonly isBaseCreated: boolean;1921 readonly asBaseCreated: {1922 readonly issuer: AccountId32;1923 readonly baseId: u32;1924 } & Struct;1925 readonly isEquippablesUpdated: boolean;1926 readonly asEquippablesUpdated: {1927 readonly baseId: u32;1928 readonly slotId: u32;1929 } & Struct;1930 readonly type: 'BaseCreated' | 'EquippablesUpdated';1931}19321933/** @name PalletStructureCall */1934export interface PalletStructureCall extends Null {}19351936/** @name PalletStructureError */1937export interface PalletStructureError extends Enum {1938 readonly isOuroborosDetected: boolean;1939 readonly isDepthLimit: boolean;1940 readonly isBreadthLimit: boolean;1941 readonly isTokenNotFound: boolean;1942 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1943}19441945/** @name PalletStructureEvent */1946export interface PalletStructureEvent extends Enum {1947 readonly isExecuted: boolean;1948 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1949 readonly type: 'Executed';1950}19511952/** @name PalletSudoCall */1953export interface PalletSudoCall extends Enum {1954 readonly isSudo: boolean;1955 readonly asSudo: {1956 readonly call: Call;1957 } & Struct;1958 readonly isSudoUncheckedWeight: boolean;1959 readonly asSudoUncheckedWeight: {1960 readonly call: Call;1961 readonly weight: Weight;1962 } & Struct;1963 readonly isSetKey: boolean;1964 readonly asSetKey: {1965 readonly new_: MultiAddress;1966 } & Struct;1967 readonly isSudoAs: boolean;1968 readonly asSudoAs: {1969 readonly who: MultiAddress;1970 readonly call: Call;1971 } & Struct;1972 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1973}19741975/** @name PalletSudoError */1976export interface PalletSudoError extends Enum {1977 readonly isRequireSudo: boolean;1978 readonly type: 'RequireSudo';1979}19801981/** @name PalletSudoEvent */1982export interface PalletSudoEvent extends Enum {1983 readonly isSudid: boolean;1984 readonly asSudid: {1985 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1986 } & Struct;1987 readonly isKeyChanged: boolean;1988 readonly asKeyChanged: {1989 readonly oldSudoer: Option<AccountId32>;1990 } & Struct;1991 readonly isSudoAsDone: boolean;1992 readonly asSudoAsDone: {1993 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1994 } & Struct;1995 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1996}19971998/** @name PalletTemplateTransactionPaymentCall */1999export interface PalletTemplateTransactionPaymentCall extends Null {}20002001/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2002export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}20032004/** @name PalletTestUtilsCall */2005export interface PalletTestUtilsCall extends Enum {2006 readonly isEnable: boolean;2007 readonly isSetTestValue: boolean;2008 readonly asSetTestValue: {2009 readonly value: u32;2010 } & Struct;2011 readonly isSetTestValueAndRollback: boolean;2012 readonly asSetTestValueAndRollback: {2013 readonly value: u32;2014 } & Struct;2015 readonly isIncTestValue: boolean;2016 readonly isSelfCancelingInc: boolean;2017 readonly asSelfCancelingInc: {2018 readonly id: U8aFixed;2019 readonly maxTestValue: u32;2020 } & Struct;2021 readonly isJustTakeFee: boolean;2022 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'SelfCancelingInc' | 'JustTakeFee';2023}20242025/** @name PalletTestUtilsError */2026export interface PalletTestUtilsError extends Enum {2027 readonly isTestPalletDisabled: boolean;2028 readonly isTriggerRollback: boolean;2029 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2030}20312032/** @name PalletTestUtilsEvent */2033export interface PalletTestUtilsEvent extends Enum {2034 readonly isValueIsSet: boolean;2035 readonly isShouldRollback: boolean;2036 readonly type: 'ValueIsSet' | 'ShouldRollback';2037}20382039/** @name PalletTimestampCall */2040export interface PalletTimestampCall extends Enum {2041 readonly isSet: boolean;2042 readonly asSet: {2043 readonly now: Compact<u64>;2044 } & Struct;2045 readonly type: 'Set';2046}20472048/** @name PalletTransactionPaymentEvent */2049export interface PalletTransactionPaymentEvent extends Enum {2050 readonly isTransactionFeePaid: boolean;2051 readonly asTransactionFeePaid: {2052 readonly who: AccountId32;2053 readonly actualFee: u128;2054 readonly tip: u128;2055 } & Struct;2056 readonly type: 'TransactionFeePaid';2057}20582059/** @name PalletTransactionPaymentReleases */2060export interface PalletTransactionPaymentReleases extends Enum {2061 readonly isV1Ancient: boolean;2062 readonly isV2: boolean;2063 readonly type: 'V1Ancient' | 'V2';2064}20652066/** @name PalletTreasuryCall */2067export interface PalletTreasuryCall extends Enum {2068 readonly isProposeSpend: boolean;2069 readonly asProposeSpend: {2070 readonly value: Compact<u128>;2071 readonly beneficiary: MultiAddress;2072 } & Struct;2073 readonly isRejectProposal: boolean;2074 readonly asRejectProposal: {2075 readonly proposalId: Compact<u32>;2076 } & Struct;2077 readonly isApproveProposal: boolean;2078 readonly asApproveProposal: {2079 readonly proposalId: Compact<u32>;2080 } & Struct;2081 readonly isSpend: boolean;2082 readonly asSpend: {2083 readonly amount: Compact<u128>;2084 readonly beneficiary: MultiAddress;2085 } & Struct;2086 readonly isRemoveApproval: boolean;2087 readonly asRemoveApproval: {2088 readonly proposalId: Compact<u32>;2089 } & Struct;2090 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2091}20922093/** @name PalletTreasuryError */2094export interface PalletTreasuryError extends Enum {2095 readonly isInsufficientProposersBalance: boolean;2096 readonly isInvalidIndex: boolean;2097 readonly isTooManyApprovals: boolean;2098 readonly isInsufficientPermission: boolean;2099 readonly isProposalNotApproved: boolean;2100 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2101}21022103/** @name PalletTreasuryEvent */2104export interface PalletTreasuryEvent extends Enum {2105 readonly isProposed: boolean;2106 readonly asProposed: {2107 readonly proposalIndex: u32;2108 } & Struct;2109 readonly isSpending: boolean;2110 readonly asSpending: {2111 readonly budgetRemaining: u128;2112 } & Struct;2113 readonly isAwarded: boolean;2114 readonly asAwarded: {2115 readonly proposalIndex: u32;2116 readonly award: u128;2117 readonly account: AccountId32;2118 } & Struct;2119 readonly isRejected: boolean;2120 readonly asRejected: {2121 readonly proposalIndex: u32;2122 readonly slashed: u128;2123 } & Struct;2124 readonly isBurnt: boolean;2125 readonly asBurnt: {2126 readonly burntFunds: u128;2127 } & Struct;2128 readonly isRollover: boolean;2129 readonly asRollover: {2130 readonly rolloverBalance: u128;2131 } & Struct;2132 readonly isDeposit: boolean;2133 readonly asDeposit: {2134 readonly value: u128;2135 } & Struct;2136 readonly isSpendApproved: boolean;2137 readonly asSpendApproved: {2138 readonly proposalIndex: u32;2139 readonly amount: u128;2140 readonly beneficiary: AccountId32;2141 } & Struct;2142 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2143}21442145/** @name PalletTreasuryProposal */2146export interface PalletTreasuryProposal extends Struct {2147 readonly proposer: AccountId32;2148 readonly value: u128;2149 readonly beneficiary: AccountId32;2150 readonly bond: u128;2151}21522153/** @name PalletUniqueCall */2154export interface PalletUniqueCall extends Enum {2155 readonly isCreateCollection: boolean;2156 readonly asCreateCollection: {2157 readonly collectionName: Vec<u16>;2158 readonly collectionDescription: Vec<u16>;2159 readonly tokenPrefix: Bytes;2160 readonly mode: UpDataStructsCollectionMode;2161 } & Struct;2162 readonly isCreateCollectionEx: boolean;2163 readonly asCreateCollectionEx: {2164 readonly data: UpDataStructsCreateCollectionData;2165 } & Struct;2166 readonly isDestroyCollection: boolean;2167 readonly asDestroyCollection: {2168 readonly collectionId: u32;2169 } & Struct;2170 readonly isAddToAllowList: boolean;2171 readonly asAddToAllowList: {2172 readonly collectionId: u32;2173 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2174 } & Struct;2175 readonly isRemoveFromAllowList: boolean;2176 readonly asRemoveFromAllowList: {2177 readonly collectionId: u32;2178 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2179 } & Struct;2180 readonly isChangeCollectionOwner: boolean;2181 readonly asChangeCollectionOwner: {2182 readonly collectionId: u32;2183 readonly newOwner: AccountId32;2184 } & Struct;2185 readonly isAddCollectionAdmin: boolean;2186 readonly asAddCollectionAdmin: {2187 readonly collectionId: u32;2188 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2189 } & Struct;2190 readonly isRemoveCollectionAdmin: boolean;2191 readonly asRemoveCollectionAdmin: {2192 readonly collectionId: u32;2193 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2194 } & Struct;2195 readonly isSetCollectionSponsor: boolean;2196 readonly asSetCollectionSponsor: {2197 readonly collectionId: u32;2198 readonly newSponsor: AccountId32;2199 } & Struct;2200 readonly isConfirmSponsorship: boolean;2201 readonly asConfirmSponsorship: {2202 readonly collectionId: u32;2203 } & Struct;2204 readonly isRemoveCollectionSponsor: boolean;2205 readonly asRemoveCollectionSponsor: {2206 readonly collectionId: u32;2207 } & Struct;2208 readonly isCreateItem: boolean;2209 readonly asCreateItem: {2210 readonly collectionId: u32;2211 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2212 readonly data: UpDataStructsCreateItemData;2213 } & Struct;2214 readonly isCreateMultipleItems: boolean;2215 readonly asCreateMultipleItems: {2216 readonly collectionId: u32;2217 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2218 readonly itemsData: Vec<UpDataStructsCreateItemData>;2219 } & Struct;2220 readonly isSetCollectionProperties: boolean;2221 readonly asSetCollectionProperties: {2222 readonly collectionId: u32;2223 readonly properties: Vec<UpDataStructsProperty>;2224 } & Struct;2225 readonly isDeleteCollectionProperties: boolean;2226 readonly asDeleteCollectionProperties: {2227 readonly collectionId: u32;2228 readonly propertyKeys: Vec<Bytes>;2229 } & Struct;2230 readonly isSetTokenProperties: boolean;2231 readonly asSetTokenProperties: {2232 readonly collectionId: u32;2233 readonly tokenId: u32;2234 readonly properties: Vec<UpDataStructsProperty>;2235 } & Struct;2236 readonly isDeleteTokenProperties: boolean;2237 readonly asDeleteTokenProperties: {2238 readonly collectionId: u32;2239 readonly tokenId: u32;2240 readonly propertyKeys: Vec<Bytes>;2241 } & Struct;2242 readonly isSetTokenPropertyPermissions: boolean;2243 readonly asSetTokenPropertyPermissions: {2244 readonly collectionId: u32;2245 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2246 } & Struct;2247 readonly isCreateMultipleItemsEx: boolean;2248 readonly asCreateMultipleItemsEx: {2249 readonly collectionId: u32;2250 readonly data: UpDataStructsCreateItemExData;2251 } & Struct;2252 readonly isSetTransfersEnabledFlag: boolean;2253 readonly asSetTransfersEnabledFlag: {2254 readonly collectionId: u32;2255 readonly value: bool;2256 } & Struct;2257 readonly isBurnItem: boolean;2258 readonly asBurnItem: {2259 readonly collectionId: u32;2260 readonly itemId: u32;2261 readonly value: u128;2262 } & Struct;2263 readonly isBurnFrom: boolean;2264 readonly asBurnFrom: {2265 readonly collectionId: u32;2266 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2267 readonly itemId: u32;2268 readonly value: u128;2269 } & Struct;2270 readonly isTransfer: boolean;2271 readonly asTransfer: {2272 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2273 readonly collectionId: u32;2274 readonly itemId: u32;2275 readonly value: u128;2276 } & Struct;2277 readonly isApprove: boolean;2278 readonly asApprove: {2279 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2280 readonly collectionId: u32;2281 readonly itemId: u32;2282 readonly amount: u128;2283 } & Struct;2284 readonly isTransferFrom: boolean;2285 readonly asTransferFrom: {2286 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2287 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2288 readonly collectionId: u32;2289 readonly itemId: u32;2290 readonly value: u128;2291 } & Struct;2292 readonly isSetCollectionLimits: boolean;2293 readonly asSetCollectionLimits: {2294 readonly collectionId: u32;2295 readonly newLimit: UpDataStructsCollectionLimits;2296 } & Struct;2297 readonly isSetCollectionPermissions: boolean;2298 readonly asSetCollectionPermissions: {2299 readonly collectionId: u32;2300 readonly newPermission: UpDataStructsCollectionPermissions;2301 } & Struct;2302 readonly isRepartition: boolean;2303 readonly asRepartition: {2304 readonly collectionId: u32;2305 readonly tokenId: u32;2306 readonly amount: u128;2307 } & Struct;2308 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';2309}23102311/** @name PalletUniqueError */2312export interface PalletUniqueError extends Enum {2313 readonly isCollectionDecimalPointLimitExceeded: boolean;2314 readonly isConfirmUnsetSponsorFail: boolean;2315 readonly isEmptyArgument: boolean;2316 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2317 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2318}23192320/** @name PalletUniqueRawEvent */2321export interface PalletUniqueRawEvent extends Enum {2322 readonly isCollectionSponsorRemoved: boolean;2323 readonly asCollectionSponsorRemoved: u32;2324 readonly isCollectionAdminAdded: boolean;2325 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2326 readonly isCollectionOwnedChanged: boolean;2327 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2328 readonly isCollectionSponsorSet: boolean;2329 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2330 readonly isSponsorshipConfirmed: boolean;2331 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2332 readonly isCollectionAdminRemoved: boolean;2333 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2334 readonly isAllowListAddressRemoved: boolean;2335 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2336 readonly isAllowListAddressAdded: boolean;2337 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2338 readonly isCollectionLimitSet: boolean;2339 readonly asCollectionLimitSet: u32;2340 readonly isCollectionPermissionSet: boolean;2341 readonly asCollectionPermissionSet: u32;2342 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2343}23442345/** @name PalletUniqueSchedulerCall */2346export interface PalletUniqueSchedulerCall extends Enum {2347 readonly isScheduleNamed: boolean;2348 readonly asScheduleNamed: {2349 readonly id: U8aFixed;2350 readonly when: u32;2351 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2352 readonly priority: Option<u8>;2353 readonly call: FrameSupportScheduleMaybeHashed;2354 } & Struct;2355 readonly isCancelNamed: boolean;2356 readonly asCancelNamed: {2357 readonly id: U8aFixed;2358 } & Struct;2359 readonly isScheduleNamedAfter: boolean;2360 readonly asScheduleNamedAfter: {2361 readonly id: U8aFixed;2362 readonly after: u32;2363 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2364 readonly priority: Option<u8>;2365 readonly call: FrameSupportScheduleMaybeHashed;2366 } & Struct;2367 readonly isChangeNamedPriority: boolean;2368 readonly asChangeNamedPriority: {2369 readonly id: U8aFixed;2370 readonly priority: u8;2371 } & Struct;2372 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter' | 'ChangeNamedPriority';2373}23742375/** @name PalletUniqueSchedulerError */2376export interface PalletUniqueSchedulerError extends Enum {2377 readonly isFailedToSchedule: boolean;2378 readonly isNotFound: boolean;2379 readonly isTargetBlockNumberInPast: boolean;2380 readonly isRescheduleNoChange: boolean;2381 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2382}23832384/** @name PalletUniqueSchedulerEvent */2385export interface PalletUniqueSchedulerEvent extends Enum {2386 readonly isScheduled: boolean;2387 readonly asScheduled: {2388 readonly when: u32;2389 readonly index: u32;2390 } & Struct;2391 readonly isCanceled: boolean;2392 readonly asCanceled: {2393 readonly when: u32;2394 readonly index: u32;2395 } & Struct;2396 readonly isPriorityChanged: boolean;2397 readonly asPriorityChanged: {2398 readonly when: u32;2399 readonly index: u32;2400 readonly priority: u8;2401 } & Struct;2402 readonly isDispatched: boolean;2403 readonly asDispatched: {2404 readonly task: ITuple<[u32, u32]>;2405 readonly id: Option<U8aFixed>;2406 readonly result: Result<Null, SpRuntimeDispatchError>;2407 } & Struct;2408 readonly isCallLookupFailed: boolean;2409 readonly asCallLookupFailed: {2410 readonly task: ITuple<[u32, u32]>;2411 readonly id: Option<U8aFixed>;2412 readonly error: FrameSupportScheduleLookupError;2413 } & Struct;2414 readonly type: 'Scheduled' | 'Canceled' | 'PriorityChanged' | 'Dispatched' | 'CallLookupFailed';2415}24162417/** @name PalletUniqueSchedulerScheduledV3 */2418export interface PalletUniqueSchedulerScheduledV3 extends Struct {2419 readonly maybeId: Option<U8aFixed>;2420 readonly priority: u8;2421 readonly call: FrameSupportScheduleMaybeHashed;2422 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2423 readonly origin: OpalRuntimeOriginCaller;2424}24252426/** @name PalletXcmCall */2427export interface PalletXcmCall extends Enum {2428 readonly isSend: boolean;2429 readonly asSend: {2430 readonly dest: XcmVersionedMultiLocation;2431 readonly message: XcmVersionedXcm;2432 } & Struct;2433 readonly isTeleportAssets: boolean;2434 readonly asTeleportAssets: {2435 readonly dest: XcmVersionedMultiLocation;2436 readonly beneficiary: XcmVersionedMultiLocation;2437 readonly assets: XcmVersionedMultiAssets;2438 readonly feeAssetItem: u32;2439 } & Struct;2440 readonly isReserveTransferAssets: boolean;2441 readonly asReserveTransferAssets: {2442 readonly dest: XcmVersionedMultiLocation;2443 readonly beneficiary: XcmVersionedMultiLocation;2444 readonly assets: XcmVersionedMultiAssets;2445 readonly feeAssetItem: u32;2446 } & Struct;2447 readonly isExecute: boolean;2448 readonly asExecute: {2449 readonly message: XcmVersionedXcm;2450 readonly maxWeight: Weight;2451 } & Struct;2452 readonly isForceXcmVersion: boolean;2453 readonly asForceXcmVersion: {2454 readonly location: XcmV1MultiLocation;2455 readonly xcmVersion: u32;2456 } & Struct;2457 readonly isForceDefaultXcmVersion: boolean;2458 readonly asForceDefaultXcmVersion: {2459 readonly maybeXcmVersion: Option<u32>;2460 } & Struct;2461 readonly isForceSubscribeVersionNotify: boolean;2462 readonly asForceSubscribeVersionNotify: {2463 readonly location: XcmVersionedMultiLocation;2464 } & Struct;2465 readonly isForceUnsubscribeVersionNotify: boolean;2466 readonly asForceUnsubscribeVersionNotify: {2467 readonly location: XcmVersionedMultiLocation;2468 } & Struct;2469 readonly isLimitedReserveTransferAssets: boolean;2470 readonly asLimitedReserveTransferAssets: {2471 readonly dest: XcmVersionedMultiLocation;2472 readonly beneficiary: XcmVersionedMultiLocation;2473 readonly assets: XcmVersionedMultiAssets;2474 readonly feeAssetItem: u32;2475 readonly weightLimit: XcmV2WeightLimit;2476 } & Struct;2477 readonly isLimitedTeleportAssets: boolean;2478 readonly asLimitedTeleportAssets: {2479 readonly dest: XcmVersionedMultiLocation;2480 readonly beneficiary: XcmVersionedMultiLocation;2481 readonly assets: XcmVersionedMultiAssets;2482 readonly feeAssetItem: u32;2483 readonly weightLimit: XcmV2WeightLimit;2484 } & Struct;2485 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2486}24872488/** @name PalletXcmError */2489export interface PalletXcmError extends Enum {2490 readonly isUnreachable: boolean;2491 readonly isSendFailure: boolean;2492 readonly isFiltered: boolean;2493 readonly isUnweighableMessage: boolean;2494 readonly isDestinationNotInvertible: boolean;2495 readonly isEmpty: boolean;2496 readonly isCannotReanchor: boolean;2497 readonly isTooManyAssets: boolean;2498 readonly isInvalidOrigin: boolean;2499 readonly isBadVersion: boolean;2500 readonly isBadLocation: boolean;2501 readonly isNoSubscription: boolean;2502 readonly isAlreadySubscribed: boolean;2503 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2504}25052506/** @name PalletXcmEvent */2507export interface PalletXcmEvent extends Enum {2508 readonly isAttempted: boolean;2509 readonly asAttempted: XcmV2TraitsOutcome;2510 readonly isSent: boolean;2511 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2512 readonly isUnexpectedResponse: boolean;2513 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2514 readonly isResponseReady: boolean;2515 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2516 readonly isNotified: boolean;2517 readonly asNotified: ITuple<[u64, u8, u8]>;2518 readonly isNotifyOverweight: boolean;2519 readonly asNotifyOverweight: ITuple<[u64, u8, u8, Weight, Weight]>;2520 readonly isNotifyDispatchError: boolean;2521 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2522 readonly isNotifyDecodeFailed: boolean;2523 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2524 readonly isInvalidResponder: boolean;2525 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2526 readonly isInvalidResponderVersion: boolean;2527 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2528 readonly isResponseTaken: boolean;2529 readonly asResponseTaken: u64;2530 readonly isAssetsTrapped: boolean;2531 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2532 readonly isVersionChangeNotified: boolean;2533 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2534 readonly isSupportedVersionChanged: boolean;2535 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2536 readonly isNotifyTargetSendFail: boolean;2537 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2538 readonly isNotifyTargetMigrationFail: boolean;2539 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2540 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2541}25422543/** @name PalletXcmOrigin */2544export interface PalletXcmOrigin extends Enum {2545 readonly isXcm: boolean;2546 readonly asXcm: XcmV1MultiLocation;2547 readonly isResponse: boolean;2548 readonly asResponse: XcmV1MultiLocation;2549 readonly type: 'Xcm' | 'Response';2550}25512552/** @name PhantomTypeUpDataStructs */2553export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}25542555/** @name PolkadotCorePrimitivesInboundDownwardMessage */2556export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2557 readonly sentAt: u32;2558 readonly msg: Bytes;2559}25602561/** @name PolkadotCorePrimitivesInboundHrmpMessage */2562export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2563 readonly sentAt: u32;2564 readonly data: Bytes;2565}25662567/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2568export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2569 readonly recipient: u32;2570 readonly data: Bytes;2571}25722573/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2574export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2575 readonly isConcatenatedVersionedXcm: boolean;2576 readonly isConcatenatedEncodedBlob: boolean;2577 readonly isSignals: boolean;2578 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2579}25802581/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2582export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2583 readonly maxCodeSize: u32;2584 readonly maxHeadDataSize: u32;2585 readonly maxUpwardQueueCount: u32;2586 readonly maxUpwardQueueSize: u32;2587 readonly maxUpwardMessageSize: u32;2588 readonly maxUpwardMessageNumPerCandidate: u32;2589 readonly hrmpMaxMessageNumPerCandidate: u32;2590 readonly validationUpgradeCooldown: u32;2591 readonly validationUpgradeDelay: u32;2592}25932594/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2595export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2596 readonly maxCapacity: u32;2597 readonly maxTotalSize: u32;2598 readonly maxMessageSize: u32;2599 readonly msgCount: u32;2600 readonly totalSize: u32;2601 readonly mqcHead: Option<H256>;2602}26032604/** @name PolkadotPrimitivesV2PersistedValidationData */2605export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2606 readonly parentHead: Bytes;2607 readonly relayParentNumber: u32;2608 readonly relayParentStorageRoot: H256;2609 readonly maxPovSize: u32;2610}26112612/** @name PolkadotPrimitivesV2UpgradeRestriction */2613export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2614 readonly isPresent: boolean;2615 readonly type: 'Present';2616}26172618/** @name RmrkTraitsBaseBaseInfo */2619export interface RmrkTraitsBaseBaseInfo extends Struct {2620 readonly issuer: AccountId32;2621 readonly baseType: Bytes;2622 readonly symbol: Bytes;2623}26242625/** @name RmrkTraitsCollectionCollectionInfo */2626export interface RmrkTraitsCollectionCollectionInfo extends Struct {2627 readonly issuer: AccountId32;2628 readonly metadata: Bytes;2629 readonly max: Option<u32>;2630 readonly symbol: Bytes;2631 readonly nftsCount: u32;2632}26332634/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2635export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2636 readonly isAccountId: boolean;2637 readonly asAccountId: AccountId32;2638 readonly isCollectionAndNftTuple: boolean;2639 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2640 readonly type: 'AccountId' | 'CollectionAndNftTuple';2641}26422643/** @name RmrkTraitsNftNftChild */2644export interface RmrkTraitsNftNftChild extends Struct {2645 readonly collectionId: u32;2646 readonly nftId: u32;2647}26482649/** @name RmrkTraitsNftNftInfo */2650export interface RmrkTraitsNftNftInfo extends Struct {2651 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2652 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2653 readonly metadata: Bytes;2654 readonly equipped: bool;2655 readonly pending: bool;2656}26572658/** @name RmrkTraitsNftRoyaltyInfo */2659export interface RmrkTraitsNftRoyaltyInfo extends Struct {2660 readonly recipient: AccountId32;2661 readonly amount: Permill;2662}26632664/** @name RmrkTraitsPartEquippableList */2665export interface RmrkTraitsPartEquippableList extends Enum {2666 readonly isAll: boolean;2667 readonly isEmpty: boolean;2668 readonly isCustom: boolean;2669 readonly asCustom: Vec<u32>;2670 readonly type: 'All' | 'Empty' | 'Custom';2671}26722673/** @name RmrkTraitsPartFixedPart */2674export interface RmrkTraitsPartFixedPart extends Struct {2675 readonly id: u32;2676 readonly z: u32;2677 readonly src: Bytes;2678}26792680/** @name RmrkTraitsPartPartType */2681export interface RmrkTraitsPartPartType extends Enum {2682 readonly isFixedPart: boolean;2683 readonly asFixedPart: RmrkTraitsPartFixedPart;2684 readonly isSlotPart: boolean;2685 readonly asSlotPart: RmrkTraitsPartSlotPart;2686 readonly type: 'FixedPart' | 'SlotPart';2687}26882689/** @name RmrkTraitsPartSlotPart */2690export interface RmrkTraitsPartSlotPart extends Struct {2691 readonly id: u32;2692 readonly equippable: RmrkTraitsPartEquippableList;2693 readonly src: Bytes;2694 readonly z: u32;2695}26962697/** @name RmrkTraitsPropertyPropertyInfo */2698export interface RmrkTraitsPropertyPropertyInfo extends Struct {2699 readonly key: Bytes;2700 readonly value: Bytes;2701}27022703/** @name RmrkTraitsResourceBasicResource */2704export interface RmrkTraitsResourceBasicResource extends Struct {2705 readonly src: Option<Bytes>;2706 readonly metadata: Option<Bytes>;2707 readonly license: Option<Bytes>;2708 readonly thumb: Option<Bytes>;2709}27102711/** @name RmrkTraitsResourceComposableResource */2712export interface RmrkTraitsResourceComposableResource extends Struct {2713 readonly parts: Vec<u32>;2714 readonly base: u32;2715 readonly src: Option<Bytes>;2716 readonly metadata: Option<Bytes>;2717 readonly license: Option<Bytes>;2718 readonly thumb: Option<Bytes>;2719}27202721/** @name RmrkTraitsResourceResourceInfo */2722export interface RmrkTraitsResourceResourceInfo extends Struct {2723 readonly id: u32;2724 readonly resource: RmrkTraitsResourceResourceTypes;2725 readonly pending: bool;2726 readonly pendingRemoval: bool;2727}27282729/** @name RmrkTraitsResourceResourceTypes */2730export interface RmrkTraitsResourceResourceTypes extends Enum {2731 readonly isBasic: boolean;2732 readonly asBasic: RmrkTraitsResourceBasicResource;2733 readonly isComposable: boolean;2734 readonly asComposable: RmrkTraitsResourceComposableResource;2735 readonly isSlot: boolean;2736 readonly asSlot: RmrkTraitsResourceSlotResource;2737 readonly type: 'Basic' | 'Composable' | 'Slot';2738}27392740/** @name RmrkTraitsResourceSlotResource */2741export interface RmrkTraitsResourceSlotResource extends Struct {2742 readonly base: u32;2743 readonly src: Option<Bytes>;2744 readonly metadata: Option<Bytes>;2745 readonly slot: u32;2746 readonly license: Option<Bytes>;2747 readonly thumb: Option<Bytes>;2748}27492750/** @name RmrkTraitsTheme */2751export interface RmrkTraitsTheme extends Struct {2752 readonly name: Bytes;2753 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2754 readonly inherit: bool;2755}27562757/** @name RmrkTraitsThemeThemeProperty */2758export interface RmrkTraitsThemeThemeProperty extends Struct {2759 readonly key: Bytes;2760 readonly value: Bytes;2761}27622763/** @name SpCoreEcdsaSignature */2764export interface SpCoreEcdsaSignature extends U8aFixed {}27652766/** @name SpCoreEd25519Signature */2767export interface SpCoreEd25519Signature extends U8aFixed {}27682769/** @name SpCoreSr25519Signature */2770export interface SpCoreSr25519Signature extends U8aFixed {}27712772/** @name SpCoreVoid */2773export interface SpCoreVoid extends Null {}27742775/** @name SpRuntimeArithmeticError */2776export interface SpRuntimeArithmeticError extends Enum {2777 readonly isUnderflow: boolean;2778 readonly isOverflow: boolean;2779 readonly isDivisionByZero: boolean;2780 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2781}27822783/** @name SpRuntimeDigest */2784export interface SpRuntimeDigest extends Struct {2785 readonly logs: Vec<SpRuntimeDigestDigestItem>;2786}27872788/** @name SpRuntimeDigestDigestItem */2789export interface SpRuntimeDigestDigestItem extends Enum {2790 readonly isOther: boolean;2791 readonly asOther: Bytes;2792 readonly isConsensus: boolean;2793 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2794 readonly isSeal: boolean;2795 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2796 readonly isPreRuntime: boolean;2797 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2798 readonly isRuntimeEnvironmentUpdated: boolean;2799 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2800}28012802/** @name SpRuntimeDispatchError */2803export interface SpRuntimeDispatchError extends Enum {2804 readonly isOther: boolean;2805 readonly isCannotLookup: boolean;2806 readonly isBadOrigin: boolean;2807 readonly isModule: boolean;2808 readonly asModule: SpRuntimeModuleError;2809 readonly isConsumerRemaining: boolean;2810 readonly isNoProviders: boolean;2811 readonly isTooManyConsumers: boolean;2812 readonly isToken: boolean;2813 readonly asToken: SpRuntimeTokenError;2814 readonly isArithmetic: boolean;2815 readonly asArithmetic: SpRuntimeArithmeticError;2816 readonly isTransactional: boolean;2817 readonly asTransactional: SpRuntimeTransactionalError;2818 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2819}28202821/** @name SpRuntimeModuleError */2822export interface SpRuntimeModuleError extends Struct {2823 readonly index: u8;2824 readonly error: U8aFixed;2825}28262827/** @name SpRuntimeMultiSignature */2828export interface SpRuntimeMultiSignature extends Enum {2829 readonly isEd25519: boolean;2830 readonly asEd25519: SpCoreEd25519Signature;2831 readonly isSr25519: boolean;2832 readonly asSr25519: SpCoreSr25519Signature;2833 readonly isEcdsa: boolean;2834 readonly asEcdsa: SpCoreEcdsaSignature;2835 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2836}28372838/** @name SpRuntimeTokenError */2839export interface SpRuntimeTokenError extends Enum {2840 readonly isNoFunds: boolean;2841 readonly isWouldDie: boolean;2842 readonly isBelowMinimum: boolean;2843 readonly isCannotCreate: boolean;2844 readonly isUnknownAsset: boolean;2845 readonly isFrozen: boolean;2846 readonly isUnsupported: boolean;2847 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2848}28492850/** @name SpRuntimeTransactionalError */2851export interface SpRuntimeTransactionalError extends Enum {2852 readonly isLimitReached: boolean;2853 readonly isNoLayer: boolean;2854 readonly type: 'LimitReached' | 'NoLayer';2855}28562857/** @name SpTrieStorageProof */2858export interface SpTrieStorageProof extends Struct {2859 readonly trieNodes: BTreeSet<Bytes>;2860}28612862/** @name SpVersionRuntimeVersion */2863export interface SpVersionRuntimeVersion extends Struct {2864 readonly specName: Text;2865 readonly implName: Text;2866 readonly authoringVersion: u32;2867 readonly specVersion: u32;2868 readonly implVersion: u32;2869 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2870 readonly transactionVersion: u32;2871 readonly stateVersion: u8;2872}28732874/** @name SpWeightsRuntimeDbWeight */2875export interface SpWeightsRuntimeDbWeight extends Struct {2876 readonly read: u64;2877 readonly write: u64;2878}28792880/** @name UpDataStructsAccessMode */2881export interface UpDataStructsAccessMode extends Enum {2882 readonly isNormal: boolean;2883 readonly isAllowList: boolean;2884 readonly type: 'Normal' | 'AllowList';2885}28862887/** @name UpDataStructsCollection */2888export interface UpDataStructsCollection extends Struct {2889 readonly owner: AccountId32;2890 readonly mode: UpDataStructsCollectionMode;2891 readonly name: Vec<u16>;2892 readonly description: Vec<u16>;2893 readonly tokenPrefix: Bytes;2894 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2895 readonly limits: UpDataStructsCollectionLimits;2896 readonly permissions: UpDataStructsCollectionPermissions;2897 readonly flags: U8aFixed;2898}28992900/** @name UpDataStructsCollectionLimits */2901export interface UpDataStructsCollectionLimits extends Struct {2902 readonly accountTokenOwnershipLimit: Option<u32>;2903 readonly sponsoredDataSize: Option<u32>;2904 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2905 readonly tokenLimit: Option<u32>;2906 readonly sponsorTransferTimeout: Option<u32>;2907 readonly sponsorApproveTimeout: Option<u32>;2908 readonly ownerCanTransfer: Option<bool>;2909 readonly ownerCanDestroy: Option<bool>;2910 readonly transfersEnabled: Option<bool>;2911}29122913/** @name UpDataStructsCollectionMode */2914export interface UpDataStructsCollectionMode extends Enum {2915 readonly isNft: boolean;2916 readonly isFungible: boolean;2917 readonly asFungible: u8;2918 readonly isReFungible: boolean;2919 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2920}29212922/** @name UpDataStructsCollectionPermissions */2923export interface UpDataStructsCollectionPermissions extends Struct {2924 readonly access: Option<UpDataStructsAccessMode>;2925 readonly mintMode: Option<bool>;2926 readonly nesting: Option<UpDataStructsNestingPermissions>;2927}29282929/** @name UpDataStructsCollectionStats */2930export interface UpDataStructsCollectionStats extends Struct {2931 readonly created: u32;2932 readonly destroyed: u32;2933 readonly alive: u32;2934}29352936/** @name UpDataStructsCreateCollectionData */2937export interface UpDataStructsCreateCollectionData extends Struct {2938 readonly mode: UpDataStructsCollectionMode;2939 readonly access: Option<UpDataStructsAccessMode>;2940 readonly name: Vec<u16>;2941 readonly description: Vec<u16>;2942 readonly tokenPrefix: Bytes;2943 readonly pendingSponsor: Option<AccountId32>;2944 readonly limits: Option<UpDataStructsCollectionLimits>;2945 readonly permissions: Option<UpDataStructsCollectionPermissions>;2946 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2947 readonly properties: Vec<UpDataStructsProperty>;2948}29492950/** @name UpDataStructsCreateFungibleData */2951export interface UpDataStructsCreateFungibleData extends Struct {2952 readonly value: u128;2953}29542955/** @name UpDataStructsCreateItemData */2956export interface UpDataStructsCreateItemData extends Enum {2957 readonly isNft: boolean;2958 readonly asNft: UpDataStructsCreateNftData;2959 readonly isFungible: boolean;2960 readonly asFungible: UpDataStructsCreateFungibleData;2961 readonly isReFungible: boolean;2962 readonly asReFungible: UpDataStructsCreateReFungibleData;2963 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2964}29652966/** @name UpDataStructsCreateItemExData */2967export interface UpDataStructsCreateItemExData extends Enum {2968 readonly isNft: boolean;2969 readonly asNft: Vec<UpDataStructsCreateNftExData>;2970 readonly isFungible: boolean;2971 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2972 readonly isRefungibleMultipleItems: boolean;2973 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2974 readonly isRefungibleMultipleOwners: boolean;2975 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2976 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2977}29782979/** @name UpDataStructsCreateNftData */2980export interface UpDataStructsCreateNftData extends Struct {2981 readonly properties: Vec<UpDataStructsProperty>;2982}29832984/** @name UpDataStructsCreateNftExData */2985export interface UpDataStructsCreateNftExData extends Struct {2986 readonly properties: Vec<UpDataStructsProperty>;2987 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2988}29892990/** @name UpDataStructsCreateReFungibleData */2991export interface UpDataStructsCreateReFungibleData extends Struct {2992 readonly pieces: u128;2993 readonly properties: Vec<UpDataStructsProperty>;2994}29952996/** @name UpDataStructsCreateRefungibleExMultipleOwners */2997export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2998 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2999 readonly properties: Vec<UpDataStructsProperty>;3000}30013002/** @name UpDataStructsCreateRefungibleExSingleOwner */3003export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3004 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3005 readonly pieces: u128;3006 readonly properties: Vec<UpDataStructsProperty>;3007}30083009/** @name UpDataStructsNestingPermissions */3010export interface UpDataStructsNestingPermissions extends Struct {3011 readonly tokenOwner: bool;3012 readonly collectionAdmin: bool;3013 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3014}30153016/** @name UpDataStructsOwnerRestrictedSet */3017export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}30183019/** @name UpDataStructsProperties */3020export interface UpDataStructsProperties extends Struct {3021 readonly map: UpDataStructsPropertiesMapBoundedVec;3022 readonly consumedSpace: u32;3023 readonly spaceLimit: u32;3024}30253026/** @name UpDataStructsPropertiesMapBoundedVec */3027export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30283029/** @name UpDataStructsPropertiesMapPropertyPermission */3030export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30313032/** @name UpDataStructsProperty */3033export interface UpDataStructsProperty extends Struct {3034 readonly key: Bytes;3035 readonly value: Bytes;3036}30373038/** @name UpDataStructsPropertyKeyPermission */3039export interface UpDataStructsPropertyKeyPermission extends Struct {3040 readonly key: Bytes;3041 readonly permission: UpDataStructsPropertyPermission;3042}30433044/** @name UpDataStructsPropertyPermission */3045export interface UpDataStructsPropertyPermission extends Struct {3046 readonly mutable: bool;3047 readonly collectionAdmin: bool;3048 readonly tokenOwner: bool;3049}30503051/** @name UpDataStructsPropertyScope */3052export interface UpDataStructsPropertyScope extends Enum {3053 readonly isNone: boolean;3054 readonly isRmrk: boolean;3055 readonly type: 'None' | 'Rmrk';3056}30573058/** @name UpDataStructsRpcCollection */3059export interface UpDataStructsRpcCollection extends Struct {3060 readonly owner: AccountId32;3061 readonly mode: UpDataStructsCollectionMode;3062 readonly name: Vec<u16>;3063 readonly description: Vec<u16>;3064 readonly tokenPrefix: Bytes;3065 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3066 readonly limits: UpDataStructsCollectionLimits;3067 readonly permissions: UpDataStructsCollectionPermissions;3068 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3069 readonly properties: Vec<UpDataStructsProperty>;3070 readonly readOnly: bool;3071 readonly flags: UpDataStructsRpcCollectionFlags;3072}30733074/** @name UpDataStructsRpcCollectionFlags */3075export interface UpDataStructsRpcCollectionFlags extends Struct {3076 readonly foreign: bool;3077 readonly erc721metadata: bool;3078}30793080/** @name UpDataStructsSponsoringRateLimit */3081export interface UpDataStructsSponsoringRateLimit extends Enum {3082 readonly isSponsoringDisabled: boolean;3083 readonly isBlocks: boolean;3084 readonly asBlocks: u32;3085 readonly type: 'SponsoringDisabled' | 'Blocks';3086}30873088/** @name UpDataStructsSponsorshipStateAccountId32 */3089export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3090 readonly isDisabled: boolean;3091 readonly isUnconfirmed: boolean;3092 readonly asUnconfirmed: AccountId32;3093 readonly isConfirmed: boolean;3094 readonly asConfirmed: AccountId32;3095 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3096}30973098/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3099export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3100 readonly isDisabled: boolean;3101 readonly isUnconfirmed: boolean;3102 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3103 readonly isConfirmed: boolean;3104 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3105 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3106}31073108/** @name UpDataStructsTokenChild */3109export interface UpDataStructsTokenChild extends Struct {3110 readonly token: u32;3111 readonly collection: u32;3112}31133114/** @name UpDataStructsTokenData */3115export interface UpDataStructsTokenData extends Struct {3116 readonly properties: Vec<UpDataStructsProperty>;3117 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3118 readonly pieces: u128;3119}31203121/** @name XcmDoubleEncoded */3122export interface XcmDoubleEncoded extends Struct {3123 readonly encoded: Bytes;3124}31253126/** @name XcmV0Junction */3127export interface XcmV0Junction extends Enum {3128 readonly isParent: boolean;3129 readonly isParachain: boolean;3130 readonly asParachain: Compact<u32>;3131 readonly isAccountId32: boolean;3132 readonly asAccountId32: {3133 readonly network: XcmV0JunctionNetworkId;3134 readonly id: U8aFixed;3135 } & Struct;3136 readonly isAccountIndex64: boolean;3137 readonly asAccountIndex64: {3138 readonly network: XcmV0JunctionNetworkId;3139 readonly index: Compact<u64>;3140 } & Struct;3141 readonly isAccountKey20: boolean;3142 readonly asAccountKey20: {3143 readonly network: XcmV0JunctionNetworkId;3144 readonly key: U8aFixed;3145 } & Struct;3146 readonly isPalletInstance: boolean;3147 readonly asPalletInstance: u8;3148 readonly isGeneralIndex: boolean;3149 readonly asGeneralIndex: Compact<u128>;3150 readonly isGeneralKey: boolean;3151 readonly asGeneralKey: Bytes;3152 readonly isOnlyChild: boolean;3153 readonly isPlurality: boolean;3154 readonly asPlurality: {3155 readonly id: XcmV0JunctionBodyId;3156 readonly part: XcmV0JunctionBodyPart;3157 } & Struct;3158 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3159}31603161/** @name XcmV0JunctionBodyId */3162export interface XcmV0JunctionBodyId extends Enum {3163 readonly isUnit: boolean;3164 readonly isNamed: boolean;3165 readonly asNamed: Bytes;3166 readonly isIndex: boolean;3167 readonly asIndex: Compact<u32>;3168 readonly isExecutive: boolean;3169 readonly isTechnical: boolean;3170 readonly isLegislative: boolean;3171 readonly isJudicial: boolean;3172 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3173}31743175/** @name XcmV0JunctionBodyPart */3176export interface XcmV0JunctionBodyPart extends Enum {3177 readonly isVoice: boolean;3178 readonly isMembers: boolean;3179 readonly asMembers: {3180 readonly count: Compact<u32>;3181 } & Struct;3182 readonly isFraction: boolean;3183 readonly asFraction: {3184 readonly nom: Compact<u32>;3185 readonly denom: Compact<u32>;3186 } & Struct;3187 readonly isAtLeastProportion: boolean;3188 readonly asAtLeastProportion: {3189 readonly nom: Compact<u32>;3190 readonly denom: Compact<u32>;3191 } & Struct;3192 readonly isMoreThanProportion: boolean;3193 readonly asMoreThanProportion: {3194 readonly nom: Compact<u32>;3195 readonly denom: Compact<u32>;3196 } & Struct;3197 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3198}31993200/** @name XcmV0JunctionNetworkId */3201export interface XcmV0JunctionNetworkId extends Enum {3202 readonly isAny: boolean;3203 readonly isNamed: boolean;3204 readonly asNamed: Bytes;3205 readonly isPolkadot: boolean;3206 readonly isKusama: boolean;3207 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3208}32093210/** @name XcmV0MultiAsset */3211export interface XcmV0MultiAsset extends Enum {3212 readonly isNone: boolean;3213 readonly isAll: boolean;3214 readonly isAllFungible: boolean;3215 readonly isAllNonFungible: boolean;3216 readonly isAllAbstractFungible: boolean;3217 readonly asAllAbstractFungible: {3218 readonly id: Bytes;3219 } & Struct;3220 readonly isAllAbstractNonFungible: boolean;3221 readonly asAllAbstractNonFungible: {3222 readonly class: Bytes;3223 } & Struct;3224 readonly isAllConcreteFungible: boolean;3225 readonly asAllConcreteFungible: {3226 readonly id: XcmV0MultiLocation;3227 } & Struct;3228 readonly isAllConcreteNonFungible: boolean;3229 readonly asAllConcreteNonFungible: {3230 readonly class: XcmV0MultiLocation;3231 } & Struct;3232 readonly isAbstractFungible: boolean;3233 readonly asAbstractFungible: {3234 readonly id: Bytes;3235 readonly amount: Compact<u128>;3236 } & Struct;3237 readonly isAbstractNonFungible: boolean;3238 readonly asAbstractNonFungible: {3239 readonly class: Bytes;3240 readonly instance: XcmV1MultiassetAssetInstance;3241 } & Struct;3242 readonly isConcreteFungible: boolean;3243 readonly asConcreteFungible: {3244 readonly id: XcmV0MultiLocation;3245 readonly amount: Compact<u128>;3246 } & Struct;3247 readonly isConcreteNonFungible: boolean;3248 readonly asConcreteNonFungible: {3249 readonly class: XcmV0MultiLocation;3250 readonly instance: XcmV1MultiassetAssetInstance;3251 } & Struct;3252 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3253}32543255/** @name XcmV0MultiLocation */3256export interface XcmV0MultiLocation extends Enum {3257 readonly isNull: boolean;3258 readonly isX1: boolean;3259 readonly asX1: XcmV0Junction;3260 readonly isX2: boolean;3261 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3262 readonly isX3: boolean;3263 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3264 readonly isX4: boolean;3265 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3266 readonly isX5: boolean;3267 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3268 readonly isX6: boolean;3269 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3270 readonly isX7: boolean;3271 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3272 readonly isX8: boolean;3273 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3274 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3275}32763277/** @name XcmV0Order */3278export interface XcmV0Order extends Enum {3279 readonly isNull: boolean;3280 readonly isDepositAsset: boolean;3281 readonly asDepositAsset: {3282 readonly assets: Vec<XcmV0MultiAsset>;3283 readonly dest: XcmV0MultiLocation;3284 } & Struct;3285 readonly isDepositReserveAsset: boolean;3286 readonly asDepositReserveAsset: {3287 readonly assets: Vec<XcmV0MultiAsset>;3288 readonly dest: XcmV0MultiLocation;3289 readonly effects: Vec<XcmV0Order>;3290 } & Struct;3291 readonly isExchangeAsset: boolean;3292 readonly asExchangeAsset: {3293 readonly give: Vec<XcmV0MultiAsset>;3294 readonly receive: Vec<XcmV0MultiAsset>;3295 } & Struct;3296 readonly isInitiateReserveWithdraw: boolean;3297 readonly asInitiateReserveWithdraw: {3298 readonly assets: Vec<XcmV0MultiAsset>;3299 readonly reserve: XcmV0MultiLocation;3300 readonly effects: Vec<XcmV0Order>;3301 } & Struct;3302 readonly isInitiateTeleport: boolean;3303 readonly asInitiateTeleport: {3304 readonly assets: Vec<XcmV0MultiAsset>;3305 readonly dest: XcmV0MultiLocation;3306 readonly effects: Vec<XcmV0Order>;3307 } & Struct;3308 readonly isQueryHolding: boolean;3309 readonly asQueryHolding: {3310 readonly queryId: Compact<u64>;3311 readonly dest: XcmV0MultiLocation;3312 readonly assets: Vec<XcmV0MultiAsset>;3313 } & Struct;3314 readonly isBuyExecution: boolean;3315 readonly asBuyExecution: {3316 readonly fees: XcmV0MultiAsset;3317 readonly weight: u64;3318 readonly debt: u64;3319 readonly haltOnError: bool;3320 readonly xcm: Vec<XcmV0Xcm>;3321 } & Struct;3322 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3323}33243325/** @name XcmV0OriginKind */3326export interface XcmV0OriginKind extends Enum {3327 readonly isNative: boolean;3328 readonly isSovereignAccount: boolean;3329 readonly isSuperuser: boolean;3330 readonly isXcm: boolean;3331 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3332}33333334/** @name XcmV0Response */3335export interface XcmV0Response extends Enum {3336 readonly isAssets: boolean;3337 readonly asAssets: Vec<XcmV0MultiAsset>;3338 readonly type: 'Assets';3339}33403341/** @name XcmV0Xcm */3342export interface XcmV0Xcm extends Enum {3343 readonly isWithdrawAsset: boolean;3344 readonly asWithdrawAsset: {3345 readonly assets: Vec<XcmV0MultiAsset>;3346 readonly effects: Vec<XcmV0Order>;3347 } & Struct;3348 readonly isReserveAssetDeposit: boolean;3349 readonly asReserveAssetDeposit: {3350 readonly assets: Vec<XcmV0MultiAsset>;3351 readonly effects: Vec<XcmV0Order>;3352 } & Struct;3353 readonly isTeleportAsset: boolean;3354 readonly asTeleportAsset: {3355 readonly assets: Vec<XcmV0MultiAsset>;3356 readonly effects: Vec<XcmV0Order>;3357 } & Struct;3358 readonly isQueryResponse: boolean;3359 readonly asQueryResponse: {3360 readonly queryId: Compact<u64>;3361 readonly response: XcmV0Response;3362 } & Struct;3363 readonly isTransferAsset: boolean;3364 readonly asTransferAsset: {3365 readonly assets: Vec<XcmV0MultiAsset>;3366 readonly dest: XcmV0MultiLocation;3367 } & Struct;3368 readonly isTransferReserveAsset: boolean;3369 readonly asTransferReserveAsset: {3370 readonly assets: Vec<XcmV0MultiAsset>;3371 readonly dest: XcmV0MultiLocation;3372 readonly effects: Vec<XcmV0Order>;3373 } & Struct;3374 readonly isTransact: boolean;3375 readonly asTransact: {3376 readonly originType: XcmV0OriginKind;3377 readonly requireWeightAtMost: u64;3378 readonly call: XcmDoubleEncoded;3379 } & Struct;3380 readonly isHrmpNewChannelOpenRequest: boolean;3381 readonly asHrmpNewChannelOpenRequest: {3382 readonly sender: Compact<u32>;3383 readonly maxMessageSize: Compact<u32>;3384 readonly maxCapacity: Compact<u32>;3385 } & Struct;3386 readonly isHrmpChannelAccepted: boolean;3387 readonly asHrmpChannelAccepted: {3388 readonly recipient: Compact<u32>;3389 } & Struct;3390 readonly isHrmpChannelClosing: boolean;3391 readonly asHrmpChannelClosing: {3392 readonly initiator: Compact<u32>;3393 readonly sender: Compact<u32>;3394 readonly recipient: Compact<u32>;3395 } & Struct;3396 readonly isRelayedFrom: boolean;3397 readonly asRelayedFrom: {3398 readonly who: XcmV0MultiLocation;3399 readonly message: XcmV0Xcm;3400 } & Struct;3401 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3402}34033404/** @name XcmV1Junction */3405export interface XcmV1Junction extends Enum {3406 readonly isParachain: boolean;3407 readonly asParachain: Compact<u32>;3408 readonly isAccountId32: boolean;3409 readonly asAccountId32: {3410 readonly network: XcmV0JunctionNetworkId;3411 readonly id: U8aFixed;3412 } & Struct;3413 readonly isAccountIndex64: boolean;3414 readonly asAccountIndex64: {3415 readonly network: XcmV0JunctionNetworkId;3416 readonly index: Compact<u64>;3417 } & Struct;3418 readonly isAccountKey20: boolean;3419 readonly asAccountKey20: {3420 readonly network: XcmV0JunctionNetworkId;3421 readonly key: U8aFixed;3422 } & Struct;3423 readonly isPalletInstance: boolean;3424 readonly asPalletInstance: u8;3425 readonly isGeneralIndex: boolean;3426 readonly asGeneralIndex: Compact<u128>;3427 readonly isGeneralKey: boolean;3428 readonly asGeneralKey: Bytes;3429 readonly isOnlyChild: boolean;3430 readonly isPlurality: boolean;3431 readonly asPlurality: {3432 readonly id: XcmV0JunctionBodyId;3433 readonly part: XcmV0JunctionBodyPart;3434 } & Struct;3435 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3436}34373438/** @name XcmV1MultiAsset */3439export interface XcmV1MultiAsset extends Struct {3440 readonly id: XcmV1MultiassetAssetId;3441 readonly fun: XcmV1MultiassetFungibility;3442}34433444/** @name XcmV1MultiassetAssetId */3445export interface XcmV1MultiassetAssetId extends Enum {3446 readonly isConcrete: boolean;3447 readonly asConcrete: XcmV1MultiLocation;3448 readonly isAbstract: boolean;3449 readonly asAbstract: Bytes;3450 readonly type: 'Concrete' | 'Abstract';3451}34523453/** @name XcmV1MultiassetAssetInstance */3454export interface XcmV1MultiassetAssetInstance extends Enum {3455 readonly isUndefined: boolean;3456 readonly isIndex: boolean;3457 readonly asIndex: Compact<u128>;3458 readonly isArray4: boolean;3459 readonly asArray4: U8aFixed;3460 readonly isArray8: boolean;3461 readonly asArray8: U8aFixed;3462 readonly isArray16: boolean;3463 readonly asArray16: U8aFixed;3464 readonly isArray32: boolean;3465 readonly asArray32: U8aFixed;3466 readonly isBlob: boolean;3467 readonly asBlob: Bytes;3468 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3469}34703471/** @name XcmV1MultiassetFungibility */3472export interface XcmV1MultiassetFungibility extends Enum {3473 readonly isFungible: boolean;3474 readonly asFungible: Compact<u128>;3475 readonly isNonFungible: boolean;3476 readonly asNonFungible: XcmV1MultiassetAssetInstance;3477 readonly type: 'Fungible' | 'NonFungible';3478}34793480/** @name XcmV1MultiassetMultiAssetFilter */3481export interface XcmV1MultiassetMultiAssetFilter extends Enum {3482 readonly isDefinite: boolean;3483 readonly asDefinite: XcmV1MultiassetMultiAssets;3484 readonly isWild: boolean;3485 readonly asWild: XcmV1MultiassetWildMultiAsset;3486 readonly type: 'Definite' | 'Wild';3487}34883489/** @name XcmV1MultiassetMultiAssets */3490export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34913492/** @name XcmV1MultiassetWildFungibility */3493export interface XcmV1MultiassetWildFungibility extends Enum {3494 readonly isFungible: boolean;3495 readonly isNonFungible: boolean;3496 readonly type: 'Fungible' | 'NonFungible';3497}34983499/** @name XcmV1MultiassetWildMultiAsset */3500export interface XcmV1MultiassetWildMultiAsset extends Enum {3501 readonly isAll: boolean;3502 readonly isAllOf: boolean;3503 readonly asAllOf: {3504 readonly id: XcmV1MultiassetAssetId;3505 readonly fun: XcmV1MultiassetWildFungibility;3506 } & Struct;3507 readonly type: 'All' | 'AllOf';3508}35093510/** @name XcmV1MultiLocation */3511export interface XcmV1MultiLocation extends Struct {3512 readonly parents: u8;3513 readonly interior: XcmV1MultilocationJunctions;3514}35153516/** @name XcmV1MultilocationJunctions */3517export interface XcmV1MultilocationJunctions extends Enum {3518 readonly isHere: boolean;3519 readonly isX1: boolean;3520 readonly asX1: XcmV1Junction;3521 readonly isX2: boolean;3522 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3523 readonly isX3: boolean;3524 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3525 readonly isX4: boolean;3526 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3527 readonly isX5: boolean;3528 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3529 readonly isX6: boolean;3530 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3531 readonly isX7: boolean;3532 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3533 readonly isX8: boolean;3534 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3535 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3536}35373538/** @name XcmV1Order */3539export interface XcmV1Order extends Enum {3540 readonly isNoop: boolean;3541 readonly isDepositAsset: boolean;3542 readonly asDepositAsset: {3543 readonly assets: XcmV1MultiassetMultiAssetFilter;3544 readonly maxAssets: u32;3545 readonly beneficiary: XcmV1MultiLocation;3546 } & Struct;3547 readonly isDepositReserveAsset: boolean;3548 readonly asDepositReserveAsset: {3549 readonly assets: XcmV1MultiassetMultiAssetFilter;3550 readonly maxAssets: u32;3551 readonly dest: XcmV1MultiLocation;3552 readonly effects: Vec<XcmV1Order>;3553 } & Struct;3554 readonly isExchangeAsset: boolean;3555 readonly asExchangeAsset: {3556 readonly give: XcmV1MultiassetMultiAssetFilter;3557 readonly receive: XcmV1MultiassetMultiAssets;3558 } & Struct;3559 readonly isInitiateReserveWithdraw: boolean;3560 readonly asInitiateReserveWithdraw: {3561 readonly assets: XcmV1MultiassetMultiAssetFilter;3562 readonly reserve: XcmV1MultiLocation;3563 readonly effects: Vec<XcmV1Order>;3564 } & Struct;3565 readonly isInitiateTeleport: boolean;3566 readonly asInitiateTeleport: {3567 readonly assets: XcmV1MultiassetMultiAssetFilter;3568 readonly dest: XcmV1MultiLocation;3569 readonly effects: Vec<XcmV1Order>;3570 } & Struct;3571 readonly isQueryHolding: boolean;3572 readonly asQueryHolding: {3573 readonly queryId: Compact<u64>;3574 readonly dest: XcmV1MultiLocation;3575 readonly assets: XcmV1MultiassetMultiAssetFilter;3576 } & Struct;3577 readonly isBuyExecution: boolean;3578 readonly asBuyExecution: {3579 readonly fees: XcmV1MultiAsset;3580 readonly weight: u64;3581 readonly debt: u64;3582 readonly haltOnError: bool;3583 readonly instructions: Vec<XcmV1Xcm>;3584 } & Struct;3585 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3586}35873588/** @name XcmV1Response */3589export interface XcmV1Response extends Enum {3590 readonly isAssets: boolean;3591 readonly asAssets: XcmV1MultiassetMultiAssets;3592 readonly isVersion: boolean;3593 readonly asVersion: u32;3594 readonly type: 'Assets' | 'Version';3595}35963597/** @name XcmV1Xcm */3598export interface XcmV1Xcm extends Enum {3599 readonly isWithdrawAsset: boolean;3600 readonly asWithdrawAsset: {3601 readonly assets: XcmV1MultiassetMultiAssets;3602 readonly effects: Vec<XcmV1Order>;3603 } & Struct;3604 readonly isReserveAssetDeposited: boolean;3605 readonly asReserveAssetDeposited: {3606 readonly assets: XcmV1MultiassetMultiAssets;3607 readonly effects: Vec<XcmV1Order>;3608 } & Struct;3609 readonly isReceiveTeleportedAsset: boolean;3610 readonly asReceiveTeleportedAsset: {3611 readonly assets: XcmV1MultiassetMultiAssets;3612 readonly effects: Vec<XcmV1Order>;3613 } & Struct;3614 readonly isQueryResponse: boolean;3615 readonly asQueryResponse: {3616 readonly queryId: Compact<u64>;3617 readonly response: XcmV1Response;3618 } & Struct;3619 readonly isTransferAsset: boolean;3620 readonly asTransferAsset: {3621 readonly assets: XcmV1MultiassetMultiAssets;3622 readonly beneficiary: XcmV1MultiLocation;3623 } & Struct;3624 readonly isTransferReserveAsset: boolean;3625 readonly asTransferReserveAsset: {3626 readonly assets: XcmV1MultiassetMultiAssets;3627 readonly dest: XcmV1MultiLocation;3628 readonly effects: Vec<XcmV1Order>;3629 } & Struct;3630 readonly isTransact: boolean;3631 readonly asTransact: {3632 readonly originType: XcmV0OriginKind;3633 readonly requireWeightAtMost: u64;3634 readonly call: XcmDoubleEncoded;3635 } & Struct;3636 readonly isHrmpNewChannelOpenRequest: boolean;3637 readonly asHrmpNewChannelOpenRequest: {3638 readonly sender: Compact<u32>;3639 readonly maxMessageSize: Compact<u32>;3640 readonly maxCapacity: Compact<u32>;3641 } & Struct;3642 readonly isHrmpChannelAccepted: boolean;3643 readonly asHrmpChannelAccepted: {3644 readonly recipient: Compact<u32>;3645 } & Struct;3646 readonly isHrmpChannelClosing: boolean;3647 readonly asHrmpChannelClosing: {3648 readonly initiator: Compact<u32>;3649 readonly sender: Compact<u32>;3650 readonly recipient: Compact<u32>;3651 } & Struct;3652 readonly isRelayedFrom: boolean;3653 readonly asRelayedFrom: {3654 readonly who: XcmV1MultilocationJunctions;3655 readonly message: XcmV1Xcm;3656 } & Struct;3657 readonly isSubscribeVersion: boolean;3658 readonly asSubscribeVersion: {3659 readonly queryId: Compact<u64>;3660 readonly maxResponseWeight: Compact<u64>;3661 } & Struct;3662 readonly isUnsubscribeVersion: boolean;3663 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3664}36653666/** @name XcmV2Instruction */3667export interface XcmV2Instruction extends Enum {3668 readonly isWithdrawAsset: boolean;3669 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3670 readonly isReserveAssetDeposited: boolean;3671 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3672 readonly isReceiveTeleportedAsset: boolean;3673 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3674 readonly isQueryResponse: boolean;3675 readonly asQueryResponse: {3676 readonly queryId: Compact<u64>;3677 readonly response: XcmV2Response;3678 readonly maxWeight: Compact<u64>;3679 } & Struct;3680 readonly isTransferAsset: boolean;3681 readonly asTransferAsset: {3682 readonly assets: XcmV1MultiassetMultiAssets;3683 readonly beneficiary: XcmV1MultiLocation;3684 } & Struct;3685 readonly isTransferReserveAsset: boolean;3686 readonly asTransferReserveAsset: {3687 readonly assets: XcmV1MultiassetMultiAssets;3688 readonly dest: XcmV1MultiLocation;3689 readonly xcm: XcmV2Xcm;3690 } & Struct;3691 readonly isTransact: boolean;3692 readonly asTransact: {3693 readonly originType: XcmV0OriginKind;3694 readonly requireWeightAtMost: Compact<u64>;3695 readonly call: XcmDoubleEncoded;3696 } & Struct;3697 readonly isHrmpNewChannelOpenRequest: boolean;3698 readonly asHrmpNewChannelOpenRequest: {3699 readonly sender: Compact<u32>;3700 readonly maxMessageSize: Compact<u32>;3701 readonly maxCapacity: Compact<u32>;3702 } & Struct;3703 readonly isHrmpChannelAccepted: boolean;3704 readonly asHrmpChannelAccepted: {3705 readonly recipient: Compact<u32>;3706 } & Struct;3707 readonly isHrmpChannelClosing: boolean;3708 readonly asHrmpChannelClosing: {3709 readonly initiator: Compact<u32>;3710 readonly sender: Compact<u32>;3711 readonly recipient: Compact<u32>;3712 } & Struct;3713 readonly isClearOrigin: boolean;3714 readonly isDescendOrigin: boolean;3715 readonly asDescendOrigin: XcmV1MultilocationJunctions;3716 readonly isReportError: boolean;3717 readonly asReportError: {3718 readonly queryId: Compact<u64>;3719 readonly dest: XcmV1MultiLocation;3720 readonly maxResponseWeight: Compact<u64>;3721 } & Struct;3722 readonly isDepositAsset: boolean;3723 readonly asDepositAsset: {3724 readonly assets: XcmV1MultiassetMultiAssetFilter;3725 readonly maxAssets: Compact<u32>;3726 readonly beneficiary: XcmV1MultiLocation;3727 } & Struct;3728 readonly isDepositReserveAsset: boolean;3729 readonly asDepositReserveAsset: {3730 readonly assets: XcmV1MultiassetMultiAssetFilter;3731 readonly maxAssets: Compact<u32>;3732 readonly dest: XcmV1MultiLocation;3733 readonly xcm: XcmV2Xcm;3734 } & Struct;3735 readonly isExchangeAsset: boolean;3736 readonly asExchangeAsset: {3737 readonly give: XcmV1MultiassetMultiAssetFilter;3738 readonly receive: XcmV1MultiassetMultiAssets;3739 } & Struct;3740 readonly isInitiateReserveWithdraw: boolean;3741 readonly asInitiateReserveWithdraw: {3742 readonly assets: XcmV1MultiassetMultiAssetFilter;3743 readonly reserve: XcmV1MultiLocation;3744 readonly xcm: XcmV2Xcm;3745 } & Struct;3746 readonly isInitiateTeleport: boolean;3747 readonly asInitiateTeleport: {3748 readonly assets: XcmV1MultiassetMultiAssetFilter;3749 readonly dest: XcmV1MultiLocation;3750 readonly xcm: XcmV2Xcm;3751 } & Struct;3752 readonly isQueryHolding: boolean;3753 readonly asQueryHolding: {3754 readonly queryId: Compact<u64>;3755 readonly dest: XcmV1MultiLocation;3756 readonly assets: XcmV1MultiassetMultiAssetFilter;3757 readonly maxResponseWeight: Compact<u64>;3758 } & Struct;3759 readonly isBuyExecution: boolean;3760 readonly asBuyExecution: {3761 readonly fees: XcmV1MultiAsset;3762 readonly weightLimit: XcmV2WeightLimit;3763 } & Struct;3764 readonly isRefundSurplus: boolean;3765 readonly isSetErrorHandler: boolean;3766 readonly asSetErrorHandler: XcmV2Xcm;3767 readonly isSetAppendix: boolean;3768 readonly asSetAppendix: XcmV2Xcm;3769 readonly isClearError: boolean;3770 readonly isClaimAsset: boolean;3771 readonly asClaimAsset: {3772 readonly assets: XcmV1MultiassetMultiAssets;3773 readonly ticket: XcmV1MultiLocation;3774 } & Struct;3775 readonly isTrap: boolean;3776 readonly asTrap: Compact<u64>;3777 readonly isSubscribeVersion: boolean;3778 readonly asSubscribeVersion: {3779 readonly queryId: Compact<u64>;3780 readonly maxResponseWeight: Compact<u64>;3781 } & Struct;3782 readonly isUnsubscribeVersion: boolean;3783 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';3784}37853786/** @name XcmV2Response */3787export interface XcmV2Response extends Enum {3788 readonly isNull: boolean;3789 readonly isAssets: boolean;3790 readonly asAssets: XcmV1MultiassetMultiAssets;3791 readonly isExecutionResult: boolean;3792 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3793 readonly isVersion: boolean;3794 readonly asVersion: u32;3795 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3796}37973798/** @name XcmV2TraitsError */3799export interface XcmV2TraitsError extends Enum {3800 readonly isOverflow: boolean;3801 readonly isUnimplemented: boolean;3802 readonly isUntrustedReserveLocation: boolean;3803 readonly isUntrustedTeleportLocation: boolean;3804 readonly isMultiLocationFull: boolean;3805 readonly isMultiLocationNotInvertible: boolean;3806 readonly isBadOrigin: boolean;3807 readonly isInvalidLocation: boolean;3808 readonly isAssetNotFound: boolean;3809 readonly isFailedToTransactAsset: boolean;3810 readonly isNotWithdrawable: boolean;3811 readonly isLocationCannotHold: boolean;3812 readonly isExceedsMaxMessageSize: boolean;3813 readonly isDestinationUnsupported: boolean;3814 readonly isTransport: boolean;3815 readonly isUnroutable: boolean;3816 readonly isUnknownClaim: boolean;3817 readonly isFailedToDecode: boolean;3818 readonly isMaxWeightInvalid: boolean;3819 readonly isNotHoldingFees: boolean;3820 readonly isTooExpensive: boolean;3821 readonly isTrap: boolean;3822 readonly asTrap: u64;3823 readonly isUnhandledXcmVersion: boolean;3824 readonly isWeightLimitReached: boolean;3825 readonly asWeightLimitReached: u64;3826 readonly isBarrier: boolean;3827 readonly isWeightNotComputable: boolean;3828 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';3829}38303831/** @name XcmV2TraitsOutcome */3832export interface XcmV2TraitsOutcome extends Enum {3833 readonly isComplete: boolean;3834 readonly asComplete: u64;3835 readonly isIncomplete: boolean;3836 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3837 readonly isError: boolean;3838 readonly asError: XcmV2TraitsError;3839 readonly type: 'Complete' | 'Incomplete' | 'Error';3840}38413842/** @name XcmV2WeightLimit */3843export interface XcmV2WeightLimit extends Enum {3844 readonly isUnlimited: boolean;3845 readonly isLimited: boolean;3846 readonly asLimited: Compact<u64>;3847 readonly type: 'Unlimited' | 'Limited';3848}38493850/** @name XcmV2Xcm */3851export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}38523853/** @name XcmVersionedMultiAsset */3854export interface XcmVersionedMultiAsset extends Enum {3855 readonly isV0: boolean;3856 readonly asV0: XcmV0MultiAsset;3857 readonly isV1: boolean;3858 readonly asV1: XcmV1MultiAsset;3859 readonly type: 'V0' | 'V1';3860}38613862/** @name XcmVersionedMultiAssets */3863export interface XcmVersionedMultiAssets extends Enum {3864 readonly isV0: boolean;3865 readonly asV0: Vec<XcmV0MultiAsset>;3866 readonly isV1: boolean;3867 readonly asV1: XcmV1MultiassetMultiAssets;3868 readonly type: 'V0' | 'V1';3869}38703871/** @name XcmVersionedMultiLocation */3872export interface XcmVersionedMultiLocation extends Enum {3873 readonly isV0: boolean;3874 readonly asV0: XcmV0MultiLocation;3875 readonly isV1: boolean;3876 readonly asV1: XcmV1MultiLocation;3877 readonly type: 'V0' | 'V1';3878}38793880/** @name XcmVersionedXcm */3881export interface XcmVersionedXcm extends Enum {3882 readonly isV0: boolean;3883 readonly asV0: XcmV0Xcm;3884 readonly isV1: boolean;3885 readonly asV1: XcmV1Xcm;3886 readonly isV2: boolean;3887 readonly asV2: XcmV2Xcm;3888 readonly type: 'V0' | 'V1' | 'V2';3889}38903891export type PHANTOM_DEFAULT = 'default';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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1371,20 +1371,26 @@
/** @name PalletEvmEvent (111) */
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 EthereumLog (112) */
@@ -1394,14 +1400,19 @@
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (116) */
+ /** @name PalletEthereumEvent (114) */
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';
}
- /** @name EvmCoreErrorExitReason (117) */
+ /** @name EvmCoreErrorExitReason (115) */
interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -1414,7 +1425,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (118) */
+ /** @name EvmCoreErrorExitSucceed (116) */
interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -1422,7 +1433,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (119) */
+ /** @name EvmCoreErrorExitError (117) */
interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -1443,13 +1454,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (122) */
+ /** @name EvmCoreErrorExitRevert (120) */
interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (123) */
+ /** @name EvmCoreErrorExitFatal (121) */
interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -1460,7 +1471,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name PalletEvmContractHelpersEvent (124) */
+ /** @name PalletEvmContractHelpersEvent (122) */
interface PalletEvmContractHelpersEvent extends Enum {
readonly isContractSponsorSet: boolean;
readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;
@@ -1471,21 +1482,21 @@
readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';
}
- /** @name PalletMaintenanceEvent (125) */
+ /** @name PalletMaintenanceEvent (123) */
interface PalletMaintenanceEvent extends Enum {
readonly isMaintenanceEnabled: boolean;
readonly isMaintenanceDisabled: boolean;
readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';
}
- /** @name PalletTestUtilsEvent (126) */
+ /** @name PalletTestUtilsEvent (124) */
interface PalletTestUtilsEvent extends Enum {
readonly isValueIsSet: boolean;
readonly isShouldRollback: boolean;
readonly type: 'ValueIsSet' | 'ShouldRollback';
}
- /** @name FrameSystemPhase (127) */
+ /** @name FrameSystemPhase (125) */
interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -1494,13 +1505,13 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (129) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (127) */
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemCall (130) */
+ /** @name FrameSystemCall (128) */
interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
@@ -1542,21 +1553,21 @@
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name FrameSystemLimitsBlockWeights (135) */
+ /** @name FrameSystemLimitsBlockWeights (133) */
interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: Weight;
readonly maxBlock: Weight;
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (136) */
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (134) */
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (137) */
+ /** @name FrameSystemLimitsWeightsPerClass (135) */
interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: Weight;
readonly maxExtrinsic: Option<Weight>;
@@ -1564,25 +1575,25 @@
readonly reserved: Option<Weight>;
}
- /** @name FrameSystemLimitsBlockLength (139) */
+ /** @name FrameSystemLimitsBlockLength (137) */
interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportDispatchPerDispatchClassU32;
}
- /** @name FrameSupportDispatchPerDispatchClassU32 (140) */
+ /** @name FrameSupportDispatchPerDispatchClassU32 (138) */
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name SpWeightsRuntimeDbWeight (141) */
+ /** @name SpWeightsRuntimeDbWeight (139) */
interface SpWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (142) */
+ /** @name SpVersionRuntimeVersion (140) */
interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -1594,7 +1605,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (147) */
+ /** @name FrameSystemError (145) */
interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -1605,7 +1616,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name PolkadotPrimitivesV2PersistedValidationData (148) */
+ /** @name PolkadotPrimitivesV2PersistedValidationData (146) */
interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
@@ -1613,18 +1624,18 @@
readonly maxPovSize: u32;
}
- /** @name PolkadotPrimitivesV2UpgradeRestriction (151) */
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (149) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
- /** @name SpTrieStorageProof (152) */
+ /** @name SpTrieStorageProof (150) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (154) */
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (152) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
@@ -1632,7 +1643,7 @@
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (157) */
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (155) */
interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -1642,7 +1653,7 @@
readonly mqcHead: Option<H256>;
}
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (158) */
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (156) */
interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1655,13 +1666,13 @@
readonly validationUpgradeDelay: u32;
}
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (164) */
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (162) */
interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemCall (165) */
+ /** @name CumulusPalletParachainSystemCall (163) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -1682,7 +1693,7 @@
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
}
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (166) */
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (164) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -1690,19 +1701,19 @@
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (168) */
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (166) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (171) */
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (169) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemError (174) */
+ /** @name CumulusPalletParachainSystemError (172) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -1715,14 +1726,14 @@
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
- /** @name PalletBalancesBalanceLock (176) */
+ /** @name PalletBalancesBalanceLock (174) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (177) */
+ /** @name PalletBalancesReasons (175) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -1730,20 +1741,20 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (180) */
+ /** @name PalletBalancesReserveData (178) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesReleases (182) */
+ /** @name PalletBalancesReleases (180) */
interface PalletBalancesReleases extends Enum {
readonly isV100: boolean;
readonly isV200: boolean;
readonly type: 'V100' | 'V200';
}
- /** @name PalletBalancesCall (183) */
+ /** @name PalletBalancesCall (181) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1780,7 +1791,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (186) */
+ /** @name PalletBalancesError (184) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -1793,7 +1804,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (188) */
+ /** @name PalletTimestampCall (186) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1802,14 +1813,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (190) */
+ /** @name PalletTransactionPaymentReleases (188) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (191) */
+ /** @name PalletTreasuryProposal (189) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1817,7 +1828,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (194) */
+ /** @name PalletTreasuryCall (192) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -1844,10 +1855,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (197) */
+ /** @name FrameSupportPalletId (195) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (198) */
+ /** @name PalletTreasuryError (196) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -1857,7 +1868,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (199) */
+ /** @name PalletSudoCall (197) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -1880,7 +1891,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (201) */
+ /** @name OrmlVestingModuleCall (199) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -1900,7 +1911,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (203) */
+ /** @name OrmlXtokensModuleCall (201) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1947,7 +1958,7 @@
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
- /** @name XcmVersionedMultiAsset (204) */
+ /** @name XcmVersionedMultiAsset (202) */
interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
@@ -1956,7 +1967,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name OrmlTokensModuleCall (207) */
+ /** @name OrmlTokensModuleCall (205) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1993,7 +2004,7 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name CumulusPalletXcmpQueueCall (208) */
+ /** @name CumulusPalletXcmpQueueCall (206) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2029,7 +2040,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (209) */
+ /** @name PalletXcmCall (207) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2091,7 +2102,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (210) */
+ /** @name XcmVersionedXcm (208) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -2102,7 +2113,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (211) */
+ /** @name XcmV0Xcm (209) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2165,7 +2176,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (213) */
+ /** @name XcmV0Order (211) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -2213,14 +2224,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (215) */
+ /** @name XcmV0Response (213) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (216) */
+ /** @name XcmV1Xcm (214) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2289,7 +2300,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (218) */
+ /** @name XcmV1Order (216) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2339,7 +2350,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (220) */
+ /** @name XcmV1Response (218) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2348,10 +2359,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (234) */
+ /** @name CumulusPalletXcmCall (232) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (235) */
+ /** @name CumulusPalletDmpQueueCall (233) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2361,7 +2372,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (236) */
+ /** @name PalletInflationCall (234) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2370,7 +2381,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (237) */
+ /** @name PalletUniqueCall (235) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2528,7 +2539,7 @@
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';
}
- /** @name UpDataStructsCollectionMode (242) */
+ /** @name UpDataStructsCollectionMode (240) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2537,7 +2548,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (243) */
+ /** @name UpDataStructsCreateCollectionData (241) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2551,14 +2562,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (245) */
+ /** @name UpDataStructsAccessMode (243) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (247) */
+ /** @name UpDataStructsCollectionLimits (245) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2571,7 +2582,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (249) */
+ /** @name UpDataStructsSponsoringRateLimit (247) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2579,43 +2590,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (252) */
+ /** @name UpDataStructsCollectionPermissions (250) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (254) */
+ /** @name UpDataStructsNestingPermissions (252) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (256) */
+ /** @name UpDataStructsOwnerRestrictedSet (254) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (261) */
+ /** @name UpDataStructsPropertyKeyPermission (259) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (262) */
+ /** @name UpDataStructsPropertyPermission (260) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (265) */
+ /** @name UpDataStructsProperty (263) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (268) */
+ /** @name UpDataStructsCreateItemData (266) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -2626,23 +2637,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (269) */
+ /** @name UpDataStructsCreateNftData (267) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (270) */
+ /** @name UpDataStructsCreateFungibleData (268) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (271) */
+ /** @name UpDataStructsCreateReFungibleData (269) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (274) */
+ /** @name UpDataStructsCreateItemExData (272) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -2655,26 +2666,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (276) */
+ /** @name UpDataStructsCreateNftExData (274) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (283) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (281) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (285) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (283) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletUniqueSchedulerCall (286) */
+ /** @name PalletUniqueSchedulerCall (284) */
interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
@@ -2704,7 +2715,7 @@
readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter' | 'ChangeNamedPriority';
}
- /** @name FrameSupportScheduleMaybeHashed (289) */
+ /** @name FrameSupportScheduleMaybeHashed (287) */
interface FrameSupportScheduleMaybeHashed extends Enum {
readonly isValue: boolean;
readonly asValue: Call;
@@ -2713,7 +2724,7 @@
readonly type: 'Value' | 'Hash';
}
- /** @name PalletConfigurationCall (290) */
+ /** @name PalletConfigurationCall (288) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -2726,13 +2737,13 @@
readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';
}
- /** @name PalletTemplateTransactionPaymentCall (292) */
+ /** @name PalletTemplateTransactionPaymentCall (290) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (293) */
+ /** @name PalletStructureCall (291) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (294) */
+ /** @name PalletRmrkCoreCall (292) */
interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2838,7 +2849,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (300) */
+ /** @name RmrkTraitsResourceResourceTypes (298) */
interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -2849,7 +2860,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (302) */
+ /** @name RmrkTraitsResourceBasicResource (300) */
interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -2857,7 +2868,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (304) */
+ /** @name RmrkTraitsResourceComposableResource (302) */
interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -2867,7 +2878,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (305) */
+ /** @name RmrkTraitsResourceSlotResource (303) */
interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -2877,7 +2888,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (308) */
+ /** @name PalletRmrkEquipCall (306) */
interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -2899,7 +2910,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (311) */
+ /** @name RmrkTraitsPartPartType (309) */
interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -2908,14 +2919,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (313) */
+ /** @name RmrkTraitsPartFixedPart (311) */
interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (314) */
+ /** @name RmrkTraitsPartSlotPart (312) */
interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -2923,7 +2934,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (315) */
+ /** @name RmrkTraitsPartEquippableList (313) */
interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -2932,20 +2943,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (317) */
+ /** @name RmrkTraitsTheme (315) */
interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (319) */
+ /** @name RmrkTraitsThemeThemeProperty (317) */
interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletAppPromotionCall (321) */
+ /** @name PalletAppPromotionCall (319) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -2979,7 +2990,7 @@
readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
}
- /** @name PalletForeignAssetsModuleCall (322) */
+ /** @name PalletForeignAssetsModuleCall (320) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -2996,7 +3007,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (323) */
+ /** @name PalletEvmCall (321) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3708,7 +3719,11 @@
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 FpRpcTransactionStatus (453) */
tests/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/);