difftreelog
merge develop into test/playground-migration
in: master
114 files changed
.maintain/frame-weight-template.hbsdiffbeforeafterboth--- a/.maintain/frame-weight-template.hbs
+++ b/.maintain/frame-weight-template.hbs
@@ -47,22 +47,22 @@
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
- ({{underscore benchmark.base_weight}} as Weight)
+ Weight::from_ref_time({{underscore benchmark.base_weight}} as u64)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
- .saturating_add(({{underscore cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight))
+ .saturating_add(Weight::from_ref_time({{underscore cw.slope}} as u64).saturating_mul({{cw.name}} as u64))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
- .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as Weight))
+ .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as u64))
{{/if}}
{{#each benchmark.component_reads as |cr|}}
- .saturating_add(T::DbWeight::get().reads(({{cr.slope}} as Weight).saturating_mul({{cr.name}} as Weight)))
+ .saturating_add(T::DbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64)))
{{/each}}
{{#if (ne benchmark.base_writes "0")}}
- .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as Weight))
+ .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as u64))
{{/if}}
{{#each benchmark.component_writes as |cw|}}
- .saturating_add(T::DbWeight::get().writes(({{cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight)))
+ .saturating_add(T::DbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64)))
{{/each}}
}
{{/each}}
@@ -79,22 +79,22 @@
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
- ({{underscore benchmark.base_weight}} as Weight)
+ Weight::from_ref_time({{underscore benchmark.base_weight}} as u64)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
- .saturating_add(({{underscore cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight))
+ .saturating_add(Weight::from_ref_time({{underscore cw.slope}} as u64).saturating_mul({{cw.name}} as u64))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
- .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}} as Weight))
+ .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}} as u64))
{{/if}}
{{#each benchmark.component_reads as |cr|}}
- .saturating_add(RocksDbWeight::get().reads(({{cr.slope}} as Weight).saturating_mul({{cr.name}} as Weight)))
+ .saturating_add(RocksDbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64)))
{{/each}}
{{#if (ne benchmark.base_writes "0")}}
- .saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}} as Weight))
+ .saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}} as u64))
{{/if}}
{{#each benchmark.component_writes as |cw|}}
- .saturating_add(RocksDbWeight::get().writes(({{cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight)))
+ .saturating_add(RocksDbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64)))
{{/each}}
}
{{/each}}
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -75,9 +75,9 @@
[[package]]
name = "aho-corasick"
-version = "0.7.18"
+version = "0.7.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
+checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e"
dependencies = [
"memchr",
]
@@ -90,9 +90,9 @@
[[package]]
name = "android_system_properties"
-version = "0.1.4"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e"
+checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
dependencies = [
"libc",
]
@@ -108,9 +108,9 @@
[[package]]
name = "anyhow"
-version = "1.0.61"
+version = "1.0.65"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8"
+checksum = "98161a4e3e2184da77bb14f02184cdd111e83bbbcc9979dfee3c44b9a85f5602"
[[package]]
name = "app-promotion-rpc"
@@ -118,7 +118,7 @@
dependencies = [
"pallet-common",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-core",
"sp-runtime",
@@ -211,9 +211,9 @@
[[package]]
name = "async-global-executor"
-version = "2.2.0"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5262ed948da60dd8956c6c5aca4d4163593dddb7b32d73267c93dab7b2e98940"
+checksum = "0da5b41ee986eed3f524c380e6d64965aea573882a8907682ad100f7859305ca"
dependencies = [
"async-channel",
"async-executor",
@@ -221,16 +221,16 @@
"async-lock",
"blocking",
"futures-lite",
- "num_cpus",
"once_cell",
]
[[package]]
name = "async-io"
-version = "1.7.0"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5e18f61464ae81cde0a23e713ae8fd299580c54d697a35820cfd0625b8b0e07"
+checksum = "83e21f3a490c72b3b0cf44962180e60045de2925d8dff97918f7ee43c8f637c7"
dependencies = [
+ "autocfg",
"concurrent-queue",
"futures-lite",
"libc",
@@ -255,11 +255,12 @@
[[package]]
name = "async-process"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf2c06e30a24e8c78a3987d07f0930edf76ef35e027e7bdb063fccafdad1f60c"
+checksum = "02111fd8655a613c25069ea89fc8d9bb89331fa77486eb3bc059ee757cfa481c"
dependencies = [
"async-io",
+ "autocfg",
"blocking",
"cfg-if 1.0.0",
"event-listener",
@@ -443,18 +444,20 @@
[[package]]
name = "beefy-gadget"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
+ "async-trait",
"beefy-primitives",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"hex",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-chain-spec",
"sc-client-api",
+ "sc-consensus",
"sc-finality-grandpa",
"sc-keystore",
"sc-network",
@@ -477,14 +480,14 @@
[[package]]
name = "beefy-gadget-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"beefy-gadget",
"beefy-primitives",
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-rpc",
"sc-utils",
@@ -497,7 +500,7 @@
[[package]]
name = "beefy-merkle-tree"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"beefy-primitives",
"sp-api",
@@ -506,9 +509,9 @@
[[package]]
name = "beefy-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-api",
"sp-application-crypto",
@@ -587,7 +590,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388"
dependencies = [
- "digest 0.10.3",
+ "digest 0.10.5",
]
[[package]]
@@ -633,7 +636,7 @@
"cc",
"cfg-if 1.0.0",
"constant_time_eq",
- "digest 0.10.3",
+ "digest 0.10.5",
]
[[package]]
@@ -660,9 +663,9 @@
[[package]]
name = "block-buffer"
-version = "0.10.2"
+version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324"
+checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e"
dependencies = [
"generic-array 0.14.6",
]
@@ -751,9 +754,9 @@
[[package]]
name = "bumpalo"
-version = "3.10.0"
+version = "3.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3"
+checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d"
[[package]]
name = "byte-slice-cast"
@@ -822,7 +825,7 @@
dependencies = [
"camino",
"cargo-platform",
- "semver 1.0.13",
+ "semver 1.0.14",
"serde",
"serde_json",
]
@@ -846,6 +849,15 @@
]
[[package]]
+name = "cfg-expr"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db"
+dependencies = [
+ "smallvec",
+]
+
+[[package]]
name = "cfg-if"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -936,9 +948,9 @@
[[package]]
name = "clang-sys"
-version = "1.3.3"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a050e2153c5be08febd6734e29298e844fdb0fa21aeddd63b4eb7baa106c69b"
+checksum = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3"
dependencies = [
"glob",
"libc",
@@ -947,9 +959,9 @@
[[package]]
name = "clap"
-version = "3.2.17"
+version = "3.2.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29e724a68d9319343bb3328c9cc2dfde263f4b3142ee1059a9980580171c954b"
+checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750"
dependencies = [
"atty",
"bitflags",
@@ -964,9 +976,9 @@
[[package]]
name = "clap_derive"
-version = "3.2.17"
+version = "3.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13547f7012c01ab4a0e8f8967730ada8f9fdf419e8b6c792788f39cf4e46eefa"
+checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65"
dependencies = [
"heck",
"proc-macro-error",
@@ -1007,9 +1019,9 @@
[[package]]
name = "comfy-table"
-version = "6.0.0"
+version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "121d8a5b0346092c18a4b2fd6f620d7a06f0eb7ac0a45860939a0884bc579c56"
+checksum = "85914173c2f558d61613bfbbf1911f14e630895087a7ed2fafc0f5319e1536e7"
dependencies = [
"strum",
"strum_macros",
@@ -1079,9 +1091,9 @@
[[package]]
name = "cpufeatures"
-version = "0.2.2"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b"
+checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"
dependencies = [
"libc",
]
@@ -1214,15 +1226,14 @@
[[package]]
name = "crossbeam-epoch"
-version = "0.9.10"
+version = "0.9.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "045ebe27666471bb549370b4b0b3e51b07f56325befa4284db65fc89c02511b1"
+checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348"
dependencies = [
"autocfg",
"cfg-if 1.0.0",
"crossbeam-utils",
"memoffset",
- "once_cell",
"scopeguard",
]
@@ -1238,12 +1249,11 @@
[[package]]
name = "crossbeam-utils"
-version = "0.8.11"
+version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac"
dependencies = [
"cfg-if 1.0.0",
- "once_cell",
]
[[package]]
@@ -1259,7 +1269,7 @@
checksum = "03c6a1d5fa1de37e071642dfa44ec552ca5b299adb128fab16138e24b548fd21"
dependencies = [
"generic-array 0.14.6",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
"subtle",
"zeroize",
]
@@ -1327,10 +1337,10 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"clap",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-chain-spec",
"sc-cli",
"sc-service",
@@ -1342,14 +1352,14 @@
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -1366,13 +1376,13 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
"cumulus-primitives-core",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-consensus",
"sc-consensus-aura",
@@ -1395,13 +1405,13 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
"dyn-clone",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"sc-client-api",
"sc-consensus",
@@ -1416,14 +1426,14 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
"derive_more",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"polkadot-node-primitives",
"polkadot-parachain",
@@ -1441,13 +1451,13 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-overseer",
@@ -1465,7 +1475,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-client-cli",
"cumulus-client-collator",
@@ -1493,13 +1503,13 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"frame-executive",
"frame-support",
"frame-system",
"pallet-aura",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-application-crypto",
@@ -1511,13 +1521,13 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-io",
"sp-runtime",
@@ -1529,8 +1539,9 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
+ "bytes",
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
"cumulus-primitives-parachain-inherent",
@@ -1540,7 +1551,7 @@
"impl-trait-for-tuples",
"log",
"pallet-balances",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"scale-info",
"serde",
@@ -1559,7 +1570,7 @@
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -1570,12 +1581,12 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-io",
@@ -1587,13 +1598,13 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rand_chacha 0.3.1",
"scale-info",
"sp-runtime",
@@ -1605,10 +1616,10 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"frame-support",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-core-primitives",
"polkadot-parachain",
"polkadot-primitives",
@@ -1621,13 +1632,13 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
"cumulus-test-relay-sproof-builder",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"scale-info",
"sp-api",
@@ -1644,11 +1655,11 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"sp-inherents",
"sp-std",
"sp-timestamp",
@@ -1657,11 +1668,12 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
"frame-support",
- "parity-scale-codec 3.1.5",
+ "log",
+ "parity-scale-codec 3.2.1",
"polkadot-core-primitives",
"polkadot-parachain",
"polkadot-primitives",
@@ -1676,14 +1688,13 @@
[[package]]
name = "cumulus-relay-chain-inprocess-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
- "parking_lot 0.12.1",
"polkadot-cli",
"polkadot-client",
"polkadot-service",
@@ -1706,14 +1717,14 @@
[[package]]
name = "cumulus-relay-chain-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"derive_more",
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee-core",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"polkadot-overseer",
"polkadot-service",
@@ -1729,16 +1740,16 @@
[[package]]
name = "cumulus-relay-chain-rpc-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"async-trait",
"backoff",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"jsonrpsee",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"polkadot-service",
"sc-client-api",
@@ -1756,10 +1767,10 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"sp-runtime",
"sp-state-machine",
@@ -1800,7 +1811,7 @@
dependencies = [
"byteorder",
"digest 0.9.0",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
"subtle",
"zeroize",
]
@@ -1884,11 +1895,11 @@
[[package]]
name = "digest"
-version = "0.10.3"
+version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506"
+checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c"
dependencies = [
- "block-buffer 0.10.2",
+ "block-buffer 0.10.3",
"crypto-common",
"subtle",
]
@@ -2019,10 +2030,24 @@
]
[[package]]
+name = "ed25519-zebra"
+version = "3.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "403ef3e961ab98f0ba902771d29f842058578bb1ce7e3c59dad5a6a93e784c69"
+dependencies = [
+ "curve25519-dalek 3.2.0",
+ "hex",
+ "rand_core 0.6.4",
+ "sha2 0.9.9",
+ "thiserror",
+ "zeroize",
+]
+
+[[package]]
name = "either"
-version = "1.7.0"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be"
+checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
[[package]]
name = "elliptic-curve"
@@ -2036,7 +2061,7 @@
"ff",
"generic-array 0.14.6",
"group",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
"sec1",
"subtle",
"zeroize",
@@ -2087,9 +2112,9 @@
[[package]]
name = "env_logger"
-version = "0.9.0"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
+checksum = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272"
dependencies = [
"atty",
"humantime",
@@ -2150,12 +2175,12 @@
"ethereum-types",
"hash-db",
"hash256-std-hasher",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rlp",
"rlp-derive",
"scale-info",
"serde",
- "sha3 0.10.2",
+ "sha3 0.10.5",
"triehash",
]
@@ -2184,7 +2209,7 @@
[[package]]
name = "evm"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.27#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.29#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
"auto_impl",
"environmental",
@@ -2193,12 +2218,12 @@
"evm-gasometer",
"evm-runtime",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"primitive-types",
"rlp",
"scale-info",
"serde",
- "sha3 0.10.2",
+ "sha3 0.10.5",
]
[[package]]
@@ -2208,6 +2233,7 @@
"ethereum",
"evm-coder-procedural",
"evm-core",
+ "frame-support",
"hex",
"hex-literal",
"impl-trait-for-tuples",
@@ -2223,16 +2249,16 @@
"hex",
"proc-macro2",
"quote",
- "sha3 0.10.2",
+ "sha3 0.10.5",
"syn",
]
[[package]]
name = "evm-core"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.27#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.29#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"primitive-types",
"scale-info",
"serde",
@@ -2241,7 +2267,7 @@
[[package]]
name = "evm-gasometer"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.27#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.29#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
"environmental",
"evm-core",
@@ -2252,13 +2278,13 @@
[[package]]
name = "evm-runtime"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.27#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.29#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
"auto_impl",
"environmental",
"evm-core",
"primitive-types",
- "sha3 0.10.2",
+ "sha3 0.10.5",
]
[[package]]
@@ -2267,7 +2293,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
]
[[package]]
@@ -2344,7 +2370,7 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"async-trait",
"fc-db",
@@ -2363,12 +2389,12 @@
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"fp-storage",
"kvdb-rocksdb",
"parity-db",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-client-db",
"sp-core",
@@ -2379,12 +2405,12 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"fc-db",
"fp-consensus",
"fp-rpc",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"log",
"sc-client-api",
@@ -2396,7 +2422,7 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2405,19 +2431,20 @@
"fc-rpc-core",
"fp-rpc",
"fp-storage",
- "futures 0.3.23",
+ "futures 0.3.24",
"hex",
"jsonrpsee",
"libsecp256k1",
"log",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"prometheus",
"rand 0.8.5",
"rlp",
"rustc-hex",
"sc-client-api",
"sc-network",
+ "sc-network-common",
"sc-rpc",
"sc-service",
"sc-transaction-pool",
@@ -2425,6 +2452,7 @@
"sp-api",
"sp-block-builder",
"sp-blockchain",
+ "sp-consensus",
"sp-core",
"sp-io",
"sp-runtime",
@@ -2436,7 +2464,7 @@
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2462,7 +2490,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "131655483be284720a17d74ff97592b8e76576dc25563148601df2d7c9080924"
dependencies = [
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
"subtle",
]
@@ -2495,11 +2523,11 @@
checksum = "b22349c6a11563a202d95772a68e0fcf56119e74ea8a2a19cf2301460fcd0df5"
dependencies = [
"either",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"log",
"num-traits",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"scale-info",
]
@@ -2559,28 +2587,27 @@
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
]
[[package]]
name = "form_urlencoded"
-version = "1.0.1"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
+checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8"
dependencies = [
- "matches",
"percent-encoding",
]
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"ethereum",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-core",
"sp-runtime",
"sp-std",
@@ -2589,12 +2616,12 @@
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"evm",
"frame-support",
"impl-trait-for-tuples",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"serde",
"sp-core",
"sp-std",
@@ -2603,7 +2630,7 @@
[[package]]
name = "fp-evm-mapping"
version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"frame-support",
"sp-core",
@@ -2612,12 +2639,12 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"ethereum",
"ethereum-types",
"fp-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-api",
"sp-core",
@@ -2629,11 +2656,11 @@
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"ethereum",
"frame-support",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"scale-info",
"serde",
@@ -2645,26 +2672,27 @@
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
]
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
"linregress",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"paste",
"scale-info",
"serde",
"sp-api",
"sp-application-crypto",
+ "sp-core",
"sp-io",
"sp-runtime",
"sp-runtime-interface",
@@ -2675,7 +2703,7 @@
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"Inflector",
"chrono",
@@ -2694,7 +2722,7 @@
"linked-hash-map",
"log",
"memory-db",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rand 0.8.5",
"rand_pcg 0.3.1",
"sc-block-builder",
@@ -2726,7 +2754,7 @@
[[package]]
name = "frame-election-provider-solution-type"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2737,12 +2765,12 @@
[[package]]
name = "frame-election-provider-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-election-provider-solution-type",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-arithmetic",
"sp-npos-elections",
@@ -2753,11 +2781,12 @@
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "frame-try-runtime",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -2773,7 +2802,7 @@
checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d"
dependencies = [
"cfg-if 1.0.0",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
]
@@ -2781,7 +2810,7 @@
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"bitflags",
"frame-metadata",
@@ -2790,11 +2819,12 @@
"k256",
"log",
"once_cell",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"paste",
"scale-info",
"serde",
"smallvec",
+ "sp-api",
"sp-arithmetic",
"sp-core",
"sp-core-hashing-proc-macro",
@@ -2811,10 +2841,12 @@
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"Inflector",
+ "cfg-expr",
"frame-support-procedural-tools",
+ "itertools",
"proc-macro2",
"quote",
"syn",
@@ -2823,7 +2855,7 @@
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate",
@@ -2835,7 +2867,7 @@
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro2",
"quote",
@@ -2845,11 +2877,11 @@
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -2862,12 +2894,12 @@
[[package]]
name = "frame-system-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-runtime",
@@ -2877,18 +2909,19 @@
[[package]]
name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
]
[[package]]
name = "frame-try-runtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-runtime",
"sp-std",
@@ -2896,9 +2929,9 @@
[[package]]
name = "fs-err"
-version = "2.7.0"
+version = "2.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5bd79fa345a495d3ae89fb7165fec01c0e72f41821d642dda363a1e97975652e"
+checksum = "64db3e262960f0662f43a6366788d5f10f7f244b8f7d7d987f560baf5ded5c50"
[[package]]
name = "fs-swap"
@@ -2948,9 +2981,9 @@
[[package]]
name = "futures"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab30e97ab6aacfe635fad58f22c2bb06c8b685f7421eb1e064a729e2a5f481fa"
+checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c"
dependencies = [
"futures-channel",
"futures-core",
@@ -2963,9 +2996,9 @@
[[package]]
name = "futures-channel"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2bfc52cbddcfd745bf1740338492bb0bd83d76c67b445f91c5fb29fae29ecaa1"
+checksum = "30bdd20c28fadd505d0fd6712cdfcb0d4b5648baf45faef7f852afb2399bb050"
dependencies = [
"futures-core",
"futures-sink",
@@ -2973,15 +3006,15 @@
[[package]]
name = "futures-core"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2acedae88d38235936c3922476b10fced7b2b68136f5e3c03c2d5be348a1115"
+checksum = "4e5aa3de05362c3fb88de6531e6296e85cde7739cccad4b9dfeeb7f6ebce56bf"
[[package]]
name = "futures-executor"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d11aa21b5b587a64682c0094c2bdd4df0076c5324961a40cc3abd7f37930528"
+checksum = "9ff63c23854bee61b6e9cd331d523909f238fc7636290b96826e9cfa5faa00ab"
dependencies = [
"futures-core",
"futures-task",
@@ -2991,9 +3024,9 @@
[[package]]
name = "futures-io"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93a66fc6d035a26a3ae255a6d2bca35eda63ae4c5512bef54449113f7a1228e5"
+checksum = "bbf4d2a7a308fd4578637c0b17c7e1c7ba127b8f6ba00b29f717e9655d85eb68"
[[package]]
name = "futures-lite"
@@ -3012,9 +3045,9 @@
[[package]]
name = "futures-macro"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0db9cce532b0eae2ccf2766ab246f114b56b9cf6d445e00c2549fbc100ca045d"
+checksum = "42cd15d1c7456c04dbdf7e88bcd69760d74f3a798d6444e16974b505b0e62f17"
dependencies = [
"proc-macro2",
"quote",
@@ -3034,15 +3067,15 @@
[[package]]
name = "futures-sink"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca0bae1fe9752cf7fd9b0064c674ae63f97b37bc714d745cbde0afb7ec4e6765"
+checksum = "21b20ba5a92e727ba30e72834706623d94ac93a725410b6a6b6fbc1b07f7ba56"
[[package]]
name = "futures-task"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "842fc63b931f4056a24d59de13fb1272134ce261816e063e634ad0c15cdc5306"
+checksum = "a6508c467c73851293f390476d4491cf4d227dbabcd4170f3bb6044959b294f1"
[[package]]
name = "futures-timer"
@@ -3052,9 +3085,9 @@
[[package]]
name = "futures-util"
-version = "0.3.23"
+version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0828a5471e340229c11c77ca80017937ce3c58cb788a17e5f1c2d5c485a9577"
+checksum = "44fb6cb1be61cc1d2e43b262516aafcf63b241cffdb1d3fa115f91d9c7b09c90"
dependencies = [
"futures 0.1.31",
"futures-channel",
@@ -3190,15 +3223,15 @@
checksum = "bc5ac374b108929de78460075f3dc439fa66df9d8fc77e8f12caa5165fcf0c89"
dependencies = [
"ff",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
"subtle",
]
[[package]]
name = "h2"
-version = "0.3.13"
+version = "0.3.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57"
+checksum = "5ca32592cf21ac7ccab1825cd87f6c9b3d9022c44d086172ed0966bec8af30be"
dependencies = [
"bytes",
"fnv",
@@ -3215,9 +3248,9 @@
[[package]]
name = "handlebars"
-version = "4.3.3"
+version = "4.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "360d9740069b2f6cbb63ce2dbaa71a20d3185350cbb990d7bebeb9318415eb17"
+checksum = "56b224eaa4987c03c30b251de7ef0c15a6a59f34222905850dbc3026dfb24d5f"
dependencies = [
"log",
"pest",
@@ -3359,9 +3392,9 @@
[[package]]
name = "httparse"
-version = "1.7.1"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c"
+checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
[[package]]
name = "httpdate"
@@ -3416,9 +3449,9 @@
[[package]]
name = "iana-time-zone"
-version = "0.1.45"
+version = "0.1.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef5528d9c2817db4e10cc78f8d4c8228906e5854f389ff6b076cee3572a09d35"
+checksum = "fd911b35d940d2bd0bea0f9100068e5b97b51a1cbe13d13382f132e0365257a0"
dependencies = [
"android_system_properties",
"core-foundation-sys",
@@ -3439,6 +3472,16 @@
]
[[package]]
+name = "idna"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"
+dependencies = [
+ "unicode-bidi",
+ "unicode-normalization",
+]
+
+[[package]]
name = "if-addrs"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3457,7 +3500,7 @@
"async-io",
"core-foundation",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"if-addrs",
"ipnet",
"log",
@@ -3472,7 +3515,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
]
[[package]]
@@ -3547,9 +3590,9 @@
[[package]]
name = "io-lifetimes"
-version = "0.7.2"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24c3f4eff5495aee4c0399d7b6a0dc2b6e81be84242ffbfcf253ebacccc1d0cb"
+checksum = "1ea37f355c05dde75b84bba2d767906ad522e97cd9e2eef2be7a4ab7fb442c06"
[[package]]
name = "ip_network"
@@ -3577,9 +3620,9 @@
[[package]]
name = "itertools"
-version = "0.10.3"
+version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
dependencies = [
"either",
]
@@ -3598,26 +3641,27 @@
[[package]]
name = "jobserver"
-version = "0.1.24"
+version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa"
+checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b"
dependencies = [
"libc",
]
[[package]]
name = "js-sys"
-version = "0.3.59"
+version = "0.3.60"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2"
+checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47"
dependencies = [
"wasm-bindgen",
]
[[package]]
name = "jsonrpsee"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8bd0d559d5e679b1ab2f869b486a11182923863b1b3ee8b421763cdd707b783a"
dependencies = [
"jsonrpsee-core",
"jsonrpsee-http-server",
@@ -3630,8 +3674,9 @@
[[package]]
name = "jsonrpsee-client-transport"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8752740ecd374bcbf8b69f3e80b0327942df76f793f8d4e60d3355650c31fb74"
dependencies = [
"futures-util",
"http",
@@ -3650,8 +3695,9 @@
[[package]]
name = "jsonrpsee-core"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3dc3e9cf2ba50b7b1d7d76a667619f82846caa39e8e8daa8a4962d74acaddca"
dependencies = [
"anyhow",
"arrayvec 0.7.2",
@@ -3662,6 +3708,7 @@
"futures-timer",
"futures-util",
"globset",
+ "http",
"hyper",
"jsonrpsee-types",
"lazy_static",
@@ -3674,13 +3721,15 @@
"thiserror",
"tokio",
"tracing",
+ "tracing-futures",
"unicase",
]
[[package]]
name = "jsonrpsee-http-server"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03802f0373a38c2420c70b5144742d800b509e2937edc4afb116434f07120117"
dependencies = [
"futures-channel",
"futures-util",
@@ -3691,12 +3740,14 @@
"serde_json",
"tokio",
"tracing",
+ "tracing-futures",
]
[[package]]
name = "jsonrpsee-proc-macros"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd67957d4280217247588ac86614ead007b301ca2fa9f19c19f880a536f029e3"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -3706,8 +3757,9 @@
[[package]]
name = "jsonrpsee-types"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e290bba767401b646812f608c099b922d8142603c9e73a50fb192d3ac86f4a0d"
dependencies = [
"anyhow",
"beef",
@@ -3719,9 +3771,11 @@
[[package]]
name = "jsonrpsee-ws-client"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ee5feddd5188e62ac08fcf0e56478138e581509d4730f3f7be9b57dd402a4ff"
dependencies = [
+ "http",
"jsonrpsee-client-transport",
"jsonrpsee-core",
"jsonrpsee-types",
@@ -3729,11 +3783,13 @@
[[package]]
name = "jsonrpsee-ws-server"
-version = "0.14.0"
-source = "git+https://github.com/uniquenetwork/jsonrpsee?branch=unique-v0.14.0-fix-unknown-fields#01bb8a7ec51880c79206bdcac4f09d54e58b2da8"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d488ba74fb369e5ab68926feb75a483458b88e768d44319f37e4ecad283c7325"
dependencies = [
"futures-channel",
"futures-util",
+ "http",
"jsonrpsee-core",
"jsonrpsee-types",
"serde_json",
@@ -3742,6 +3798,7 @@
"tokio-stream",
"tokio-util",
"tracing",
+ "tracing-futures",
]
[[package]]
@@ -3764,8 +3821,8 @@
[[package]]
name = "kusama-runtime"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-primitives",
"bitvec 1.0.1",
@@ -3822,7 +3879,7 @@
"pallet-vesting",
"pallet-xcm",
"pallet-xcm-benchmarks",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"polkadot-runtime-common",
"polkadot-runtime-parachains",
@@ -3857,8 +3914,8 @@
[[package]]
name = "kusama-runtime-constants"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -3929,9 +3986,9 @@
[[package]]
name = "libc"
-version = "0.2.131"
+version = "0.2.134"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04c3b4822ccebfa39c02fc03d1534441b22ead323fa0f48bb7ddd8e6ba076a40"
+checksum = "329c933548736bc49fd575ee68c89e8be4d260064184389a5b77517cddd99ffb"
[[package]]
name = "libloading"
@@ -3966,7 +4023,7 @@
checksum = "81327106887e42d004fbdab1fef93675be2e2e07c1b95fce45e2cc813485611d"
dependencies = [
"bytes",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"getrandom 0.2.7",
"instant",
@@ -4010,7 +4067,7 @@
checksum = "4decc51f3573653a9f4ecacb31b1b922dd20c25a6322bb15318ec04287ec46f9"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"instant",
"libp2p-core",
@@ -4033,7 +4090,7 @@
"ed25519-dalek",
"either",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"instant",
"lazy_static",
@@ -4049,7 +4106,7 @@
"rand 0.8.5",
"ring",
"rw-stream-sink",
- "sha2 0.10.2",
+ "sha2 0.10.6",
"smallvec",
"thiserror",
"unsigned-varint",
@@ -4064,7 +4121,7 @@
checksum = "d0183dc2a3da1fbbf85e5b6cf51217f55b14f5daea0c455a9536eef646bfec71"
dependencies = [
"flate2",
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p-core",
]
@@ -4075,7 +4132,7 @@
checksum = "6cbf54723250fa5d521383be789bf60efdabe6bacfb443f87da261019a49b4b5"
dependencies = [
"async-std-resolver",
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p-core",
"log",
"parking_lot 0.12.1",
@@ -4091,7 +4148,7 @@
dependencies = [
"cuckoofilter",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p-core",
"libp2p-swarm",
"log",
@@ -4112,7 +4169,7 @@
"byteorder",
"bytes",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"hex_fmt",
"instant",
"libp2p-core",
@@ -4123,7 +4180,7 @@
"prost-build",
"rand 0.7.3",
"regex",
- "sha2 0.10.2",
+ "sha2 0.10.6",
"smallvec",
"unsigned-varint",
"wasm-timer",
@@ -4136,7 +4193,7 @@
checksum = "c50b585518f8efd06f93ac2f976bd672e17cdac794644b3117edd078e96bda06"
dependencies = [
"asynchronous-codec",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"libp2p-core",
"libp2p-swarm",
@@ -4161,7 +4218,7 @@
"bytes",
"either",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"instant",
"libp2p-core",
@@ -4170,7 +4227,7 @@
"prost",
"prost-build",
"rand 0.7.3",
- "sha2 0.10.2",
+ "sha2 0.10.6",
"smallvec",
"thiserror",
"uint",
@@ -4187,7 +4244,7 @@
"async-io",
"data-encoding",
"dns-parser",
- "futures 0.3.23",
+ "futures 0.3.24",
"if-watch",
"lazy_static",
"libp2p-core",
@@ -4223,7 +4280,7 @@
dependencies = [
"asynchronous-codec",
"bytes",
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p-core",
"log",
"nohash-hasher",
@@ -4241,14 +4298,14 @@
dependencies = [
"bytes",
"curve25519-dalek 3.2.0",
- "futures 0.3.23",
+ "futures 0.3.24",
"lazy_static",
"libp2p-core",
"log",
"prost",
"prost-build",
"rand 0.8.5",
- "sha2 0.10.2",
+ "sha2 0.10.6",
"snow",
"static_assertions",
"x25519-dalek",
@@ -4261,7 +4318,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "100a6934ae1dbf8a693a4e7dd1d730fd60b774dafc45688ed63b554497c6c925"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"instant",
"libp2p-core",
@@ -4279,7 +4336,7 @@
dependencies = [
"asynchronous-codec",
"bytes",
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p-core",
"log",
"prost",
@@ -4294,7 +4351,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"pin-project",
"rand 0.7.3",
@@ -4311,7 +4368,7 @@
"asynchronous-codec",
"bytes",
"either",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"instant",
"libp2p-core",
@@ -4336,7 +4393,7 @@
dependencies = [
"asynchronous-codec",
"bimap",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"instant",
"libp2p-core",
@@ -4345,7 +4402,7 @@
"prost",
"prost-build",
"rand 0.8.5",
- "sha2 0.10.2",
+ "sha2 0.10.6",
"thiserror",
"unsigned-varint",
"void",
@@ -4359,7 +4416,7 @@
dependencies = [
"async-trait",
"bytes",
- "futures 0.3.23",
+ "futures 0.3.24",
"instant",
"libp2p-core",
"libp2p-swarm",
@@ -4377,7 +4434,7 @@
dependencies = [
"either",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"instant",
"libp2p-core",
@@ -4406,7 +4463,7 @@
checksum = "8a6771dc19aa3c65d6af9a8c65222bfc8fcd446630ddca487acd161fa6096f3b"
dependencies = [
"async-io",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"if-watch",
"ipnet",
@@ -4423,7 +4480,7 @@
checksum = "d125e3e5f0d58f3c6ac21815b20cf4b6a88b8db9dc26368ea821838f4161fd4d"
dependencies = [
"async-std",
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p-core",
"log",
]
@@ -4434,7 +4491,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec894790eec3c1608f8d1a8a0bdf0dbeb79ed4de2dce964222011c2896dfa05a"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"js-sys",
"libp2p-core",
"parity-send-wrapper",
@@ -4449,7 +4506,7 @@
checksum = "9808e57e81be76ff841c106b4c5974fb4d41a233a7bdd2afbf1687ac6def3818"
dependencies = [
"either",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-rustls",
"libp2p-core",
"log",
@@ -4467,7 +4524,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6dea686217a06072033dc025631932810e2f6ad784e4fafa42e27d311c7a81c"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p-core",
"parking_lot 0.12.1",
"thiserror",
@@ -4587,9 +4644,9 @@
[[package]]
name = "lock_api"
-version = "0.4.7"
+version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
+checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
dependencies = [
"autocfg",
"scopeguard",
@@ -4617,18 +4674,18 @@
[[package]]
name = "lru"
-version = "0.6.6"
+version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ea2d928b485416e8908cff2d97d621db22b27f7b3b6729e438bcf42c671ba91"
+checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a"
dependencies = [
- "hashbrown 0.11.2",
+ "hashbrown 0.12.3",
]
[[package]]
name = "lru"
-version = "0.7.8"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a"
+checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909"
dependencies = [
"hashbrown 0.12.3",
]
@@ -4644,9 +4701,9 @@
[[package]]
name = "lz4"
-version = "1.23.3"
+version = "1.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4edcb94251b1c375c459e5abe9fb0168c1c826c3370172684844f8f3f8d1a885"
+checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1"
dependencies = [
"libc",
"lz4-sys",
@@ -4654,9 +4711,9 @@
[[package]]
name = "lz4-sys"
-version = "1.9.3"
+version = "1.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7be8908e2ed6f31c02db8a9fa962f03e36c53fbfde437363eae3306b85d7e17"
+checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900"
dependencies = [
"cc",
"libc",
@@ -4718,15 +4775,6 @@
[[package]]
name = "memmap2"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "memmap2"
version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95af15f345b17af2efc8ead6080fb8bc376f8cec1b35277b935637595fe77498"
@@ -4756,11 +4804,11 @@
[[package]]
name = "memory-lru"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "beeb98b3d1ed2c0054bd81b5ba949a0243c3ccad751d45ea898fa8059fa2860a"
+checksum = "ce95ae042940bad7e312857b929ee3d11b8f799a80cb7b9c7ec5125516906395"
dependencies = [
- "lru 0.6.6",
+ "lru 0.8.1",
]
[[package]]
@@ -4787,7 +4835,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"rand 0.8.5",
"thrift",
]
@@ -4800,9 +4848,9 @@
[[package]]
name = "miniz_oxide"
-version = "0.5.3"
+version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc"
+checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34"
dependencies = [
"adler",
]
@@ -4864,10 +4912,10 @@
"blake2s_simd",
"blake3",
"core2",
- "digest 0.10.3",
+ "digest 0.10.5",
"multihash-derive",
- "sha2 0.10.2",
- "sha3 0.10.2",
+ "sha2 0.10.6",
+ "sha3 0.10.5",
"unsigned-varint",
]
@@ -4898,7 +4946,7 @@
checksum = "363a84be6453a70e63513660f4894ef815daf88e3356bffcda9ca27d810ce83b"
dependencies = [
"bytes",
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"pin-project",
"smallvec",
@@ -4994,7 +5042,7 @@
checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6"
dependencies = [
"bytes",
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"netlink-packet-core",
"netlink-sys",
@@ -5010,7 +5058,7 @@
dependencies = [
"async-io",
"bytes",
- "futures 0.3.23",
+ "futures 0.3.24",
"libc",
"log",
]
@@ -5163,13 +5211,13 @@
[[package]]
name = "once_cell"
-version = "1.13.0"
+version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1"
+checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1"
[[package]]
name = "opal-runtime"
-version = "0.9.27"
+version = "0.9.29"
dependencies = [
"app-promotion-rpc",
"cumulus-pallet-aura-ext",
@@ -5231,7 +5279,7 @@
"pallet-unique-scheduler",
"pallet-xcm",
"parachain-info",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"rmrk-rpc",
"scale-info",
@@ -5281,11 +5329,11 @@
[[package]]
name = "orchestra"
version = "0.0.1"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
"dyn-clonable",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"orchestra-proc-macro",
"pin-project",
@@ -5297,7 +5345,7 @@
[[package]]
name = "orchestra-proc-macro"
version = "0.0.1"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"expander 0.0.6",
"itertools",
@@ -5320,12 +5368,12 @@
[[package]]
name = "orml-tokens"
version = "0.4.1-dev"
-source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.27#377213f750755cc48e80a3131eaae63b5eda8362"
+source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=polkadot-v0.9.29#2caeb6621a59cbf37829d6a80bc2b89195959d45"
dependencies = [
"frame-support",
"frame-system",
"orml-traits",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-runtime",
@@ -5335,13 +5383,13 @@
[[package]]
name = "orml-traits"
version = "0.4.1-dev"
-source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.27#377213f750755cc48e80a3131eaae63b5eda8362"
+source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=polkadot-v0.9.29#2caeb6621a59cbf37829d6a80bc2b89195959d45"
dependencies = [
"frame-support",
"impl-trait-for-tuples",
"num-traits",
"orml-utilities",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-io",
@@ -5353,10 +5401,10 @@
[[package]]
name = "orml-utilities"
version = "0.4.1-dev"
-source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.27#377213f750755cc48e80a3131eaae63b5eda8362"
+source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=polkadot-v0.9.29#2caeb6621a59cbf37829d6a80bc2b89195959d45"
dependencies = [
"frame-support",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-io",
@@ -5367,11 +5415,11 @@
[[package]]
name = "orml-vesting"
version = "0.4.1-dev"
-source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.27#377213f750755cc48e80a3131eaae63b5eda8362"
+source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=polkadot-v0.9.29#2caeb6621a59cbf37829d6a80bc2b89195959d45"
dependencies = [
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-io",
@@ -5382,11 +5430,11 @@
[[package]]
name = "orml-xcm-support"
version = "0.4.1-dev"
-source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.27#377213f750755cc48e80a3131eaae63b5eda8362"
+source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=polkadot-v0.9.29#2caeb6621a59cbf37829d6a80bc2b89195959d45"
dependencies = [
"frame-support",
"orml-traits",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-runtime",
"sp-std",
"xcm",
@@ -5396,7 +5444,7 @@
[[package]]
name = "orml-xtokens"
version = "0.4.1-dev"
-source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.27#377213f750755cc48e80a3131eaae63b5eda8362"
+source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=polkadot-v0.9.29#2caeb6621a59cbf37829d6a80bc2b89195959d45"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -5404,7 +5452,7 @@
"orml-traits",
"orml-xcm-support",
"pallet-xcm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-io",
@@ -5444,7 +5492,7 @@
"pallet-randomness-collective-flip",
"pallet-timestamp",
"pallet-unique",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -5457,12 +5505,12 @@
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
"pallet-timestamp",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-application-crypto",
"sp-consensus-aura",
@@ -5473,12 +5521,12 @@
[[package]]
name = "pallet-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
"pallet-session",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-application-crypto",
"sp-authority-discovery",
@@ -5489,12 +5537,12 @@
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
"impl-trait-for-tuples",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-authorship",
"sp-runtime",
@@ -5504,7 +5552,7 @@
[[package]]
name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5513,7 +5561,7 @@
"pallet-authorship",
"pallet-session",
"pallet-timestamp",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-application-crypto",
"sp-consensus-babe",
@@ -5528,7 +5576,7 @@
[[package]]
name = "pallet-bags-list"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5536,7 +5584,7 @@
"frame-system",
"log",
"pallet-balances",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -5548,13 +5596,13 @@
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-runtime",
"sp-std",
@@ -5563,12 +5611,12 @@
[[package]]
name = "pallet-base-fee"
version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"fp-evm",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -5578,13 +5626,13 @@
[[package]]
name = "pallet-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"beefy-primitives",
"frame-support",
"frame-system",
"pallet-session",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-runtime",
@@ -5594,7 +5642,7 @@
[[package]]
name = "pallet-beefy-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"beefy-merkle-tree",
"beefy-primitives",
@@ -5605,7 +5653,7 @@
"pallet-beefy",
"pallet-mmr",
"pallet-session",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -5617,14 +5665,14 @@
[[package]]
name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"pallet-treasury",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -5635,7 +5683,7 @@
[[package]]
name = "pallet-child-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5643,7 +5691,7 @@
"log",
"pallet-bounties",
"pallet-treasury",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -5654,13 +5702,13 @@
[[package]]
name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -5680,7 +5728,7 @@
"frame-system",
"pallet-evm",
"pallet-evm-coder-substrate",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -5696,7 +5744,7 @@
"fp-evm",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"smallvec",
"sp-arithmetic",
@@ -5708,12 +5756,12 @@
[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-io",
@@ -5724,14 +5772,14 @@
[[package]]
name = "pallet-election-provider-multi-phase"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rand 0.7.3",
"scale-info",
"sp-arithmetic",
@@ -5747,12 +5795,12 @@
[[package]]
name = "pallet-election-provider-support-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-npos-elections",
"sp-runtime",
]
@@ -5760,13 +5808,13 @@
[[package]]
name = "pallet-elections-phragmen"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -5778,7 +5826,7 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"ethereum",
"ethereum-types",
@@ -5794,11 +5842,11 @@
"log",
"pallet-evm",
"pallet-timestamp",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rlp",
"scale-info",
"serde",
- "sha3 0.10.2",
+ "sha3 0.10.5",
"sp-io",
"sp-runtime",
"sp-std",
@@ -5807,7 +5855,7 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.27-fee-limit#0ae36821312f4a26e7f96225f1b2cb16216cddf5"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.29#30b8f3330d1e9a0b3fc812d60642f6f67b93c059"
dependencies = [
"evm",
"fp-evm",
@@ -5819,12 +5867,12 @@
"impl-trait-for-tuples",
"log",
"pallet-timestamp",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"primitive-types",
"rlp",
"scale-info",
"serde",
- "sha3 0.10.2",
+ "sha3 0.10.5",
"sp-core",
"sp-io",
"sp-runtime",
@@ -5842,7 +5890,7 @@
"frame-system",
"pallet-ethereum",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-std",
@@ -5863,7 +5911,7 @@
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-evm-transaction-payment",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-runtime",
@@ -5881,7 +5929,7 @@
"frame-support",
"frame-system",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -5899,7 +5947,7 @@
"frame-system",
"pallet-ethereum",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -5922,7 +5970,7 @@
"pallet-common",
"pallet-fungible",
"pallet-timestamp",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"serde_json",
@@ -5949,7 +5997,7 @@
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-structure",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-runtime",
@@ -5960,12 +6008,12 @@
[[package]]
name = "pallet-gilt"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-arithmetic",
"sp-runtime",
@@ -5975,7 +6023,7 @@
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5983,7 +6031,7 @@
"log",
"pallet-authorship",
"pallet-session",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-application-crypto",
"sp-core",
@@ -5998,13 +6046,13 @@
[[package]]
name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"enumflags2",
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-io",
"sp-runtime",
@@ -6014,14 +6062,14 @@
[[package]]
name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"pallet-authorship",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-application-crypto",
"sp-core",
@@ -6034,12 +6082,12 @@
[[package]]
name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -6058,7 +6106,7 @@
"pallet-balances",
"pallet-randomness-collective-flip",
"pallet-timestamp",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -6070,13 +6118,13 @@
[[package]]
name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -6087,13 +6135,13 @@
[[package]]
name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"ckb-merkle-mountain-range",
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -6105,10 +6153,10 @@
[[package]]
name = "pallet-mmr-rpc"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"jsonrpsee",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"serde",
"sp-api",
"sp-blockchain",
@@ -6120,12 +6168,12 @@
[[package]]
name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-io",
"sp-runtime",
@@ -6135,12 +6183,12 @@
[[package]]
name = "pallet-nomination-pools"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -6152,7 +6200,7 @@
[[package]]
name = "pallet-nomination-pools-benchmarking"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6161,7 +6209,7 @@
"pallet-bags-list",
"pallet-nomination-pools",
"pallet-staking",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-runtime",
"sp-staking",
@@ -6171,9 +6219,9 @@
[[package]]
name = "pallet-nomination-pools-runtime-api"
version = "1.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-std",
]
@@ -6191,7 +6239,7 @@
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-structure",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-runtime",
@@ -6203,13 +6251,13 @@
[[package]]
name = "pallet-offences"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
"log",
"pallet-balances",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-runtime",
@@ -6220,7 +6268,7 @@
[[package]]
name = "pallet-offences-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6233,7 +6281,7 @@
"pallet-offences",
"pallet-session",
"pallet-staking",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-runtime",
"sp-staking",
@@ -6243,12 +6291,12 @@
[[package]]
name = "pallet-preimage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -6259,12 +6307,12 @@
[[package]]
name = "pallet-proxy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-io",
"sp-runtime",
@@ -6274,11 +6322,11 @@
[[package]]
name = "pallet-randomness-collective-flip"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"safe-mix",
"scale-info",
"sp-runtime",
@@ -6288,12 +6336,12 @@
[[package]]
name = "pallet-recovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-io",
"sp-runtime",
@@ -6314,7 +6362,7 @@
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-structure",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-runtime",
@@ -6335,7 +6383,7 @@
"pallet-evm",
"pallet-nonfungible",
"pallet-structure",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rmrk-traits",
"scale-info",
"sp-core",
@@ -6355,7 +6403,7 @@
"pallet-evm",
"pallet-nonfungible",
"pallet-rmrk-core",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rmrk-traits",
"scale-info",
"sp-core",
@@ -6367,13 +6415,13 @@
[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-io",
"sp-runtime",
@@ -6383,14 +6431,14 @@
[[package]]
name = "pallet-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
"impl-trait-for-tuples",
"log",
"pallet-timestamp",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -6404,7 +6452,7 @@
[[package]]
name = "pallet-session-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6420,11 +6468,11 @@
[[package]]
name = "pallet-society"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rand_chacha 0.2.2",
"scale-info",
"sp-runtime",
@@ -6434,7 +6482,7 @@
[[package]]
name = "pallet-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6443,7 +6491,7 @@
"log",
"pallet-authorship",
"pallet-session",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rand_chacha 0.2.2",
"scale-info",
"serde",
@@ -6457,7 +6505,7 @@
[[package]]
name = "pallet-staking-reward-curve"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -6468,7 +6516,7 @@
[[package]]
name = "pallet-staking-reward-fn"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
"sp-arithmetic",
@@ -6483,7 +6531,7 @@
"frame-system",
"pallet-common",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-std",
"up-data-structs",
@@ -6492,11 +6540,11 @@
[[package]]
name = "pallet-sudo"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-io",
"sp-runtime",
@@ -6506,14 +6554,14 @@
[[package]]
name = "pallet-template-transaction-payment"
version = "3.0.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.27#853766d6033ceb68a2bef196790b962dd0663a04"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.29#3f663c3ee19933cd5545e0420ce2562fa8301235"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"pallet-balances",
"pallet-transaction-payment",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -6526,13 +6574,13 @@
[[package]]
name = "pallet-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-inherents",
"sp-io",
@@ -6544,14 +6592,14 @@
[[package]]
name = "pallet-tips"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"pallet-treasury",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -6563,11 +6611,11 @@
[[package]]
name = "pallet-transaction-payment"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -6579,11 +6627,11 @@
[[package]]
name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"jsonrpsee",
"pallet-transaction-payment-rpc-runtime-api",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-blockchain",
"sp-core",
@@ -6594,10 +6642,10 @@
[[package]]
name = "pallet-transaction-payment-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"pallet-transaction-payment",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-runtime",
]
@@ -6605,14 +6653,14 @@
[[package]]
name = "pallet-treasury"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"impl-trait-for-tuples",
"pallet-balances",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-runtime",
@@ -6633,7 +6681,7 @@
"pallet-evm-coder-substrate",
"pallet-nonfungible",
"pallet-refungible",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -6651,7 +6699,7 @@
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -6665,12 +6713,12 @@
[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -6681,13 +6729,13 @@
[[package]]
name = "pallet-vesting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-runtime",
"sp-std",
@@ -6695,13 +6743,13 @@
[[package]]
name = "pallet-xcm"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -6713,14 +6761,14 @@
[[package]]
name = "pallet-xcm-benchmarks"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-runtime",
"sp-std",
@@ -6731,21 +6779,21 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.27#66b684f88eba6c755651b8c47dccad2c2d9ac3db"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784"
dependencies = [
"cumulus-primitives-core",
"frame-support",
"frame-system",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
]
[[package]]
name = "parity-db"
-version = "0.3.16"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2bb474d0ed0836e185cb998a6b140ed1073d1fbf27d690ecf9ede8030289382c"
+checksum = "2c8fdb726a43661fa54b43e7114e6b88b2289cae388eb3ad766d9d1754d83fce"
dependencies = [
"blake2-rfc",
"crc32fast",
@@ -6754,8 +6802,8 @@
"libc",
"log",
"lz4",
- "memmap2 0.2.3",
- "parking_lot 0.11.2",
+ "memmap2",
+ "parking_lot 0.12.1",
"rand 0.8.5",
"snap",
]
@@ -6776,13 +6824,14 @@
[[package]]
name = "parity-scale-codec"
-version = "3.1.5"
+version = "3.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0"
+checksum = "366e44391a8af4cfd6002ef6ba072bae071a96aafca98d7d448a34c5dca38b6a"
dependencies = [
"arrayvec 0.7.2",
"bitvec 1.0.1",
"byte-slice-cast",
+ "bytes",
"impl-trait-for-tuples",
"parity-scale-codec-derive 3.1.3",
"serde",
@@ -6918,9 +6967,9 @@
[[package]]
name = "paste"
-version = "1.0.8"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9423e2b32f7a043629287a536f21951e8c6a82482d0acb1eeebfc90bc2225b22"
+checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1"
[[package]]
name = "pbkdf2"
@@ -6948,15 +6997,15 @@
[[package]]
name = "percent-encoding"
-version = "2.1.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
+checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
[[package]]
name = "pest"
-version = "2.2.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69486e2b8c2d2aeb9762db7b4e00b0331156393555cff467f4163ff06821eef8"
+checksum = "dbc7bc69c062e492337d74d59b120c274fd3d261b6bf6d3207d499b4b379c41a"
dependencies = [
"thiserror",
"ucd-trie",
@@ -6964,9 +7013,9 @@
[[package]]
name = "pest_derive"
-version = "2.2.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b13570633aff33c6d22ce47dd566b10a3b9122c2fe9d8e7501895905be532b91"
+checksum = "60b75706b9642ebcb34dab3bc7750f811609a0eb1dd8b88c2d15bf628c1c65b2"
dependencies = [
"pest",
"pest_generator",
@@ -6974,9 +7023,9 @@
[[package]]
name = "pest_generator"
-version = "2.2.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3c567e5702efdc79fb18859ea74c3eb36e14c43da7b8c1f098a4ed6514ec7a0"
+checksum = "f4f9272122f5979a6511a749af9db9bfc810393f63119970d7085fed1c4ea0db"
dependencies = [
"pest",
"pest_meta",
@@ -6987,13 +7036,13 @@
[[package]]
name = "pest_meta"
-version = "2.2.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5eb32be5ee3bbdafa8c7a18b0a8a8d962b66cfa2ceee4037f49267a50ee821fe"
+checksum = "4c8717927f9b79515e565a64fe46c38b8cd0427e64c40680b14a7365ab09ac8d"
dependencies = [
"once_cell",
"pest",
- "sha-1 0.10.0",
+ "sha1",
]
[[package]]
@@ -7058,10 +7107,10 @@
[[package]]
name = "polkadot-approval-distribution"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7073,10 +7122,10 @@
[[package]]
name = "polkadot-availability-bitfield-distribution"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
@@ -7087,14 +7136,14 @@
[[package]]
name = "polkadot-availability-distribution"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"derive_more",
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
@@ -7110,13 +7159,13 @@
[[package]]
name = "polkadot-availability-recovery"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
@@ -7131,12 +7180,12 @@
[[package]]
name = "polkadot-cli"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"clap",
"frame-benchmarking-cli",
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"polkadot-client",
"polkadot-node-core-pvf",
@@ -7157,8 +7206,8 @@
[[package]]
name = "polkadot-client"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-primitives",
"frame-benchmarking",
@@ -7197,12 +7246,12 @@
[[package]]
name = "polkadot-collator-protocol"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"always-assert",
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
@@ -7218,10 +7267,10 @@
[[package]]
name = "polkadot-core-primitives"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"scale-info",
"sp-core",
@@ -7231,14 +7280,14 @@
[[package]]
name = "polkadot-dispute-distribution"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"derive_more",
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
@@ -7254,10 +7303,10 @@
[[package]]
name = "polkadot-erasure-coding"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-node-primitives",
"polkadot-primitives",
"reed-solomon-novelpoly",
@@ -7268,10 +7317,10 @@
[[package]]
name = "polkadot-gossip-support"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
@@ -7288,15 +7337,15 @@
[[package]]
name = "polkadot-network-bridge"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"always-assert",
"async-trait",
"bytes",
"fatality",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
@@ -7304,6 +7353,7 @@
"polkadot-overseer",
"polkadot-primitives",
"sc-network",
+ "sc-network-common",
"sp-consensus",
"thiserror",
"tracing-gum",
@@ -7311,11 +7361,11 @@
[[package]]
name = "polkadot-node-collation-generation"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"polkadot-erasure-coding",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7329,17 +7379,17 @@
[[package]]
name = "polkadot-node-core-approval-voting"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bitvec 1.0.1",
"derive_more",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"kvdb",
"lru 0.7.8",
"merlin",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-node-jaeger",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7358,14 +7408,14 @@
[[package]]
name = "polkadot-node-core-av-store"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bitvec 1.0.1",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"kvdb",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-erasure-coding",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7378,12 +7428,12 @@
[[package]]
name = "polkadot-node-core-backing"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bitvec 1.0.1",
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"polkadot-erasure-coding",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7397,10 +7447,10 @@
[[package]]
name = "polkadot-node-core-bitfield-signing"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
@@ -7412,12 +7462,12 @@
[[package]]
name = "polkadot-node-core-candidate-validation"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"polkadot-node-core-pvf",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7430,10 +7480,10 @@
[[package]]
name = "polkadot-node-core-chain-api"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
@@ -7445,13 +7495,13 @@
[[package]]
name = "polkadot-node-core-chain-selection"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"kvdb",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
@@ -7462,14 +7512,14 @@
[[package]]
name = "polkadot-node-core-dispute-coordinator"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"kvdb",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
@@ -7481,11 +7531,11 @@
[[package]]
name = "polkadot-node-core-parachains-inherent"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"polkadot-node-subsystem",
"polkadot-primitives",
@@ -7498,12 +7548,12 @@
[[package]]
name = "polkadot-node-core-provisioner"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bitvec 1.0.1",
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7516,16 +7566,16 @@
[[package]]
name = "polkadot-node-core-pvf"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"always-assert",
"assert_matches",
"async-process",
"async-std",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"pin-project",
"polkadot-core-primitives",
"polkadot-node-subsystem-util",
@@ -7548,10 +7598,10 @@
[[package]]
name = "polkadot-node-core-pvf-checker"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
@@ -7564,10 +7614,10 @@
[[package]]
name = "polkadot-node-core-runtime-api"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"memory-lru",
"parity-util-mem",
"polkadot-node-subsystem",
@@ -7580,14 +7630,14 @@
[[package]]
name = "polkadot-node-jaeger"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-std",
"lazy_static",
"log",
"mick-jaeger",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"polkadot-node-primitives",
"polkadot-primitives",
@@ -7598,14 +7648,14 @@
[[package]]
name = "polkadot-node-metrics"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bs58",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"prioritized-metered-channel",
"sc-cli",
@@ -7617,14 +7667,15 @@
[[package]]
name = "polkadot-node-network-protocol"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
"derive_more",
"fatality",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "hex",
+ "parity-scale-codec 3.2.1",
"polkadot-node-jaeger",
"polkadot-node-primitives",
"polkadot-primitives",
@@ -7638,12 +7689,12 @@
[[package]]
name = "polkadot-node-primitives"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bounded-vec",
- "futures 0.3.23",
- "parity-scale-codec 3.1.5",
+ "futures 0.3.24",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"polkadot-primitives",
"schnorrkel",
@@ -7660,8 +7711,8 @@
[[package]]
name = "polkadot-node-subsystem"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"polkadot-node-jaeger",
"polkadot-node-subsystem-types",
@@ -7670,12 +7721,12 @@
[[package]]
name = "polkadot-node-subsystem-types"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
"derive_more",
- "futures 0.3.23",
+ "futures 0.3.24",
"orchestra",
"polkadot-node-jaeger",
"polkadot-node-network-protocol",
@@ -7693,18 +7744,18 @@
[[package]]
name = "polkadot-node-subsystem-util"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
"derive_more",
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"itertools",
"kvdb",
"lru 0.7.8",
"parity-db",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"parking_lot 0.11.2",
"pin-project",
@@ -7726,11 +7777,11 @@
[[package]]
name = "polkadot-overseer"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"lru 0.7.8",
"orchestra",
@@ -7749,12 +7800,12 @@
[[package]]
name = "polkadot-parachain"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"derive_more",
"frame-support",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"polkadot-core-primitives",
"scale-info",
@@ -7766,8 +7817,8 @@
[[package]]
name = "polkadot-performance-test"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"env_logger",
"kusama-runtime",
@@ -7781,13 +7832,13 @@
[[package]]
name = "polkadot-primitives"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bitvec 1.0.1",
"frame-system",
"hex-literal",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"polkadot-core-primitives",
"polkadot-parachain",
@@ -7811,8 +7862,8 @@
[[package]]
name = "polkadot-rpc"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-gadget",
"beefy-gadget-rpc",
@@ -7843,8 +7894,8 @@
[[package]]
name = "polkadot-runtime"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-primitives",
"bitvec 1.0.1",
@@ -7876,6 +7927,9 @@
"pallet-indices",
"pallet-membership",
"pallet-multisig",
+ "pallet-nomination-pools",
+ "pallet-nomination-pools-benchmarking",
+ "pallet-nomination-pools-runtime-api",
"pallet-offences",
"pallet-offences-benchmarking",
"pallet-preimage",
@@ -7893,7 +7947,7 @@
"pallet-utility",
"pallet-vesting",
"pallet-xcm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"polkadot-runtime-common",
"polkadot-runtime-constants",
@@ -7928,8 +7982,8 @@
[[package]]
name = "polkadot-runtime-common"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-primitives",
"bitvec 1.0.1",
@@ -7952,7 +8006,7 @@
"pallet-transaction-payment",
"pallet-treasury",
"pallet-vesting",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"polkadot-runtime-parachains",
"rustc-hex",
@@ -7975,8 +8029,8 @@
[[package]]
name = "polkadot-runtime-constants"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -7987,11 +8041,11 @@
[[package]]
name = "polkadot-runtime-metrics"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bs58",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"sp-std",
"sp-tracing",
@@ -7999,8 +8053,8 @@
[[package]]
name = "polkadot-runtime-parachains"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"bitflags",
"bitvec 1.0.1",
@@ -8017,7 +8071,7 @@
"pallet-staking",
"pallet-timestamp",
"pallet-vesting",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"polkadot-runtime-metrics",
"rand 0.8.5",
@@ -8042,14 +8096,15 @@
[[package]]
name = "polkadot-service"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"async-trait",
"beefy-gadget",
"beefy-primitives",
+ "frame-support",
"frame-system-rpc-runtime-api",
- "futures 0.3.23",
+ "futures 0.3.24",
"hex-literal",
"kusama-runtime",
"kvdb",
@@ -8105,11 +8160,11 @@
"sc-consensus",
"sc-consensus-babe",
"sc-consensus-slots",
- "sc-consensus-uncles",
"sc-executor",
"sc-finality-grandpa",
"sc-keystore",
"sc-network",
+ "sc-network-common",
"sc-offchain",
"sc-service",
"sc-sync-state-rpc",
@@ -8145,14 +8200,14 @@
[[package]]
name = "polkadot-statement-distribution"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"arrayvec 0.5.2",
"fatality",
- "futures 0.3.23",
+ "futures 0.3.24",
"indexmap",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -8166,18 +8221,18 @@
[[package]]
name = "polkadot-statement-table"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-primitives",
"sp-core",
]
[[package]]
name = "polkadot-test-runtime"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-primitives",
"bitvec 1.0.1",
@@ -8203,7 +8258,7 @@
"pallet-transaction-payment-rpc-runtime-api",
"pallet-vesting",
"pallet-xcm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"polkadot-primitives",
"polkadot-runtime-common",
@@ -8237,12 +8292,12 @@
[[package]]
name = "polkadot-test-service"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-benchmarking",
"frame-system",
- "futures 0.3.23",
+ "futures 0.3.24",
"hex",
"pallet-balances",
"pallet-staking",
@@ -8267,6 +8322,7 @@
"sc-executor",
"sc-finality-grandpa",
"sc-network",
+ "sc-network-common",
"sc-service",
"sc-tracing",
"sc-transaction-pool",
@@ -8290,10 +8346,11 @@
[[package]]
name = "polling"
-version = "2.2.0"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259"
+checksum = "899b00b9c8ab553c743b3e11e87c5c7d423b2a2de229ba95b24a756344748011"
dependencies = [
+ "autocfg",
"cfg-if 1.0.0",
"libc",
"log",
@@ -8347,12 +8404,12 @@
[[package]]
name = "prioritized-metered-channel"
version = "0.2.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"coarsetime",
"crossbeam-queue",
"derive_more",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"nanorand",
"thiserror",
@@ -8396,18 +8453,18 @@
[[package]]
name = "proc-macro2"
-version = "1.0.43"
+version = "1.0.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab"
+checksum = "94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b"
dependencies = [
"unicode-ident",
]
[[package]]
name = "prometheus"
-version = "0.13.1"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cface98dfa6d645ea4c789839f176e4b072265d085bfcc48eaa8d137f58d3c39"
+checksum = "45c8babc29389186697fe5a2a4859d697825496b83db5d0b65271cdc0488e88c"
dependencies = [
"cfg-if 1.0.0",
"fnv",
@@ -8510,9 +8567,9 @@
[[package]]
name = "psm"
-version = "0.1.20"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f446d0a6efba22928558c4fb4ce0b3fd6c89b0061343e390bf01a703742b8125"
+checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
dependencies = [
"cc",
]
@@ -8581,7 +8638,7 @@
"pallet-unique-scheduler",
"pallet-xcm",
"parachain-info",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"rmrk-rpc",
"scale-info",
@@ -8670,7 +8727,7 @@
dependencies = [
"libc",
"rand_chacha 0.3.1",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
]
[[package]]
@@ -8690,7 +8747,7 @@
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
]
[[package]]
@@ -8704,9 +8761,9 @@
[[package]]
name = "rand_core"
-version = "0.6.3"
+version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
"getrandom 0.2.7",
]
@@ -8745,7 +8802,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e"
dependencies = [
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
]
[[package]]
@@ -8884,12 +8941,12 @@
[[package]]
name = "remote-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"env_logger",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"serde",
"serde_json",
"sp-core",
@@ -8918,12 +8975,6 @@
]
[[package]]
-name = "retain_mut"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0"
-
-[[package]]
name = "rfc6979"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8987,7 +9038,7 @@
name = "rmrk-traits"
version = "0.1.0"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
]
@@ -9004,8 +9055,8 @@
[[package]]
name = "rococo-runtime"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-merkle-tree",
"beefy-primitives",
@@ -9040,7 +9091,7 @@
"pallet-transaction-payment-rpc-runtime-api",
"pallet-utility",
"pallet-xcm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"polkadot-primitives",
"polkadot-runtime-common",
@@ -9073,8 +9124,8 @@
[[package]]
name = "rococo-runtime-constants"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -9085,9 +9136,9 @@
[[package]]
name = "rpassword"
-version = "5.0.1"
+version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb"
+checksum = "26b763cb66df1c928432cc35053f8bd4cec3335d8559fc16010017d16b3c1680"
dependencies = [
"libc",
"winapi",
@@ -9100,7 +9151,7 @@
checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0"
dependencies = [
"async-global-executor",
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"netlink-packet-route",
"netlink-proto",
@@ -9141,7 +9192,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
- "semver 1.0.13",
+ "semver 1.0.14",
]
[[package]]
@@ -9160,13 +9211,13 @@
[[package]]
name = "rustix"
-version = "0.35.7"
+version = "0.35.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d51cc38aa10f6bbb377ed28197aa052aa4e2b762c22be9d3153d01822587e787"
+checksum = "fbb2fda4666def1433b1b05431ab402e42a1084285477222b72d6c564c417cef"
dependencies = [
"bitflags",
"errno",
- "io-lifetimes 0.7.2",
+ "io-lifetimes 0.7.3",
"libc",
"linux-raw-sys 0.0.46",
"windows-sys",
@@ -9217,7 +9268,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"pin-project",
"static_assertions",
]
@@ -9258,7 +9309,7 @@
[[package]]
name = "sc-allocator"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
"sp-core",
@@ -9269,20 +9320,20 @@
[[package]]
name = "sc-authority-discovery"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"ip_network",
"libp2p",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"prost",
"prost-build",
"rand 0.7.3",
"sc-client-api",
- "sc-network",
+ "sc-network-common",
"sp-api",
"sp-authority-discovery",
"sp-blockchain",
@@ -9296,12 +9347,12 @@
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-block-builder",
"sc-client-api",
"sc-proposer-metrics",
@@ -9319,9 +9370,9 @@
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sp-api",
"sp-block-builder",
@@ -9335,13 +9386,13 @@
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"impl-trait-for-tuples",
- "memmap2 0.5.7",
- "parity-scale-codec 3.1.5",
+ "memmap2",
+ "parity-scale-codec 3.2.1",
"sc-chain-spec-derive",
- "sc-network",
+ "sc-network-common",
"sc-telemetry",
"serde",
"serde_json",
@@ -9352,7 +9403,7 @@
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -9363,17 +9414,17 @@
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"chrono",
"clap",
"fdlimit",
- "futures 0.3.23",
+ "futures 0.3.24",
"hex",
"libp2p",
"log",
"names",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rand 0.7.3",
"regex",
"rpassword",
@@ -9402,13 +9453,13 @@
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"hash-db",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-executor",
"sc-transaction-pool-api",
@@ -9430,7 +9481,7 @@
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"hash-db",
"kvdb",
@@ -9439,7 +9490,7 @@
"linked-hash-map",
"log",
"parity-db",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-client-api",
"sc-state-db",
@@ -9455,10 +9506,10 @@
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"libp2p",
"log",
@@ -9479,12 +9530,12 @@
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-block-builder",
"sc-client-api",
"sc-consensus",
@@ -9508,20 +9559,19 @@
[[package]]
name = "sc-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"fork-tree",
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"merlin",
"num-bigint",
"num-rational 0.2.4",
"num-traits",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"rand 0.7.3",
- "retain_mut",
"sc-client-api",
"sc-consensus",
"sc-consensus-epochs",
@@ -9551,9 +9601,9 @@
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"sc-consensus-babe",
"sc-consensus-epochs",
@@ -9573,10 +9623,10 @@
[[package]]
name = "sc-consensus-epochs"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"fork-tree",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-consensus",
"sp-blockchain",
@@ -9586,14 +9636,14 @@
[[package]]
name = "sc-consensus-manual-seal"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"assert_matches",
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-consensus",
"sc-consensus-aura",
@@ -9620,13 +9670,13 @@
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-consensus",
"sc-telemetry",
@@ -9643,24 +9693,13 @@
]
[[package]]
-name = "sc-consensus-uncles"
-version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
-dependencies = [
- "sc-client-api",
- "sp-authorship",
- "sp-runtime",
- "thiserror",
-]
-
-[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"lazy_static",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-executor-common",
"sc-executor-wasmi",
@@ -9683,14 +9722,13 @@
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"environmental",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-allocator",
"sp-maybe-compressed-blob",
"sp-sandbox",
- "sp-serializer",
"sp-wasm-interface",
"thiserror",
"wasm-instrument",
@@ -9700,10 +9738,10 @@
[[package]]
name = "sc-executor-wasmi"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-allocator",
"sc-executor-common",
"sp-runtime-interface",
@@ -9715,15 +9753,16 @@
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"cfg-if 1.0.0",
"libc",
"log",
"once_cell",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-wasm 0.42.2",
- "rustix 0.35.7",
+ "rustix 0.33.7",
+ "rustix 0.35.11",
"sc-allocator",
"sc-executor-common",
"sp-runtime-interface",
@@ -9735,18 +9774,18 @@
[[package]]
name = "sc-finality-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"ahash",
"async-trait",
"dyn-clone",
"finality-grandpa",
"fork-tree",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"hex",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"rand 0.8.5",
"sc-block-builder",
@@ -9776,13 +9815,13 @@
[[package]]
name = "sc-finality-grandpa-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"finality-grandpa",
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-finality-grandpa",
"sc-rpc",
@@ -9797,15 +9836,15 @@
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"ansi_term",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"log",
"parity-util-mem",
"sc-client-api",
- "sc-network",
+ "sc-network-common",
"sc-transaction-pool-api",
"sp-blockchain",
"sp-runtime",
@@ -9814,7 +9853,7 @@
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"hex",
@@ -9829,7 +9868,7 @@
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"asynchronous-codec",
@@ -9839,7 +9878,7 @@
"either",
"fnv",
"fork-tree",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"hex",
"ip_network",
@@ -9848,7 +9887,7 @@
"linked_hash_set",
"log",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"pin-project",
"prost",
@@ -9878,33 +9917,39 @@
[[package]]
name = "sc-network-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
+ "async-trait",
"bitflags",
- "futures 0.3.23",
+ "bytes",
+ "futures 0.3.24",
"libp2p",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"prost-build",
"sc-consensus",
"sc-peerset",
+ "serde",
"smallvec",
+ "sp-blockchain",
"sp-consensus",
"sp-finality-grandpa",
"sp-runtime",
+ "thiserror",
]
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"ahash",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"libp2p",
"log",
"lru 0.7.8",
- "sc-network",
+ "sc-network-common",
+ "sc-peerset",
"sp-runtime",
"substrate-prometheus-endpoint",
"tracing",
@@ -9913,12 +9958,13 @@
[[package]]
name = "sc-network-light"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
+ "hex",
"libp2p",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"prost",
"prost-build",
"sc-client-api",
@@ -9933,14 +9979,15 @@
[[package]]
name = "sc-network-sync"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"fork-tree",
- "futures 0.3.23",
+ "futures 0.3.24",
+ "hex",
"libp2p",
"log",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"prost",
"prost-build",
"sc-client-api",
@@ -9960,22 +10007,24 @@
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"bytes",
"fnv",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"hex",
"hyper",
"hyper-rustls",
+ "libp2p",
"num_cpus",
"once_cell",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"rand 0.7.3",
"sc-client-api",
- "sc-network",
+ "sc-network-common",
+ "sc-peerset",
"sc-utils",
"sp-api",
"sp-core",
@@ -9988,9 +10037,9 @@
[[package]]
name = "sc-peerset"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p",
"log",
"sc-utils",
@@ -10001,7 +10050,7 @@
[[package]]
name = "sc-proposer-metrics"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -10010,13 +10059,13 @@
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"hash-db",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-block-builder",
"sc-chain-spec",
@@ -10040,12 +10089,12 @@
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sc-chain-spec",
"sc-transaction-pool-api",
@@ -10063,9 +10112,9 @@
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"log",
"serde_json",
@@ -10076,17 +10125,17 @@
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"directories",
"exit-future",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"hash-db",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"parking_lot 0.12.1",
"pin-project",
@@ -10143,10 +10192,10 @@
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"parity-util-mem-derive",
"parking_lot 0.12.1",
@@ -10157,10 +10206,10 @@
[[package]]
name = "sc-sync-state-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"jsonrpsee",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-chain-spec",
"sc-client-api",
"sc-consensus-babe",
@@ -10176,9 +10225,9 @@
[[package]]
name = "sc-sysinfo"
version = "6.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"libc",
"log",
"rand 0.7.3",
@@ -10195,10 +10244,10 @@
[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"chrono",
- "futures 0.3.23",
+ "futures 0.3.24",
"libp2p",
"log",
"parking_lot 0.12.1",
@@ -10213,7 +10262,7 @@
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"ansi_term",
"atty",
@@ -10244,7 +10293,7 @@
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -10255,16 +10304,15 @@
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"linked-hash-map",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"parking_lot 0.12.1",
- "retain_mut",
"sc-client-api",
"sc-transaction-pool-api",
"sc-utils",
@@ -10282,9 +10330,9 @@
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"serde",
"sp-blockchain",
@@ -10295,9 +10343,9 @@
[[package]]
name = "sc-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"lazy_static",
"log",
@@ -10307,23 +10355,23 @@
[[package]]
name = "scale-info"
-version = "2.1.2"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a"
+checksum = "333af15b02563b8182cd863f925bd31ef8fa86a0e095d30c091956057d436153"
dependencies = [
"bitvec 1.0.1",
"cfg-if 1.0.0",
"derive_more",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info-derive",
"serde",
]
[[package]]
name = "scale-info-derive"
-version = "2.1.2"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50e334bb10a245e28e5fd755cabcafd96cfcd167c99ae63a46924ca8d8703a3c"
+checksum = "53f56acbd0743d29ffa08f911ab5397def774ad01bab3786804cf6ee057fb5e1"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -10416,9 +10464,9 @@
[[package]]
name = "security-framework"
-version = "2.6.1"
+version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dc14f172faf8a0194a3aded622712b0de276821addc574fa54fc0a1167e10dc"
+checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c"
dependencies = [
"bitflags",
"core-foundation",
@@ -10457,9 +10505,9 @@
[[package]]
name = "semver"
-version = "1.0.13"
+version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93f6841e709003d68bb2deee8c343572bf446003ec20a583e76f7b15cebf3711"
+checksum = "e25dfac463d778e353db5be2449d1cce89bd6fd23c9f1ea21310ce6e5a1b29c4"
dependencies = [
"serde",
]
@@ -10472,18 +10520,18 @@
[[package]]
name = "serde"
-version = "1.0.143"
+version = "1.0.145"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553"
+checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.143"
+version = "1.0.145"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391"
+checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c"
dependencies = [
"proc-macro2",
"quote",
@@ -10492,9 +10540,9 @@
[[package]]
name = "serde_json"
-version = "1.0.83"
+version = "1.0.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7"
+checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44"
dependencies = [
"itoa 1.0.3",
"ryu",
@@ -10524,14 +10572,14 @@
]
[[package]]
-name = "sha-1"
-version = "0.10.0"
+name = "sha1"
+version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f"
+checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
- "digest 0.10.3",
+ "digest 0.10.5",
]
[[package]]
@@ -10561,13 +10609,13 @@
[[package]]
name = "sha2"
-version = "0.10.2"
+version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676"
+checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0"
dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
- "digest 0.10.3",
+ "digest 0.10.5",
]
[[package]]
@@ -10584,11 +10632,11 @@
[[package]]
name = "sha3"
-version = "0.10.2"
+version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a31480366ec990f395a61b7c08122d99bd40544fdb5abcfc1b06bb29994312c"
+checksum = "e2904bea16a1ae962b483322a1c7b81d976029203aea1f461e51cd7705db7ba9"
dependencies = [
- "digest 0.10.3",
+ "digest 0.10.5",
"keccak",
]
@@ -10633,7 +10681,7 @@
checksum = "02658e48d89f2bec991f9a78e69cfa4c316f8d6a6c4ec12fae1aeb263d486788"
dependencies = [
"digest 0.9.0",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
]
[[package]]
@@ -10665,11 +10713,11 @@
[[package]]
name = "slot-range-helper"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"enumn",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"paste",
"sp-runtime",
"sp-std",
@@ -10686,9 +10734,9 @@
[[package]]
name = "smallvec"
-version = "1.9.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1"
+checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
[[package]]
name = "snap"
@@ -10706,18 +10754,18 @@
"blake2",
"chacha20poly1305",
"curve25519-dalek 4.0.0-pre.1",
- "rand_core 0.6.3",
+ "rand_core 0.6.4",
"ring",
"rustc_version 0.4.0",
- "sha2 0.10.2",
+ "sha2 0.10.6",
"subtle",
]
[[package]]
name = "socket2"
-version = "0.4.4"
+version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0"
+checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd"
dependencies = [
"libc",
"winapi",
@@ -10732,26 +10780,27 @@
"base64",
"bytes",
"flate2",
- "futures 0.3.23",
+ "futures 0.3.24",
"httparse",
"log",
"rand 0.8.5",
- "sha-1 0.9.8",
+ "sha-1",
]
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"hash-db",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api-proc-macro",
"sp-core",
"sp-runtime",
"sp-state-machine",
"sp-std",
+ "sp-trie",
"sp-version",
"thiserror",
]
@@ -10759,7 +10808,7 @@
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"blake2",
"proc-macro-crate",
@@ -10771,9 +10820,9 @@
[[package]]
name = "sp-application-crypto"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-core",
@@ -10784,11 +10833,11 @@
[[package]]
name = "sp-arithmetic"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"integer-sqrt",
"num-traits",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-debug-derive",
@@ -10799,9 +10848,9 @@
[[package]]
name = "sp-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-api",
"sp-application-crypto",
@@ -10812,10 +10861,10 @@
[[package]]
name = "sp-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-inherents",
"sp-runtime",
"sp-std",
@@ -10824,9 +10873,9 @@
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-inherents",
"sp-runtime",
@@ -10836,12 +10885,12 @@
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"lru 0.7.8",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"sp-api",
"sp-consensus",
@@ -10854,13 +10903,13 @@
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"futures-timer",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-core",
"sp-inherents",
"sp-runtime",
@@ -10873,10 +10922,10 @@
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-api",
"sp-application-crypto",
@@ -10891,11 +10940,11 @@
[[package]]
name = "sp-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"merlin",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-api",
@@ -10914,9 +10963,9 @@
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-arithmetic",
@@ -10928,9 +10977,9 @@
[[package]]
name = "sp-consensus-vrf"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"schnorrkel",
"sp-core",
@@ -10941,15 +10990,15 @@
[[package]]
name = "sp-core"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"base58",
"bitflags",
"blake2-rfc",
"byteorder",
"dyn-clonable",
- "ed25519-dalek",
- "futures 0.3.23",
+ "ed25519-zebra",
+ "futures 0.3.24",
"hash-db",
"hash256-std-hasher",
"hex",
@@ -10959,7 +11008,7 @@
"log",
"merlin",
"num-traits",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"parking_lot 0.12.1",
"primitive-types",
@@ -10987,13 +11036,13 @@
[[package]]
name = "sp-core-hashing"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"blake2",
"byteorder",
- "digest 0.10.3",
- "sha2 0.10.2",
- "sha3 0.10.2",
+ "digest 0.10.5",
+ "sha2 0.10.6",
+ "sha3 0.10.5",
"sp-std",
"twox-hash",
]
@@ -11001,7 +11050,7 @@
[[package]]
name = "sp-core-hashing-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro2",
"quote",
@@ -11012,7 +11061,7 @@
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"kvdb",
"parking_lot 0.12.1",
@@ -11021,7 +11070,7 @@
[[package]]
name = "sp-debug-derive"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro2",
"quote",
@@ -11031,10 +11080,10 @@
[[package]]
name = "sp-externalities"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"environmental",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-std",
"sp-storage",
]
@@ -11042,11 +11091,11 @@
[[package]]
name = "sp-finality-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"finality-grandpa",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-api",
@@ -11060,11 +11109,11 @@
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-core",
"sp-runtime",
"sp-std",
@@ -11074,13 +11123,14 @@
[[package]]
name = "sp-io"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "bytes",
+ "futures 0.3.24",
"hash-db",
"libsecp256k1",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"secp256k1",
"sp-core",
@@ -11099,7 +11149,7 @@
[[package]]
name = "sp-keyring"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"lazy_static",
"sp-core",
@@ -11110,12 +11160,12 @@
[[package]]
name = "sp-keystore"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"merlin",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"schnorrkel",
"serde",
@@ -11127,7 +11177,7 @@
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"thiserror",
"zstd",
@@ -11136,10 +11186,10 @@
[[package]]
name = "sp-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"serde",
"sp-api",
"sp-core",
@@ -11151,9 +11201,9 @@
[[package]]
name = "sp-npos-elections"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"serde",
"sp-arithmetic",
@@ -11165,7 +11215,7 @@
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"sp-api",
"sp-core",
@@ -11175,7 +11225,7 @@
[[package]]
name = "sp-panic-handler"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"backtrace",
"lazy_static",
@@ -11185,7 +11235,7 @@
[[package]]
name = "sp-rpc"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"rustc-hash",
"serde",
@@ -11195,13 +11245,13 @@
[[package]]
name = "sp-runtime"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"either",
"hash256-std-hasher",
"impl-trait-for-tuples",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-util-mem",
"paste",
"rand 0.7.3",
@@ -11217,10 +11267,11 @@
[[package]]
name = "sp-runtime-interface"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
+ "bytes",
"impl-trait-for-tuples",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"primitive-types",
"sp-externalities",
"sp-runtime-interface-proc-macro",
@@ -11234,7 +11285,7 @@
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"Inflector",
"proc-macro-crate",
@@ -11246,32 +11297,23 @@
[[package]]
name = "sp-sandbox"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-core",
"sp-io",
"sp-std",
"sp-wasm-interface",
"wasmi",
-]
-
-[[package]]
-name = "sp-serializer"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
-dependencies = [
- "serde",
- "serde_json",
]
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-api",
"sp-core",
@@ -11283,9 +11325,9 @@
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-runtime",
"sp-std",
@@ -11294,12 +11336,12 @@
[[package]]
name = "sp-state-machine"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"hash-db",
"log",
"num-traits",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"rand 0.7.3",
"smallvec",
@@ -11316,15 +11358,15 @@
[[package]]
name = "sp-std"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
[[package]]
name = "sp-storage"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"impl-serde",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"ref-cast",
"serde",
"sp-debug-derive",
@@ -11334,7 +11376,7 @@
[[package]]
name = "sp-tasks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"log",
"sp-core",
@@ -11347,12 +11389,12 @@
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"futures-timer",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-inherents",
"sp-runtime",
@@ -11363,9 +11405,9 @@
[[package]]
name = "sp-tracing"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-std",
"tracing",
"tracing-core",
@@ -11375,7 +11417,7 @@
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"sp-api",
"sp-runtime",
@@ -11384,11 +11426,11 @@
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-inherents",
@@ -11400,15 +11442,22 @@
[[package]]
name = "sp-trie"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
+ "ahash",
"hash-db",
+ "hashbrown 0.12.3",
+ "lazy_static",
+ "lru 0.7.8",
"memory-db",
- "parity-scale-codec 3.1.5",
+ "nohash-hasher",
+ "parity-scale-codec 3.2.1",
+ "parking_lot 0.12.1",
"scale-info",
"sp-core",
"sp-std",
"thiserror",
+ "tracing",
"trie-db",
"trie-root",
]
@@ -11416,10 +11465,10 @@
[[package]]
name = "sp-version"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"impl-serde",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parity-wasm 0.42.2",
"scale-info",
"serde",
@@ -11433,9 +11482,9 @@
[[package]]
name = "sp-version-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"proc-macro2",
"quote",
"syn",
@@ -11444,11 +11493,11 @@
[[package]]
name = "sp-wasm-interface"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"impl-trait-for-tuples",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-std",
"wasmi",
"wasmtime",
@@ -11462,9 +11511,9 @@
[[package]]
name = "ss58-registry"
-version = "1.25.0"
+version = "1.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a039906277e0d8db996cd9d1ef19278c10209d994ecfc1025ced16342873a17c"
+checksum = "c2486f3d026e958566c6079caef44108cddf0ae6f8a411ef74fb08cdb56e614a"
dependencies = [
"Inflector",
"num-format",
@@ -11577,7 +11626,7 @@
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"platforms",
]
@@ -11585,13 +11634,13 @@
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"frame-system-rpc-runtime-api",
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-rpc-api",
"sc-transaction-pool-api",
@@ -11606,7 +11655,7 @@
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"futures-util",
"hyper",
@@ -11619,11 +11668,11 @@
[[package]]
name = "substrate-state-trie-migration-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-rpc-api",
"scale-info",
@@ -11640,12 +11689,12 @@
[[package]]
name = "substrate-test-client"
version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"async-trait",
- "futures 0.3.23",
+ "futures 0.3.24",
"hex",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sc-client-api",
"sc-client-db",
"sc-consensus",
@@ -11666,9 +11715,9 @@
[[package]]
name = "substrate-test-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"substrate-test-utils-derive",
"tokio",
]
@@ -11676,7 +11725,7 @@
[[package]]
name = "substrate-test-utils-derive"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -11687,7 +11736,7 @@
[[package]]
name = "substrate-wasm-builder"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"ansi_term",
"build-helper",
@@ -11709,9 +11758,9 @@
[[package]]
name = "syn"
-version = "1.0.99"
+version = "1.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
+checksum = "e90cde112c4b9690b8cbe810cba9ddd8bc1d7472e2cae317b69e9438c1cba7d2"
dependencies = [
"proc-macro2",
"quote",
@@ -11788,8 +11837,8 @@
[[package]]
name = "test-runtime-constants"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -11818,7 +11867,7 @@
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-unique",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
"sp-io",
@@ -11830,24 +11879,24 @@
[[package]]
name = "textwrap"
-version = "0.15.0"
+version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
+checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16"
[[package]]
name = "thiserror"
-version = "1.0.32"
+version = "1.0.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994"
+checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.32"
+version = "1.0.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21"
+checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb"
dependencies = [
"proc-macro2",
"quote",
@@ -11976,9 +12025,9 @@
[[package]]
name = "tokio"
-version = "1.20.1"
+version = "1.21.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a8325f63a7d4774dd041e363b2409ed1c5cbbd0f867795e661df066b2b0a581"
+checksum = "a9e03c497dc955702ba729190dc4aac6f2a0ce97f913e5b1b5912fc5039d9099"
dependencies = [
"autocfg",
"bytes",
@@ -11986,7 +12035,6 @@
"memchr",
"mio",
"num_cpus",
- "once_cell",
"parking_lot 0.12.1",
"pin-project-lite 0.2.9",
"signal-hook-registry",
@@ -12019,9 +12067,9 @@
[[package]]
name = "tokio-stream"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df54d54117d6fdc4e4fea40fe1e4e566b3505700e148a6827e59b34b0d2600d9"
+checksum = "f6edf2d6bc038a43d31353570e27270603f4648d18f5ed10c0e179abe43255af"
dependencies = [
"futures-core",
"pin-project-lite 0.2.9",
@@ -12030,9 +12078,9 @@
[[package]]
name = "tokio-util"
-version = "0.7.3"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45"
+checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740"
dependencies = [
"bytes",
"futures-core",
@@ -12103,8 +12151,8 @@
[[package]]
name = "tracing-gum"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"polkadot-node-jaeger",
"polkadot-primitives",
@@ -12114,8 +12162,8 @@
[[package]]
name = "tracing-gum-proc-macro"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"expander 0.0.6",
"proc-macro-crate",
@@ -12170,9 +12218,9 @@
[[package]]
name = "trie-db"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d32d034c0d3db64b43c31de38e945f15b40cd4ca6d2dcfc26d4798ce8de4ab83"
+checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908"
dependencies = [
"hash-db",
"hashbrown 0.12.3",
@@ -12213,7 +12261,7 @@
"futures-channel",
"futures-io",
"futures-util",
- "idna",
+ "idna 0.2.3",
"ipnet",
"lazy_static",
"log",
@@ -12252,12 +12300,13 @@
[[package]]
name = "try-runtime-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.27#8eff668a42325aeb4433eace1604f4d286a6ec05"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#c6ebc1e73f85deba349db0ea785ad53addb6f69f"
dependencies = [
"clap",
+ "frame-try-runtime",
"jsonrpsee",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"remote-externalities",
"sc-chain-spec",
"sc-cli",
@@ -12287,7 +12336,7 @@
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
"cfg-if 1.0.0",
- "digest 0.10.3",
+ "digest 0.10.5",
"rand 0.8.5",
"static_assertions",
]
@@ -12307,7 +12356,7 @@
"jsonrpsee",
"pallet-common",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rmrk-rpc",
"sp-api",
"sp-blockchain",
@@ -12320,15 +12369,15 @@
[[package]]
name = "ucd-trie"
-version = "0.1.4"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89570599c4fe5585de2b388aab47e99f7fa4e9238a1399f707a02e356058141c"
+checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81"
[[package]]
name = "uint"
-version = "0.9.3"
+version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12f03af7ccf01dd611cc450a0d10dbc9b745770d096473e2faf0ca6e2d66d1e0"
+checksum = "a45526d29728d135c2900b0d30573fe3ee79fceb12ef534c7bb30e810a91b601"
dependencies = [
"byteorder",
"crunchy",
@@ -12353,34 +12402,34 @@
[[package]]
name = "unicode-ident"
-version = "1.0.3"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
+checksum = "dcc811dc4066ac62f84f11307873c4850cb653bfa9b1719cee2bd2204a4bc5dd"
[[package]]
name = "unicode-normalization"
-version = "0.1.21"
+version = "0.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6"
+checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-width"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
+checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
[[package]]
name = "unicode-xid"
-version = "0.2.3"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04"
+checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
[[package]]
name = "unique-node"
-version = "0.9.27"
+version = "0.9.29"
dependencies = [
"app-promotion-rpc",
"clap",
@@ -12404,14 +12453,14 @@
"fp-rpc",
"frame-benchmarking",
"frame-benchmarking-cli",
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"log",
"opal-runtime",
"pallet-ethereum",
"pallet-transaction-payment-rpc",
"pallet-transaction-payment-rpc-runtime-api",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"parking_lot 0.12.1",
"polkadot-cli",
"polkadot-parachain",
@@ -12478,7 +12527,7 @@
"fc-rpc-core",
"fp-rpc",
"fp-storage",
- "futures 0.3.23",
+ "futures 0.3.24",
"jsonrpsee",
"pallet-common",
"pallet-ethereum",
@@ -12581,7 +12630,7 @@
"pallet-unique-scheduler",
"pallet-xcm",
"parachain-info",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"rmrk-rpc",
"scale-info",
@@ -12640,7 +12689,7 @@
[[package]]
name = "up-common"
-version = "0.9.27"
+version = "0.9.29"
dependencies = [
"fp-rpc",
"frame-support",
@@ -12660,7 +12709,7 @@
"frame-support",
"frame-system",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"rmrk-traits",
"scale-info",
"serde",
@@ -12676,7 +12725,7 @@
dependencies = [
"pallet-common",
"pallet-evm",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-api",
"sp-core",
"sp-runtime",
@@ -12687,20 +12736,19 @@
[[package]]
name = "up-sponsorship"
version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.27#853766d6033ceb68a2bef196790b962dd0663a04"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.29#3f663c3ee19933cd5545e0420ce2562fa8301235"
dependencies = [
"impl-trait-for-tuples",
]
[[package]]
name = "url"
-version = "2.2.2"
+version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
+checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
dependencies = [
"form_urlencoded",
- "idna",
- "matches",
+ "idna 0.3.0",
"percent-encoding",
]
@@ -12785,9 +12833,9 @@
[[package]]
name = "wasm-bindgen"
-version = "0.2.82"
+version = "0.2.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d"
+checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
dependencies = [
"cfg-if 1.0.0",
"wasm-bindgen-macro",
@@ -12795,9 +12843,9 @@
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.82"
+version = "0.2.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f"
+checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142"
dependencies = [
"bumpalo",
"log",
@@ -12810,9 +12858,9 @@
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.32"
+version = "0.4.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa76fb221a1f8acddf5b54ace85912606980ad661ac7a503b4570ffd3a624dad"
+checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
@@ -12822,9 +12870,9 @@
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.82"
+version = "0.2.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602"
+checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -12832,9 +12880,9 @@
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.82"
+version = "0.2.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da"
+checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
dependencies = [
"proc-macro2",
"quote",
@@ -12845,9 +12893,9 @@
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.82"
+version = "0.2.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a"
+checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
[[package]]
name = "wasm-gc-api"
@@ -12875,7 +12923,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"js-sys",
"parking_lot 0.11.2",
"pin-utils",
@@ -13088,9 +13136,9 @@
[[package]]
name = "web-sys"
-version = "0.3.59"
+version = "0.3.60"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed055ab27f941423197eb86b2035720b1a3ce40504df082cac2ecc6ed73335a1"
+checksum = "bcda906d8be16e728fd5adc5b729afad4e444e106ab28cd1c7256e54fa61510f"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -13108,9 +13156,9 @@
[[package]]
name = "webpki-roots"
-version = "0.22.4"
+version = "0.22.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1c760f0d366a6c24a02ed7816e23e691f5d92291f94d15e836006fd11b04daf"
+checksum = "368bfe657969fb01238bb756d351dcade285e0f6fcbd36dcb23359a5169975be"
dependencies = [
"webpki",
]
@@ -13126,8 +13174,8 @@
[[package]]
name = "westend-runtime"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"beefy-primitives",
"bitvec 1.0.1",
@@ -13180,7 +13228,7 @@
"pallet-vesting",
"pallet-xcm",
"pallet-xcm-benchmarks",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"polkadot-primitives",
"polkadot-runtime-common",
@@ -13215,8 +13263,8 @@
[[package]]
name = "westend-runtime-constants"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -13227,13 +13275,13 @@
[[package]]
name = "which"
-version = "4.2.5"
+version = "4.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
+checksum = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b"
dependencies = [
"either",
- "lazy_static",
"libc",
+ "once_cell",
]
[[package]]
@@ -13396,13 +13444,13 @@
[[package]]
name = "xcm"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"derivative",
"impl-trait-for-tuples",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"scale-info",
"sp-runtime",
"xcm-procedural",
@@ -13410,14 +13458,14 @@
[[package]]
name = "xcm-builder"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-support",
"frame-system",
"log",
"pallet-transaction-payment",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"polkadot-parachain",
"scale-info",
"sp-arithmetic",
@@ -13430,14 +13478,14 @@
[[package]]
name = "xcm-executor"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"frame-benchmarking",
"frame-support",
"impl-trait-for-tuples",
"log",
- "parity-scale-codec 3.1.5",
+ "parity-scale-codec 3.2.1",
"sp-arithmetic",
"sp-core",
"sp-io",
@@ -13448,8 +13496,8 @@
[[package]]
name = "xcm-procedural"
-version = "0.9.27"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.27#b017bad50d360a1c6e3cdf9652bdb85e5f479fea"
+version = "0.9.29"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76"
dependencies = [
"Inflector",
"proc-macro2",
@@ -13463,7 +13511,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5"
dependencies = [
- "futures 0.3.23",
+ "futures 0.3.24",
"log",
"nohash-hasher",
"parking_lot 0.12.1",
Cargo.tomldiffbeforeafterboth--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,8 +14,3 @@
default-members = ['node/*', 'runtime/opal']
[profile.release]
panic = 'unwind'
-
-[patch.crates-io]
-jsonrpsee = { git = "https://github.com/uniquenetwork/jsonrpsee", branch = "unique-v0.14.0-fix-unknown-fields" }
-jsonrpsee-types = { git = "https://github.com/uniquenetwork/jsonrpsee", branch = "unique-v0.14.0-fix-unknown-fields" }
-jsonrpsee-core = { git = "https://github.com/uniquenetwork/jsonrpsee", branch = "unique-v0.14.0-fix-unknown-fields" }
client/rpc/Cargo.tomldiffbeforeafterboth--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -11,12 +11,12 @@
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc"}
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
codec = { package = "parity-scale-codec", version = "3.1.2" }
-jsonrpsee = { version = "0.14.0", features = ["server", "macros"] }
+jsonrpsee = { version = "0.15.1", features = ["server", "macros"] }
anyhow = "1.0.57"
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
crates/evm-coder/Cargo.tomldiffbeforeafterboth--- a/crates/evm-coder/Cargo.toml
+++ b/crates/evm-coder/Cargo.toml
@@ -11,9 +11,10 @@
primitive-types = { version = "0.11.1", default-features = false }
# Evm doesn't have reexports for log and others
ethereum = { version = "0.12.0", default-features = false }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
# Error types for execution
-evm-core = { default-features = false , git = "https://github.com/uniquenetwork/evm", branch = "unique-polkadot-v0.9.27" }
+evm-core = { default-features = false , git = "https://github.com/uniquenetwork/evm", branch = "unique-polkadot-v0.9.29" }
# We have tuple-heavy code in solidity.rs
impl-trait-for-tuples = "0.2.2"
@@ -24,4 +25,4 @@
[features]
default = ["std"]
-std = ["ethereum/std", "primitive-types/std", "evm-core/std"]
+std = ["ethereum/std", "primitive-types/std", "evm-core/std", "frame-support/std"]
crates/evm-coder/procedural/src/solidity_interface.rsdiffbeforeafterboth--- a/crates/evm-coder/procedural/src/solidity_interface.rs
+++ b/crates/evm-coder/procedural/src/solidity_interface.rs
@@ -560,6 +560,7 @@
selector: u32,
args: Vec<MethodArg>,
has_normal_args: bool,
+ has_value_args: bool,
mutability: Mutability,
result: Type,
weight: Option<Expr>,
@@ -655,6 +656,7 @@
write!(selector_str, "{}", arg.selector_ty()).unwrap();
has_normal_args = true;
}
+ let has_value_args = args.iter().any(|a| a.is_value());
selector_str.push(')');
let selector = fn_selector_str(&selector_str);
@@ -667,6 +669,7 @@
selector,
args,
has_normal_args,
+ has_value_args,
mutability,
result: result.clone(),
weight,
@@ -823,7 +826,7 @@
let docs = &self.docs;
let selector_str = &self.selector_str;
let selector = self.selector;
-
+ let is_payable = self.has_value_args;
quote! {
SolidityFunction {
docs: &[#(#docs),*],
@@ -831,6 +834,7 @@
selector: #selector,
name: #camel_name,
mutability: #mutability,
+ is_payable: #is_payable,
args: (
#(
#args,
@@ -1122,7 +1126,7 @@
#weight_variants,
)*
// TODO: It should be very cheap, but not free
- Self::ERC165Call(::evm_coder::ERC165Call::SupportsInterface {..}, _) => 100u64.into(),
+ Self::ERC165Call(::evm_coder::ERC165Call::SupportsInterface {..}, _) => ::frame_support::weights::Weight::from_ref_time(100).into(),
#(
#weight_variants_this,
)*
crates/evm-coder/src/execution.rsdiffbeforeafterboth--- a/crates/evm-coder/src/execution.rs
+++ b/crates/evm-coder/src/execution.rs
@@ -58,9 +58,18 @@
Self { weight }
}
}
+impl From<u64> for DispatchInfo {
+ fn from(weight: u64) -> Self {
+ Self {
+ weight: Weight::from_ref_time(weight),
+ }
+ }
+}
impl From<()> for DispatchInfo {
fn from(_: ()) -> Self {
- Self { weight: 0 }
+ Self {
+ weight: Weight::zero(),
+ }
}
}
crates/evm-coder/src/lib.rsdiffbeforeafterboth--- a/crates/evm-coder/src/lib.rs
+++ b/crates/evm-coder/src/lib.rs
@@ -169,7 +169,7 @@
/// Should be same between evm-coder and substrate to avoid confusion
///
/// Isn't same thing as gas, some mapping is required between those types
-pub type Weight = u64;
+pub type Weight = frame_support::weights::Weight;
/// In substrate, we have benchmarking, which allows
/// us to not rely on gas metering, but instead predict amount of gas to execute call
crates/evm-coder/src/solidity.rsdiffbeforeafterboth--- a/crates/evm-coder/src/solidity.rs
+++ b/crates/evm-coder/src/solidity.rs
@@ -422,6 +422,7 @@
pub args: A,
pub result: R,
pub mutability: SolidityMutability,
+ pub is_payable: bool,
}
impl<A: SolidityArguments, R: SolidityArguments> SolidityFunctions for SolidityFunction<A, R> {
fn solidity_name(
@@ -452,6 +453,9 @@
SolidityMutability::View => write!(writer, " view")?,
SolidityMutability::Mutable => {}
}
+ if self.is_payable {
+ write!(writer, " payable")?;
+ }
if !self.result.is_empty() {
write!(writer, " returns (")?;
self.result.solidity_name(writer, tc)?;
crates/evm-coder/tests/conditional_is.rsdiffbeforeafterboth--- a/crates/evm-coder/tests/conditional_is.rs
+++ b/crates/evm-coder/tests/conditional_is.rs
@@ -1,4 +1,4 @@
-use evm_coder::{types::*, solidity_interface, execution::Result, Call};
+use evm_coder::{types::*, solidity_interface, execution::Result};
pub struct Contract(bool);
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -3,7 +3,7 @@
[build-dependencies.substrate-build-script-utils]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
################################################################################
# Substrate Dependecies
@@ -16,158 +16,158 @@
[dependencies.frame-benchmarking]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-benchmarking-cli]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.try-runtime-cli]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-transaction-payment-rpc]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.substrate-prometheus-endpoint]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-basic-authorship]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-chain-spec]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-cli]
features = ['wasmtime']
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-client-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-consensus]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-consensus-aura]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-executor]
features = ['wasmtime']
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-finality-grandpa]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-keystore]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-rpc]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-rpc-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-service]
features = ['wasmtime']
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-telemetry]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-transaction-pool]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-tracing]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-sysinfo]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-block-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-blockchain]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-consensus]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-consensus-aura]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-core]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-finality-grandpa]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-inherents]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-keystore]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-offchain]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-runtime]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-session]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-timestamp]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-transaction-pool]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-trie]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.substrate-frame-rpc-system]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sc-network]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.serde]
features = ['derive']
@@ -178,76 +178,76 @@
[dependencies.sc-consensus-manual-seal]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
################################################################################
# Cumulus dependencies
[dependencies.cumulus-client-consensus-aura]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-client-consensus-common]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-client-collator]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-client-cli]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-client-network]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-primitives-parachain-inherent]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-client-service]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-relay-chain-interface]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-relay-chain-inprocess-interface]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-relay-chain-rpc-interface]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
################################################################################
# Polkadot dependencies
[dependencies.polkadot-primitives]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
[dependencies.polkadot-service]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
[dependencies.polkadot-cli]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
[dependencies.polkadot-test-service]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
################################################################################
@@ -277,7 +277,7 @@
[dependencies.pallet-transaction-payment-rpc-runtime-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
################################################################################
# Package
@@ -291,7 +291,7 @@
license = 'GPLv3'
name = 'unique-node'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = "0.9.27"
+version = "0.9.29"
[[bin]]
name = 'unique-collator'
@@ -306,16 +306,16 @@
flexi_logger = "0.22.5"
parking_lot = '0.12.1'
clap = "3.1.2"
-jsonrpsee = { version = "0.14.0", features = ["server", "macros"] }
+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.27-fee-limit" }
-fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
unique-rpc = { default-features = false, path = "../rpc" }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}
node/cli/src/command.rsdiffbeforeafterboth--- a/node/cli/src/command.rs
+++ b/node/cli/src/command.rs
@@ -574,7 +574,7 @@
fn base_path(&self) -> Result<Option<BasePath>> {
Ok(self
.shared_params()
- .base_path()
+ .base_path()?
.or_else(|| self.base_path.clone().map(Into::into)))
}
@@ -626,10 +626,6 @@
fn transaction_pool(&self, is_dev: bool) -> Result<sc_service::config::TransactionPoolOptions> {
self.base.base.transaction_pool(is_dev)
- }
-
- fn state_cache_child_ratio(&self) -> Result<Option<usize>> {
- self.base.base.state_cache_child_ratio()
}
fn rpc_methods(&self) -> Result<sc_service::config::RpcMethods> {
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -43,13 +43,13 @@
use cumulus_primitives_core::ParaId;
use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain;
use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};
-use cumulus_relay_chain_rpc_interface::RelayChainRPCInterface;
+use cumulus_relay_chain_rpc_interface::{RelayChainRpcInterface, create_client_and_start_worker};
// Substrate Imports
use sc_client_api::ExecutorProvider;
use sc_executor::NativeElseWasmExecutor;
use sc_executor::NativeExecutionDispatch;
-use sc_network::NetworkService;
+use sc_network::{NetworkService, NetworkBlock};
use sc_service::{BasePath, Configuration, PartialComponents, TaskManager};
use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle};
use sp_keystore::SyncCryptoStorePtr;
@@ -320,10 +320,14 @@
Option<CollatorPair>,
)> {
match collator_options.relay_chain_rpc_url {
- Some(relay_chain_url) => Ok((
- Arc::new(RelayChainRPCInterface::new(relay_chain_url).await?) as Arc<_>,
- None,
- )),
+ Some(relay_chain_url) => {
+ let rpc_client = create_client_and_start_worker(relay_chain_url, task_manager).await?;
+
+ Ok((
+ Arc::new(RelayChainRpcInterface::new(rpc_client)) as Arc<_>,
+ None,
+ ))
+ }
None => build_inprocess_relay_chain(
polkadot_config,
parachain_config,
node/rpc/Cargo.tomldiffbeforeafterboth--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -11,42 +11,42 @@
[dependencies]
futures = { version = "0.3.17", features = ["compat"] }
-jsonrpsee = { version = "0.14.0", features = ["server", "macros"] }
+jsonrpsee = { version = "0.15.1", features = ["server", "macros"] }
# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'master' }
-pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
tokio = { version = "1.19.2", features = ["macros", "sync"] }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
pallet-common = { default-features = false, path = "../../pallets/common" }
up-common = { path = "../../primitives/common" }
node/rpc/src/lib.rsdiffbeforeafterboth--- a/node/rpc/src/lib.rs
+++ b/node/rpc/src/lib.rs
@@ -175,6 +175,8 @@
EthPubSubApiServer, EthSigner, Net, NetApiServer, Web3, Web3ApiServer,
};
use uc_rpc::{UniqueApiServer, Unique};
+
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
use uc_rpc::{AppPromotionApiServer, AppPromotion};
#[cfg(not(feature = "unique-runtime"))]
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -46,17 +46,17 @@
# 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.27" }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-balances ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-timestamp ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-randomness-collective-flip ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm ={ default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-sp-std ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-io ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-benchmarking = {default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-balances ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-timestamp ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-randomness-collective-flip ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm ={ default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+sp-std ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-io ={ default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
serde = { default-features = false, features = ['derive'], version = '1.0.130' }
################################################################################
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -410,7 +410,7 @@
.sum();
if total_staked.is_zero() {
- return Ok(None.into()); // TO-DO
+ return Ok(None::<Weight>.into()); // TO-DO
}
pendings
@@ -433,7 +433,7 @@
Self::deposit_event(Event::Unstake(staker_id, total_staked));
- Ok(None.into())
+ Ok(None::<Weight>.into())
}
/// Sets the pallet to be the sponsor for the collection.
pallets/app-promotion/src/weights.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -51,29 +51,29 @@
// Storage: AppPromotion PendingUnstake (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn on_initialize(b: u32, ) -> Weight {
- (2_651_000 as Weight)
+ Weight::from_ref_time(2_651_000)
// Standard Error: 103_000
- .saturating_add((6_024_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(6_024_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: AppPromotion Admin (r:0 w:1)
fn set_admin_address() -> Weight {
- (7_117_000 as Weight)
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(7_117_000)
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: ParachainSystem ValidationData (r:1 w:0)
// Storage: AppPromotion NextCalculatedRecord (r:1 w:1)
// Storage: AppPromotion Staked (r:2 w:0)
fn payout_stakers(b: u32, ) -> Weight {
- (9_958_000 as Weight)
+ Weight::from_ref_time(9_958_000)
// Standard Error: 8_000
- .saturating_add((4_406_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(4_406_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion StakesPerAccount (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -82,9 +82,9 @@
// Storage: AppPromotion Staked (r:1 w:1)
// Storage: AppPromotion TotalStaked (r:1 w:1)
fn stake() -> Weight {
- (20_574_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(6 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(20_574_000)
+ .saturating_add(T::DbWeight::get().reads(6 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: AppPromotion PendingUnstake (r:1 w:1)
// Storage: AppPromotion Staked (r:2 w:1)
@@ -93,37 +93,37 @@
// Storage: AppPromotion TotalStaked (r:1 w:1)
// Storage: AppPromotion StakesPerAccount (r:0 w:1)
fn unstake() -> Weight {
- (31_703_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(6 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(31_703_000)
+ .saturating_add(T::DbWeight::get().reads(6 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn sponsor_collection() -> Weight {
- (12_932_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(12_932_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn stop_sponsoring_collection() -> Weight {
- (12_453_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(12_453_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
fn sponsor_contract() -> Weight {
- (11_952_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(11_952_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
fn stop_sponsoring_contract() -> Weight {
- (12_538_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(12_538_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -132,29 +132,29 @@
// Storage: AppPromotion PendingUnstake (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn on_initialize(b: u32, ) -> Weight {
- (2_651_000 as Weight)
+ Weight::from_ref_time(2_651_000)
// Standard Error: 103_000
- .saturating_add((6_024_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(6_024_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: AppPromotion Admin (r:0 w:1)
fn set_admin_address() -> Weight {
- (7_117_000 as Weight)
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(7_117_000)
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: ParachainSystem ValidationData (r:1 w:0)
// Storage: AppPromotion NextCalculatedRecord (r:1 w:1)
// Storage: AppPromotion Staked (r:2 w:0)
fn payout_stakers(b: u32, ) -> Weight {
- (9_958_000 as Weight)
+ Weight::from_ref_time(9_958_000)
// Standard Error: 8_000
- .saturating_add((4_406_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(4_406_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion StakesPerAccount (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -163,9 +163,9 @@
// Storage: AppPromotion Staked (r:1 w:1)
// Storage: AppPromotion TotalStaked (r:1 w:1)
fn stake() -> Weight {
- (20_574_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(6 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(20_574_000)
+ .saturating_add(RocksDbWeight::get().reads(6 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: AppPromotion PendingUnstake (r:1 w:1)
// Storage: AppPromotion Staked (r:2 w:1)
@@ -174,36 +174,36 @@
// Storage: AppPromotion TotalStaked (r:1 w:1)
// Storage: AppPromotion StakesPerAccount (r:0 w:1)
fn unstake() -> Weight {
- (31_703_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(6 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(31_703_000)
+ .saturating_add(RocksDbWeight::get().reads(6 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn sponsor_collection() -> Weight {
- (12_932_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(12_932_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn stop_sponsoring_collection() -> Weight {
- (12_453_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(12_453_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
fn sponsor_contract() -> Weight {
- (11_952_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(11_952_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
fn stop_sponsoring_contract() -> Weight {
- (12_538_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(12_538_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
pallets/common/Cargo.tomldiffbeforeafterboth--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -11,18 +11,18 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
serde = { version = "1.0.130", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = [
pallets/common/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/common/src/benchmarking.rs
+++ b/pallets/common/src/benchmarking.rs
@@ -116,7 +116,9 @@
create_collection_raw(
owner,
CollectionMode::NFT,
- |owner, data| <Pallet<T>>::init_collection(owner, data, CollectionFlags::default()),
+ |owner: T::CrossAccountId, data| {
+ <Pallet<T>>::init_collection(owner.clone(), owner, data, CollectionFlags::default())
+ },
|h| h,
)
}
pallets/common/src/dispatch.rsdiffbeforeafterboth--- a/pallets/common/src/dispatch.rs
+++ b/pallets/common/src/dispatch.rs
@@ -19,7 +19,7 @@
// Read collection
<T as frame_system::Config>::DbWeight::get().reads(1)
// Dynamic dispatch?
- + 6_000_000
+ + Weight::from_ref_time(6_000_000)
// submit_logs is measured as part of collection pallets
}
@@ -78,6 +78,7 @@
/// * `data` - Description of the created collection.
fn create(
sender: T::CrossAccountId,
+ payer: T::CrossAccountId,
data: CreateCollectionData<T::AccountId>,
) -> Result<CollectionId, DispatchError>;
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -185,21 +185,21 @@
/// Consume gas for reading.
pub fn consume_store_reads(&self, reads: u64) -> evm_coder::execution::Result<()> {
self.recorder
- .consume_gas(T::GasWeightMapping::weight_to_gas(
+ .consume_gas(T::GasWeightMapping::weight_to_gas(Weight::from_ref_time(
<T as frame_system::Config>::DbWeight::get()
.read
.saturating_mul(reads),
- ))
+ )))
}
/// Consume gas for writing.
pub fn consume_store_writes(&self, writes: u64) -> evm_coder::execution::Result<()> {
self.recorder
- .consume_gas(T::GasWeightMapping::weight_to_gas(
+ .consume_gas(T::GasWeightMapping::weight_to_gas(Weight::from_ref_time(
<T as frame_system::Config>::DbWeight::get()
.write
.saturating_mul(writes),
- ))
+ )))
}
/// Consume gas for reading and writing.
@@ -212,9 +212,9 @@
let reads = weight.read.saturating_mul(reads);
let writes = weight.read.saturating_mul(writes);
self.recorder
- .consume_gas(T::GasWeightMapping::weight_to_gas(
+ .consume_gas(T::GasWeightMapping::weight_to_gas(Weight::from_ref_time(
reads.saturating_add(writes),
- ))
+ )))
}
/// Save collection to storage.
@@ -706,7 +706,7 @@
fn on_runtime_upgrade() -> Weight {
StorageVersion::new(1).put::<Pallet<T>>();
- 0
+ Weight::zero()
}
}
}
@@ -866,6 +866,7 @@
/// * `flags` - Extra flags to store.
pub fn init_collection(
owner: T::CrossAccountId,
+ payer: T::CrossAccountId,
data: CreateCollectionData<T::AccountId>,
flags: CollectionFlags,
) -> Result<CollectionId, DispatchError> {
@@ -939,7 +940,7 @@
),
);
<T as Config>::Currency::settle(
- owner.as_sub(),
+ payer.as_sub(),
imbalance,
WithdrawReasons::TRANSFER,
ExistenceRequirement::KeepAlive,
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -42,19 +42,19 @@
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Common CollectionProperties (r:1 w:1)
fn set_collection_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 142_818_000
- .saturating_add((2_786_252_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(2_786_252_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn delete_collection_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 101_087_000
- .saturating_add((2_739_521_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(2_739_521_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -62,18 +62,18 @@
impl WeightInfo for () {
// Storage: Common CollectionProperties (r:1 w:1)
fn set_collection_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 142_818_000
- .saturating_add((2_786_252_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(2_786_252_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn delete_collection_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 101_087_000
- .saturating_add((2_739_521_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(2_739_521_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
pallets/configuration/Cargo.tomldiffbeforeafterboth--- a/pallets/configuration/Cargo.toml
+++ b/pallets/configuration/Cargo.toml
@@ -10,13 +10,13 @@
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
smallvec = "1.6.1"
[features]
pallets/configuration/src/lib.rsdiffbeforeafterboth--- a/pallets/configuration/src/lib.rs
+++ b/pallets/configuration/src/lib.rs
@@ -20,7 +20,7 @@
use frame_support::{
pallet,
- weights::{WeightToFeePolynomial, WeightToFeeCoefficients, WeightToFeeCoefficient},
+ weights::{WeightToFeePolynomial, WeightToFeeCoefficients, WeightToFeeCoefficient, Weight},
traits::Get,
};
use sp_arithmetic::traits::{BaseArithmetic, Unsigned};
@@ -115,7 +115,7 @@
pub struct FeeCalculator<T>(PhantomData<T>);
impl<T: Config> fp_evm::FeeCalculator for FeeCalculator<T> {
- fn min_gas_price() -> (U256, u64) {
+ fn min_gas_price() -> (U256, Weight) {
(
<MinGasPriceOverride<T>>::get().into(),
T::DbWeight::get().reads(1),
pallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-coder-substrate/Cargo.toml
+++ b/pallets/evm-coder-substrate/Cargo.toml
@@ -8,15 +8,15 @@
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
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.27-fee-limit" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
[dependencies.codec]
pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -12,16 +12,16 @@
ethereum = { version = "0.12.0", default-features = false }
# Substrate
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
# Unique
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29" }
# Locals
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -8,15 +8,15 @@
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
[dependencies.codec]
default-features = false
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -46,25 +46,25 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (8_035_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(8_035_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- (3_076_000 as Weight)
+ Weight::from_ref_time(3_076_000)
// Standard Error: 0
- .saturating_add((828_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(828_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
fn finish(_b: u32, ) -> Weight {
- (6_591_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(6_591_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
}
@@ -74,24 +74,24 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (8_035_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(8_035_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- (3_076_000 as Weight)
+ Weight::from_ref_time(3_076_000)
// Standard Error: 0
- .saturating_add((828_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(828_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
fn finish(_b: u32, ) -> Weight {
- (6_591_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(6_591_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
}
pallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-transaction-payment/Cargo.toml
+++ b/pallets/evm-transaction-payment/Cargo.toml
@@ -8,17 +8,17 @@
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
[dependencies.codec]
default-features = false
pallets/foreign-assets/Cargo.tomldiffbeforeafterboth--- a/pallets/foreign-assets/Cargo.toml
+++ b/pallets/foreign-assets/Cargo.toml
@@ -9,28 +9,28 @@
serde = { version = "1.0.136", optional = true }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
-sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
-sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
-frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
-frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false }
+sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false }
+frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false }
+frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
+pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false }
pallet-common = { default-features = false, path = '../common' }
pallet-fungible = { default-features = false, path = '../fungible' }
-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.27", default-features = false }
-xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.27", default-features = false }
-xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.27", default-features = false }
+xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29", default-features = false }
+xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29", default-features = false }
+xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29", default-features = false }
#orml-tokens = { git = 'https://github.com/UniqueNetwork/open-runtime-module-library', branch = 'unique-polkadot-v0.9.24', version = "0.4.1-dev", default-features = false }
-orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.27", version = "0.4.1-dev", default-features = false }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+orml-tokens = { git = "https://github.com/UniqueNetwork/open-runtime-module-library", branch = "polkadot-v0.9.29", version = "0.4.1-dev", default-features = false }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
[dev-dependencies]
serde_json = "1.0.68"
hex = { version = "0.4" }
-sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
[features]
default = ["std"]
@@ -50,4 +50,4 @@
"orml-tokens/std"
]
try-runtime = ["frame-support/try-runtime"]
-runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']
\ No newline at end of file
+runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']
pallets/foreign-assets/src/lib.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/lib.rs
+++ b/pallets/foreign-assets/src/lib.rs
@@ -54,7 +54,7 @@
// NOTE:v1::MultiLocation is used in storages, we would need to do migration if upgrade the
// MultiLocation in the future.
-use xcm::opaque::latest::prelude::XcmError;
+use xcm::opaque::latest::{prelude::XcmError, Weight};
use xcm::{v1::MultiLocation, VersionedMultiLocation};
use xcm_executor::{traits::WeightTrader, Assets};
@@ -309,11 +309,9 @@
mode: CollectionMode::Fungible(md.decimals),
..Default::default()
};
-
- let bounded_collection_id = <PalletFungible<T>>::init_foreign_collection(
- CrossAccountId::from_sub(owner),
- data,
- )?;
+ let owner = T::CrossAccountId::from_sub(owner);
+ let bounded_collection_id =
+ <PalletFungible<T>>::init_foreign_collection(owner.clone(), owner, data)?;
let foreign_asset_id =
Self::do_register_foreign_asset(&location, &metadata, bounded_collection_id)?;
pallets/foreign-assets/src/weights.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -53,16 +53,16 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn register_foreign_asset() -> Weight {
- (52_161_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(9 as Weight))
- .saturating_add(T::DbWeight::get().writes(11 as Weight))
+ Weight::from_ref_time(52_161_000)
+ .saturating_add(T::DbWeight::get().reads(9 as u64))
+ .saturating_add(T::DbWeight::get().writes(11 as u64))
}
// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
fn update_foreign_asset() -> Weight {
- (19_111_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(19_111_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
}
@@ -80,15 +80,15 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn register_foreign_asset() -> Weight {
- (52_161_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(9 as Weight))
- .saturating_add(RocksDbWeight::get().writes(11 as Weight))
+ Weight::from_ref_time(52_161_000)
+ .saturating_add(RocksDbWeight::get().reads(9 as u64))
+ .saturating_add(RocksDbWeight::get().writes(11 as u64))
}
// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
fn update_foreign_asset() -> Weight {
- (19_111_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(19_111_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
}
pallets/fungible/Cargo.tomldiffbeforeafterboth--- a/pallets/fungible/Cargo.toml
+++ b/pallets/fungible/Cargo.toml
@@ -11,19 +11,19 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
pallet-common = { default-features = false, path = '../common' }
pallet-structure = { default-features = false, path = '../structure' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
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.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
pallets/fungible/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/fungible/src/benchmarking.rs
+++ b/pallets/fungible/src/benchmarking.rs
@@ -31,7 +31,7 @@
create_collection_raw(
owner,
CollectionMode::Fungible(0),
- <Pallet<T>>::init_collection,
+ |owner: T::CrossAccountId, data| <Pallet<T>>::init_collection(owner.clone(), owner, data),
FungibleHandle::cast,
)
}
pallets/fungible/src/common.rsdiffbeforeafterboth--- a/pallets/fungible/src/common.rs
+++ b/pallets/fungible/src/common.rs
@@ -45,7 +45,7 @@
CreateItemExData::Fungible(f) => {
<SelfWeightOf<T>>::create_multiple_items_ex(f.len() as u32)
}
- _ => 0,
+ _ => Weight::zero(),
}
}
@@ -55,27 +55,27 @@
fn set_collection_properties(_amount: u32) -> Weight {
// Error
- 0
+ Weight::zero()
}
fn delete_collection_properties(_amount: u32) -> Weight {
// Error
- 0
+ Weight::zero()
}
fn set_token_properties(_amount: u32) -> Weight {
// Error
- 0
+ Weight::zero()
}
fn delete_token_properties(_amount: u32) -> Weight {
// Error
- 0
+ Weight::zero()
}
fn set_token_property_permissions(_amount: u32) -> Weight {
// Error
- 0
+ Weight::zero()
}
fn transfer() -> Weight {
@@ -101,11 +101,11 @@
fn burn_recursively_breadth_raw(_amount: u32) -> Weight {
// Fungible tokens can't have children
- 0
+ Weight::zero()
}
fn token_owner() -> Weight {
- 0
+ Weight::zero()
}
}
pallets/fungible/src/lib.rsdiffbeforeafterboth--- a/pallets/fungible/src/lib.rs
+++ b/pallets/fungible/src/lib.rs
@@ -210,18 +210,21 @@
/// Initializes the collection. Returns [CollectionId] on success, [DispatchError] otherwise.
pub fn init_collection(
owner: T::CrossAccountId,
+ payer: T::CrossAccountId,
data: CreateCollectionData<T::AccountId>,
) -> Result<CollectionId, DispatchError> {
- <PalletCommon<T>>::init_collection(owner, data, CollectionFlags::default())
+ <PalletCommon<T>>::init_collection(owner, payer, data, CollectionFlags::default())
}
/// Initializes the collection with ForeignCollection flag. Returns [CollectionId] on success, [DispatchError] otherwise.
pub fn init_foreign_collection(
owner: T::CrossAccountId,
+ payer: T::CrossAccountId,
data: CreateCollectionData<T::AccountId>,
) -> Result<CollectionId, DispatchError> {
let id = <PalletCommon<T>>::init_collection(
owner,
+ payer,
data,
CollectionFlags {
foreign: true,
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -48,55 +48,55 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (18_195_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(18_195_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (19_218_000 as Weight)
+ Weight::from_ref_time(19_218_000)
// Standard Error: 3_000
- .saturating_add((4_516_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (18_719_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(18_719_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- (20_563_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(20_563_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (17_583_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_583_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- (29_845_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(29_845_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (28_248_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(28_248_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(3 as u64))
}
}
@@ -105,54 +105,54 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (18_195_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(18_195_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (19_218_000 as Weight)
+ Weight::from_ref_time(19_218_000)
// Standard Error: 3_000
- .saturating_add((4_516_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (18_719_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(18_719_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- (20_563_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(20_563_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (17_583_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_583_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- (29_845_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(29_845_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (28_248_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(28_248_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(3 as u64))
}
}
pallets/inflation/Cargo.tomldiffbeforeafterboth--- a/pallets/inflation/Cargo.toml
+++ b/pallets/inflation/Cargo.toml
@@ -43,37 +43,37 @@
default-features = false
optional = true
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.serde]
default-features = false
@@ -83,17 +83,17 @@
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies]
scale-info = { version = "2.0.1", default-features = false, features = [
pallets/inflation/src/lib.rsdiffbeforeafterboth--- a/pallets/inflation/src/lib.rs
+++ b/pallets/inflation/src/lib.rs
@@ -110,7 +110,7 @@
where
<T as frame_system::Config>::BlockNumber: From<u32>,
{
- let mut consumed_weight = 0;
+ let mut consumed_weight = Weight::zero();
let mut add_weight = |reads, writes, weight| {
consumed_weight += T::DbWeight::get().reads_writes(reads, writes);
consumed_weight += weight;
@@ -119,7 +119,7 @@
let block_interval: u32 = T::InflationBlockInterval::get().try_into().unwrap_or(0);
let current_relay_block = T::BlockNumberProvider::current_block_number();
let next_inflation: T::BlockNumber = <NextInflationBlock<T>>::get();
- add_weight(1, 0, 5_000_000);
+ add_weight(1, 0, Weight::from_ref_time(5_000_000));
// Apply inflation every InflationBlockInterval blocks
// If next_inflation == 0, this means inflation wasn't yet initialized
@@ -128,10 +128,10 @@
// Do the "current_relay_block >= next_recalculation" check in the "current_relay_block >= next_inflation"
// block because it saves InflationBlockInterval DB reads for NextRecalculationBlock.
let next_recalculation: T::BlockNumber = <NextRecalculationBlock<T>>::get();
- add_weight(1, 0, 0);
+ add_weight(1, 0, Weight::zero());
if current_relay_block >= next_recalculation {
Self::recalculate_inflation(next_recalculation);
- add_weight(0, 4, 5_000_000);
+ add_weight(0, 4, Weight::from_ref_time(5_000_000));
}
T::Currency::deposit_into_existing(
@@ -143,7 +143,7 @@
// Update inflation block
<NextInflationBlock<T>>::set(next_inflation + block_interval.into());
- add_weight(3, 3, 10_000_000);
+ add_weight(3, 3, Weight::from_ref_time(10_000_000));
}
consumed_weight
pallets/inflation/src/tests.rsdiffbeforeafterboth--- a/pallets/inflation/src/tests.rs
+++ b/pallets/inflation/src/tests.rs
@@ -21,6 +21,7 @@
use frame_support::{
assert_ok, parameter_types,
traits::{Currency, OnInitialize, Everything, ConstU32},
+ weights::Weight,
};
use frame_system::RawOrigin;
use sp_core::H256;
@@ -69,7 +70,7 @@
parameter_types! {
pub const BlockHashCount: u64 = 250;
pub BlockWeights: frame_system::limits::BlockWeights =
- frame_system::limits::BlockWeights::simple_max(1024);
+ frame_system::limits::BlockWeights::simple_max(Weight::from_ref_time(1024));
pub const SS58Prefix: u8 = 42;
}
pallets/nonfungible/Cargo.tomldiffbeforeafterboth--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -11,19 +11,19 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
pallet-common = { default-features = false, path = '../common' }
pallet-structure = { default-features = false, path = '../structure' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
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.27" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
pallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/benchmarking.rs
+++ b/pallets/nonfungible/src/benchmarking.rs
@@ -54,7 +54,9 @@
create_collection_raw(
owner,
CollectionMode::NFT,
- |owner, data| <Pallet<T>>::init_collection(owner, data, true),
+ |owner: T::CrossAccountId, data| {
+ <Pallet<T>>::init_collection(owner.clone(), owner, data, true)
+ },
NonfungibleHandle::cast,
)
}
pallets/nonfungible/src/common.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/common.rs
+++ b/pallets/nonfungible/src/common.rs
@@ -44,16 +44,16 @@
CreateItemExData::NFT(t) => {
<SelfWeightOf<T>>::create_multiple_items_ex(t.len() as u32)
+ t.iter()
- .map(|t| {
+ .filter_map(|t| {
if t.properties.len() > 0 {
- Self::set_token_properties(t.properties.len() as u32)
+ Some(Self::set_token_properties(t.properties.len() as u32))
} else {
- 0
+ None
}
})
- .sum::<u64>()
+ .fold(Weight::zero(), |a, b| a.saturating_add(b))
}
- _ => 0,
+ _ => Weight::zero(),
}
}
@@ -67,7 +67,7 @@
}
_ => None,
})
- .sum::<u64>()
+ .fold(Weight::zero(), |a, b| a.saturating_add(b))
}
fn burn_item() -> Weight {
pallets/nonfungible/src/lib.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -114,7 +114,7 @@
use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
use sp_core::H160;
use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome};
-use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap, collections::btree_set::BTreeSet};
+use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap};
use core::ops::Deref;
use codec::{Encode, Decode, MaxEncodedLen};
use scale_info::TypeInfo;
@@ -278,7 +278,7 @@
fn on_runtime_upgrade() -> Weight {
StorageVersion::new(1).put::<Pallet<T>>();
- 0
+ Weight::zero()
}
}
}
@@ -405,11 +405,13 @@
/// - `data`: Contains settings for collection limits and permissions.
pub fn init_collection(
owner: T::CrossAccountId,
+ payer: T::CrossAccountId,
data: CreateCollectionData<T::AccountId>,
is_external: bool,
) -> Result<CollectionId, DispatchError> {
<PalletCommon<T>>::init_collection(
owner,
+ payer,
data,
CollectionFlags {
external: is_external,
@@ -543,7 +545,7 @@
let current_token_account =
T::CrossTokenAddressMapping::token_to_address(collection.id, token);
- let mut weight = 0 as Weight;
+ let mut weight = Weight::zero();
// This method is transactional, if user in fact doesn't have permissions to remove token -
// tokens removed here will be restored after rejected transaction
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -57,34 +57,34 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_905_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(25_905_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:1 w:1)
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (24_955_000 as Weight)
+ Weight::from_ref_time(24_955_000)
// Standard Error: 3_000
- .saturating_add((5_340_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:4 w:4)
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (13_666_000 as Weight)
+ Weight::from_ref_time(13_666_000)
// Standard Error: 5_000
- .saturating_add((8_299_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
+ .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible TokenChildren (r:1 w:0)
@@ -94,9 +94,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- (36_205_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(36_205_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenChildren (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:1)
@@ -106,9 +106,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- (44_550_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(44_550_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenChildren (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:1)
@@ -119,38 +119,38 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 1_536_000
- .saturating_add((312_125_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(7 as Weight))
- .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(7 as u64))
+ .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
+ .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (31_116_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(31_116_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- (20_802_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(20_802_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible Allowance (r:1 w:1)
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (36_083_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(36_083_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Nonfungible Allowance (r:1 w:1)
// Storage: Nonfungible TokenData (r:1 w:1)
@@ -160,40 +160,40 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (41_781_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(41_781_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 58_000
- .saturating_add((15_705_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_595_000
- .saturating_add((590_344_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_664_000
- .saturating_add((605_836_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- (4_366_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
+ Weight::from_ref_time(4_366_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
}
}
@@ -204,34 +204,34 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_905_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(25_905_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:1 w:1)
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (24_955_000 as Weight)
+ Weight::from_ref_time(24_955_000)
// Standard Error: 3_000
- .saturating_add((5_340_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:4 w:4)
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (13_666_000 as Weight)
+ Weight::from_ref_time(13_666_000)
// Standard Error: 5_000
- .saturating_add((8_299_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible TokenChildren (r:1 w:0)
@@ -241,9 +241,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- (36_205_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(36_205_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenChildren (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:1)
@@ -253,9 +253,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- (44_550_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(44_550_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenChildren (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:1)
@@ -266,38 +266,38 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 1_536_000
- .saturating_add((312_125_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(7 as Weight))
- .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(7 as u64))
+ .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
+ .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (31_116_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(31_116_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- (20_802_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(20_802_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible Allowance (r:1 w:1)
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (36_083_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(36_083_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Nonfungible Allowance (r:1 w:1)
// Storage: Nonfungible TokenData (r:1 w:1)
@@ -307,39 +307,39 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (41_781_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(41_781_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 58_000
- .saturating_add((15_705_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_595_000
- .saturating_add((590_344_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_664_000
- .saturating_add((605_836_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- (4_366_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
+ Weight::from_ref_time(4_366_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
}
}
pallets/proxy-rmrk-core/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-core/Cargo.toml
+++ b/pallets/proxy-rmrk-core/Cargo.toml
@@ -11,17 +11,17 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
pallet-common = { default-features = false, path = '../common' }
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.27-fee-limit" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -1448,7 +1448,7 @@
data: CreateCollectionData<T::AccountId>,
properties: impl Iterator<Item = Property>,
) -> Result<CollectionId, DispatchError> {
- let collection_id = <PalletNft<T>>::init_collection(sender, data, true);
+ let collection_id = <PalletNft<T>>::init_collection(sender.clone(), sender, data, true);
if let Err(DispatchError::Arithmetic(_)) = &collection_id {
return Err(<Error<T>>::NoAvailableCollectionId.into());
pallets/proxy-rmrk-core/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/weights.rs
+++ b/pallets/proxy-rmrk-core/src/weights.rs
@@ -64,9 +64,9 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (49_754_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(8 as Weight))
+ Weight::from_ref_time(49_754_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(8 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:1)
@@ -77,17 +77,17 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (48_588_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(48_588_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (25_054_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(25_054_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -95,9 +95,9 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (26_483_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(26_483_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -109,13 +109,13 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (62_419_000 as Weight)
+ Weight::from_ref_time(62_419_000)
// Standard Error: 7_000
- .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(6 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(12_325_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(6 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -128,13 +128,13 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 1_488_000
- .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(9 as Weight))
- .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(298_367_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(9 as u64))
+ .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
+ .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -146,9 +146,9 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (81_942_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(12 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(81_942_000)
+ .saturating_add(T::DbWeight::get().reads(12 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:2 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -161,9 +161,9 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (97_925_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(16 as Weight))
- .saturating_add(T::DbWeight::get().writes(8 as Weight))
+ Weight::from_ref_time(97_925_000)
+ .saturating_add(T::DbWeight::get().reads(16 as u64))
+ .saturating_add(T::DbWeight::get().writes(8 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -177,9 +177,9 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (277_794_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(30 as Weight))
- .saturating_add(T::DbWeight::get().writes(26 as Weight))
+ Weight::from_ref_time(277_794_000)
+ .saturating_add(T::DbWeight::get().reads(30 as u64))
+ .saturating_add(T::DbWeight::get().writes(26 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -187,9 +187,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (54_657_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(9 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(54_657_000)
+ .saturating_add(T::DbWeight::get().reads(9 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -197,9 +197,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (55_056_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(9 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(55_056_000)
+ .saturating_add(T::DbWeight::get().reads(9 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -208,9 +208,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (61_673_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(10 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(61_673_000)
+ .saturating_add(T::DbWeight::get().reads(10 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -219,9 +219,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (67_125_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(11 as Weight))
- .saturating_add(T::DbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(67_125_000)
+ .saturating_add(T::DbWeight::get().reads(11 as u64))
+ .saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -230,9 +230,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (69_058_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(10 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(69_058_000)
+ .saturating_add(T::DbWeight::get().reads(10 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -240,9 +240,9 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (53_427_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(9 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(53_427_000)
+ .saturating_add(T::DbWeight::get().reads(9 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -250,9 +250,9 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (50_623_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(9 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(50_623_000)
+ .saturating_add(T::DbWeight::get().reads(9 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -260,9 +260,9 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (50_917_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(9 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(50_917_000)
+ .saturating_add(T::DbWeight::get().reads(9 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -277,9 +277,9 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (49_754_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(8 as Weight))
+ Weight::from_ref_time(49_754_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(8 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:1)
@@ -290,17 +290,17 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (48_588_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(48_588_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (25_054_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(25_054_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -308,9 +308,9 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (26_483_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(26_483_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -322,13 +322,13 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (62_419_000 as Weight)
+ Weight::from_ref_time(62_419_000)
// Standard Error: 7_000
- .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(6 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(12_325_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(6 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -341,13 +341,13 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 1_488_000
- .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(9 as Weight))
- .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(298_367_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(9 as u64))
+ .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
+ .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -359,9 +359,9 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (81_942_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(12 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(81_942_000)
+ .saturating_add(RocksDbWeight::get().reads(12 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:2 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -374,9 +374,9 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (97_925_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(16 as Weight))
- .saturating_add(RocksDbWeight::get().writes(8 as Weight))
+ Weight::from_ref_time(97_925_000)
+ .saturating_add(RocksDbWeight::get().reads(16 as u64))
+ .saturating_add(RocksDbWeight::get().writes(8 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -390,9 +390,9 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (277_794_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(30 as Weight))
- .saturating_add(RocksDbWeight::get().writes(26 as Weight))
+ Weight::from_ref_time(277_794_000)
+ .saturating_add(RocksDbWeight::get().reads(30 as u64))
+ .saturating_add(RocksDbWeight::get().writes(26 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -400,9 +400,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (54_657_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(9 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(54_657_000)
+ .saturating_add(RocksDbWeight::get().reads(9 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -410,9 +410,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (55_056_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(9 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(55_056_000)
+ .saturating_add(RocksDbWeight::get().reads(9 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -421,9 +421,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (61_673_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(10 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(61_673_000)
+ .saturating_add(RocksDbWeight::get().reads(10 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -432,9 +432,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (67_125_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(11 as Weight))
- .saturating_add(RocksDbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(67_125_000)
+ .saturating_add(RocksDbWeight::get().reads(11 as u64))
+ .saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -443,9 +443,9 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (69_058_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(10 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(69_058_000)
+ .saturating_add(RocksDbWeight::get().reads(10 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -453,9 +453,9 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (53_427_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(9 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(53_427_000)
+ .saturating_add(RocksDbWeight::get().reads(9 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -463,9 +463,9 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (50_623_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(9 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(50_623_000)
+ .saturating_add(RocksDbWeight::get().reads(9 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: RmrkCore UniqueCollectionId (r:1 w:0)
// Storage: Common CollectionProperties (r:1 w:0)
@@ -473,8 +473,8 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (50_917_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(9 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(50_917_000)
+ .saturating_add(RocksDbWeight::get().reads(9 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
pallets/proxy-rmrk-equip/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/Cargo.toml
+++ b/pallets/proxy-rmrk-equip/Cargo.toml
@@ -11,16 +11,16 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
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.27-fee-limit" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
pallets/proxy-rmrk-equip/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/src/lib.rs
+++ b/pallets/proxy-rmrk-equip/src/lib.rs
@@ -250,8 +250,12 @@
..Default::default()
};
- let collection_id_res =
- <PalletNft<T>>::init_collection(cross_sender.clone(), data, true);
+ let collection_id_res = <PalletNft<T>>::init_collection(
+ cross_sender.clone(),
+ cross_sender.clone(),
+ data,
+ true,
+ );
if let Err(DispatchError::Arithmetic(_)) = &collection_id_res {
return Err(<Error<T>>::NoAvailableBaseId.into());
pallets/proxy-rmrk-equip/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/src/weights.rs
+++ b/pallets/proxy-rmrk-equip/src/weights.rs
@@ -54,13 +54,13 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (58_417_000 as Weight)
+ Weight::from_ref_time(58_417_000)
// Standard Error: 27_000
- .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(6 as Weight))
- .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(8 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(20_439_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(6 as u64))
+ .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(8 as u64))
+ .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Common CollectionProperties (r:1 w:0)
// Storage: Common CollectionById (r:1 w:0)
@@ -71,20 +71,20 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_005_000 as Weight)
+ Weight::from_ref_time(46_005_000)
// Standard Error: 42_000
- .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(6 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ .saturating_add(Weight::from_ref_time(2_922_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(6 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Common CollectionProperties (r:1 w:0)
// Storage: Common CollectionById (r:1 w:0)
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_526_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(32_526_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -103,13 +103,13 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (58_417_000 as Weight)
+ Weight::from_ref_time(58_417_000)
// Standard Error: 27_000
- .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(6 as Weight))
- .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(8 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(20_439_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(6 as u64))
+ .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(8 as u64))
+ .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Common CollectionProperties (r:1 w:0)
// Storage: Common CollectionById (r:1 w:0)
@@ -120,19 +120,19 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_005_000 as Weight)
+ Weight::from_ref_time(46_005_000)
// Standard Error: 42_000
- .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(6 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ .saturating_add(Weight::from_ref_time(2_922_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(6 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Common CollectionProperties (r:1 w:0)
// Storage: Common CollectionById (r:1 w:0)
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_526_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(32_526_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
pallets/refungible/Cargo.tomldiffbeforeafterboth--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/Cargo.toml
@@ -11,17 +11,17 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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' }
pallet-structure = { default-features = false, path = '../structure' }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
struct-versioning = { path = "../../crates/struct-versioning" }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
pallets/refungible/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/refungible/src/benchmarking.rs
+++ b/pallets/refungible/src/benchmarking.rs
@@ -62,7 +62,7 @@
create_collection_raw(
owner,
CollectionMode::ReFungible,
- <Pallet<T>>::init_collection,
+ |owner: T::CrossAccountId, data| <Pallet<T>>::init_collection(owner.clone(), owner, data),
RefungibleHandle::cast,
)
}
pallets/refungible/src/common.rsdiffbeforeafterboth--- a/pallets/refungible/src/common.rs
+++ b/pallets/refungible/src/common.rs
@@ -38,18 +38,18 @@
macro_rules! max_weight_of {
($($method:ident ($($args:tt)*)),*) => {
- 0
+ Weight::zero()
$(
.max(<SelfWeightOf<T>>::$method($($args)*))
)*
};
}
-fn properties_weight<T: Config>(properties: &CollectionPropertiesVec) -> u64 {
+fn properties_weight<T: Config>(properties: &CollectionPropertiesVec) -> Weight {
if properties.len() > 0 {
<CommonWeights<T>>::set_token_properties(properties.len() as u32)
} else {
- 0
+ Weight::zero()
}
}
@@ -66,9 +66,9 @@
up_data_structs::CreateItemData::ReFungible(rft_data) => {
properties_weight::<T>(&rft_data.properties)
}
- _ => 0,
+ _ => Weight::zero(),
})
- .fold(0, |a, b| a.saturating_add(b)),
+ .fold(Weight::zero(), |a, b| a.saturating_add(b)),
)
}
@@ -83,10 +83,10 @@
.saturating_add(
i.iter()
.map(|d| properties_weight::<T>(&d.properties))
- .fold(0, |a, b| a.saturating_add(b)),
+ .fold(Weight::zero(), |a, b| a.saturating_add(b)),
)
}
- _ => 0,
+ _ => Weight::zero(),
}
}
@@ -146,7 +146,7 @@
}
fn burn_recursively_breadth_raw(_amount: u32) -> Weight {
// Refungible token can't have children
- 0
+ Weight::zero()
}
fn token_owner() -> Weight {
pallets/refungible/src/lib.rsdiffbeforeafterboth--- a/pallets/refungible/src/lib.rs
+++ b/pallets/refungible/src/lib.rs
@@ -99,11 +99,7 @@
use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};
use pallet_evm_coder_substrate::WithRecorder;
use pallet_common::{
- CollectionHandle, CommonCollectionOperations,
- dispatch::CollectionDispatch,
- erc::static_property::{key, property_value_from_bytes},
- Error as CommonError,
- eth::collection_id_to_address,
+ CommonCollectionOperations, Error as CommonError, eth::collection_id_to_address,
Event as CommonEvent, Pallet as PalletCommon,
};
use pallet_structure::Pallet as PalletStructure;
@@ -112,10 +108,10 @@
use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome};
use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap};
use up_data_structs::{
- AccessMode, budget::Budget, CollectionId, CollectionMode, CollectionFlags,
- CollectionPropertiesVec, CreateCollectionData, CustomDataLimit, mapping::TokenAddressMapping,
- MAX_ITEMS_PER_BATCH, MAX_REFUNGIBLE_PIECES, Property, PropertyKey, PropertyKeyPermission,
- PropertyPermission, PropertyScope, PropertyValue, TokenId, TrySetProperty,
+ AccessMode, budget::Budget, CollectionId, CollectionFlags, CollectionPropertiesVec,
+ CreateCollectionData, CustomDataLimit, mapping::TokenAddressMapping, MAX_ITEMS_PER_BATCH,
+ MAX_REFUNGIBLE_PIECES, Property, PropertyKey, PropertyKeyPermission, PropertyPermission,
+ PropertyScope, PropertyValue, TokenId, TrySetProperty,
};
use frame_support::BoundedBTreeMap;
use derivative::Derivative;
@@ -287,7 +283,7 @@
}
StorageVersion::new(2).put::<Pallet<T>>();
- 0
+ Weight::zero()
}
}
}
@@ -373,9 +369,10 @@
/// - `data`: Contains settings for collection limits and permissions.
pub fn init_collection(
owner: T::CrossAccountId,
+ payer: T::CrossAccountId,
data: CreateCollectionData<T::AccountId>,
) -> Result<CollectionId, DispatchError> {
- <PalletCommon<T>>::init_collection(owner, data, CollectionFlags::default())
+ <PalletCommon<T>>::init_collection(owner, payer, data, CollectionFlags::default())
}
/// Destroy RFT collection
pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -65,9 +65,9 @@
// Storage: Refungible TotalSupply (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (29_527_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(29_527_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
@@ -75,12 +75,12 @@
// Storage: Refungible TotalSupply (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (28_541_000 as Weight)
+ Weight::from_ref_time(28_541_000)
// Standard Error: 4_000
- .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
@@ -88,13 +88,13 @@
// Storage: Refungible TotalSupply (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (24_366_000 as Weight)
+ Weight::from_ref_time(24_366_000)
// Standard Error: 5_000
- .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
+ .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
@@ -102,22 +102,22 @@
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (27_574_000 as Weight)
+ Weight::from_ref_time(27_574_000)
// Standard Error: 4_000
- .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (42_943_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(42_943_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
@@ -126,58 +126,58 @@
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (36_861_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(36_861_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (27_789_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(27_789_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (32_893_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(32_893_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (34_703_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(34_703_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (37_547_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(37_547_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (20_039_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(20_039_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (37_628_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(37_628_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
@@ -185,9 +185,9 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (42_072_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(42_072_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
@@ -195,9 +195,9 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (43_024_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(43_024_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
@@ -205,9 +205,9 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (45_910_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(6 as Weight))
- .saturating_add(T::DbWeight::get().writes(7 as Weight))
+ Weight::from_ref_time(45_910_000)
+ .saturating_add(T::DbWeight::get().reads(6 as u64))
+ .saturating_add(T::DbWeight::get().writes(7 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible TotalSupply (r:1 w:1)
@@ -217,47 +217,47 @@
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (48_584_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(7 as Weight))
+ Weight::from_ref_time(48_584_000)
+ .saturating_add(T::DbWeight::get().reads(5 as u64))
+ .saturating_add(T::DbWeight::get().writes(7 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 60_000
- .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_609_000
- .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_637_000
- .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (22_356_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(22_356_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (9_431_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ Weight::from_ref_time(9_431_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
}
}
@@ -269,9 +269,9 @@
// Storage: Refungible TotalSupply (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (29_527_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(29_527_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
@@ -279,12 +279,12 @@
// Storage: Refungible TotalSupply (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (28_541_000 as Weight)
+ Weight::from_ref_time(28_541_000)
// Standard Error: 4_000
- .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
@@ -292,13 +292,13 @@
// Storage: Refungible TotalSupply (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (24_366_000 as Weight)
+ Weight::from_ref_time(24_366_000)
// Standard Error: 5_000
- .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
@@ -306,22 +306,22 @@
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (27_574_000 as Weight)
+ Weight::from_ref_time(27_574_000)
// Standard Error: 4_000
- .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (42_943_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(42_943_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
@@ -330,58 +330,58 @@
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (36_861_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(36_861_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (27_789_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(27_789_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (32_893_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(32_893_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (34_703_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ Weight::from_ref_time(34_703_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (37_547_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(37_547_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (20_039_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(20_039_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (37_628_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(3 as Weight))
+ Weight::from_ref_time(37_628_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
@@ -389,9 +389,9 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (42_072_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(42_072_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
@@ -399,9 +399,9 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (43_024_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(5 as Weight))
+ Weight::from_ref_time(43_024_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
@@ -409,9 +409,9 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (45_910_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(6 as Weight))
- .saturating_add(RocksDbWeight::get().writes(7 as Weight))
+ Weight::from_ref_time(45_910_000)
+ .saturating_add(RocksDbWeight::get().reads(6 as u64))
+ .saturating_add(RocksDbWeight::get().writes(7 as u64))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible TotalSupply (r:1 w:1)
@@ -421,46 +421,46 @@
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (48_584_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(7 as Weight))
+ Weight::from_ref_time(48_584_000)
+ .saturating_add(RocksDbWeight::get().reads(5 as u64))
+ .saturating_add(RocksDbWeight::get().writes(7 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 60_000
- .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_609_000
- .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
- (0 as Weight)
+ (Weight::from_ref_time(0))
// Standard Error: 3_637_000
- .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ .saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (22_356_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(22_356_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (9_431_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ Weight::from_ref_time(9_431_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
}
}
pallets/scheduler/Cargo.tomldiffbeforeafterboth--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -16,20 +16,20 @@
"derive",
] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.27' }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.29' }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29" }
log = { version = "0.4.16", default-features = false }
[dev-dependencies]
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
[features]
default = ["std"]
pallets/scheduler/src/lib.rsdiffbeforeafterboth--- a/pallets/scheduler/src/lib.rs
+++ b/pallets/scheduler/src/lib.rs
@@ -497,7 +497,7 @@
}
}
// Total weight should be 0, because the transaction is already paid for
- 0
+ Weight::zero()
}
}
pallets/scheduler/src/weights.rsdiffbeforeafterboth--- a/pallets/scheduler/src/weights.rs
+++ b/pallets/scheduler/src/weights.rs
@@ -55,13 +55,13 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (26_641_000 as Weight)
+ Weight::from_ref_time(26_641_000)
// Standard Error: 9_000
- .saturating_add((8_547_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
- .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(8_547_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
+ .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -69,12 +69,12 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (23_941_000 as Weight)
+ Weight::from_ref_time(23_941_000)
// Standard Error: 17_000
- .saturating_add((5_282_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_282_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: System Account (r:1 w:1)
@@ -82,13 +82,13 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic(s: u32, ) -> Weight {
- (24_858_000 as Weight)
+ Weight::from_ref_time(24_858_000)
// Standard Error: 7_000
- .saturating_add((8_657_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
- .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(8_657_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
+ .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: System Account (r:1 w:1)
@@ -96,23 +96,23 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (25_515_000 as Weight)
+ Weight::from_ref_time(25_515_000)
// Standard Error: 14_000
- .saturating_add((8_656_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
- .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(8_656_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
+ .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (7_584_000 as Weight)
+ Weight::from_ref_time(7_584_000)
// Standard Error: 1_000
- .saturating_add((2_065_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(2_065_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -120,22 +120,22 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (25_552_000 as Weight)
+ Weight::from_ref_time(25_552_000)
// Standard Error: 4_000
- .saturating_add((5_187_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_187_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (8_980_000 as Weight)
+ Weight::from_ref_time(8_980_000)
// Standard Error: 12_000
- .saturating_add((2_050_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(2_050_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -143,12 +143,12 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (24_482_000 as Weight)
+ Weight::from_ref_time(24_482_000)
// Standard Error: 4_000
- .saturating_add((5_249_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_249_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -156,30 +156,30 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_resolved(s: u32, ) -> Weight {
- (25_187_000 as Weight)
+ Weight::from_ref_time(25_187_000)
// Standard Error: 4_000
- .saturating_add((5_216_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_216_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(4 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (17_316_000 as Weight)
+ Weight::from_ref_time(17_316_000)
// Standard Error: 3_000
- .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ .saturating_add(Weight::from_ref_time(82_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (15_652_000 as Weight)
+ Weight::from_ref_time(15_652_000)
// Standard Error: 1_000
- .saturating_add((436_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ .saturating_add(Weight::from_ref_time(436_000).saturating_mul(s as u64))
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
}
@@ -191,13 +191,13 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (26_641_000 as Weight)
+ Weight::from_ref_time(26_641_000)
// Standard Error: 9_000
- .saturating_add((8_547_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(8_547_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -205,12 +205,12 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (23_941_000 as Weight)
+ Weight::from_ref_time(23_941_000)
// Standard Error: 17_000
- .saturating_add((5_282_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_282_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: System Account (r:1 w:1)
@@ -218,13 +218,13 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic(s: u32, ) -> Weight {
- (24_858_000 as Weight)
+ Weight::from_ref_time(24_858_000)
// Standard Error: 7_000
- .saturating_add((8_657_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(8_657_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: System Account (r:1 w:1)
@@ -232,23 +232,23 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (25_515_000 as Weight)
+ Weight::from_ref_time(25_515_000)
// Standard Error: 14_000
- .saturating_add((8_656_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(8_656_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (7_584_000 as Weight)
+ Weight::from_ref_time(7_584_000)
// Standard Error: 1_000
- .saturating_add((2_065_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(2_065_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -256,22 +256,22 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (25_552_000 as Weight)
+ Weight::from_ref_time(25_552_000)
// Standard Error: 4_000
- .saturating_add((5_187_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_187_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (8_980_000 as Weight)
+ Weight::from_ref_time(8_980_000)
// Standard Error: 12_000
- .saturating_add((2_050_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(2_050_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -279,12 +279,12 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (24_482_000 as Weight)
+ Weight::from_ref_time(24_482_000)
// Standard Error: 4_000
- .saturating_add((5_249_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_249_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -292,29 +292,29 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_resolved(s: u32, ) -> Weight {
- (25_187_000 as Weight)
+ Weight::from_ref_time(25_187_000)
// Standard Error: 4_000
- .saturating_add((5_216_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(Weight::from_ref_time(5_216_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (17_316_000 as Weight)
+ Weight::from_ref_time(17_316_000)
// Standard Error: 3_000
- .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ .saturating_add(Weight::from_ref_time(82_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (15_652_000 as Weight)
+ Weight::from_ref_time(15_652_000)
// Standard Error: 1_000
- .saturating_add((436_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ .saturating_add(Weight::from_ref_time(436_000).saturating_mul(s as u64))
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
}
pallets/structure/Cargo.tomldiffbeforeafterboth--- a/pallets/structure/Cargo.toml
+++ b/pallets/structure/Cargo.toml
@@ -4,10 +4,10 @@
edition = "2021"
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
pallet-common = { path = "../common", default-features = false }
parity-scale-codec = { version = "3.1.2", default-features = false, features = [
"derive",
@@ -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.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
[features]
default = ["std"]
pallets/structure/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/structure/src/benchmarking.rs
+++ b/pallets/structure/src/benchmarking.rs
@@ -32,7 +32,7 @@
let caller_cross = T::CrossAccountId::from_sub(caller.clone());
<T as CommonConfig>::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get());
- T::CollectionDispatch::create(caller_cross.clone(), CreateCollectionData {
+ T::CollectionDispatch::create(caller_cross.clone(), caller_cross.clone(), CreateCollectionData {
mode: CollectionMode::NFT,
..Default::default()
})?;
pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -42,8 +42,8 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- (7_180_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ Weight::from_ref_time(7_180_000)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
}
}
@@ -52,7 +52,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- (7_180_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ Weight::from_ref_time(7_180_000)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
}
}
pallets/unique/Cargo.tomldiffbeforeafterboth--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -59,37 +59,37 @@
default-features = false
optional = true
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
################################################################################
# Local Dependencies
@@ -98,7 +98,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.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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/eth/mod.rsdiffbeforeafterboth--- a/pallets/unique/src/eth/mod.rs
+++ b/pallets/unique/src/eth/mod.rs
@@ -28,7 +28,7 @@
static_property::{key, value as property_value},
},
};
-use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
+use pallet_evm_coder_substrate::{dispatch_to_evm, SubstrateRecorder, WithRecorder};
use pallet_evm::{account::CrossAccountId, OnMethodCall, PrecompileHandle, PrecompileResult};
use up_data_structs::{
CollectionName, CollectionDescription, CollectionTokenPrefix, CreateCollectionData,
@@ -156,6 +156,7 @@
T: Config + pallet_nonfungible::Config + pallet_refungible::Config,
>(
caller: caller,
+ value: value,
name: string,
description: string,
token_prefix: string,
@@ -172,18 +173,38 @@
base_uri_value,
add_properties,
)?;
+ check_sent_amount_equals_collection_creation_price::<T>(value)?;
+ let collection_helpers_address =
+ T::CrossAccountId::from_eth(<T as pallet_common::Config>::ContractAddress::get());
- let collection_id = T::CollectionDispatch::create(caller.clone(), data)
- .map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
+ let collection_id =
+ T::CollectionDispatch::create(caller.clone(), collection_helpers_address, data)
+ .map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
let address = pallet_common::eth::collection_id_to_address(collection_id);
Ok(address)
}
+fn check_sent_amount_equals_collection_creation_price<T: Config>(value: value) -> Result<()> {
+ let value = value.as_u128();
+ let creation_price: u128 = T::CollectionCreationPrice::get()
+ .try_into()
+ .map_err(|_| ()) // workaround for `expect` requiring `Debug` trait
+ .expect("Collection creation price should be convertible to u128");
+ if value != creation_price {
+ return Err(format!(
+ "Sent amount not equals to collection creation price ({0})",
+ creation_price
+ )
+ .into());
+ }
+ Ok(())
+}
+
/// @title Contract, which allows users to operate with collections
#[solidity_interface(name = CollectionHelpers, events(CollectionHelpersEvents))]
impl<T> EvmCollectionHelpers<T>
where
- T: Config + pallet_nonfungible::Config + pallet_refungible::Config,
+ T: Config + pallet_common::Config + pallet_nonfungible::Config + pallet_refungible::Config,
{
/// Create an NFT collection
/// @param name Name of the collection
@@ -194,6 +215,7 @@
fn create_nonfungible_collection(
&mut self,
caller: caller,
+ value: value,
name: string,
description: string,
token_prefix: string,
@@ -208,8 +230,11 @@
Default::default(),
false,
)?;
- let collection_id = T::CollectionDispatch::create(caller, data)
- .map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
+ check_sent_amount_equals_collection_creation_price::<T>(value)?;
+ let collection_helpers_address =
+ T::CrossAccountId::from_eth(<T as pallet_common::Config>::ContractAddress::get());
+ let collection_id = T::CollectionDispatch::create(caller, collection_helpers_address, data)
+ .map_err(dispatch_to_evm::<T>)?;
let address = pallet_common::eth::collection_id_to_address(collection_id);
Ok(address)
@@ -220,6 +245,7 @@
fn create_nonfungible_collection_with_properties(
&mut self,
caller: caller,
+ value: value,
name: string,
description: string,
token_prefix: string,
@@ -235,7 +261,10 @@
base_uri_value,
true,
)?;
- let collection_id = T::CollectionDispatch::create(caller, data)
+ check_sent_amount_equals_collection_creation_price::<T>(value)?;
+ let collection_helpers_address =
+ T::CrossAccountId::from_eth(<T as pallet_common::Config>::ContractAddress::get());
+ let collection_id = T::CollectionDispatch::create(caller, collection_helpers_address, data)
.map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
let address = pallet_common::eth::collection_id_to_address(collection_id);
@@ -247,12 +276,14 @@
fn create_refungible_collection(
&mut self,
caller: caller,
+ value: value,
name: string,
description: string,
token_prefix: string,
) -> Result<address> {
create_refungible_collection_internal::<T>(
caller,
+ value,
name,
description,
token_prefix,
@@ -266,6 +297,7 @@
fn create_refungible_collection_with_properties(
&mut self,
caller: caller,
+ value: value,
name: string,
description: string,
token_prefix: string,
@@ -273,6 +305,7 @@
) -> Result<address> {
create_refungible_collection_internal::<T>(
caller,
+ value,
name,
description,
token_prefix,
@@ -292,6 +325,14 @@
Ok(false)
}
+
+ fn collection_creation_fee(&self) -> Result<value> {
+ let price: u128 = T::CollectionCreationPrice::get()
+ .try_into()
+ .map_err(|_| ()) // workaround for `expect` requiring `Debug` trait
+ .expect("Collection creation price should be convertible to u128");
+ Ok(price.into())
+ }
}
/// Implements [`OnMethodCall`], which delegates call to [`EvmCollectionHelpers`]
pallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth--- a/pallets/unique/src/eth/stubs/CollectionHelpers.sol
+++ b/pallets/unique/src/eth/stubs/CollectionHelpers.sol
@@ -23,7 +23,7 @@
}
/// @title Contract, which allows users to operate with collections
-/// @dev the ERC-165 identifier for this interface is 0x88ee8ef1
+/// @dev the ERC-165 identifier for this interface is 0x5ad4f440
contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
/// Create an NFT collection
/// @param name Name of the collection
@@ -36,7 +36,7 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) public returns (address) {
+ ) public payable returns (address) {
require(false, stub_error);
name;
description;
@@ -52,7 +52,7 @@
string memory description,
string memory tokenPrefix,
string memory baseUri
- ) public returns (address) {
+ ) public payable returns (address) {
require(false, stub_error);
name;
description;
@@ -68,7 +68,7 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) public returns (address) {
+ ) public payable returns (address) {
require(false, stub_error);
name;
description;
@@ -84,7 +84,7 @@
string memory description,
string memory tokenPrefix,
string memory baseUri
- ) public returns (address) {
+ ) public payable returns (address) {
require(false, stub_error);
name;
description;
@@ -105,4 +105,12 @@
dummy;
return false;
}
+
+ /// @dev EVM selector for this function is: 0xd23a7ab1,
+ /// or in textual repr: collectionCreationFee()
+ function collectionCreationFee() public view returns (uint256) {
+ require(false, stub_error);
+ dummy;
+ return 0;
+ }
}
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -83,7 +83,7 @@
};
use scale_info::TypeInfo;
use frame_system::{self as system, ensure_signed};
-use sp_runtime::{sp_std::prelude::Vec};
+use sp_std::{vec, vec::Vec};
use up_data_structs::{
MAX_COLLECTION_NAME_LENGTH, MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_TOKEN_PREFIX_LENGTH,
CreateItemData, CollectionLimits, CollectionPermissions, CollectionId, CollectionMode, TokenId,
@@ -280,11 +280,11 @@
pub fn deposit_event() = default;
fn on_initialize(_now: T::BlockNumber) -> Weight {
- 0
+ Weight::zero()
}
fn on_runtime_upgrade() -> Weight {
- 0
+ Weight::zero()
}
/// Create a collection of tokens.
@@ -344,8 +344,8 @@
let sender = ensure_signed(origin)?;
// =========
-
- let _id = T::CollectionDispatch::create(T::CrossAccountId::from_sub(sender), data)?;
+ let sender = T::CrossAccountId::from_sub(sender);
+ let _id = T::CollectionDispatch::create(sender.clone(), sender, data)?;
Ok(())
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -57,9 +57,9 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (43_143_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(43_143_000)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
// Storage: Nonfungible TokenData (r:1 w:0)
@@ -69,75 +69,75 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- (50_188_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(50_188_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (18_238_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_238_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- (18_084_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_084_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- (18_265_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_265_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (23_558_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(23_558_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (25_285_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(25_285_000)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- (17_885_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_885_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- (17_897_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_897_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- (17_836_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_836_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- (9_714_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(9_714_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- (18_166_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_166_000)
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -150,9 +150,9 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (43_143_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(43_143_000)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
// Storage: Nonfungible TokenData (r:1 w:0)
@@ -162,74 +162,74 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- (50_188_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ Weight::from_ref_time(50_188_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (18_238_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_238_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- (18_084_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_084_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- (18_265_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_265_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (23_558_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(23_558_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (25_285_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ Weight::from_ref_time(25_285_000)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- (17_885_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_885_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- (17_897_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_897_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- (17_836_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(17_836_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- (9_714_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(9_714_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- (18_166_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ Weight::from_ref_time(18_166_000)
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
primitives/app_promotion_rpc/Cargo.tomldiffbeforeafterboth--- a/primitives/app_promotion_rpc/Cargo.toml
+++ b/primitives/app_promotion_rpc/Cargo.toml
@@ -10,11 +10,11 @@
codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
"derive",
] }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
[features]
default = ["std"]
primitives/common/Cargo.tomldiffbeforeafterboth--- a/primitives/common/Cargo.toml
+++ b/primitives/common/Cargo.toml
@@ -6,7 +6,7 @@
license = 'All Rights Reserved'
name = 'up-common'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = "0.9.27"
+version = "0.9.29"
[features]
default = ['std']
@@ -23,34 +23,34 @@
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.fp-rpc]
default-features = false
git = "https://github.com/uniquenetwork/frontier"
-branch = "unique-polkadot-v0.9.27-fee-limit"
+branch = "unique-polkadot-v0.9.29"
[dependencies.pallet-evm]
default-features = false
git = "https://github.com/uniquenetwork/frontier"
-branch = "unique-polkadot-v0.9.27-fee-limit"
+branch = "unique-polkadot-v0.9.29"
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -54,7 +54,7 @@
/// by Operational extrinsics.
pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);
/// We allow for 2 seconds of compute with a 6 second average block time.
-pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND / 2;
+pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.saturating_div(2);
parameter_types! {
pub const TransactionByteFee: Balance = 501 * MICROUNIQUE;
primitives/data-structs/Cargo.tomldiffbeforeafterboth--- a/primitives/data-structs/Cargo.toml
+++ b/primitives/data-structs/Cargo.toml
@@ -18,14 +18,14 @@
serde = { version = "1.0.130", features = [
'derive',
], default-features = false, optional = true }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
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.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
rmrk-traits = { default-features = false, path = "../rmrk-traits" }
bondrewd = { version = "0.1.14", features = ["derive"], default-features = false }
primitives/rmrk-rpc/Cargo.tomldiffbeforeafterboth--- a/primitives/rmrk-rpc/Cargo.toml
+++ b/primitives/rmrk-rpc/Cargo.toml
@@ -8,10 +8,10 @@
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [
"derive",
] }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
serde = { version = "1.0.130", default-features = false, features = ["derive"] }
rmrk-traits = { default-features = false, path = "../rmrk-traits" }
primitives/rpc/Cargo.tomldiffbeforeafterboth--- a/primitives/rpc/Cargo.toml
+++ b/primitives/rpc/Cargo.toml
@@ -10,11 +10,11 @@
codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
"derive",
] }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
[features]
default = ["std"]
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -23,10 +23,7 @@
use sp_std::vec::Vec;
use codec::Decode;
-use sp_runtime::{
- DispatchError,
- traits::{AtLeast32BitUnsigned, Member},
-};
+use sp_runtime::DispatchError;
type Result<T> = core::result::Result<T, DispatchError>;
runtime/common/config/ethereum.rsdiffbeforeafterboth--- a/runtime/common/config/ethereum.rs
+++ b/runtime/common/config/ethereum.rs
@@ -27,9 +27,9 @@
// (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 / <Runtime as frame_system::Config>::DbWeight::get().write;
+ 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 / GasPerSecond::get();
+ pub const WeightPerGas: u64 = WEIGHT_PER_SECOND.ref_time() / GasPerSecond::get();
}
/// Limiting EVM execution to 50% of block for substrate users and management tasks
@@ -37,16 +37,16 @@
/// 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());
+ 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 {
- gas.saturating_mul(WeightPerGas::get())
+ Weight::from_ref_time(gas).saturating_mul(WeightPerGas::get())
}
fn weight_to_gas(weight: Weight) -> u64 {
- weight / WeightPerGas::get()
+ (weight / WeightPerGas::get()).ref_time()
}
}
runtime/common/config/orml.rsdiffbeforeafterboth--- a/runtime/common/config/orml.rs
+++ b/runtime/common/config/orml.rs
@@ -17,12 +17,12 @@
use frame_support::{
parameter_types,
traits::{Contains, Everything},
- weights::Weight,
};
use frame_system::EnsureSigned;
use orml_traits::{location::AbsoluteReserveProvider, parameter_type_with_key};
use sp_runtime::traits::Convert;
use xcm::v1::{Junction::*, Junctions::*, MultiLocation, NetworkId};
+use xcm::latest::Weight;
use xcm_builder::LocationInverter;
use xcm_executor::XcmExecutor;
use sp_std::{vec, vec::Vec};
runtime/common/config/parachain.rsdiffbeforeafterboth--- a/runtime/common/config/parachain.rs
+++ b/runtime/common/config/parachain.rs
@@ -19,8 +19,8 @@
use up_common::constants::*;
parameter_types! {
- pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;
- pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;
+ pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
+ pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
}
impl cumulus_pallet_parachain_system::Config for Runtime {
runtime/common/config/xcm/mod.rsdiffbeforeafterboth--- a/runtime/common/config/xcm/mod.rs
+++ b/runtime/common/config/xcm/mod.rs
@@ -16,14 +16,13 @@
use frame_support::{
traits::{Everything, Get},
- weights::Weight,
parameter_types,
};
use frame_system::EnsureRoot;
use pallet_xcm::XcmPassthrough;
use polkadot_parachain::primitives::Sibling;
use xcm::v1::{Junction::*, MultiLocation, NetworkId};
-use xcm::latest::prelude::*;
+use xcm::latest::{prelude::*, Weight};
use xcm_builder::{
AccountId32Aliases, EnsureXcmOrigin, FixedWeightBounds, LocationInverter, ParentAsSuperuser,
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
runtime/common/config/xcm/nativeassets.rsdiffbeforeafterboth--- a/runtime/common/config/xcm/nativeassets.rs
+++ b/runtime/common/config/xcm/nativeassets.rs
@@ -16,14 +16,14 @@
use frame_support::{
traits::{tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Get},
- weights::{Weight, WeightToFeePolynomial},
+ weights::WeightToFeePolynomial,
};
use sp_runtime::traits::{CheckedConversion, Zero, Convert};
use xcm::v1::{Junction::*, MultiLocation, Junctions::*};
use xcm::latest::{
AssetId::{Concrete},
Fungibility::Fungible as XcmFungible,
- MultiAsset, Error as XcmError,
+ MultiAsset, Error as XcmError, Weight,
};
use xcm_builder::{CurrencyAdapter, NativeAsset};
use xcm_executor::{
runtime/common/dispatch.rsdiffbeforeafterboth--- a/runtime/common/dispatch.rs
+++ b/runtime/common/dispatch.rs
@@ -55,21 +55,24 @@
{
fn create(
sender: T::CrossAccountId,
+ payer: T::CrossAccountId,
data: CreateCollectionData<T::AccountId>,
) -> Result<CollectionId, DispatchError> {
let id = match data.mode {
- CollectionMode::NFT => <PalletNonfungible<T>>::init_collection(sender, data, false)?,
+ CollectionMode::NFT => {
+ <PalletNonfungible<T>>::init_collection(sender, payer, data, false)?
+ }
CollectionMode::Fungible(decimal_points) => {
// check params
ensure!(
decimal_points <= MAX_DECIMAL_POINTS,
pallet_unique::Error::<T>::CollectionDecimalPointLimitExceeded
);
- <PalletFungible<T>>::init_collection(sender, data)?
+ <PalletFungible<T>>::init_collection(sender, payer, data)?
}
#[cfg(feature = "refungible")]
- CollectionMode::ReFungible => <PalletRefungible<T>>::init_collection(sender, data)?,
+ CollectionMode::ReFungible => <PalletRefungible<T>>::init_collection(sender, payer, data)?,
#[cfg(not(feature = "refungible"))]
CollectionMode::ReFungible => return unsupported!(T),
runtime/common/mod.rsdiffbeforeafterboth--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -39,10 +39,7 @@
#[cfg(feature = "std")]
use sp_version::NativeVersion;
-use crate::{
- Runtime, Call, Balances, Treasury, Aura, Signature, AllPalletsReversedWithSystemFirst,
- InherentDataExt,
-};
+use crate::{Runtime, Call, Balances, Treasury, Aura, Signature, AllPalletsWithSystem, InherentDataExt};
use up_common::types::{AccountId, BlockNumber};
#[macro_export]
@@ -105,7 +102,7 @@
Block,
frame_system::ChainContext<Runtime>,
Runtime,
- AllPalletsReversedWithSystemFirst,
+ AllPalletsWithSystem,
>;
type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -190,6 +190,7 @@
}
impl app_promotion_rpc::AppPromotionApi<Block, BlockNumber, CrossAccountId, AccountId> for Runtime {
+ #[allow(unused_variables)]
fn total_staked(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
#[cfg(not(feature = "app-promotion"))]
return unsupported!();
@@ -198,6 +199,7 @@
return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default());
}
+ #[allow(unused_variables)]
fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {
#[cfg(not(feature = "app-promotion"))]
return unsupported!();
@@ -206,6 +208,7 @@
return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked_per_block(staker));
}
+ #[allow(unused_variables)]
fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
#[cfg(not(feature = "app-promotion"))]
return unsupported!();
@@ -214,6 +217,7 @@
return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake(staker));
}
+ #[allow(unused_variables)]
fn pending_unstake_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {
#[cfg(not(feature = "app-promotion"))]
return unsupported!();
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -10,7 +10,7 @@
license = 'GPLv3'
name = 'opal-runtime'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = "0.9.27"
+version = "0.9.29"
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
@@ -151,39 +151,39 @@
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-try-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-executive]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system-benchmarking]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.hex-literal]
optional = true
@@ -198,12 +198,12 @@
[dependencies.pallet-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
# Contracts specific packages
# [dependencies.pallet-contracts]
@@ -227,32 +227,32 @@
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-sudo]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-transaction-payment]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-treasury]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
# [dependencies.pallet-vesting]
# default-features = false
@@ -262,67 +262,67 @@
[dependencies.sp-arithmetic]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-block-builder]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-inherents]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-offchain]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-session]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-transaction-pool]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-version]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.smallvec]
version = '1.6.1'
@@ -333,46 +333,46 @@
[dependencies.parachain-info]
default-features = false
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-pallet-aura-ext]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-xcm]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-utility]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
################################################################################
@@ -380,50 +380,50 @@
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm-builder]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm-executor]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.pallet-xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.orml-vesting]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-xtokens]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-tokens]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-traits]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
@@ -441,7 +441,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.27-fee-limit" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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 }
@@ -455,18 +455,18 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
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.27-fee-limit" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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.27' }
+up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.29' }
pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }
################################################################################
@@ -485,4 +485,4 @@
[build-dependencies.substrate-wasm-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
runtime/opal/src/xcm_barrier.rsdiffbeforeafterboth--- a/runtime/opal/src/xcm_barrier.rs
+++ b/runtime/opal/src/xcm_barrier.rs
@@ -14,8 +14,11 @@
// You should have received a copy of the GNU General Public License
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-use frame_support::{weights::Weight, traits::Everything};
-use xcm::{latest::Xcm, v1::MultiLocation};
+use frame_support::traits::Everything;
+use xcm::{
+ latest::{Xcm, Weight},
+ v1::MultiLocation,
+};
use xcm_builder::{AllowTopLevelPaidExecutionFrom, TakeWeightCredit};
use xcm_executor::traits::ShouldExecute;
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -148,39 +148,39 @@
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-try-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-executive]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system-benchmarking]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.hex-literal]
optional = true
@@ -195,12 +195,12 @@
[dependencies.pallet-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
# Contracts specific packages
# [dependencies.pallet-contracts]
@@ -224,32 +224,32 @@
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-sudo]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-transaction-payment]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-treasury]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
# [dependencies.pallet-vesting]
# default-features = false
@@ -259,67 +259,67 @@
[dependencies.sp-arithmetic]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-block-builder]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-inherents]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-offchain]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-session]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-transaction-pool]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-version]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.smallvec]
version = '1.6.1'
@@ -330,46 +330,46 @@
[dependencies.parachain-info]
default-features = false
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-pallet-aura-ext]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-xcm]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-utility]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
################################################################################
@@ -377,50 +377,50 @@
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm-builder]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm-executor]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.pallet-xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.orml-vesting]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-xtokens]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-tokens]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-traits]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
@@ -446,7 +446,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.27-fee-limit" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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 }
@@ -460,18 +460,18 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
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.27-fee-limit" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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.27' }
+up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.29' }
pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }
################################################################################
@@ -490,4 +490,4 @@
[build-dependencies.substrate-wasm-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
runtime/tests/Cargo.tomldiffbeforeafterboth--- a/runtime/tests/Cargo.toml
+++ b/runtime/tests/Cargo.toml
@@ -11,22 +11,22 @@
[dependencies]
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
-frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
-pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
-pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
+pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
pallet-common = { path = '../../pallets/common' }
pallet-structure = { path = '../../pallets/structure' }
@@ -43,4 +43,4 @@
scale-info = "*"
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.27" }
+up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29" }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -149,39 +149,39 @@
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-try-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-executive]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system-benchmarking]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.hex-literal]
optional = true
@@ -196,12 +196,12 @@
[dependencies.pallet-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
# Contracts specific packages
# [dependencies.pallet-contracts]
@@ -225,32 +225,32 @@
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-sudo]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-transaction-payment]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.pallet-treasury]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
# [dependencies.pallet-vesting]
# default-features = false
@@ -260,67 +260,67 @@
[dependencies.sp-arithmetic]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-block-builder]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-inherents]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-offchain]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-session]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-transaction-pool]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.sp-version]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.smallvec]
version = '1.6.1'
@@ -331,46 +331,46 @@
[dependencies.parachain-info]
default-features = false
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
[dependencies.cumulus-pallet-aura-ext]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-xcm]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-utility]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
default-features = false
################################################################################
@@ -378,50 +378,50 @@
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm-builder]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.xcm-executor]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.pallet-xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.27"
+branch = "release-v0.9.29"
default-features = false
[dependencies.orml-vesting]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-xtokens]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-tokens]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
[dependencies.orml-traits]
-git = "https://github.com/open-web3-stack/open-runtime-module-library"
-branch = "polkadot-v0.9.27"
+git = "https://github.com/UniqueNetwork/open-runtime-module-library"
+branch = "polkadot-v0.9.29"
version = "0.4.1-dev"
default-features = false
################################################################################
@@ -451,19 +451,19 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
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.27-fee-limit" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27-fee-limit" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }
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.27' }
+up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.29' }
pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }
################################################################################
@@ -482,4 +482,4 @@
[build-dependencies.substrate-wasm-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.27"
+branch = "polkadot-v0.9.29"
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -38,7 +38,7 @@
"testNesting": "mocha --timeout 9999999 -r ts-node/register ./**/nest.test.ts",
"testUnnesting": "mocha --timeout 9999999 -r ts-node/register ./**/unnest.test.ts",
"testStructure": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/**.test.ts",
- "testProperties": "mocha --timeout 9999999 -r ts-node/register ./**/properties.test.ts",
+ "testProperties": "mocha --timeout 9999999 -r ts-node/register ./**/properties.test.ts ./**/getPropertiesRpc.test.ts",
"testMigration": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/migration-check.test.ts",
"testRmrk": "mocha --timeout 9999999 -r ts-node/register ./**/rmrk/**.test.ts",
"testAddCollectionAdmin": "mocha --timeout 9999999 -r ts-node/register ./**/addCollectionAdmin.test.ts",
tests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth--- a/tests/src/eth/api/CollectionHelpers.sol
+++ b/tests/src/eth/api/CollectionHelpers.sol
@@ -18,7 +18,7 @@
}
/// @title Contract, which allows users to operate with collections
-/// @dev the ERC-165 identifier for this interface is 0x88ee8ef1
+/// @dev the ERC-165 identifier for this interface is 0x5ad4f440
interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
/// Create an NFT collection
/// @param name Name of the collection
@@ -31,7 +31,7 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) external returns (address);
+ ) external payable returns (address);
/// @dev EVM selector for this function is: 0xa634a5f9,
/// or in textual repr: createERC721MetadataCompatibleCollection(string,string,string,string)
@@ -40,7 +40,7 @@
string memory description,
string memory tokenPrefix,
string memory baseUri
- ) external returns (address);
+ ) external payable returns (address);
/// @dev EVM selector for this function is: 0xab173450,
/// or in textual repr: createRFTCollection(string,string,string)
@@ -48,7 +48,7 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) external returns (address);
+ ) external payable returns (address);
/// @dev EVM selector for this function is: 0xa5596388,
/// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)
@@ -57,7 +57,7 @@
string memory description,
string memory tokenPrefix,
string memory baseUri
- ) external returns (address);
+ ) external payable returns (address);
/// Check if a collection exists
/// @param collectionAddress Address of the collection in question
@@ -65,4 +65,8 @@
/// @dev EVM selector for this function is: 0xc3de1494,
/// or in textual repr: isCollectionExist(address)
function isCollectionExist(address collectionAddress) external view returns (bool);
+
+ /// @dev EVM selector for this function is: 0xd23a7ab1,
+ /// or in textual repr: collectionCreationFee()
+ function collectionCreationFee() external view returns (uint256);
}
tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth--- a/tests/src/eth/collectionHelpersAbi.json
+++ b/tests/src/eth/collectionHelpersAbi.json
@@ -19,6 +19,13 @@
"type": "event"
},
{
+ "inputs": [],
+ "name": "collectionCreationFee",
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
"inputs": [
{ "internalType": "string", "name": "name", "type": "string" },
{ "internalType": "string", "name": "description", "type": "string" },
@@ -27,7 +34,7 @@
],
"name": "createERC721MetadataCompatibleCollection",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "nonpayable",
+ "stateMutability": "payable",
"type": "function"
},
{
@@ -39,7 +46,7 @@
],
"name": "createERC721MetadataCompatibleRFTCollection",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "nonpayable",
+ "stateMutability": "payable",
"type": "function"
},
{
@@ -50,7 +57,7 @@
],
"name": "createNonfungibleCollection",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "nonpayable",
+ "stateMutability": "payable",
"type": "function"
},
{
@@ -61,7 +68,7 @@
],
"name": "createRFTCollection",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "nonpayable",
+ "stateMutability": "payable",
"type": "function"
},
{
tests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionSponsoring.test.ts
+++ b/tests/src/eth/collectionSponsoring.test.ts
@@ -1,10 +1,8 @@
-import {addToAllowListExpectSuccess, bigIntToSub, confirmSponsorshipExpectSuccess, createCollectionExpectSuccess, enablePublicMintingExpectSuccess, getDetailedCollectionInfo, setCollectionSponsorExpectSuccess} from '../util/helpers';
+import {addToAllowListExpectSuccess, confirmSponsorshipExpectSuccess, createCollectionExpectSuccess, enablePublicMintingExpectSuccess, getDetailedCollectionInfo, setCollectionSponsorExpectSuccess, UNIQUE} from '../util/helpers';
import {itWeb3, createEthAccount, collectionIdToAddress, GAS_ARGS, normalizeEvents, createEthAccountWithBalance, evmCollectionHelpers, getCollectionAddressFromResult, evmCollection, ethBalanceViaSub} from './util/helpers';
import nonFungibleAbi from './nonFungibleAbi.json';
import {expect} from 'chai';
import {evmToAddress} from '@polkadot/util-crypto';
-import {submitTransactionAsync} from '../substrate/substrate-api';
-import getBalance from '../substrate/get-balance';
describe('evm collection sponsoring', () => {
itWeb3('sponsors mint transactions', async ({web3, privateKeyWrapper}) => {
@@ -64,7 +62,7 @@
itWeb3('Remove sponsor', async ({api, web3, privateKeyWrapper}) => {
const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
const collectionHelpers = evmCollectionHelpers(web3, owner);
- let result = await collectionHelpers.methods.createNonfungibleCollection('Sponsor collection', '1', '1').send();
+ let result = await collectionHelpers.methods.createNonfungibleCollection('Sponsor collection', '1', '1').send({value: Number(2n * UNIQUE)});
const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
@@ -85,7 +83,7 @@
itWeb3('Sponsoring collection from evm address via access list', async ({api, web3, privateKeyWrapper}) => {
const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
const collectionHelpers = evmCollectionHelpers(web3, owner);
- let result = await collectionHelpers.methods.createNonfungibleCollection('Sponsor collection', '1', '1').send();
+ let result = await collectionHelpers.methods.createNonfungibleCollection('Sponsor collection', '1', '1').send({value: Number(2n * UNIQUE)});
const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
@@ -210,7 +208,7 @@
itWeb3('Check that transaction via EVM spend money from sponsor address', async ({api, web3, privateKeyWrapper}) => {
const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
const collectionHelpers = evmCollectionHelpers(web3, owner);
- let result = await collectionHelpers.methods.createNonfungibleCollection('Sponsor collection', '1', '1').send();
+ let result = await collectionHelpers.methods.createNonfungibleCollection('Sponsor collection', '1', '1').send({value: Number(2n * UNIQUE)});
const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
tests/src/eth/createNFTCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createNFTCollection.test.ts
+++ b/tests/src/eth/createNFTCollection.test.ts
@@ -15,85 +15,87 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
import {evmToAddress} from '@polkadot/util-crypto';
-import {expect} from 'chai';
-import {getCreatedCollectionCount, getDetailedCollectionInfo} from '../util/helpers';
-import {
- evmCollectionHelpers,
- collectionIdToAddress,
- createEthAccount,
- createEthAccountWithBalance,
- evmCollection,
- itWeb3,
- getCollectionAddressFromResult,
-} from './util/helpers';
+import {IKeyringPair} from '@polkadot/types/types';
+import {expect, itEth, usingEthPlaygrounds} from './util/playgrounds';
+import {UNIQUE} from '../util/helpers';
describe('Create NFT collection from EVM', () => {
- itWeb3('Create collection', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelper = evmCollectionHelpers(web3, owner);
- const collectionName = 'CollectionEVM';
+ let donor: IKeyringPair;
+
+ before(async function() {
+ await usingEthPlaygrounds(async (_helper, privateKey) => {
+ donor = privateKey('//Alice');
+ });
+ });
+
+ itEth('Create collection', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const name = 'CollectionEVM';
const description = 'Some description';
- const tokenPrefix = 'token prefix';
-
- const collectionCountBefore = await getCreatedCollectionCount(api);
- const result = await collectionHelper.methods
- .createNonfungibleCollection(collectionName, description, tokenPrefix)
- .send();
- const collectionCountAfter = await getCreatedCollectionCount(api);
-
- const {collectionId, collection} = await getCollectionAddressFromResult(api, result);
+ const prefix = 'token prefix';
+
+ // todo:playgrounds this might fail when in async environment.
+ const collectionCountBefore = +(await helper.callRpc('api.rpc.unique.collectionStats')).created;
+ const {collectionId} = await helper.eth.createNonfungibleCollection(owner, name, description, prefix);
+ const collectionCountAfter = +(await helper.callRpc('api.rpc.unique.collectionStats')).created;
+
+ const collection = helper.nft.getCollectionObject(collectionId);
+ const data = (await collection.getData())!;
+
expect(collectionCountAfter - collectionCountBefore).to.be.eq(1);
expect(collectionId).to.be.eq(collectionCountAfter);
- expect(collection.name.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(collectionName);
- expect(collection.description.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(description);
- expect(collection.tokenPrefix.toHuman()).to.be.eq(tokenPrefix);
- expect(collection.mode.isNft).to.be.true;
+ expect(data.name).to.be.eq(name);
+ expect(data.description).to.be.eq(description);
+ expect(data.raw.tokenPrefix).to.be.eq(prefix);
+ expect(data.raw.mode).to.be.eq('NFT');
});
- itWeb3('Check collection address exist', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
-
- const expectedCollectionId = await getCreatedCollectionCount(api) + 1;
- const expectedCollectionAddress = collectionIdToAddress(expectedCollectionId);
+ // todo:playgrounds this test will fail when in async environment.
+ itEth('Check collection address exist', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const expectedCollectionId = +(await helper.callRpc('api.rpc.unique.collectionStats')).created + 1;
+ const expectedCollectionAddress = helper.ethAddress.fromCollectionId(expectedCollectionId);
+ const collectionHelpers = helper.ethNativeContract.collectionHelpers(owner);
+
expect(await collectionHelpers.methods
.isCollectionExist(expectedCollectionAddress)
.call()).to.be.false;
await collectionHelpers.methods
.createNonfungibleCollection('A', 'A', 'A')
- .send();
+ .send({value: Number(2n * UNIQUE)});
expect(await collectionHelpers.methods
.isCollectionExist(expectedCollectionAddress)
.call()).to.be.true;
});
- itWeb3('Set sponsorship', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- let result = await collectionHelpers.methods.createNonfungibleCollection('Sponsor collection', '1', '1').send();
- const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
- const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
- result = await collectionEvm.methods.setCollectionSponsor(sponsor).send();
- let collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
- expect(collectionSub.sponsorship.isUnconfirmed).to.be.true;
- const ss58Format = (api.registry.getChainProperties())!.toJSON().ss58Format;
- expect(collectionSub.sponsorship.asUnconfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
- await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('caller is not set as sponsor');
- const sponsorCollection = evmCollection(web3, sponsor, collectionIdAddress);
+ itEth('Set sponsorship', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ const ss58Format = helper.chain.getChainProperties().ss58Format;
+ const {collectionId, collectionAddress} = await helper.eth.createNonfungibleCollection(owner, 'Sponsor', 'absolutely anything', 'ROC');
+
+ const collection = helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
+ await collection.methods.setCollectionSponsor(sponsor).send();
+
+ let data = (await helper.nft.getData(collectionId))!;
+ expect(data.raw.sponsorship.Unconfirmed).to.be.equal(evmToAddress(sponsor, Number(ss58Format)));
+
+ await expect(collection.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('caller is not set as sponsor');
+
+ const sponsorCollection = helper.ethNativeContract.collection(collectionAddress, 'nft', sponsor);
await sponsorCollection.methods.confirmCollectionSponsorship().send();
- collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
- expect(collectionSub.sponsorship.isConfirmed).to.be.true;
- expect(collectionSub.sponsorship.asConfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
+
+ data = (await helper.nft.getData(collectionId))!;
+ expect(data.raw.sponsorship.Confirmed).to.be.equal(evmToAddress(sponsor, Number(ss58Format)));
});
- itWeb3('Set limits', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- const result = await collectionHelpers.methods.createNonfungibleCollection('Const collection', '5', '5').send();
- const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+ itEth('Set limits', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const {collectionId, collectionAddress} = await helper.eth.createNonfungibleCollection(owner, 'Limits', 'absolutely anything', 'FLO');
const limits = {
accountTokenOwnershipLimit: 1000,
sponsoredDataSize: 1024,
@@ -106,124 +108,122 @@
transfersEnabled: false,
};
- const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('accountTokenOwnershipLimit', limits.accountTokenOwnershipLimit).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsoredDataSize', limits.sponsoredDataSize).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsoredDataRateLimit', limits.sponsoredDataRateLimit).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('tokenLimit', limits.tokenLimit).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsorTransferTimeout', limits.sponsorTransferTimeout).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsorApproveTimeout', limits.sponsorApproveTimeout).send();
- await collectionEvm.methods['setCollectionLimit(string,bool)']('ownerCanTransfer', limits.ownerCanTransfer).send();
- await collectionEvm.methods['setCollectionLimit(string,bool)']('ownerCanDestroy', limits.ownerCanDestroy).send();
- await collectionEvm.methods['setCollectionLimit(string,bool)']('transfersEnabled', limits.transfersEnabled).send();
+ const collection = helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
+ await collection.methods['setCollectionLimit(string,uint32)']('accountTokenOwnershipLimit', limits.accountTokenOwnershipLimit).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsoredDataSize', limits.sponsoredDataSize).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsoredDataRateLimit', limits.sponsoredDataRateLimit).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('tokenLimit', limits.tokenLimit).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsorTransferTimeout', limits.sponsorTransferTimeout).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsorApproveTimeout', limits.sponsorApproveTimeout).send();
+ await collection.methods['setCollectionLimit(string,bool)']('ownerCanTransfer', limits.ownerCanTransfer).send();
+ await collection.methods['setCollectionLimit(string,bool)']('ownerCanDestroy', limits.ownerCanDestroy).send();
+ await collection.methods['setCollectionLimit(string,bool)']('transfersEnabled', limits.transfersEnabled).send();
- const collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
- expect(collectionSub.limits.accountTokenOwnershipLimit.unwrap().toNumber()).to.be.eq(limits.accountTokenOwnershipLimit);
- expect(collectionSub.limits.sponsoredDataSize.unwrap().toNumber()).to.be.eq(limits.sponsoredDataSize);
- expect(collectionSub.limits.sponsoredDataRateLimit.unwrap().asBlocks.toNumber()).to.be.eq(limits.sponsoredDataRateLimit);
- expect(collectionSub.limits.tokenLimit.unwrap().toNumber()).to.be.eq(limits.tokenLimit);
- expect(collectionSub.limits.sponsorTransferTimeout.unwrap().toNumber()).to.be.eq(limits.sponsorTransferTimeout);
- expect(collectionSub.limits.sponsorApproveTimeout.unwrap().toNumber()).to.be.eq(limits.sponsorApproveTimeout);
- expect(collectionSub.limits.ownerCanTransfer.toHuman()).to.be.eq(limits.ownerCanTransfer);
- expect(collectionSub.limits.ownerCanDestroy.toHuman()).to.be.eq(limits.ownerCanDestroy);
- expect(collectionSub.limits.transfersEnabled.toHuman()).to.be.eq(limits.transfersEnabled);
+ const data = (await helper.nft.getData(collectionId))!;
+ expect(data.raw.limits.accountTokenOwnershipLimit).to.be.eq(limits.accountTokenOwnershipLimit);
+ expect(data.raw.limits.sponsoredDataSize).to.be.eq(limits.sponsoredDataSize);
+ expect(data.raw.limits.sponsoredDataRateLimit.blocks).to.be.eq(limits.sponsoredDataRateLimit);
+ expect(data.raw.limits.tokenLimit).to.be.eq(limits.tokenLimit);
+ expect(data.raw.limits.sponsorTransferTimeout).to.be.eq(limits.sponsorTransferTimeout);
+ expect(data.raw.limits.sponsorApproveTimeout).to.be.eq(limits.sponsorApproveTimeout);
+ expect(data.raw.limits.ownerCanTransfer).to.be.eq(limits.ownerCanTransfer);
+ expect(data.raw.limits.ownerCanDestroy).to.be.eq(limits.ownerCanDestroy);
+ expect(data.raw.limits.transfersEnabled).to.be.eq(limits.transfersEnabled);
});
- itWeb3('Collection address exist', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ itEth('Collection address exist', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
const collectionAddressForNonexistentCollection = '0x17C4E6453CC49AAAAEACA894E6D9683E00112233';
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- expect(await collectionHelpers.methods
- .isCollectionExist(collectionAddressForNonexistentCollection).call())
+ expect(await helper.ethNativeContract.collectionHelpers(collectionAddressForNonexistentCollection)
+ .methods.isCollectionExist(collectionAddressForNonexistentCollection).call())
.to.be.false;
- const result = await collectionHelpers.methods.createNonfungibleCollection('Collection address exist', '7', '7').send();
- const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
- expect(await collectionHelpers.methods
- .isCollectionExist(collectionIdAddress).call())
+ const {collectionAddress} = await helper.eth.createNonfungibleCollection(owner, 'Exister', 'absolutely anything', 'EVC');
+ expect(await helper.ethNativeContract.collectionHelpers(collectionAddress)
+ .methods.isCollectionExist(collectionAddress).call())
.to.be.true;
});
});
describe('(!negative tests!) Create NFT collection from EVM', () => {
- itWeb3('(!negative test!) Create collection (bad lengths)', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const helper = evmCollectionHelpers(web3, owner);
+ let donor: IKeyringPair;
+
+ before(async function() {
+ await usingEthPlaygrounds(async (_helper, privateKey) => {
+ donor = privateKey('//Alice');
+ });
+ });
+
+ itEth('(!negative test!) Create collection (bad lengths)', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const collectionHelper = helper.ethNativeContract.collectionHelpers(owner);
{
- const MAX_NAME_LENGHT = 64;
- const collectionName = 'A'.repeat(MAX_NAME_LENGHT + 1);
+ const MAX_NAME_LENGTH = 64;
+ const collectionName = 'A'.repeat(MAX_NAME_LENGTH + 1);
const description = 'A';
const tokenPrefix = 'A';
-
- await expect(helper.methods
+
+ await expect(collectionHelper.methods
.createNonfungibleCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('name is too long. Max length is ' + MAX_NAME_LENGHT);
+ .call({value: Number(2n * UNIQUE)})).to.be.rejectedWith('name is too long. Max length is ' + MAX_NAME_LENGTH);
}
- {
- const MAX_DESCRIPTION_LENGHT = 256;
+ {
+ const MAX_DESCRIPTION_LENGTH = 256;
const collectionName = 'A';
- const description = 'A'.repeat(MAX_DESCRIPTION_LENGHT + 1);
+ const description = 'A'.repeat(MAX_DESCRIPTION_LENGTH + 1);
const tokenPrefix = 'A';
- await expect(helper.methods
+ await expect(collectionHelper.methods
.createNonfungibleCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('description is too long. Max length is ' + MAX_DESCRIPTION_LENGHT);
+ .call({value: Number(2n * UNIQUE)})).to.be.rejectedWith('description is too long. Max length is ' + MAX_DESCRIPTION_LENGTH);
}
- {
- const MAX_TOKEN_PREFIX_LENGHT = 16;
+ {
+ const MAX_TOKEN_PREFIX_LENGTH = 16;
const collectionName = 'A';
const description = 'A';
- const tokenPrefix = 'A'.repeat(MAX_TOKEN_PREFIX_LENGHT + 1);
- await expect(helper.methods
+ const tokenPrefix = 'A'.repeat(MAX_TOKEN_PREFIX_LENGTH + 1);
+ await expect(collectionHelper.methods
.createNonfungibleCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('token_prefix is too long. Max length is ' + MAX_TOKEN_PREFIX_LENGHT);
+ .call({value: Number(2n * UNIQUE)})).to.be.rejectedWith('token_prefix is too long. Max length is ' + MAX_TOKEN_PREFIX_LENGTH);
}
});
- itWeb3('(!negative test!) Create collection (no funds)', async ({web3}) => {
- const owner = createEthAccount(web3);
- const helper = evmCollectionHelpers(web3, owner);
- const collectionName = 'A';
- const description = 'A';
- const tokenPrefix = 'A';
-
- await expect(helper.methods
- .createNonfungibleCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('NotSufficientFounds');
+ itEth('(!negative test!) Create collection (no funds)', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const collectionHelper = helper.ethNativeContract.collectionHelpers(owner);
+ await expect(collectionHelper.methods
+ .createNonfungibleCollection('Peasantry', 'absolutely anything', 'CVE')
+ .call({value: Number(1n * UNIQUE)})).to.be.rejectedWith('Sent amount not equals to collection creation price (2000000000000000000)');
});
- itWeb3('(!negative test!) Check owner', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const notOwner = createEthAccount(web3);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- const result = await collectionHelpers.methods.createNonfungibleCollection('A', 'A', 'A').send();
- const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
- const contractEvmFromNotOwner = evmCollection(web3, notOwner, collectionIdAddress);
+ itEth('(!negative test!) Check owner', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const malfeasant = helper.eth.createAccount();
+ const {collectionAddress} = await helper.eth.createNonfungibleCollection(owner, 'Transgressed', 'absolutely anything', 'COR');
+ const malfeasantCollection = helper.ethNativeContract.collection(collectionAddress, 'nft', malfeasant);
const EXPECTED_ERROR = 'NoPermission';
{
- const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- await expect(contractEvmFromNotOwner.methods
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ await expect(malfeasantCollection.methods
.setCollectionSponsor(sponsor)
.call()).to.be.rejectedWith(EXPECTED_ERROR);
- const sponsorCollection = evmCollection(web3, sponsor, collectionIdAddress);
+ const sponsorCollection = helper.ethNativeContract.collection(collectionAddress, 'nft', sponsor);
await expect(sponsorCollection.methods
.confirmCollectionSponsorship()
.call()).to.be.rejectedWith('caller is not set as sponsor');
}
{
- await expect(contractEvmFromNotOwner.methods
+ await expect(malfeasantCollection.methods
.setCollectionLimit('account_token_ownership_limit', '1000')
.call()).to.be.rejectedWith(EXPECTED_ERROR);
}
});
- itWeb3('(!negative test!) Set limits', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- const result = await collectionHelpers.methods.createNonfungibleCollection('Schema collection', 'A', 'A').send();
- const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
- const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ itEth('(!negative test!) Set limits', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const {collectionAddress} = await helper.eth.createNonfungibleCollection(owner, 'Limits', 'absolutely anything', 'OLF');
+ const collectionEvm = helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
await expect(collectionEvm.methods
.setCollectionLimit('badLimit', 'true')
.call()).to.be.rejectedWith('unknown boolean limit "badLimit"');
tests/src/eth/createRFTCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createRFTCollection.test.ts
+++ b/tests/src/eth/createRFTCollection.test.ts
@@ -15,89 +15,88 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
import {evmToAddress} from '@polkadot/util-crypto';
-import {expect} from 'chai';
-import {getCreatedCollectionCount, getDetailedCollectionInfo, requirePallets, Pallets} from '../util/helpers';
-import {
- evmCollectionHelpers,
- collectionIdToAddress,
- createEthAccount,
- createEthAccountWithBalance,
- evmCollection,
- itWeb3,
- getCollectionAddressFromResult,
-} from './util/helpers';
+import {IKeyringPair} from '@polkadot/types/types';
+import {Pallets, requirePalletsOrSkip} from '../util/playgrounds';
+import {expect, itEth, usingEthPlaygrounds} from './util/playgrounds';
+import {UNIQUE} from '../util/helpers';
describe('Create RFT collection from EVM', () => {
+ let donor: IKeyringPair;
+
before(async function() {
- await requirePallets(this, [Pallets.ReFungible]);
+ await usingEthPlaygrounds(async (helper, privateKey) => {
+ requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
+ donor = privateKey('//Alice');
+ });
});
- itWeb3('Create collection', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelper = evmCollectionHelpers(web3, owner);
- const collectionName = 'CollectionEVM';
+ itEth('Create collection', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const name = 'CollectionEVM';
const description = 'Some description';
- const tokenPrefix = 'token prefix';
+ const prefix = 'token prefix';
- const collectionCountBefore = await getCreatedCollectionCount(api);
- const result = await collectionHelper.methods
- .createRFTCollection(collectionName, description, tokenPrefix)
- .send();
- const collectionCountAfter = await getCreatedCollectionCount(api);
+ // todo:playgrounds this might fail when in async environment.
+ const collectionCountBefore = +(await helper.callRpc('api.rpc.unique.collectionStats')).created;
+ const {collectionId} = await helper.eth.createRefungibleCollection(owner, name, description, prefix);
+ const collectionCountAfter = +(await helper.callRpc('api.rpc.unique.collectionStats')).created;
- const {collectionId, collection} = await getCollectionAddressFromResult(api, result);
+ const data = (await helper.rft.getData(collectionId))!;
+
expect(collectionCountAfter - collectionCountBefore).to.be.eq(1);
expect(collectionId).to.be.eq(collectionCountAfter);
- expect(collection.name.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(collectionName);
- expect(collection.description.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(description);
- expect(collection.tokenPrefix.toHuman()).to.be.eq(tokenPrefix);
- expect(collection.mode.isReFungible).to.be.true;
+ expect(data.name).to.be.eq(name);
+ expect(data.description).to.be.eq(description);
+ expect(data.raw.tokenPrefix).to.be.eq(prefix);
+ expect(data.raw.mode).to.be.eq('ReFungible');
});
- itWeb3('Check collection address exist', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
-
- const expectedCollectionId = await getCreatedCollectionCount(api) + 1;
- const expectedCollectionAddress = collectionIdToAddress(expectedCollectionId);
+ // todo:playgrounds this test will fail when in async environment.
+ itEth('Check collection address exist', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const expectedCollectionId = +(await helper.callRpc('api.rpc.unique.collectionStats')).created + 1;
+ const expectedCollectionAddress = helper.ethAddress.fromCollectionId(expectedCollectionId);
+ const collectionHelpers = helper.ethNativeContract.collectionHelpers(owner);
+
expect(await collectionHelpers.methods
.isCollectionExist(expectedCollectionAddress)
.call()).to.be.false;
await collectionHelpers.methods
.createRFTCollection('A', 'A', 'A')
- .send();
+ .send({value: Number(2n * UNIQUE)});
expect(await collectionHelpers.methods
.isCollectionExist(expectedCollectionAddress)
.call()).to.be.true;
});
- itWeb3('Set sponsorship', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- let result = await collectionHelpers.methods.createRFTCollection('Sponsor collection', '1', '1').send();
- const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
- const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionEvm = evmCollection(web3, owner, collectionIdAddress, {type: 'ReFungible'});
- result = await collectionEvm.methods.setCollectionSponsor(sponsor).send();
- let collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
- expect(collectionSub.sponsorship.isUnconfirmed).to.be.true;
- const ss58Format = (api.registry.getChainProperties())!.toJSON().ss58Format;
- expect(collectionSub.sponsorship.asUnconfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
- await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('caller is not set as sponsor');
- const sponsorCollection = evmCollection(web3, sponsor, collectionIdAddress);
+ itEth('Set sponsorship', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ const ss58Format = helper.chain.getChainProperties().ss58Format;
+ const {collectionId, collectionAddress} = await helper.eth.createRefungibleCollection(owner, 'Sponsor', 'absolutely anything', 'ENVY');
+
+ const collection = helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
+ await collection.methods.setCollectionSponsor(sponsor).send();
+
+ let data = (await helper.rft.getData(collectionId))!;
+ expect(data.raw.sponsorship.Unconfirmed).to.be.equal(evmToAddress(sponsor, Number(ss58Format)));
+
+ await expect(collection.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('caller is not set as sponsor');
+
+ const sponsorCollection = helper.ethNativeContract.collection(collectionAddress, 'rft', sponsor);
await sponsorCollection.methods.confirmCollectionSponsorship().send();
- collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
- expect(collectionSub.sponsorship.isConfirmed).to.be.true;
- expect(collectionSub.sponsorship.asConfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
+
+ data = (await helper.rft.getData(collectionId))!;
+ expect(data.raw.sponsorship.Confirmed).to.be.equal(evmToAddress(sponsor, Number(ss58Format)));
});
- itWeb3('Set limits', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- const result = await collectionHelpers.methods.createRFTCollection('Const collection', '5', '5').send();
- const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+ itEth('Set limits', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const {collectionId, collectionAddress} = await helper.eth.createRefungibleCollection(owner, 'Limits', 'absolutely anything', 'INSI');
const limits = {
accountTokenOwnershipLimit: 1000,
sponsoredDataSize: 1024,
@@ -110,128 +109,122 @@
transfersEnabled: false,
};
- const collectionEvm = evmCollection(web3, owner, collectionIdAddress, {type: 'ReFungible'});
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('accountTokenOwnershipLimit', limits.accountTokenOwnershipLimit).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsoredDataSize', limits.sponsoredDataSize).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsoredDataRateLimit', limits.sponsoredDataRateLimit).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('tokenLimit', limits.tokenLimit).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsorTransferTimeout', limits.sponsorTransferTimeout).send();
- await collectionEvm.methods['setCollectionLimit(string,uint32)']('sponsorApproveTimeout', limits.sponsorApproveTimeout).send();
- await collectionEvm.methods['setCollectionLimit(string,bool)']('ownerCanTransfer', limits.ownerCanTransfer).send();
- await collectionEvm.methods['setCollectionLimit(string,bool)']('ownerCanDestroy', limits.ownerCanDestroy).send();
- await collectionEvm.methods['setCollectionLimit(string,bool)']('transfersEnabled', limits.transfersEnabled).send();
+ const collection = helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
+ await collection.methods['setCollectionLimit(string,uint32)']('accountTokenOwnershipLimit', limits.accountTokenOwnershipLimit).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsoredDataSize', limits.sponsoredDataSize).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsoredDataRateLimit', limits.sponsoredDataRateLimit).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('tokenLimit', limits.tokenLimit).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsorTransferTimeout', limits.sponsorTransferTimeout).send();
+ await collection.methods['setCollectionLimit(string,uint32)']('sponsorApproveTimeout', limits.sponsorApproveTimeout).send();
+ await collection.methods['setCollectionLimit(string,bool)']('ownerCanTransfer', limits.ownerCanTransfer).send();
+ await collection.methods['setCollectionLimit(string,bool)']('ownerCanDestroy', limits.ownerCanDestroy).send();
+ await collection.methods['setCollectionLimit(string,bool)']('transfersEnabled', limits.transfersEnabled).send();
- const collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
- expect(collectionSub.limits.accountTokenOwnershipLimit.unwrap().toNumber()).to.be.eq(limits.accountTokenOwnershipLimit);
- expect(collectionSub.limits.sponsoredDataSize.unwrap().toNumber()).to.be.eq(limits.sponsoredDataSize);
- expect(collectionSub.limits.sponsoredDataRateLimit.unwrap().asBlocks.toNumber()).to.be.eq(limits.sponsoredDataRateLimit);
- expect(collectionSub.limits.tokenLimit.unwrap().toNumber()).to.be.eq(limits.tokenLimit);
- expect(collectionSub.limits.sponsorTransferTimeout.unwrap().toNumber()).to.be.eq(limits.sponsorTransferTimeout);
- expect(collectionSub.limits.sponsorApproveTimeout.unwrap().toNumber()).to.be.eq(limits.sponsorApproveTimeout);
- expect(collectionSub.limits.ownerCanTransfer.toHuman()).to.be.eq(limits.ownerCanTransfer);
- expect(collectionSub.limits.ownerCanDestroy.toHuman()).to.be.eq(limits.ownerCanDestroy);
- expect(collectionSub.limits.transfersEnabled.toHuman()).to.be.eq(limits.transfersEnabled);
+ const data = (await helper.rft.getData(collectionId))!;
+ expect(data.raw.limits.accountTokenOwnershipLimit).to.be.eq(limits.accountTokenOwnershipLimit);
+ expect(data.raw.limits.sponsoredDataSize).to.be.eq(limits.sponsoredDataSize);
+ expect(data.raw.limits.sponsoredDataRateLimit.blocks).to.be.eq(limits.sponsoredDataRateLimit);
+ expect(data.raw.limits.tokenLimit).to.be.eq(limits.tokenLimit);
+ expect(data.raw.limits.sponsorTransferTimeout).to.be.eq(limits.sponsorTransferTimeout);
+ expect(data.raw.limits.sponsorApproveTimeout).to.be.eq(limits.sponsorApproveTimeout);
+ expect(data.raw.limits.ownerCanTransfer).to.be.eq(limits.ownerCanTransfer);
+ expect(data.raw.limits.ownerCanDestroy).to.be.eq(limits.ownerCanDestroy);
+ expect(data.raw.limits.transfersEnabled).to.be.eq(limits.transfersEnabled);
});
- itWeb3('Collection address exist', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ itEth('Collection address exist', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
const collectionAddressForNonexistentCollection = '0x17C4E6453CC49AAAAEACA894E6D9683E00112233';
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- expect(await collectionHelpers.methods
- .isCollectionExist(collectionAddressForNonexistentCollection).call())
+ expect(await helper.ethNativeContract.collectionHelpers(collectionAddressForNonexistentCollection)
+ .methods.isCollectionExist(collectionAddressForNonexistentCollection).call())
.to.be.false;
- const result = await collectionHelpers.methods.createRFTCollection('Collection address exist', '7', '7').send();
- const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
- expect(await collectionHelpers.methods
- .isCollectionExist(collectionIdAddress).call())
+ const {collectionAddress} = await helper.eth.createRefungibleCollection(owner, 'Exister', 'absolutely anything', 'WIWT');
+ expect(await helper.ethNativeContract.collectionHelpers(collectionAddress)
+ .methods.isCollectionExist(collectionAddress).call())
.to.be.true;
});
});
describe('(!negative tests!) Create RFT collection from EVM', () => {
+ let donor: IKeyringPair;
+
before(async function() {
- await requirePallets(this, [Pallets.ReFungible]);
+ await usingEthPlaygrounds(async (helper, privateKey) => {
+ requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
+ donor = privateKey('//Alice');
+ });
});
- itWeb3('(!negative test!) Create collection (bad lengths)', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const helper = evmCollectionHelpers(web3, owner);
+ itEth('(!negative test!) Create collection (bad lengths)', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const collectionHelper = helper.ethNativeContract.collectionHelpers(owner);
{
- const MAX_NAME_LENGHT = 64;
- const collectionName = 'A'.repeat(MAX_NAME_LENGHT + 1);
+ const MAX_NAME_LENGTH = 64;
+ const collectionName = 'A'.repeat(MAX_NAME_LENGTH + 1);
const description = 'A';
const tokenPrefix = 'A';
-
- await expect(helper.methods
+
+ await expect(collectionHelper.methods
.createRFTCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('name is too long. Max length is ' + MAX_NAME_LENGHT);
-
+ .call({value: Number(2n * UNIQUE)})).to.be.rejectedWith('name is too long. Max length is ' + MAX_NAME_LENGTH);
}
- {
- const MAX_DESCRIPTION_LENGHT = 256;
+ {
+ const MAX_DESCRIPTION_LENGTH = 256;
const collectionName = 'A';
- const description = 'A'.repeat(MAX_DESCRIPTION_LENGHT + 1);
+ const description = 'A'.repeat(MAX_DESCRIPTION_LENGTH + 1);
const tokenPrefix = 'A';
- await expect(helper.methods
+ await expect(collectionHelper.methods
.createRFTCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('description is too long. Max length is ' + MAX_DESCRIPTION_LENGHT);
+ .call({value: Number(2n * UNIQUE)})).to.be.rejectedWith('description is too long. Max length is ' + MAX_DESCRIPTION_LENGTH);
}
- {
- const MAX_TOKEN_PREFIX_LENGHT = 16;
+ {
+ const MAX_TOKEN_PREFIX_LENGTH = 16;
const collectionName = 'A';
const description = 'A';
- const tokenPrefix = 'A'.repeat(MAX_TOKEN_PREFIX_LENGHT + 1);
- await expect(helper.methods
+ const tokenPrefix = 'A'.repeat(MAX_TOKEN_PREFIX_LENGTH + 1);
+ await expect(collectionHelper.methods
.createRFTCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('token_prefix is too long. Max length is ' + MAX_TOKEN_PREFIX_LENGHT);
+ .call({value: Number(2n * UNIQUE)})).to.be.rejectedWith('token_prefix is too long. Max length is ' + MAX_TOKEN_PREFIX_LENGTH);
}
});
- itWeb3('(!negative test!) Create collection (no funds)', async ({web3}) => {
- const owner = createEthAccount(web3);
- const helper = evmCollectionHelpers(web3, owner);
- const collectionName = 'A';
- const description = 'A';
- const tokenPrefix = 'A';
-
- await expect(helper.methods
- .createRFTCollection(collectionName, description, tokenPrefix)
- .call()).to.be.rejectedWith('NotSufficientFounds');
+ itEth('(!negative test!) Create collection (no funds)', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const collectionHelper = helper.ethNativeContract.collectionHelpers(owner);
+ await expect(collectionHelper.methods
+ .createRFTCollection('Peasantry', 'absolutely anything', 'TWIW')
+ .call({value: Number(1n * UNIQUE)})).to.be.rejectedWith('Sent amount not equals to collection creation price (2000000000000000000)');
});
- itWeb3('(!negative test!) Check owner', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const notOwner = createEthAccount(web3);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- const result = await collectionHelpers.methods.createRFTCollection('A', 'A', 'A').send();
- const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
- const contractEvmFromNotOwner = evmCollection(web3, notOwner, collectionIdAddress, {type: 'ReFungible'});
+ itEth('(!negative test!) Check owner', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const peasant = helper.eth.createAccount();
+ const {collectionAddress} = await helper.eth.createRefungibleCollection(owner, 'Transgressed', 'absolutely anything', 'YVNE');
+ const peasantCollection = helper.ethNativeContract.collection(collectionAddress, 'rft', peasant);
const EXPECTED_ERROR = 'NoPermission';
{
- const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- await expect(contractEvmFromNotOwner.methods
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ await expect(peasantCollection.methods
.setCollectionSponsor(sponsor)
.call()).to.be.rejectedWith(EXPECTED_ERROR);
- const sponsorCollection = evmCollection(web3, sponsor, collectionIdAddress);
+ const sponsorCollection = helper.ethNativeContract.collection(collectionAddress, 'rft', sponsor);
await expect(sponsorCollection.methods
.confirmCollectionSponsorship()
.call()).to.be.rejectedWith('caller is not set as sponsor');
}
{
- await expect(contractEvmFromNotOwner.methods
+ await expect(peasantCollection.methods
.setCollectionLimit('account_token_ownership_limit', '1000')
.call()).to.be.rejectedWith(EXPECTED_ERROR);
}
});
- itWeb3('(!negative test!) Set limits', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const collectionHelpers = evmCollectionHelpers(web3, owner);
- const result = await collectionHelpers.methods.createRFTCollection('Schema collection', 'A', 'A').send();
- const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
- const collectionEvm = evmCollection(web3, owner, collectionIdAddress, {type: 'ReFungible'});
+ itEth('(!negative test!) Set limits', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const {collectionAddress} = await helper.eth.createRefungibleCollection(owner, 'Limits', 'absolutely anything', 'ISNI');
+ const collectionEvm = helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
await expect(collectionEvm.methods
.setCollectionLimit('badLimit', 'true')
.call()).to.be.rejectedWith('unknown boolean limit "badLimit"');
tests/src/eth/crossTransfer.test.tsdiffbeforeafterboth--- a/tests/src/eth/crossTransfer.test.ts
+++ b/tests/src/eth/crossTransfer.test.ts
@@ -14,90 +14,91 @@
// You should have received a copy of the GNU General Public License
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-import {createCollectionExpectSuccess,
- createFungibleItemExpectSuccess,
- transferExpectSuccess,
- transferFromExpectSuccess,
- setCollectionLimitsExpectSuccess,
- createItemExpectSuccess} from '../util/helpers';
-import {collectionIdToAddress,
- createEthAccountWithBalance,
- subToEth,
- GAS_ARGS, itWeb3} from './util/helpers';
-import fungibleAbi from './fungibleAbi.json';
-import nonFungibleAbi from './nonFungibleAbi.json';
+import {itEth, usingEthPlaygrounds} from './util/playgrounds';
+import {CrossAccountId} from '../util/playgrounds/unique';
+import {IKeyringPair} from '@polkadot/types/types';
describe('Token transfer between substrate address and EVM address. Fungible', () => {
- itWeb3('The private key X create a substrate address. Alice sends a token to the corresponding EVM address, and X can send it to Bob in the substrate', async ({privateKeyWrapper}) => {
- const collection = await createCollectionExpectSuccess({
- name: 'token name',
- mode: {type: 'Fungible', decimalPoints: 0},
+ let donor: IKeyringPair;
+ let alice: IKeyringPair;
+ let bob: IKeyringPair;
+ let charlie: IKeyringPair;
+
+ before(async function() {
+ await usingEthPlaygrounds(async (helper, privateKey) => {
+ donor = privateKey('//Alice');
+ [alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
- const alice = privateKeyWrapper('//Alice');
- const bob = privateKeyWrapper('//Bob');
- const charlie = privateKeyWrapper('//Charlie');
- await setCollectionLimitsExpectSuccess(alice, collection, {ownerCanTransfer: true});
- await createFungibleItemExpectSuccess(alice, collection, {Value: 200n}, {Substrate: alice.address});
- await transferExpectSuccess(collection, 0, alice, {Ethereum: subToEth(charlie.address)} , 200, 'Fungible');
- await transferFromExpectSuccess(collection, 0, alice, {Ethereum: subToEth(charlie.address)}, charlie, 50, 'Fungible');
- await transferExpectSuccess(collection, 0, charlie, bob, 50, 'Fungible');
});
+
+ itEth('The private key X create a substrate address. Alice sends a token to the corresponding EVM address, and X can send it to Bob in the substrate', async ({helper}) => {
+ const bobCA = CrossAccountId.fromKeyring(bob);
+ const charlieCA = CrossAccountId.fromKeyring(charlie);
+
+ const collection = await helper.ft.mintCollection(alice);
+ await collection.setLimits(alice, {ownerCanTransfer: true});
+
+ await collection.mint(alice, 200n);
+ await collection.transfer(alice, charlieCA.toEthereum(), 200n);
+ await collection.transferFrom(alice, charlieCA.toEthereum(), charlieCA, 50n);
+ await collection.transfer(charlie, bobCA, 50n);
+ });
- itWeb3('The private key X create a EVM address. Alice sends a token to the substrate address corresponding to this EVM address, and X can send it to Bob in the EVM', async ({api, web3, privateKeyWrapper}) => {
- const collection = await createCollectionExpectSuccess({
- name: 'token name',
- mode: {type: 'Fungible', decimalPoints: 0},
- });
- const alice = privateKeyWrapper('//Alice');
- const bob = privateKeyWrapper('//Bob');
- await setCollectionLimitsExpectSuccess(alice, collection, {ownerCanTransfer: true});
- const bobProxy = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const aliceProxy = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ itEth('The private key X create a EVM address. Alice sends a token to the substrate address corresponding to this EVM address, and X can send it to Bob in the EVM', async ({helper}) => {
+ const aliceProxy = await helper.eth.createAccountWithBalance(donor);
+ const bobProxy = await helper.eth.createAccountWithBalance(donor);
- await createFungibleItemExpectSuccess(alice, collection, {Value: 200n}, alice.address);
- await transferExpectSuccess(collection, 0, alice, {Ethereum: aliceProxy} , 200, 'Fungible');
- const address = collectionIdToAddress(collection);
- const contract = new web3.eth.Contract(fungibleAbi as any, address, {from: aliceProxy, ...GAS_ARGS});
+ const collection = await helper.ft.mintCollection(alice);
+ await collection.setLimits(alice, {ownerCanTransfer: true});
+ const address = helper.ethAddress.fromCollectionId(collection.collectionId);
+ const contract = helper.ethNativeContract.collection(address, 'ft', aliceProxy);
+
+ await collection.mint(alice, 200n, {Ethereum: aliceProxy});
await contract.methods.transfer(bobProxy, 50).send({from: aliceProxy});
- await transferFromExpectSuccess(collection, 0, alice, {Ethereum: bobProxy}, bob, 50, 'Fungible');
- await transferExpectSuccess(collection, 0, bob, alice, 50, 'Fungible');
+ await collection.transferFrom(alice, {Ethereum: bobProxy}, CrossAccountId.fromKeyring(bob), 50n);
+ await collection.transfer(bob, CrossAccountId.fromKeyring(alice), 50n);
});
});
describe('Token transfer between substrate address and EVM address. NFT', () => {
- itWeb3('The private key X create a substrate address. Alice sends a token to the corresponding EVM address, and X can send it to Bob in the substrate', async ({privateKeyWrapper}) => {
- const collection = await createCollectionExpectSuccess({
- name: 'token name',
- mode: {type: 'NFT'},
+ let donor: IKeyringPair;
+ let alice: IKeyringPair;
+ let bob: IKeyringPair;
+ let charlie: IKeyringPair;
+
+ before(async function() {
+ await usingEthPlaygrounds(async (helper, privateKey) => {
+ donor = privateKey('//Alice');
+ [alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);
});
- const alice = privateKeyWrapper('//Alice');
- const bob = privateKeyWrapper('//Bob');
- const charlie = privateKeyWrapper('//Charlie');
- await setCollectionLimitsExpectSuccess(alice, collection, {ownerCanTransfer: true});
- const tokenId = await createItemExpectSuccess(alice, collection, 'NFT', {Substrate: alice.address});
- await transferExpectSuccess(collection, tokenId, alice, {Ethereum: subToEth(charlie.address)}, 1, 'NFT');
- await transferFromExpectSuccess(collection, tokenId, alice, {Ethereum: subToEth(charlie.address)}, charlie, 1, 'NFT');
- await transferExpectSuccess(collection, tokenId, charlie, bob, 1, 'NFT');
});
+
+ itEth('The private key X create a substrate address. Alice sends a token to the corresponding EVM address, and X can send it to Bob in the substrate', async ({helper}) => {
+ const charlieEth = CrossAccountId.fromKeyring(charlie, 'Ethereum');
+
+ const collection = await helper.nft.mintCollection(alice);
+ await collection.setLimits(alice, {ownerCanTransfer: true});
+ const token = await collection.mintToken(alice);
+ await token.transfer(alice, charlieEth);
+ await token.transferFrom(alice, charlieEth, CrossAccountId.fromKeyring(charlie));
+ await token.transfer(charlie, CrossAccountId.fromKeyring(bob));
+ });
+
+ itEth('The private key X create a EVM address. Alice sends a token to the substrate address corresponding to this EVM address, and X can send it to Bob in the EVM', async ({helper}) => {
+ const aliceProxy = await helper.eth.createAccountWithBalance(donor);
+ const bobProxy = await helper.eth.createAccountWithBalance(donor);
- itWeb3('The private key X create a EVM address. Alice sends a token to the substrate address corresponding to this EVM address, and X can send it to Bob in the EVM', async ({api, web3, privateKeyWrapper}) => {
- const collection = await createCollectionExpectSuccess({
- name: 'token name',
- mode: {type: 'NFT'},
- });
- const alice = privateKeyWrapper('//Alice');
- const bob = privateKeyWrapper('//Bob');
- const charlie = privateKeyWrapper('//Charlie');
- await setCollectionLimitsExpectSuccess(alice, collection, {ownerCanTransfer: true});
- const bobProxy = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const aliceProxy = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const tokenId = await createItemExpectSuccess(alice, collection, 'NFT', {Substrate: alice.address});
- await transferExpectSuccess(collection, tokenId, alice, {Ethereum: aliceProxy} , 1, 'NFT');
- const address = collectionIdToAddress(collection);
- const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: aliceProxy, ...GAS_ARGS});
+ const collection = await helper.nft.mintCollection(alice);
+ await collection.setLimits(alice, {ownerCanTransfer: true});
+
+ const address = helper.ethAddress.fromCollectionId(collection.collectionId);
+ const contract = helper.ethNativeContract.collection(address, 'nft', aliceProxy);
+
+ const token = await collection.mintToken(alice);
+ await token.transfer(alice, {Ethereum: aliceProxy});
await contract.methods.transfer(bobProxy, 1).send({from: aliceProxy});
- await transferFromExpectSuccess(collection, tokenId, alice, {Ethereum: bobProxy}, bob, 1, 'NFT');
- await transferExpectSuccess(collection, tokenId, bob, charlie, 1, 'NFT');
+ await token.transferFrom(alice, {Ethereum: bobProxy}, {Substrate: bob.address});
+ await token.transfer(bob, {Substrate: charlie.address});
});
});
tests/src/eth/fractionalizer/Fractionalizer.soldiffbeforeafterboth--- a/tests/src/eth/fractionalizer/Fractionalizer.sol
+++ b/tests/src/eth/fractionalizer/Fractionalizer.sol
@@ -18,7 +18,8 @@
mapping(address => bool) nftCollectionAllowList;
mapping(address => mapping(uint256 => uint256)) public nft2rftMapping;
mapping(address => Token) public rft2nftMapping;
- bytes32 refungibleCollectionType = keccak256(bytes("ReFungible"));
+ //use constant to reduce gas cost
+ bytes32 constant refungibleCollectionType = keccak256(bytes("ReFungible"));
receive() external payable onlyOwner {}
@@ -51,11 +52,12 @@
/// Throws if `msg.sender` is not owner or admin of provided RFT collection.
/// Can only be called by contract owner.
/// @param _collection address of RFT collection.
- function setRFTCollection(address _collection) public onlyOwner {
+ function setRFTCollection(address _collection) external onlyOwner {
require(rftCollection == address(0), "RFT collection is already set");
UniqueRefungible refungibleContract = UniqueRefungible(_collection);
string memory collectionType = refungibleContract.uniqueCollectionType();
+ // compare hashed to reduce gas cost
require(
keccak256(bytes(collectionType)) == refungibleCollectionType,
"Wrong collection type. Collection is not refungible."
@@ -79,10 +81,10 @@
string calldata _name,
string calldata _description,
string calldata _tokenPrefix
- ) public onlyOwner {
+ ) external payable onlyOwner {
require(rftCollection == address(0), "RFT collection is already set");
address collectionHelpers = 0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F;
- rftCollection = CollectionHelpers(collectionHelpers).createRFTCollection(_name, _description, _tokenPrefix);
+ rftCollection = CollectionHelpers(collectionHelpers).createRFTCollection{value: msg.value}(_name, _description, _tokenPrefix);
emit RFTCollectionSet(rftCollection);
}
@@ -90,7 +92,7 @@
/// @dev Can only be called by contract owner.
/// @param collection NFT token address.
/// @param status `true` to allow and `false` to disallow NFT token.
- function setNftCollectionIsAllowed(address collection, bool status) public onlyOwner {
+ function setNftCollectionIsAllowed(address collection, bool status) external onlyOwner {
nftCollectionAllowList[collection] = status;
emit AllowListSet(collection, status);
}
@@ -109,7 +111,7 @@
address _collection,
uint256 _token,
uint128 _pieces
- ) public {
+ ) external {
require(rftCollection != address(0), "RFT collection is not set");
UniqueRefungible rftCollectionContract = UniqueRefungible(rftCollection);
require(
@@ -148,7 +150,7 @@
/// Throws if `msg.sender` isn't owner of all RFT token pieces.
/// @param _collection RFT collection address
/// @param _token id of RFT token
- function rft2nft(address _collection, uint256 _token) public {
+ function rft2nft(address _collection, uint256 _token) external {
require(rftCollection != address(0), "RFT collection is not set");
require(rftCollection == _collection, "Wrong RFT collection");
UniqueRefungible rftCollectionContract = UniqueRefungible(rftCollection);
tests/src/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth--- a/tests/src/eth/fractionalizer/fractionalizer.test.ts
+++ b/tests/src/eth/fractionalizer/fractionalizer.test.ts
@@ -93,7 +93,7 @@
const fractionalizer = await deployFractionalizer(web3, owner);
const amount = 10n * UNIQUE;
await web3.eth.sendTransaction({from: owner, to: fractionalizer.options.address, value: `${amount}`, ...GAS_ARGS});
- const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send();
+ const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({value: Number(2n * UNIQUE)});
const rftCollectionAddress = result.events.RFTCollectionSet.returnValues._collection;
return {fractionalizer, rftCollectionAddress};
}
@@ -141,9 +141,9 @@
const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
const fractionalizer = await deployFractionalizer(web3, owner);
const tx = api.tx.balances.transfer(evmToAddress(fractionalizer.options.address), 10n * UNIQUE);
- await submitTransactionAsync(alice, tx);
+ await executeTransaction(api, alice, tx);
- const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({from: owner});
+ const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({from: owner, value: Number(2n * UNIQUE)});
expect(result.events).to.be.like({
RFTCollectionSet: {},
});
@@ -295,7 +295,7 @@
const tx = api.tx.balances.transfer(evmToAddress(fractionalizer.options.address), 10n * UNIQUE);
await submitTransactionAsync(alice, tx);
- const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({from: owner});
+ const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({from: owner, value: Number(2n * UNIQUE)});
const collectionIdAddress = result.events.RFTCollectionSet.returnValues._collection;
await expect(fractionalizer.methods.setRFTCollection(collectionIdAddress).call())
tests/src/eth/helpersSmoke.test.tsdiffbeforeafterboth--- a/tests/src/eth/helpersSmoke.test.ts
+++ b/tests/src/eth/helpersSmoke.test.ts
@@ -14,21 +14,30 @@
// You should have received a copy of the GNU General Public License
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-import {expect} from 'chai';
-import {createEthAccountWithBalance, deployFlipper, itWeb3, contractHelpers} from './util/helpers';
+import {expect, itEth, usingEthPlaygrounds} from './util/playgrounds';
+import {IKeyringPair} from '@polkadot/types/types';
describe('Helpers sanity check', () => {
- itWeb3('Contract owner is recorded', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ let donor: IKeyringPair;
- const flipper = await deployFlipper(web3, owner);
+ before(async function() {
+ await usingEthPlaygrounds(async (_helper, privateKey) => {
+ donor = privateKey('//Alice');
+ });
+ });
+
+ itEth('Contract owner is recorded', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
- expect(await contractHelpers(web3, owner).methods.contractOwner(flipper.options.address).call()).to.be.equal(owner);
+ const flipper = await helper.eth.deployFlipper(owner);
+
+ expect(await helper.ethNativeContract.contractHelpers(owner).methods.contractOwner(flipper.options.address).call()).to.be.equal(owner);
});
- itWeb3('Flipper is working', async ({api, web3, privateKeyWrapper}) => {
- const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const flipper = await deployFlipper(web3, owner);
+ itEth('Flipper is working', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const flipper = await helper.eth.deployFlipper(owner);
expect(await flipper.methods.getValue().call()).to.be.false;
await flipper.methods.flip().send({from: owner});
tests/src/eth/migration.test.tsdiffbeforeafterboth--- a/tests/src/eth/migration.test.ts
+++ b/tests/src/eth/migration.test.ts
@@ -14,12 +14,20 @@
// You should have received a copy of the GNU General Public License
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-import {expect} from 'chai';
-import {submitTransactionAsync} from '../substrate/substrate-api';
-import {createEthAccountWithBalance, GAS_ARGS, itWeb3} from './util/helpers';
+import {expect, itEth, usingEthPlaygrounds} from './util/playgrounds';
+import {IKeyringPair} from '@polkadot/types/types';
describe('EVM Migrations', () => {
- itWeb3('Deploy contract saved state', async ({web3, api, privateKeyWrapper}) => {
+ let superuser: IKeyringPair;
+
+ before(async function() {
+ await usingEthPlaygrounds(async (_helper, privateKey) => {
+ superuser = privateKey('//Alice');
+ });
+ });
+
+ // todo:playgrounds requires sudo, look into later
+ itEth('Deploy contract saved state', async ({helper}) => {
/*
contract StatefulContract {
uint counter;
@@ -53,13 +61,16 @@
['0xedc95719e9a3b28dd8e80877cb5880a9be7de1a13fc8b05e7999683b6b567643', '0x0000000000000000000000000000000000000000000000000000000000000004'],
];
- const alice = privateKeyWrapper('//Alice');
- const caller = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const caller = await helper.eth.createAccountWithBalance(superuser);
- await submitTransactionAsync(alice, api.tx.sudo.sudo(api.tx.evmMigration.begin(ADDRESS) as any));
- await submitTransactionAsync(alice, api.tx.sudo.sudo(api.tx.evmMigration.setData(ADDRESS, DATA as any) as any));
- await submitTransactionAsync(alice, api.tx.sudo.sudo(api.tx.evmMigration.finish(ADDRESS, CODE) as any));
+ const txBegin = helper.constructApiCall('api.tx.evmMigration.begin', [ADDRESS]);
+ const txSetData = helper.constructApiCall('api.tx.evmMigration.setData', [ADDRESS, DATA]);
+ const txFinish = helper.constructApiCall('api.tx.evmMigration.finish', [ADDRESS, CODE]);
+ await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txBegin])).to.be.fulfilled;
+ await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txSetData])).to.be.fulfilled;
+ await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txFinish])).to.be.fulfilled;
+ const web3 = helper.getWeb3();
const contract = new web3.eth.Contract([
{
inputs: [],
@@ -87,7 +98,7 @@
stateMutability: 'view',
type: 'function',
},
- ], ADDRESS, {from: caller, ...GAS_ARGS});
+ ], ADDRESS, {from: caller, gas: helper.eth.DEFAULT_GAS});
expect(await contract.methods.counterValue().call()).to.be.equal('10');
for (let i = 1; i <= 4; i++) {
tests/src/eth/nonFungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/nonFungible.test.ts
+++ b/tests/src/eth/nonFungible.test.ts
@@ -17,6 +17,7 @@
import {itEth, usingEthPlaygrounds, expect, EthUniqueHelper} from './util/playgrounds';
import {IKeyringPair} from '@polkadot/types/types';
import {Contract} from 'web3-eth-contract';
+import {UNIQUE} from '../util/helpers';
describe('NFT: Information getting', () => {
let donor: IKeyringPair;
@@ -83,7 +84,7 @@
const receiver = helper.eth.createAccount();
const collectionHelper = helper.ethNativeContract.collectionHelpers(owner);
- let result = await collectionHelper.methods.createERC721MetadataCompatibleCollection('Mint collection', 'a', 'b', tokenPrefix).send();
+ let result = await collectionHelper.methods.createERC721MetadataCompatibleCollection('Mint collection', 'a', 'b', tokenPrefix).send({value: Number(2n * UNIQUE)});
const collectionAddress = helper.ethAddress.normalizeAddress(result.events.CollectionCreated.returnValues.collectionId);
const contract = helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
@@ -171,70 +172,38 @@
});
//TODO: CORE-302 add eth methods
- /* todo:playgrounds skipped test!
- itWeb3.skip('Can perform mintBulk()', async ({helper}) => {
- const collection = await createCollectionExpectSuccess({
- mode: {type: 'NFT'},
- });
- const alice = privateKeyWrapper('//Alice');
+ itEth.skip('Can perform mintBulk()', async ({helper}) => {
+ const caller = await helper.eth.createAccountWithBalance(donor);
+ const receiver = helper.eth.createAccount();
- const caller = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
- const changeAdminTx = api.tx.unique.addCollectionAdmin(collection, {Ethereum: caller});
- await submitTransactionAsync(alice, changeAdminTx);
- const receiver = createEthAccount(web3);
+ const collection = await helper.nft.mintCollection(alice);
+ await collection.addAdmin(alice, {Ethereum: caller});
- const address = collectionIdToAddress(collection);
- const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: caller, ...GAS_ARGS});
-
+ const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);
+ const contract = helper.ethNativeContract.collection(collectionAddress, 'nft', caller);
{
+ const bulkSize = 3;
const nextTokenId = await contract.methods.nextTokenId().call();
expect(nextTokenId).to.be.equal('1');
const result = await contract.methods.mintBulkWithTokenURI(
receiver,
- [
- [nextTokenId, 'Test URI 0'],
- [+nextTokenId + 1, 'Test URI 1'],
- [+nextTokenId + 2, 'Test URI 2'],
- ],
+ Array.from({length: bulkSize}, (_, i) => (
+ [+nextTokenId + i, `Test URI ${i}`]
+ )),
).send({from: caller});
- const events = normalizeEvents(result.events);
- expect(events).to.be.deep.equal([
- {
- address,
- event: 'Transfer',
- args: {
- from: '0x0000000000000000000000000000000000000000',
- to: receiver,
- tokenId: nextTokenId,
- },
- },
- {
- address,
- event: 'Transfer',
- args: {
- from: '0x0000000000000000000000000000000000000000',
- to: receiver,
- tokenId: String(+nextTokenId + 1),
- },
- },
- {
- address,
- event: 'Transfer',
- args: {
- from: '0x0000000000000000000000000000000000000000',
- to: receiver,
- tokenId: String(+nextTokenId + 2),
- },
- },
- ]);
+ const events = result.events.Transfer.sort((a: any, b: any) => +a.returnValues.tokenId - b.returnValues.tokenId);
+ for (let i = 0; i < bulkSize; i++) {
+ const event = events[i];
+ expect(event.address).to.equal(collectionAddress);
+ expect(event.returnValues.from).to.equal('0x0000000000000000000000000000000000000000');
+ expect(event.returnValues.to).to.equal(receiver);
+ expect(event.returnValues.tokenId).to.equal(`${+nextTokenId + i}`);
- expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI 0');
- expect(await contract.methods.tokenURI(+nextTokenId + 1).call()).to.be.equal('Test URI 1');
- expect(await contract.methods.tokenURI(+nextTokenId + 2).call()).to.be.equal('Test URI 2');
+ expect(await contract.methods.tokenURI(+nextTokenId + i).call()).to.be.equal(`Test URI ${i}`);
+ }
}
});
- */
itEth('Can perform burn()', async ({helper}) => {
const caller = await helper.eth.createAccountWithBalance(donor);
tests/src/eth/payable.test.tsdiffbeforeafterboth--- a/tests/src/eth/payable.test.ts
+++ b/tests/src/eth/payable.test.ts
@@ -16,7 +16,7 @@
import {IKeyringPair} from '@polkadot/types/types';
-import {itEth, expect, usingEthPlaygrounds} from './util/playgrounds';
+import {itEth, expect, usingEthPlaygrounds, EthUniqueHelper} from './util/playgrounds';
describe('EVM payable contracts', () => {
let donor: IKeyringPair;
@@ -104,3 +104,167 @@
}
});
});
+
+describe('EVM transaction fees', () => {
+ let donor: IKeyringPair;
+
+ before(async function() {
+ await usingEthPlaygrounds(async (_, privateKey) => {
+ donor = privateKey('//Alice');
+ });
+ });
+
+ itEth('Fee is withdrawn from the user', async({helper}) => {
+ const deployer = await helper.eth.createAccountWithBalance(donor);
+ const caller = await helper.eth.createAccountWithBalance(donor);
+ const contract = await helper.eth.deployFlipper(deployer);
+
+ const initialCallerBalance = await helper.balance.getEthereum(caller);
+ await contract.methods.flip().send({from: caller});
+ const finalCallerBalance = await helper.balance.getEthereum(caller);
+ expect(finalCallerBalance < initialCallerBalance).to.be.true;
+ });
+
+ itEth('Fee for nested calls is withdrawn from the user', async({helper}) => {
+ const deployer = await helper.eth.createAccountWithBalance(donor);
+ const caller = await helper.eth.createAccountWithBalance(donor);
+ const contract = await deployProxyContract(helper, deployer);
+
+ const initialCallerBalance = await helper.balance.getEthereum(caller);
+ const initialContractBalance = await helper.balance.getEthereum(contract.options.address);
+ await contract.methods.flip().send({from: caller});
+ const finalCallerBalance = await helper.balance.getEthereum(caller);
+ const finalContractBalance = await helper.balance.getEthereum(contract.options.address);
+ expect(finalCallerBalance < initialCallerBalance).to.be.true;
+ expect(finalContractBalance == initialContractBalance).to.be.true;
+ });
+
+ itEth('Fee for nested calls to native methods is withdrawn from the user', async({helper}) => {
+ const CONTRACT_BALANCE = 2n * helper.balance.getOneTokenNominal();
+
+ const deployer = await helper.eth.createAccountWithBalance(donor);
+ const caller = await helper.eth.createAccountWithBalance(donor);
+ const contract = await deployProxyContract(helper, deployer);
+
+ const collectionAddress = (await contract.methods.createNonfungibleCollection().send({from: caller, value: Number(CONTRACT_BALANCE)})).events.CollectionCreated.returnValues.collection;
+ const initialCallerBalance = await helper.balance.getEthereum(caller);
+ const initialContractBalance = await helper.balance.getEthereum(contract.options.address);
+ await contract.methods.mintNftToken(collectionAddress).send({from: caller});
+ const finalCallerBalance = await helper.balance.getEthereum(caller);
+ const finalContractBalance = await helper.balance.getEthereum(contract.options.address);
+ expect(finalCallerBalance < initialCallerBalance).to.be.true;
+ expect(finalContractBalance == initialContractBalance).to.be.true;
+ });
+
+ itEth('Fee for nested calls to create*Collection methods is withdrawn from the user and from the contract', async({helper}) => {
+ const CONTRACT_BALANCE = 2n * helper.balance.getOneTokenNominal();
+ const deployer = await helper.eth.createAccountWithBalance(donor);
+ const caller = await helper.eth.createAccountWithBalance(donor);
+ const contract = await deployProxyContract(helper, deployer);
+
+ const initialCallerBalance = await helper.balance.getEthereum(caller);
+ const initialContractBalance = await helper.balance.getEthereum(contract.options.address);
+ await contract.methods.createNonfungibleCollection().send({from: caller, value: Number(CONTRACT_BALANCE)});
+ const finalCallerBalance = await helper.balance.getEthereum(caller);
+ const finalContractBalance = await helper.balance.getEthereum(contract.options.address);
+ expect(finalCallerBalance < initialCallerBalance).to.be.true;
+ expect(finalContractBalance == initialContractBalance).to.be.true;
+ });
+
+ itEth('Negative test: call createNFTCollection with wrong fee', async({helper}) => {
+ const SMALL_FEE = 1n * helper.balance.getOneTokenNominal();
+ const BIG_FEE = 3n * helper.balance.getOneTokenNominal();
+ const caller = await helper.eth.createAccountWithBalance(donor);
+ const collectionHelper = helper.ethNativeContract.collectionHelpers(caller);
+
+ await expect(collectionHelper.methods.createNonfungibleCollection('A', 'B', 'C').call({value: Number(SMALL_FEE)})).to.be.rejectedWith('Sent amount not equals to collection creation price (2000000000000000000)');
+ await expect(collectionHelper.methods.createNonfungibleCollection('A', 'B', 'C').call({value: Number(BIG_FEE)})).to.be.rejectedWith('Sent amount not equals to collection creation price (2000000000000000000)');
+ });
+
+ itEth('Negative test: call createRFTCollection with wrong fee', async({helper}) => {
+ const SMALL_FEE = 1n * helper.balance.getOneTokenNominal();
+ const BIG_FEE = 3n * helper.balance.getOneTokenNominal();
+ const caller = await helper.eth.createAccountWithBalance(donor);
+ const collectionHelper = helper.ethNativeContract.collectionHelpers(caller);
+
+ await expect(collectionHelper.methods.createRFTCollection('A', 'B', 'C').call({value: Number(SMALL_FEE)})).to.be.rejectedWith('Sent amount not equals to collection creation price (2000000000000000000)');
+ await expect(collectionHelper.methods.createRFTCollection('A', 'B', 'C').call({value: Number(BIG_FEE)})).to.be.rejectedWith('Sent amount not equals to collection creation price (2000000000000000000)');
+ });
+
+ itEth('Get collection creation fee', async({helper}) => {
+ const deployer = await helper.eth.createAccountWithBalance(donor);
+ expect(await helper.eth.getCollectionCreationFee(deployer)).to.be.equal(String(2n * helper.balance.getOneTokenNominal()));
+ });
+
+ async function deployProxyContract(helper: EthUniqueHelper, deployer: string) {
+ return await helper.ethContract.deployByCode(
+ deployer,
+ 'ProxyContract',
+ `
+ // SPDX-License-Identifier: UNLICENSED
+ pragma solidity ^0.8.6;
+
+ import {CollectionHelpers} from "../api/CollectionHelpers.sol";
+ import {UniqueNFT} from "../api/UniqueNFT.sol";
+
+ error Value(uint256 value);
+
+ contract ProxyContract {
+ bool value = false;
+ address innerContract;
+
+ event CollectionCreated(address collection);
+ event TokenMinted(uint256 tokenId);
+
+ receive() external payable {}
+
+ constructor() {
+ innerContract = address(new InnerContract());
+ }
+
+ function flip() public {
+ value = !value;
+ InnerContract(innerContract).flip();
+ }
+
+ function createNonfungibleCollection() external payable {
+ address collectionHelpers = 0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F;
+ address nftCollection = CollectionHelpers(collectionHelpers).createNonfungibleCollection{value: msg.value}("A", "B", "C");
+ emit CollectionCreated(nftCollection);
+ }
+
+ function mintNftToken(address collectionAddress) external {
+ UniqueNFT collection = UniqueNFT(collectionAddress);
+ uint256 tokenId = collection.nextTokenId();
+ collection.mint(msg.sender, tokenId);
+ emit TokenMinted(tokenId);
+ }
+
+ function getValue() external view returns (bool) {
+ return InnerContract(innerContract).getValue();
+ }
+ }
+
+ contract InnerContract {
+ bool value = false;
+ function flip() external {
+ value = !value;
+ }
+ function getValue() external view returns (bool) {
+ return value;
+ }
+ }
+ `,
+ [
+ {
+ solPath: 'api/CollectionHelpers.sol',
+ fsPath: `${__dirname}/api/CollectionHelpers.sol`,
+ },
+ {
+ solPath: 'api/UniqueNFT.sol',
+ fsPath: `${__dirname}/api/UniqueNFT.sol`,
+ },
+ ],
+ );
+ }
+});
tests/src/eth/reFungibleToken.test.tsdiffbeforeafterboth--- a/tests/src/eth/reFungibleToken.test.ts
+++ b/tests/src/eth/reFungibleToken.test.ts
@@ -18,6 +18,7 @@
import {EthUniqueHelper, expect, itEth, usingEthPlaygrounds} from './util/playgrounds';
import {IKeyringPair} from '@polkadot/types/types';
import {Contract} from 'web3-eth-contract';
+import {UNIQUE} from '../util/helpers';
describe('Refungible token: Information getting', () => {
let donor: IKeyringPair;
@@ -80,7 +81,7 @@
const receiver = helper.eth.createAccount();
const collectionHelper = helper.ethNativeContract.collectionHelpers(owner);
- let result = await collectionHelper.methods.createERC721MetadataCompatibleCollection('Mint collection', 'a', 'b', tokenPrefix).send();
+ let result = await collectionHelper.methods.createERC721MetadataCompatibleCollection('Mint collection', 'a', 'b', tokenPrefix).send({value: Number(2n * UNIQUE)});
const collectionAddress = helper.ethAddress.normalizeAddress(result.events.CollectionCreated.returnValues.collectionId);
const contract = helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
tests/src/eth/util/helpers.tsdiffbeforeafterboth--- a/tests/src/eth/util/helpers.ts
+++ b/tests/src/eth/util/helpers.ts
@@ -145,7 +145,7 @@
const collectionHelper = evmCollectionHelpers(web3, owner);
const result = await collectionHelper.methods
.createRFTCollection('A', 'B', 'C')
- .send();
+ .send({value: Number(2n * UNIQUE)});
return await getCollectionAddressFromResult(api, result);
}
@@ -154,7 +154,7 @@
const collectionHelper = evmCollectionHelpers(web3, owner);
const result = await collectionHelper.methods
.createNonfungibleCollection('A', 'B', 'C')
- .send();
+ .send({value: Number(2n * UNIQUE)});
return await getCollectionAddressFromResult(api, result);
}
tests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/eth/util/playgrounds/unique.dev.ts
+++ b/tests/src/eth/util/playgrounds/unique.dev.ts
@@ -131,7 +131,7 @@
}
}
-
+
class EthGroup extends EthGroupBase {
DEFAULT_GAS = 2_500_000;
@@ -152,6 +152,11 @@
async transferBalanceFromSubstrate(donor: IKeyringPair, recepient: string, amount=1000n, inTokens=true) {
return await this.helper.balance.transferToSubstrate(donor, evmToAddress(recepient), amount * (inTokens ? this.helper.balance.getOneTokenNominal() : 1n));
}
+
+ async getCollectionCreationFee(signer: string) {
+ const collectionHelper = this.helper.ethNativeContract.collectionHelpers(signer);
+ return await collectionHelper.methods.collectionCreationFee().call();
+ }
async sendEVM(signer: IKeyringPair, contractAddress: string, abi: string, value: string, gasLimit?: number) {
if(!gasLimit) gasLimit = this.DEFAULT_GAS;
@@ -164,15 +169,16 @@
true,
);
}
-
+
async callEVM(signer: TEthereumAccount, contractAddress: string, abi: string) {
return await this.helper.callRpc('api.rpc.eth.call', [{from: signer, to: contractAddress, data: abi}]);
}
async createNonfungibleCollection(signer: string, name: string, description: string, tokenPrefix: string): Promise<{collectionId: number, collectionAddress: string}> {
+ const collectionCreationPrice = this.helper.balance.getCollectionCreationPrice();
const collectionHelper = this.helper.ethNativeContract.collectionHelpers(signer);
- const result = await collectionHelper.methods.createNonfungibleCollection(name, description, tokenPrefix).send();
+ const result = await collectionHelper.methods.createNonfungibleCollection(name, description, tokenPrefix).send({value: Number(collectionCreationPrice)});
const collectionAddress = this.helper.ethAddress.normalizeAddress(result.events.CollectionCreated.returnValues.collectionId);
const collectionId = this.helper.ethAddress.extractCollectionId(collectionAddress);
@@ -181,9 +187,10 @@
}
async createRefungibleCollection(signer: string, name: string, description: string, tokenPrefix: string): Promise<{collectionId: number, collectionAddress: string}> {
+ const collectionCreationPrice = this.helper.balance.getCollectionCreationPrice();
const collectionHelper = this.helper.ethNativeContract.collectionHelpers(signer);
- const result = await collectionHelper.methods.createRFTCollection(name, description, tokenPrefix).send();
+ const result = await collectionHelper.methods.createRFTCollection(name, description, tokenPrefix).send({value: Number(collectionCreationPrice)});
const collectionAddress = this.helper.ethAddress.normalizeAddress(result.events.CollectionCreated.returnValues.collectionId);
const collectionId = this.helper.ethAddress.extractCollectionId(collectionAddress);
@@ -246,7 +253,7 @@
return before - after;
}
}
-
+
class EthAddressGroup extends EthGroupBase {
extractCollectionId(address: string): number {
if (!(address.length === 42 || address.length === 40)) throw new Error('address wrong format');
tests/src/getPropertiesRpc.test.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/getPropertiesRpc.test.ts
@@ -0,0 +1,126 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+import {IKeyringPair} from '@polkadot/types/types';
+import {itSub, usingPlaygrounds, expect} from './util/playgrounds';
+import {UniqueHelper, UniqueNFTCollection} from './util/playgrounds/unique';
+
+const collectionProps = [
+ {key: 'col-0', value: 'col-0-value'},
+ {key: 'col-1', value: 'col-1-value'},
+];
+
+const tokenProps = [
+ {key: 'tok-0', value: 'tok-0-value'},
+ {key: 'tok-1', value: 'tok-1-value'},
+];
+
+const tokPropPermission = {
+ mutable: false,
+ tokenOwner: true,
+ collectionAdmin: false,
+};
+
+const tokenPropPermissions = [
+ {
+ key: 'tok-0',
+ permission: tokPropPermission,
+ },
+ {
+ key: 'tok-1',
+ permission: tokPropPermission,
+ },
+];
+
+describe('query properties RPC', () => {
+ let alice: IKeyringPair;
+
+ const mintCollection = async (helper: UniqueHelper) => {
+ return await helper.nft.mintCollection(alice, {
+ tokenPrefix: 'prps',
+ properties: collectionProps,
+ tokenPropertyPermissions: tokenPropPermissions,
+ });
+ };
+
+ const mintToken = async (collection: UniqueNFTCollection) => {
+ return await collection.mintToken(alice, {Substrate: alice.address}, tokenProps);
+ };
+
+
+ before(async () => {
+ await usingPlaygrounds(async (_, privateKey) => {
+ alice = privateKey('//Alice');
+ });
+ });
+
+ itSub('query empty collection key set', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const props = await collection.getProperties([]);
+ expect(props).to.be.empty;
+ });
+
+ itSub('query empty token key set', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const token = await mintToken(collection);
+ const props = await token.getProperties([]);
+ expect(props).to.be.empty;
+ });
+
+ itSub('query empty token key permissions set', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const propPermissions = await collection.getPropertyPermissions([]);
+ expect(propPermissions).to.be.empty;
+ });
+
+ itSub('query all collection props by null arg', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const props = await collection.getProperties(null);
+ expect(props).to.be.deep.equal(collectionProps);
+ });
+
+ itSub('query all token props by null arg', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const token = await mintToken(collection);
+ const props = await token.getProperties(null);
+ expect(props).to.be.deep.equal(tokenProps);
+ });
+
+ itSub('query empty token key permissions by null arg', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const propPermissions = await collection.getPropertyPermissions(null);
+ expect(propPermissions).to.be.deep.equal(tokenPropPermissions);
+ });
+
+ itSub('query all collection props by undefined arg', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const props = await collection.getProperties();
+ expect(props).to.be.deep.equal(collectionProps);
+ });
+
+ itSub('query all token props by undefined arg', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const token = await mintToken(collection);
+ const props = await token.getProperties();
+ expect(props).to.be.deep.equal(tokenProps);
+ });
+
+ itSub('query empty token key permissions by undefined arg', async ({helper}) => {
+ const collection = await mintCollection(helper);
+ const propPermissions = await collection.getPropertyPermissions();
+ expect(propPermissions).to.be.deep.equal(tokenPropPermissions);
+ });
+});
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -695,7 +695,7 @@
/**
* Get collection properties, optionally limited to the provided keys
**/
- collectionProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
+ collectionProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Option<Vec<Text>> | null | Uint8Array | Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
/**
* Get chain stats about collections
**/
@@ -723,7 +723,7 @@
/**
* Get property permissions, optionally limited to the provided keys
**/
- propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
+ propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Option<Vec<Text>> | null | Uint8Array | Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
/**
* Get tokens nested directly into the token
**/
@@ -731,7 +731,7 @@
/**
* Get token data, including properties, optionally limited to the provided keys, and total pieces for an RFT
**/
- tokenData: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<UpDataStructsTokenData>>;
+ tokenData: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Option<Vec<Text>> | null | Uint8Array | Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<UpDataStructsTokenData>>;
/**
* Check if the token exists
**/
@@ -747,7 +747,7 @@
/**
* Get token properties, optionally limited to the provided keys
**/
- tokenProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
+ tokenProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Option<Vec<Text>> | null | Uint8Array | Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
/**
* Get the topmost token owner in the hierarchy of a possibly nested token
**/
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -535,6 +535,7 @@
FrameSystemExtensionsCheckGenesis: FrameSystemExtensionsCheckGenesis;
FrameSystemExtensionsCheckNonce: FrameSystemExtensionsCheckNonce;
FrameSystemExtensionsCheckSpecVersion: FrameSystemExtensionsCheckSpecVersion;
+ FrameSystemExtensionsCheckTxVersion: FrameSystemExtensionsCheckTxVersion;
FrameSystemExtensionsCheckWeight: FrameSystemExtensionsCheckWeight;
FrameSystemLastRuntimeUpgradeInfo: FrameSystemLastRuntimeUpgradeInfo;
FrameSystemLimitsBlockLength: FrameSystemLimitsBlockLength;
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 } 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: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;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: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;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: u64;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: u64;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_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;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: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;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: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;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: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;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 FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime 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 PalletNonfungibleError */1605export interface PalletNonfungibleError extends Enum {1606 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1607 readonly isNonfungibleItemsHaveNoAmount: boolean;1608 readonly isCantBurnNftWithChildren: boolean;1609 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1610}16111612/** @name PalletNonfungibleItemData */1613export interface PalletNonfungibleItemData extends Struct {1614 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1615}16161617/** @name PalletRefungibleError */1618export interface PalletRefungibleError extends Enum {1619 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1620 readonly isWrongRefungiblePieces: boolean;1621 readonly isRepartitionWhileNotOwningAllPieces: boolean;1622 readonly isRefungibleDisallowsNesting: boolean;1623 readonly isSettingPropertiesNotAllowed: boolean;1624 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1625}16261627/** @name PalletRefungibleItemData */1628export interface PalletRefungibleItemData extends Struct {1629 readonly constData: Bytes;1630}16311632/** @name PalletRmrkCoreCall */1633export interface PalletRmrkCoreCall extends Enum {1634 readonly isCreateCollection: boolean;1635 readonly asCreateCollection: {1636 readonly metadata: Bytes;1637 readonly max: Option<u32>;1638 readonly symbol: Bytes;1639 } & Struct;1640 readonly isDestroyCollection: boolean;1641 readonly asDestroyCollection: {1642 readonly collectionId: u32;1643 } & Struct;1644 readonly isChangeCollectionIssuer: boolean;1645 readonly asChangeCollectionIssuer: {1646 readonly collectionId: u32;1647 readonly newIssuer: MultiAddress;1648 } & Struct;1649 readonly isLockCollection: boolean;1650 readonly asLockCollection: {1651 readonly collectionId: u32;1652 } & Struct;1653 readonly isMintNft: boolean;1654 readonly asMintNft: {1655 readonly owner: Option<AccountId32>;1656 readonly collectionId: u32;1657 readonly recipient: Option<AccountId32>;1658 readonly royaltyAmount: Option<Permill>;1659 readonly metadata: Bytes;1660 readonly transferable: bool;1661 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1662 } & Struct;1663 readonly isBurnNft: boolean;1664 readonly asBurnNft: {1665 readonly collectionId: u32;1666 readonly nftId: u32;1667 readonly maxBurns: u32;1668 } & Struct;1669 readonly isSend: boolean;1670 readonly asSend: {1671 readonly rmrkCollectionId: u32;1672 readonly rmrkNftId: u32;1673 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1674 } & Struct;1675 readonly isAcceptNft: boolean;1676 readonly asAcceptNft: {1677 readonly rmrkCollectionId: u32;1678 readonly rmrkNftId: u32;1679 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1680 } & Struct;1681 readonly isRejectNft: boolean;1682 readonly asRejectNft: {1683 readonly rmrkCollectionId: u32;1684 readonly rmrkNftId: u32;1685 } & Struct;1686 readonly isAcceptResource: boolean;1687 readonly asAcceptResource: {1688 readonly rmrkCollectionId: u32;1689 readonly rmrkNftId: u32;1690 readonly resourceId: u32;1691 } & Struct;1692 readonly isAcceptResourceRemoval: boolean;1693 readonly asAcceptResourceRemoval: {1694 readonly rmrkCollectionId: u32;1695 readonly rmrkNftId: u32;1696 readonly resourceId: u32;1697 } & Struct;1698 readonly isSetProperty: boolean;1699 readonly asSetProperty: {1700 readonly rmrkCollectionId: Compact<u32>;1701 readonly maybeNftId: Option<u32>;1702 readonly key: Bytes;1703 readonly value: Bytes;1704 } & Struct;1705 readonly isSetPriority: boolean;1706 readonly asSetPriority: {1707 readonly rmrkCollectionId: u32;1708 readonly rmrkNftId: u32;1709 readonly priorities: Vec<u32>;1710 } & Struct;1711 readonly isAddBasicResource: boolean;1712 readonly asAddBasicResource: {1713 readonly rmrkCollectionId: u32;1714 readonly nftId: u32;1715 readonly resource: RmrkTraitsResourceBasicResource;1716 } & Struct;1717 readonly isAddComposableResource: boolean;1718 readonly asAddComposableResource: {1719 readonly rmrkCollectionId: u32;1720 readonly nftId: u32;1721 readonly resource: RmrkTraitsResourceComposableResource;1722 } & Struct;1723 readonly isAddSlotResource: boolean;1724 readonly asAddSlotResource: {1725 readonly rmrkCollectionId: u32;1726 readonly nftId: u32;1727 readonly resource: RmrkTraitsResourceSlotResource;1728 } & Struct;1729 readonly isRemoveResource: boolean;1730 readonly asRemoveResource: {1731 readonly rmrkCollectionId: u32;1732 readonly nftId: u32;1733 readonly resourceId: u32;1734 } & Struct;1735 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1736}17371738/** @name PalletRmrkCoreError */1739export interface PalletRmrkCoreError extends Enum {1740 readonly isCorruptedCollectionType: boolean;1741 readonly isRmrkPropertyKeyIsTooLong: boolean;1742 readonly isRmrkPropertyValueIsTooLong: boolean;1743 readonly isRmrkPropertyIsNotFound: boolean;1744 readonly isUnableToDecodeRmrkData: boolean;1745 readonly isCollectionNotEmpty: boolean;1746 readonly isNoAvailableCollectionId: boolean;1747 readonly isNoAvailableNftId: boolean;1748 readonly isCollectionUnknown: boolean;1749 readonly isNoPermission: boolean;1750 readonly isNonTransferable: boolean;1751 readonly isCollectionFullOrLocked: boolean;1752 readonly isResourceDoesntExist: boolean;1753 readonly isCannotSendToDescendentOrSelf: boolean;1754 readonly isCannotAcceptNonOwnedNft: boolean;1755 readonly isCannotRejectNonOwnedNft: boolean;1756 readonly isCannotRejectNonPendingNft: boolean;1757 readonly isResourceNotPending: boolean;1758 readonly isNoAvailableResourceId: boolean;1759 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1760}17611762/** @name PalletRmrkCoreEvent */1763export interface PalletRmrkCoreEvent extends Enum {1764 readonly isCollectionCreated: boolean;1765 readonly asCollectionCreated: {1766 readonly issuer: AccountId32;1767 readonly collectionId: u32;1768 } & Struct;1769 readonly isCollectionDestroyed: boolean;1770 readonly asCollectionDestroyed: {1771 readonly issuer: AccountId32;1772 readonly collectionId: u32;1773 } & Struct;1774 readonly isIssuerChanged: boolean;1775 readonly asIssuerChanged: {1776 readonly oldIssuer: AccountId32;1777 readonly newIssuer: AccountId32;1778 readonly collectionId: u32;1779 } & Struct;1780 readonly isCollectionLocked: boolean;1781 readonly asCollectionLocked: {1782 readonly issuer: AccountId32;1783 readonly collectionId: u32;1784 } & Struct;1785 readonly isNftMinted: boolean;1786 readonly asNftMinted: {1787 readonly owner: AccountId32;1788 readonly collectionId: u32;1789 readonly nftId: u32;1790 } & Struct;1791 readonly isNftBurned: boolean;1792 readonly asNftBurned: {1793 readonly owner: AccountId32;1794 readonly nftId: u32;1795 } & Struct;1796 readonly isNftSent: boolean;1797 readonly asNftSent: {1798 readonly sender: AccountId32;1799 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1800 readonly collectionId: u32;1801 readonly nftId: u32;1802 readonly approvalRequired: bool;1803 } & Struct;1804 readonly isNftAccepted: boolean;1805 readonly asNftAccepted: {1806 readonly sender: AccountId32;1807 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1808 readonly collectionId: u32;1809 readonly nftId: u32;1810 } & Struct;1811 readonly isNftRejected: boolean;1812 readonly asNftRejected: {1813 readonly sender: AccountId32;1814 readonly collectionId: u32;1815 readonly nftId: u32;1816 } & Struct;1817 readonly isPropertySet: boolean;1818 readonly asPropertySet: {1819 readonly collectionId: u32;1820 readonly maybeNftId: Option<u32>;1821 readonly key: Bytes;1822 readonly value: Bytes;1823 } & Struct;1824 readonly isResourceAdded: boolean;1825 readonly asResourceAdded: {1826 readonly nftId: u32;1827 readonly resourceId: u32;1828 } & Struct;1829 readonly isResourceRemoval: boolean;1830 readonly asResourceRemoval: {1831 readonly nftId: u32;1832 readonly resourceId: u32;1833 } & Struct;1834 readonly isResourceAccepted: boolean;1835 readonly asResourceAccepted: {1836 readonly nftId: u32;1837 readonly resourceId: u32;1838 } & Struct;1839 readonly isResourceRemovalAccepted: boolean;1840 readonly asResourceRemovalAccepted: {1841 readonly nftId: u32;1842 readonly resourceId: u32;1843 } & Struct;1844 readonly isPrioritySet: boolean;1845 readonly asPrioritySet: {1846 readonly collectionId: u32;1847 readonly nftId: u32;1848 } & Struct;1849 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1850}18511852/** @name PalletRmrkEquipCall */1853export interface PalletRmrkEquipCall extends Enum {1854 readonly isCreateBase: boolean;1855 readonly asCreateBase: {1856 readonly baseType: Bytes;1857 readonly symbol: Bytes;1858 readonly parts: Vec<RmrkTraitsPartPartType>;1859 } & Struct;1860 readonly isThemeAdd: boolean;1861 readonly asThemeAdd: {1862 readonly baseId: u32;1863 readonly theme: RmrkTraitsTheme;1864 } & Struct;1865 readonly isEquippable: boolean;1866 readonly asEquippable: {1867 readonly baseId: u32;1868 readonly slotId: u32;1869 readonly equippables: RmrkTraitsPartEquippableList;1870 } & Struct;1871 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1872}18731874/** @name PalletRmrkEquipError */1875export interface PalletRmrkEquipError extends Enum {1876 readonly isPermissionError: boolean;1877 readonly isNoAvailableBaseId: boolean;1878 readonly isNoAvailablePartId: boolean;1879 readonly isBaseDoesntExist: boolean;1880 readonly isNeedsDefaultThemeFirst: boolean;1881 readonly isPartDoesntExist: boolean;1882 readonly isNoEquippableOnFixedPart: boolean;1883 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1884}18851886/** @name PalletRmrkEquipEvent */1887export interface PalletRmrkEquipEvent extends Enum {1888 readonly isBaseCreated: boolean;1889 readonly asBaseCreated: {1890 readonly issuer: AccountId32;1891 readonly baseId: u32;1892 } & Struct;1893 readonly isEquippablesUpdated: boolean;1894 readonly asEquippablesUpdated: {1895 readonly baseId: u32;1896 readonly slotId: u32;1897 } & Struct;1898 readonly type: 'BaseCreated' | 'EquippablesUpdated';1899}19001901/** @name PalletStructureCall */1902export interface PalletStructureCall extends Null {}19031904/** @name PalletStructureError */1905export interface PalletStructureError extends Enum {1906 readonly isOuroborosDetected: boolean;1907 readonly isDepthLimit: boolean;1908 readonly isBreadthLimit: boolean;1909 readonly isTokenNotFound: boolean;1910 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1911}19121913/** @name PalletStructureEvent */1914export interface PalletStructureEvent extends Enum {1915 readonly isExecuted: boolean;1916 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1917 readonly type: 'Executed';1918}19191920/** @name PalletSudoCall */1921export interface PalletSudoCall extends Enum {1922 readonly isSudo: boolean;1923 readonly asSudo: {1924 readonly call: Call;1925 } & Struct;1926 readonly isSudoUncheckedWeight: boolean;1927 readonly asSudoUncheckedWeight: {1928 readonly call: Call;1929 readonly weight: u64;1930 } & Struct;1931 readonly isSetKey: boolean;1932 readonly asSetKey: {1933 readonly new_: MultiAddress;1934 } & Struct;1935 readonly isSudoAs: boolean;1936 readonly asSudoAs: {1937 readonly who: MultiAddress;1938 readonly call: Call;1939 } & Struct;1940 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1941}19421943/** @name PalletSudoError */1944export interface PalletSudoError extends Enum {1945 readonly isRequireSudo: boolean;1946 readonly type: 'RequireSudo';1947}19481949/** @name PalletSudoEvent */1950export interface PalletSudoEvent extends Enum {1951 readonly isSudid: boolean;1952 readonly asSudid: {1953 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1954 } & Struct;1955 readonly isKeyChanged: boolean;1956 readonly asKeyChanged: {1957 readonly oldSudoer: Option<AccountId32>;1958 } & Struct;1959 readonly isSudoAsDone: boolean;1960 readonly asSudoAsDone: {1961 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1962 } & Struct;1963 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1964}19651966/** @name PalletTemplateTransactionPaymentCall */1967export interface PalletTemplateTransactionPaymentCall extends Null {}19681969/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1970export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}19711972/** @name PalletTimestampCall */1973export interface PalletTimestampCall extends Enum {1974 readonly isSet: boolean;1975 readonly asSet: {1976 readonly now: Compact<u64>;1977 } & Struct;1978 readonly type: 'Set';1979}19801981/** @name PalletTransactionPaymentEvent */1982export interface PalletTransactionPaymentEvent extends Enum {1983 readonly isTransactionFeePaid: boolean;1984 readonly asTransactionFeePaid: {1985 readonly who: AccountId32;1986 readonly actualFee: u128;1987 readonly tip: u128;1988 } & Struct;1989 readonly type: 'TransactionFeePaid';1990}19911992/** @name PalletTransactionPaymentReleases */1993export interface PalletTransactionPaymentReleases extends Enum {1994 readonly isV1Ancient: boolean;1995 readonly isV2: boolean;1996 readonly type: 'V1Ancient' | 'V2';1997}19981999/** @name PalletTreasuryCall */2000export interface PalletTreasuryCall extends Enum {2001 readonly isProposeSpend: boolean;2002 readonly asProposeSpend: {2003 readonly value: Compact<u128>;2004 readonly beneficiary: MultiAddress;2005 } & Struct;2006 readonly isRejectProposal: boolean;2007 readonly asRejectProposal: {2008 readonly proposalId: Compact<u32>;2009 } & Struct;2010 readonly isApproveProposal: boolean;2011 readonly asApproveProposal: {2012 readonly proposalId: Compact<u32>;2013 } & Struct;2014 readonly isSpend: boolean;2015 readonly asSpend: {2016 readonly amount: Compact<u128>;2017 readonly beneficiary: MultiAddress;2018 } & Struct;2019 readonly isRemoveApproval: boolean;2020 readonly asRemoveApproval: {2021 readonly proposalId: Compact<u32>;2022 } & Struct;2023 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2024}20252026/** @name PalletTreasuryError */2027export interface PalletTreasuryError extends Enum {2028 readonly isInsufficientProposersBalance: boolean;2029 readonly isInvalidIndex: boolean;2030 readonly isTooManyApprovals: boolean;2031 readonly isInsufficientPermission: boolean;2032 readonly isProposalNotApproved: boolean;2033 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2034}20352036/** @name PalletTreasuryEvent */2037export interface PalletTreasuryEvent extends Enum {2038 readonly isProposed: boolean;2039 readonly asProposed: {2040 readonly proposalIndex: u32;2041 } & Struct;2042 readonly isSpending: boolean;2043 readonly asSpending: {2044 readonly budgetRemaining: u128;2045 } & Struct;2046 readonly isAwarded: boolean;2047 readonly asAwarded: {2048 readonly proposalIndex: u32;2049 readonly award: u128;2050 readonly account: AccountId32;2051 } & Struct;2052 readonly isRejected: boolean;2053 readonly asRejected: {2054 readonly proposalIndex: u32;2055 readonly slashed: u128;2056 } & Struct;2057 readonly isBurnt: boolean;2058 readonly asBurnt: {2059 readonly burntFunds: u128;2060 } & Struct;2061 readonly isRollover: boolean;2062 readonly asRollover: {2063 readonly rolloverBalance: u128;2064 } & Struct;2065 readonly isDeposit: boolean;2066 readonly asDeposit: {2067 readonly value: u128;2068 } & Struct;2069 readonly isSpendApproved: boolean;2070 readonly asSpendApproved: {2071 readonly proposalIndex: u32;2072 readonly amount: u128;2073 readonly beneficiary: AccountId32;2074 } & Struct;2075 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2076}20772078/** @name PalletTreasuryProposal */2079export interface PalletTreasuryProposal extends Struct {2080 readonly proposer: AccountId32;2081 readonly value: u128;2082 readonly beneficiary: AccountId32;2083 readonly bond: u128;2084}20852086/** @name PalletUniqueCall */2087export interface PalletUniqueCall extends Enum {2088 readonly isCreateCollection: boolean;2089 readonly asCreateCollection: {2090 readonly collectionName: Vec<u16>;2091 readonly collectionDescription: Vec<u16>;2092 readonly tokenPrefix: Bytes;2093 readonly mode: UpDataStructsCollectionMode;2094 } & Struct;2095 readonly isCreateCollectionEx: boolean;2096 readonly asCreateCollectionEx: {2097 readonly data: UpDataStructsCreateCollectionData;2098 } & Struct;2099 readonly isDestroyCollection: boolean;2100 readonly asDestroyCollection: {2101 readonly collectionId: u32;2102 } & Struct;2103 readonly isAddToAllowList: boolean;2104 readonly asAddToAllowList: {2105 readonly collectionId: u32;2106 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2107 } & Struct;2108 readonly isRemoveFromAllowList: boolean;2109 readonly asRemoveFromAllowList: {2110 readonly collectionId: u32;2111 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2112 } & Struct;2113 readonly isChangeCollectionOwner: boolean;2114 readonly asChangeCollectionOwner: {2115 readonly collectionId: u32;2116 readonly newOwner: AccountId32;2117 } & Struct;2118 readonly isAddCollectionAdmin: boolean;2119 readonly asAddCollectionAdmin: {2120 readonly collectionId: u32;2121 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2122 } & Struct;2123 readonly isRemoveCollectionAdmin: boolean;2124 readonly asRemoveCollectionAdmin: {2125 readonly collectionId: u32;2126 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2127 } & Struct;2128 readonly isSetCollectionSponsor: boolean;2129 readonly asSetCollectionSponsor: {2130 readonly collectionId: u32;2131 readonly newSponsor: AccountId32;2132 } & Struct;2133 readonly isConfirmSponsorship: boolean;2134 readonly asConfirmSponsorship: {2135 readonly collectionId: u32;2136 } & Struct;2137 readonly isRemoveCollectionSponsor: boolean;2138 readonly asRemoveCollectionSponsor: {2139 readonly collectionId: u32;2140 } & Struct;2141 readonly isCreateItem: boolean;2142 readonly asCreateItem: {2143 readonly collectionId: u32;2144 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2145 readonly data: UpDataStructsCreateItemData;2146 } & Struct;2147 readonly isCreateMultipleItems: boolean;2148 readonly asCreateMultipleItems: {2149 readonly collectionId: u32;2150 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2151 readonly itemsData: Vec<UpDataStructsCreateItemData>;2152 } & Struct;2153 readonly isSetCollectionProperties: boolean;2154 readonly asSetCollectionProperties: {2155 readonly collectionId: u32;2156 readonly properties: Vec<UpDataStructsProperty>;2157 } & Struct;2158 readonly isDeleteCollectionProperties: boolean;2159 readonly asDeleteCollectionProperties: {2160 readonly collectionId: u32;2161 readonly propertyKeys: Vec<Bytes>;2162 } & Struct;2163 readonly isSetTokenProperties: boolean;2164 readonly asSetTokenProperties: {2165 readonly collectionId: u32;2166 readonly tokenId: u32;2167 readonly properties: Vec<UpDataStructsProperty>;2168 } & Struct;2169 readonly isDeleteTokenProperties: boolean;2170 readonly asDeleteTokenProperties: {2171 readonly collectionId: u32;2172 readonly tokenId: u32;2173 readonly propertyKeys: Vec<Bytes>;2174 } & Struct;2175 readonly isSetTokenPropertyPermissions: boolean;2176 readonly asSetTokenPropertyPermissions: {2177 readonly collectionId: u32;2178 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2179 } & Struct;2180 readonly isCreateMultipleItemsEx: boolean;2181 readonly asCreateMultipleItemsEx: {2182 readonly collectionId: u32;2183 readonly data: UpDataStructsCreateItemExData;2184 } & Struct;2185 readonly isSetTransfersEnabledFlag: boolean;2186 readonly asSetTransfersEnabledFlag: {2187 readonly collectionId: u32;2188 readonly value: bool;2189 } & Struct;2190 readonly isBurnItem: boolean;2191 readonly asBurnItem: {2192 readonly collectionId: u32;2193 readonly itemId: u32;2194 readonly value: u128;2195 } & Struct;2196 readonly isBurnFrom: boolean;2197 readonly asBurnFrom: {2198 readonly collectionId: u32;2199 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2200 readonly itemId: u32;2201 readonly value: u128;2202 } & Struct;2203 readonly isTransfer: boolean;2204 readonly asTransfer: {2205 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2206 readonly collectionId: u32;2207 readonly itemId: u32;2208 readonly value: u128;2209 } & Struct;2210 readonly isApprove: boolean;2211 readonly asApprove: {2212 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2213 readonly collectionId: u32;2214 readonly itemId: u32;2215 readonly amount: u128;2216 } & Struct;2217 readonly isTransferFrom: boolean;2218 readonly asTransferFrom: {2219 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2220 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2221 readonly collectionId: u32;2222 readonly itemId: u32;2223 readonly value: u128;2224 } & Struct;2225 readonly isSetCollectionLimits: boolean;2226 readonly asSetCollectionLimits: {2227 readonly collectionId: u32;2228 readonly newLimit: UpDataStructsCollectionLimits;2229 } & Struct;2230 readonly isSetCollectionPermissions: boolean;2231 readonly asSetCollectionPermissions: {2232 readonly collectionId: u32;2233 readonly newPermission: UpDataStructsCollectionPermissions;2234 } & Struct;2235 readonly isRepartition: boolean;2236 readonly asRepartition: {2237 readonly collectionId: u32;2238 readonly tokenId: u32;2239 readonly amount: u128;2240 } & Struct;2241 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';2242}22432244/** @name PalletUniqueError */2245export interface PalletUniqueError extends Enum {2246 readonly isCollectionDecimalPointLimitExceeded: boolean;2247 readonly isConfirmUnsetSponsorFail: boolean;2248 readonly isEmptyArgument: boolean;2249 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2250 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2251}22522253/** @name PalletUniqueRawEvent */2254export interface PalletUniqueRawEvent extends Enum {2255 readonly isCollectionSponsorRemoved: boolean;2256 readonly asCollectionSponsorRemoved: u32;2257 readonly isCollectionAdminAdded: boolean;2258 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2259 readonly isCollectionOwnedChanged: boolean;2260 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2261 readonly isCollectionSponsorSet: boolean;2262 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2263 readonly isSponsorshipConfirmed: boolean;2264 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2265 readonly isCollectionAdminRemoved: boolean;2266 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2267 readonly isAllowListAddressRemoved: boolean;2268 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2269 readonly isAllowListAddressAdded: boolean;2270 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2271 readonly isCollectionLimitSet: boolean;2272 readonly asCollectionLimitSet: u32;2273 readonly isCollectionPermissionSet: boolean;2274 readonly asCollectionPermissionSet: u32;2275 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2276}22772278/** @name PalletUniqueSchedulerCall */2279export interface PalletUniqueSchedulerCall extends Enum {2280 readonly isScheduleNamed: boolean;2281 readonly asScheduleNamed: {2282 readonly id: U8aFixed;2283 readonly when: u32;2284 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2285 readonly priority: u8;2286 readonly call: FrameSupportScheduleMaybeHashed;2287 } & Struct;2288 readonly isCancelNamed: boolean;2289 readonly asCancelNamed: {2290 readonly id: U8aFixed;2291 } & Struct;2292 readonly isScheduleNamedAfter: boolean;2293 readonly asScheduleNamedAfter: {2294 readonly id: U8aFixed;2295 readonly after: u32;2296 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2297 readonly priority: u8;2298 readonly call: FrameSupportScheduleMaybeHashed;2299 } & Struct;2300 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2301}23022303/** @name PalletUniqueSchedulerError */2304export interface PalletUniqueSchedulerError extends Enum {2305 readonly isFailedToSchedule: boolean;2306 readonly isNotFound: boolean;2307 readonly isTargetBlockNumberInPast: boolean;2308 readonly isRescheduleNoChange: boolean;2309 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2310}23112312/** @name PalletUniqueSchedulerEvent */2313export interface PalletUniqueSchedulerEvent extends Enum {2314 readonly isScheduled: boolean;2315 readonly asScheduled: {2316 readonly when: u32;2317 readonly index: u32;2318 } & Struct;2319 readonly isCanceled: boolean;2320 readonly asCanceled: {2321 readonly when: u32;2322 readonly index: u32;2323 } & Struct;2324 readonly isDispatched: boolean;2325 readonly asDispatched: {2326 readonly task: ITuple<[u32, u32]>;2327 readonly id: Option<U8aFixed>;2328 readonly result: Result<Null, SpRuntimeDispatchError>;2329 } & Struct;2330 readonly isCallLookupFailed: boolean;2331 readonly asCallLookupFailed: {2332 readonly task: ITuple<[u32, u32]>;2333 readonly id: Option<U8aFixed>;2334 readonly error: FrameSupportScheduleLookupError;2335 } & Struct;2336 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2337}23382339/** @name PalletUniqueSchedulerScheduledV3 */2340export interface PalletUniqueSchedulerScheduledV3 extends Struct {2341 readonly maybeId: Option<U8aFixed>;2342 readonly priority: u8;2343 readonly call: FrameSupportScheduleMaybeHashed;2344 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2345 readonly origin: OpalRuntimeOriginCaller;2346}23472348/** @name PalletXcmCall */2349export interface PalletXcmCall extends Enum {2350 readonly isSend: boolean;2351 readonly asSend: {2352 readonly dest: XcmVersionedMultiLocation;2353 readonly message: XcmVersionedXcm;2354 } & Struct;2355 readonly isTeleportAssets: boolean;2356 readonly asTeleportAssets: {2357 readonly dest: XcmVersionedMultiLocation;2358 readonly beneficiary: XcmVersionedMultiLocation;2359 readonly assets: XcmVersionedMultiAssets;2360 readonly feeAssetItem: u32;2361 } & Struct;2362 readonly isReserveTransferAssets: boolean;2363 readonly asReserveTransferAssets: {2364 readonly dest: XcmVersionedMultiLocation;2365 readonly beneficiary: XcmVersionedMultiLocation;2366 readonly assets: XcmVersionedMultiAssets;2367 readonly feeAssetItem: u32;2368 } & Struct;2369 readonly isExecute: boolean;2370 readonly asExecute: {2371 readonly message: XcmVersionedXcm;2372 readonly maxWeight: u64;2373 } & Struct;2374 readonly isForceXcmVersion: boolean;2375 readonly asForceXcmVersion: {2376 readonly location: XcmV1MultiLocation;2377 readonly xcmVersion: u32;2378 } & Struct;2379 readonly isForceDefaultXcmVersion: boolean;2380 readonly asForceDefaultXcmVersion: {2381 readonly maybeXcmVersion: Option<u32>;2382 } & Struct;2383 readonly isForceSubscribeVersionNotify: boolean;2384 readonly asForceSubscribeVersionNotify: {2385 readonly location: XcmVersionedMultiLocation;2386 } & Struct;2387 readonly isForceUnsubscribeVersionNotify: boolean;2388 readonly asForceUnsubscribeVersionNotify: {2389 readonly location: XcmVersionedMultiLocation;2390 } & Struct;2391 readonly isLimitedReserveTransferAssets: boolean;2392 readonly asLimitedReserveTransferAssets: {2393 readonly dest: XcmVersionedMultiLocation;2394 readonly beneficiary: XcmVersionedMultiLocation;2395 readonly assets: XcmVersionedMultiAssets;2396 readonly feeAssetItem: u32;2397 readonly weightLimit: XcmV2WeightLimit;2398 } & Struct;2399 readonly isLimitedTeleportAssets: boolean;2400 readonly asLimitedTeleportAssets: {2401 readonly dest: XcmVersionedMultiLocation;2402 readonly beneficiary: XcmVersionedMultiLocation;2403 readonly assets: XcmVersionedMultiAssets;2404 readonly feeAssetItem: u32;2405 readonly weightLimit: XcmV2WeightLimit;2406 } & Struct;2407 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2408}24092410/** @name PalletXcmError */2411export interface PalletXcmError extends Enum {2412 readonly isUnreachable: boolean;2413 readonly isSendFailure: boolean;2414 readonly isFiltered: boolean;2415 readonly isUnweighableMessage: boolean;2416 readonly isDestinationNotInvertible: boolean;2417 readonly isEmpty: boolean;2418 readonly isCannotReanchor: boolean;2419 readonly isTooManyAssets: boolean;2420 readonly isInvalidOrigin: boolean;2421 readonly isBadVersion: boolean;2422 readonly isBadLocation: boolean;2423 readonly isNoSubscription: boolean;2424 readonly isAlreadySubscribed: boolean;2425 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2426}24272428/** @name PalletXcmEvent */2429export interface PalletXcmEvent extends Enum {2430 readonly isAttempted: boolean;2431 readonly asAttempted: XcmV2TraitsOutcome;2432 readonly isSent: boolean;2433 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2434 readonly isUnexpectedResponse: boolean;2435 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2436 readonly isResponseReady: boolean;2437 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2438 readonly isNotified: boolean;2439 readonly asNotified: ITuple<[u64, u8, u8]>;2440 readonly isNotifyOverweight: boolean;2441 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2442 readonly isNotifyDispatchError: boolean;2443 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2444 readonly isNotifyDecodeFailed: boolean;2445 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2446 readonly isInvalidResponder: boolean;2447 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2448 readonly isInvalidResponderVersion: boolean;2449 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2450 readonly isResponseTaken: boolean;2451 readonly asResponseTaken: u64;2452 readonly isAssetsTrapped: boolean;2453 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2454 readonly isVersionChangeNotified: boolean;2455 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2456 readonly isSupportedVersionChanged: boolean;2457 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2458 readonly isNotifyTargetSendFail: boolean;2459 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2460 readonly isNotifyTargetMigrationFail: boolean;2461 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2462 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2463}24642465/** @name PalletXcmOrigin */2466export interface PalletXcmOrigin extends Enum {2467 readonly isXcm: boolean;2468 readonly asXcm: XcmV1MultiLocation;2469 readonly isResponse: boolean;2470 readonly asResponse: XcmV1MultiLocation;2471 readonly type: 'Xcm' | 'Response';2472}24732474/** @name PhantomTypeUpDataStructs */2475export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}24762477/** @name PolkadotCorePrimitivesInboundDownwardMessage */2478export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2479 readonly sentAt: u32;2480 readonly msg: Bytes;2481}24822483/** @name PolkadotCorePrimitivesInboundHrmpMessage */2484export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2485 readonly sentAt: u32;2486 readonly data: Bytes;2487}24882489/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2490export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2491 readonly recipient: u32;2492 readonly data: Bytes;2493}24942495/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2496export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2497 readonly isConcatenatedVersionedXcm: boolean;2498 readonly isConcatenatedEncodedBlob: boolean;2499 readonly isSignals: boolean;2500 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2501}25022503/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2504export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2505 readonly maxCodeSize: u32;2506 readonly maxHeadDataSize: u32;2507 readonly maxUpwardQueueCount: u32;2508 readonly maxUpwardQueueSize: u32;2509 readonly maxUpwardMessageSize: u32;2510 readonly maxUpwardMessageNumPerCandidate: u32;2511 readonly hrmpMaxMessageNumPerCandidate: u32;2512 readonly validationUpgradeCooldown: u32;2513 readonly validationUpgradeDelay: u32;2514}25152516/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2517export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2518 readonly maxCapacity: u32;2519 readonly maxTotalSize: u32;2520 readonly maxMessageSize: u32;2521 readonly msgCount: u32;2522 readonly totalSize: u32;2523 readonly mqcHead: Option<H256>;2524}25252526/** @name PolkadotPrimitivesV2PersistedValidationData */2527export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2528 readonly parentHead: Bytes;2529 readonly relayParentNumber: u32;2530 readonly relayParentStorageRoot: H256;2531 readonly maxPovSize: u32;2532}25332534/** @name PolkadotPrimitivesV2UpgradeRestriction */2535export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2536 readonly isPresent: boolean;2537 readonly type: 'Present';2538}25392540/** @name RmrkTraitsBaseBaseInfo */2541export interface RmrkTraitsBaseBaseInfo extends Struct {2542 readonly issuer: AccountId32;2543 readonly baseType: Bytes;2544 readonly symbol: Bytes;2545}25462547/** @name RmrkTraitsCollectionCollectionInfo */2548export interface RmrkTraitsCollectionCollectionInfo extends Struct {2549 readonly issuer: AccountId32;2550 readonly metadata: Bytes;2551 readonly max: Option<u32>;2552 readonly symbol: Bytes;2553 readonly nftsCount: u32;2554}25552556/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2557export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2558 readonly isAccountId: boolean;2559 readonly asAccountId: AccountId32;2560 readonly isCollectionAndNftTuple: boolean;2561 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2562 readonly type: 'AccountId' | 'CollectionAndNftTuple';2563}25642565/** @name RmrkTraitsNftNftChild */2566export interface RmrkTraitsNftNftChild extends Struct {2567 readonly collectionId: u32;2568 readonly nftId: u32;2569}25702571/** @name RmrkTraitsNftNftInfo */2572export interface RmrkTraitsNftNftInfo extends Struct {2573 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2574 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2575 readonly metadata: Bytes;2576 readonly equipped: bool;2577 readonly pending: bool;2578}25792580/** @name RmrkTraitsNftRoyaltyInfo */2581export interface RmrkTraitsNftRoyaltyInfo extends Struct {2582 readonly recipient: AccountId32;2583 readonly amount: Permill;2584}25852586/** @name RmrkTraitsPartEquippableList */2587export interface RmrkTraitsPartEquippableList extends Enum {2588 readonly isAll: boolean;2589 readonly isEmpty: boolean;2590 readonly isCustom: boolean;2591 readonly asCustom: Vec<u32>;2592 readonly type: 'All' | 'Empty' | 'Custom';2593}25942595/** @name RmrkTraitsPartFixedPart */2596export interface RmrkTraitsPartFixedPart extends Struct {2597 readonly id: u32;2598 readonly z: u32;2599 readonly src: Bytes;2600}26012602/** @name RmrkTraitsPartPartType */2603export interface RmrkTraitsPartPartType extends Enum {2604 readonly isFixedPart: boolean;2605 readonly asFixedPart: RmrkTraitsPartFixedPart;2606 readonly isSlotPart: boolean;2607 readonly asSlotPart: RmrkTraitsPartSlotPart;2608 readonly type: 'FixedPart' | 'SlotPart';2609}26102611/** @name RmrkTraitsPartSlotPart */2612export interface RmrkTraitsPartSlotPart extends Struct {2613 readonly id: u32;2614 readonly equippable: RmrkTraitsPartEquippableList;2615 readonly src: Bytes;2616 readonly z: u32;2617}26182619/** @name RmrkTraitsPropertyPropertyInfo */2620export interface RmrkTraitsPropertyPropertyInfo extends Struct {2621 readonly key: Bytes;2622 readonly value: Bytes;2623}26242625/** @name RmrkTraitsResourceBasicResource */2626export interface RmrkTraitsResourceBasicResource extends Struct {2627 readonly src: Option<Bytes>;2628 readonly metadata: Option<Bytes>;2629 readonly license: Option<Bytes>;2630 readonly thumb: Option<Bytes>;2631}26322633/** @name RmrkTraitsResourceComposableResource */2634export interface RmrkTraitsResourceComposableResource extends Struct {2635 readonly parts: Vec<u32>;2636 readonly base: u32;2637 readonly src: Option<Bytes>;2638 readonly metadata: Option<Bytes>;2639 readonly license: Option<Bytes>;2640 readonly thumb: Option<Bytes>;2641}26422643/** @name RmrkTraitsResourceResourceInfo */2644export interface RmrkTraitsResourceResourceInfo extends Struct {2645 readonly id: u32;2646 readonly resource: RmrkTraitsResourceResourceTypes;2647 readonly pending: bool;2648 readonly pendingRemoval: bool;2649}26502651/** @name RmrkTraitsResourceResourceTypes */2652export interface RmrkTraitsResourceResourceTypes extends Enum {2653 readonly isBasic: boolean;2654 readonly asBasic: RmrkTraitsResourceBasicResource;2655 readonly isComposable: boolean;2656 readonly asComposable: RmrkTraitsResourceComposableResource;2657 readonly isSlot: boolean;2658 readonly asSlot: RmrkTraitsResourceSlotResource;2659 readonly type: 'Basic' | 'Composable' | 'Slot';2660}26612662/** @name RmrkTraitsResourceSlotResource */2663export interface RmrkTraitsResourceSlotResource extends Struct {2664 readonly base: u32;2665 readonly src: Option<Bytes>;2666 readonly metadata: Option<Bytes>;2667 readonly slot: u32;2668 readonly license: Option<Bytes>;2669 readonly thumb: Option<Bytes>;2670}26712672/** @name RmrkTraitsTheme */2673export interface RmrkTraitsTheme extends Struct {2674 readonly name: Bytes;2675 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2676 readonly inherit: bool;2677}26782679/** @name RmrkTraitsThemeThemeProperty */2680export interface RmrkTraitsThemeThemeProperty extends Struct {2681 readonly key: Bytes;2682 readonly value: Bytes;2683}26842685/** @name SpCoreEcdsaSignature */2686export interface SpCoreEcdsaSignature extends U8aFixed {}26872688/** @name SpCoreEd25519Signature */2689export interface SpCoreEd25519Signature extends U8aFixed {}26902691/** @name SpCoreSr25519Signature */2692export interface SpCoreSr25519Signature extends U8aFixed {}26932694/** @name SpCoreVoid */2695export interface SpCoreVoid extends Null {}26962697/** @name SpRuntimeArithmeticError */2698export interface SpRuntimeArithmeticError extends Enum {2699 readonly isUnderflow: boolean;2700 readonly isOverflow: boolean;2701 readonly isDivisionByZero: boolean;2702 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2703}27042705/** @name SpRuntimeDigest */2706export interface SpRuntimeDigest extends Struct {2707 readonly logs: Vec<SpRuntimeDigestDigestItem>;2708}27092710/** @name SpRuntimeDigestDigestItem */2711export interface SpRuntimeDigestDigestItem extends Enum {2712 readonly isOther: boolean;2713 readonly asOther: Bytes;2714 readonly isConsensus: boolean;2715 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2716 readonly isSeal: boolean;2717 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2718 readonly isPreRuntime: boolean;2719 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2720 readonly isRuntimeEnvironmentUpdated: boolean;2721 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2722}27232724/** @name SpRuntimeDispatchError */2725export interface SpRuntimeDispatchError extends Enum {2726 readonly isOther: boolean;2727 readonly isCannotLookup: boolean;2728 readonly isBadOrigin: boolean;2729 readonly isModule: boolean;2730 readonly asModule: SpRuntimeModuleError;2731 readonly isConsumerRemaining: boolean;2732 readonly isNoProviders: boolean;2733 readonly isTooManyConsumers: boolean;2734 readonly isToken: boolean;2735 readonly asToken: SpRuntimeTokenError;2736 readonly isArithmetic: boolean;2737 readonly asArithmetic: SpRuntimeArithmeticError;2738 readonly isTransactional: boolean;2739 readonly asTransactional: SpRuntimeTransactionalError;2740 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2741}27422743/** @name SpRuntimeModuleError */2744export interface SpRuntimeModuleError extends Struct {2745 readonly index: u8;2746 readonly error: U8aFixed;2747}27482749/** @name SpRuntimeMultiSignature */2750export interface SpRuntimeMultiSignature extends Enum {2751 readonly isEd25519: boolean;2752 readonly asEd25519: SpCoreEd25519Signature;2753 readonly isSr25519: boolean;2754 readonly asSr25519: SpCoreSr25519Signature;2755 readonly isEcdsa: boolean;2756 readonly asEcdsa: SpCoreEcdsaSignature;2757 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2758}27592760/** @name SpRuntimeTokenError */2761export interface SpRuntimeTokenError extends Enum {2762 readonly isNoFunds: boolean;2763 readonly isWouldDie: boolean;2764 readonly isBelowMinimum: boolean;2765 readonly isCannotCreate: boolean;2766 readonly isUnknownAsset: boolean;2767 readonly isFrozen: boolean;2768 readonly isUnsupported: boolean;2769 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2770}27712772/** @name SpRuntimeTransactionalError */2773export interface SpRuntimeTransactionalError extends Enum {2774 readonly isLimitReached: boolean;2775 readonly isNoLayer: boolean;2776 readonly type: 'LimitReached' | 'NoLayer';2777}27782779/** @name SpTrieStorageProof */2780export interface SpTrieStorageProof extends Struct {2781 readonly trieNodes: BTreeSet<Bytes>;2782}27832784/** @name SpVersionRuntimeVersion */2785export interface SpVersionRuntimeVersion extends Struct {2786 readonly specName: Text;2787 readonly implName: Text;2788 readonly authoringVersion: u32;2789 readonly specVersion: u32;2790 readonly implVersion: u32;2791 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2792 readonly transactionVersion: u32;2793 readonly stateVersion: u8;2794}27952796/** @name UpDataStructsAccessMode */2797export interface UpDataStructsAccessMode extends Enum {2798 readonly isNormal: boolean;2799 readonly isAllowList: boolean;2800 readonly type: 'Normal' | 'AllowList';2801}28022803/** @name UpDataStructsCollection */2804export interface UpDataStructsCollection extends Struct {2805 readonly owner: AccountId32;2806 readonly mode: UpDataStructsCollectionMode;2807 readonly name: Vec<u16>;2808 readonly description: Vec<u16>;2809 readonly tokenPrefix: Bytes;2810 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2811 readonly limits: UpDataStructsCollectionLimits;2812 readonly permissions: UpDataStructsCollectionPermissions;2813 readonly flags: U8aFixed;2814}28152816/** @name UpDataStructsCollectionLimits */2817export interface UpDataStructsCollectionLimits extends Struct {2818 readonly accountTokenOwnershipLimit: Option<u32>;2819 readonly sponsoredDataSize: Option<u32>;2820 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2821 readonly tokenLimit: Option<u32>;2822 readonly sponsorTransferTimeout: Option<u32>;2823 readonly sponsorApproveTimeout: Option<u32>;2824 readonly ownerCanTransfer: Option<bool>;2825 readonly ownerCanDestroy: Option<bool>;2826 readonly transfersEnabled: Option<bool>;2827}28282829/** @name UpDataStructsCollectionMode */2830export interface UpDataStructsCollectionMode extends Enum {2831 readonly isNft: boolean;2832 readonly isFungible: boolean;2833 readonly asFungible: u8;2834 readonly isReFungible: boolean;2835 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2836}28372838/** @name UpDataStructsCollectionPermissions */2839export interface UpDataStructsCollectionPermissions extends Struct {2840 readonly access: Option<UpDataStructsAccessMode>;2841 readonly mintMode: Option<bool>;2842 readonly nesting: Option<UpDataStructsNestingPermissions>;2843}28442845/** @name UpDataStructsCollectionStats */2846export interface UpDataStructsCollectionStats extends Struct {2847 readonly created: u32;2848 readonly destroyed: u32;2849 readonly alive: u32;2850}28512852/** @name UpDataStructsCreateCollectionData */2853export interface UpDataStructsCreateCollectionData extends Struct {2854 readonly mode: UpDataStructsCollectionMode;2855 readonly access: Option<UpDataStructsAccessMode>;2856 readonly name: Vec<u16>;2857 readonly description: Vec<u16>;2858 readonly tokenPrefix: Bytes;2859 readonly pendingSponsor: Option<AccountId32>;2860 readonly limits: Option<UpDataStructsCollectionLimits>;2861 readonly permissions: Option<UpDataStructsCollectionPermissions>;2862 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2863 readonly properties: Vec<UpDataStructsProperty>;2864}28652866/** @name UpDataStructsCreateFungibleData */2867export interface UpDataStructsCreateFungibleData extends Struct {2868 readonly value: u128;2869}28702871/** @name UpDataStructsCreateItemData */2872export interface UpDataStructsCreateItemData extends Enum {2873 readonly isNft: boolean;2874 readonly asNft: UpDataStructsCreateNftData;2875 readonly isFungible: boolean;2876 readonly asFungible: UpDataStructsCreateFungibleData;2877 readonly isReFungible: boolean;2878 readonly asReFungible: UpDataStructsCreateReFungibleData;2879 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2880}28812882/** @name UpDataStructsCreateItemExData */2883export interface UpDataStructsCreateItemExData extends Enum {2884 readonly isNft: boolean;2885 readonly asNft: Vec<UpDataStructsCreateNftExData>;2886 readonly isFungible: boolean;2887 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2888 readonly isRefungibleMultipleItems: boolean;2889 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2890 readonly isRefungibleMultipleOwners: boolean;2891 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2892 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2893}28942895/** @name UpDataStructsCreateNftData */2896export interface UpDataStructsCreateNftData extends Struct {2897 readonly properties: Vec<UpDataStructsProperty>;2898}28992900/** @name UpDataStructsCreateNftExData */2901export interface UpDataStructsCreateNftExData extends Struct {2902 readonly properties: Vec<UpDataStructsProperty>;2903 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2904}29052906/** @name UpDataStructsCreateReFungibleData */2907export interface UpDataStructsCreateReFungibleData extends Struct {2908 readonly pieces: u128;2909 readonly properties: Vec<UpDataStructsProperty>;2910}29112912/** @name UpDataStructsCreateRefungibleExMultipleOwners */2913export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2914 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2915 readonly properties: Vec<UpDataStructsProperty>;2916}29172918/** @name UpDataStructsCreateRefungibleExSingleOwner */2919export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2920 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2921 readonly pieces: u128;2922 readonly properties: Vec<UpDataStructsProperty>;2923}29242925/** @name UpDataStructsNestingPermissions */2926export interface UpDataStructsNestingPermissions extends Struct {2927 readonly tokenOwner: bool;2928 readonly collectionAdmin: bool;2929 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2930}29312932/** @name UpDataStructsOwnerRestrictedSet */2933export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29342935/** @name UpDataStructsProperties */2936export interface UpDataStructsProperties extends Struct {2937 readonly map: UpDataStructsPropertiesMapBoundedVec;2938 readonly consumedSpace: u32;2939 readonly spaceLimit: u32;2940}29412942/** @name UpDataStructsPropertiesMapBoundedVec */2943export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29442945/** @name UpDataStructsPropertiesMapPropertyPermission */2946export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29472948/** @name UpDataStructsProperty */2949export interface UpDataStructsProperty extends Struct {2950 readonly key: Bytes;2951 readonly value: Bytes;2952}29532954/** @name UpDataStructsPropertyKeyPermission */2955export interface UpDataStructsPropertyKeyPermission extends Struct {2956 readonly key: Bytes;2957 readonly permission: UpDataStructsPropertyPermission;2958}29592960/** @name UpDataStructsPropertyPermission */2961export interface UpDataStructsPropertyPermission extends Struct {2962 readonly mutable: bool;2963 readonly collectionAdmin: bool;2964 readonly tokenOwner: bool;2965}29662967/** @name UpDataStructsPropertyScope */2968export interface UpDataStructsPropertyScope extends Enum {2969 readonly isNone: boolean;2970 readonly isRmrk: boolean;2971 readonly type: 'None' | 'Rmrk';2972}29732974/** @name UpDataStructsRpcCollection */2975export interface UpDataStructsRpcCollection extends Struct {2976 readonly owner: AccountId32;2977 readonly mode: UpDataStructsCollectionMode;2978 readonly name: Vec<u16>;2979 readonly description: Vec<u16>;2980 readonly tokenPrefix: Bytes;2981 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2982 readonly limits: UpDataStructsCollectionLimits;2983 readonly permissions: UpDataStructsCollectionPermissions;2984 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2985 readonly properties: Vec<UpDataStructsProperty>;2986 readonly readOnly: bool;2987 readonly foreign: bool;2988}29892990/** @name UpDataStructsSponsoringRateLimit */2991export interface UpDataStructsSponsoringRateLimit extends Enum {2992 readonly isSponsoringDisabled: boolean;2993 readonly isBlocks: boolean;2994 readonly asBlocks: u32;2995 readonly type: 'SponsoringDisabled' | 'Blocks';2996}29972998/** @name UpDataStructsSponsorshipStateAccountId32 */2999export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3000 readonly isDisabled: boolean;3001 readonly isUnconfirmed: boolean;3002 readonly asUnconfirmed: AccountId32;3003 readonly isConfirmed: boolean;3004 readonly asConfirmed: AccountId32;3005 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3006}30073008/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3009export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3010 readonly isDisabled: boolean;3011 readonly isUnconfirmed: boolean;3012 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3013 readonly isConfirmed: boolean;3014 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3015 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3016}30173018/** @name UpDataStructsTokenChild */3019export interface UpDataStructsTokenChild extends Struct {3020 readonly token: u32;3021 readonly collection: u32;3022}30233024/** @name UpDataStructsTokenData */3025export interface UpDataStructsTokenData extends Struct {3026 readonly properties: Vec<UpDataStructsProperty>;3027 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3028 readonly pieces: u128;3029}30303031/** @name XcmDoubleEncoded */3032export interface XcmDoubleEncoded extends Struct {3033 readonly encoded: Bytes;3034}30353036/** @name XcmV0Junction */3037export interface XcmV0Junction extends Enum {3038 readonly isParent: boolean;3039 readonly isParachain: boolean;3040 readonly asParachain: Compact<u32>;3041 readonly isAccountId32: boolean;3042 readonly asAccountId32: {3043 readonly network: XcmV0JunctionNetworkId;3044 readonly id: U8aFixed;3045 } & Struct;3046 readonly isAccountIndex64: boolean;3047 readonly asAccountIndex64: {3048 readonly network: XcmV0JunctionNetworkId;3049 readonly index: Compact<u64>;3050 } & Struct;3051 readonly isAccountKey20: boolean;3052 readonly asAccountKey20: {3053 readonly network: XcmV0JunctionNetworkId;3054 readonly key: U8aFixed;3055 } & Struct;3056 readonly isPalletInstance: boolean;3057 readonly asPalletInstance: u8;3058 readonly isGeneralIndex: boolean;3059 readonly asGeneralIndex: Compact<u128>;3060 readonly isGeneralKey: boolean;3061 readonly asGeneralKey: Bytes;3062 readonly isOnlyChild: boolean;3063 readonly isPlurality: boolean;3064 readonly asPlurality: {3065 readonly id: XcmV0JunctionBodyId;3066 readonly part: XcmV0JunctionBodyPart;3067 } & Struct;3068 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3069}30703071/** @name XcmV0JunctionBodyId */3072export interface XcmV0JunctionBodyId extends Enum {3073 readonly isUnit: boolean;3074 readonly isNamed: boolean;3075 readonly asNamed: Bytes;3076 readonly isIndex: boolean;3077 readonly asIndex: Compact<u32>;3078 readonly isExecutive: boolean;3079 readonly isTechnical: boolean;3080 readonly isLegislative: boolean;3081 readonly isJudicial: boolean;3082 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3083}30843085/** @name XcmV0JunctionBodyPart */3086export interface XcmV0JunctionBodyPart extends Enum {3087 readonly isVoice: boolean;3088 readonly isMembers: boolean;3089 readonly asMembers: {3090 readonly count: Compact<u32>;3091 } & Struct;3092 readonly isFraction: boolean;3093 readonly asFraction: {3094 readonly nom: Compact<u32>;3095 readonly denom: Compact<u32>;3096 } & Struct;3097 readonly isAtLeastProportion: boolean;3098 readonly asAtLeastProportion: {3099 readonly nom: Compact<u32>;3100 readonly denom: Compact<u32>;3101 } & Struct;3102 readonly isMoreThanProportion: boolean;3103 readonly asMoreThanProportion: {3104 readonly nom: Compact<u32>;3105 readonly denom: Compact<u32>;3106 } & Struct;3107 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3108}31093110/** @name XcmV0JunctionNetworkId */3111export interface XcmV0JunctionNetworkId extends Enum {3112 readonly isAny: boolean;3113 readonly isNamed: boolean;3114 readonly asNamed: Bytes;3115 readonly isPolkadot: boolean;3116 readonly isKusama: boolean;3117 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3118}31193120/** @name XcmV0MultiAsset */3121export interface XcmV0MultiAsset extends Enum {3122 readonly isNone: boolean;3123 readonly isAll: boolean;3124 readonly isAllFungible: boolean;3125 readonly isAllNonFungible: boolean;3126 readonly isAllAbstractFungible: boolean;3127 readonly asAllAbstractFungible: {3128 readonly id: Bytes;3129 } & Struct;3130 readonly isAllAbstractNonFungible: boolean;3131 readonly asAllAbstractNonFungible: {3132 readonly class: Bytes;3133 } & Struct;3134 readonly isAllConcreteFungible: boolean;3135 readonly asAllConcreteFungible: {3136 readonly id: XcmV0MultiLocation;3137 } & Struct;3138 readonly isAllConcreteNonFungible: boolean;3139 readonly asAllConcreteNonFungible: {3140 readonly class: XcmV0MultiLocation;3141 } & Struct;3142 readonly isAbstractFungible: boolean;3143 readonly asAbstractFungible: {3144 readonly id: Bytes;3145 readonly amount: Compact<u128>;3146 } & Struct;3147 readonly isAbstractNonFungible: boolean;3148 readonly asAbstractNonFungible: {3149 readonly class: Bytes;3150 readonly instance: XcmV1MultiassetAssetInstance;3151 } & Struct;3152 readonly isConcreteFungible: boolean;3153 readonly asConcreteFungible: {3154 readonly id: XcmV0MultiLocation;3155 readonly amount: Compact<u128>;3156 } & Struct;3157 readonly isConcreteNonFungible: boolean;3158 readonly asConcreteNonFungible: {3159 readonly class: XcmV0MultiLocation;3160 readonly instance: XcmV1MultiassetAssetInstance;3161 } & Struct;3162 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3163}31643165/** @name XcmV0MultiLocation */3166export interface XcmV0MultiLocation extends Enum {3167 readonly isNull: boolean;3168 readonly isX1: boolean;3169 readonly asX1: XcmV0Junction;3170 readonly isX2: boolean;3171 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3172 readonly isX3: boolean;3173 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3174 readonly isX4: boolean;3175 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3176 readonly isX5: boolean;3177 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3178 readonly isX6: boolean;3179 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3180 readonly isX7: boolean;3181 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3182 readonly isX8: boolean;3183 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3184 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3185}31863187/** @name XcmV0Order */3188export interface XcmV0Order extends Enum {3189 readonly isNull: boolean;3190 readonly isDepositAsset: boolean;3191 readonly asDepositAsset: {3192 readonly assets: Vec<XcmV0MultiAsset>;3193 readonly dest: XcmV0MultiLocation;3194 } & Struct;3195 readonly isDepositReserveAsset: boolean;3196 readonly asDepositReserveAsset: {3197 readonly assets: Vec<XcmV0MultiAsset>;3198 readonly dest: XcmV0MultiLocation;3199 readonly effects: Vec<XcmV0Order>;3200 } & Struct;3201 readonly isExchangeAsset: boolean;3202 readonly asExchangeAsset: {3203 readonly give: Vec<XcmV0MultiAsset>;3204 readonly receive: Vec<XcmV0MultiAsset>;3205 } & Struct;3206 readonly isInitiateReserveWithdraw: boolean;3207 readonly asInitiateReserveWithdraw: {3208 readonly assets: Vec<XcmV0MultiAsset>;3209 readonly reserve: XcmV0MultiLocation;3210 readonly effects: Vec<XcmV0Order>;3211 } & Struct;3212 readonly isInitiateTeleport: boolean;3213 readonly asInitiateTeleport: {3214 readonly assets: Vec<XcmV0MultiAsset>;3215 readonly dest: XcmV0MultiLocation;3216 readonly effects: Vec<XcmV0Order>;3217 } & Struct;3218 readonly isQueryHolding: boolean;3219 readonly asQueryHolding: {3220 readonly queryId: Compact<u64>;3221 readonly dest: XcmV0MultiLocation;3222 readonly assets: Vec<XcmV0MultiAsset>;3223 } & Struct;3224 readonly isBuyExecution: boolean;3225 readonly asBuyExecution: {3226 readonly fees: XcmV0MultiAsset;3227 readonly weight: u64;3228 readonly debt: u64;3229 readonly haltOnError: bool;3230 readonly xcm: Vec<XcmV0Xcm>;3231 } & Struct;3232 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3233}32343235/** @name XcmV0OriginKind */3236export interface XcmV0OriginKind extends Enum {3237 readonly isNative: boolean;3238 readonly isSovereignAccount: boolean;3239 readonly isSuperuser: boolean;3240 readonly isXcm: boolean;3241 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3242}32433244/** @name XcmV0Response */3245export interface XcmV0Response extends Enum {3246 readonly isAssets: boolean;3247 readonly asAssets: Vec<XcmV0MultiAsset>;3248 readonly type: 'Assets';3249}32503251/** @name XcmV0Xcm */3252export interface XcmV0Xcm extends Enum {3253 readonly isWithdrawAsset: boolean;3254 readonly asWithdrawAsset: {3255 readonly assets: Vec<XcmV0MultiAsset>;3256 readonly effects: Vec<XcmV0Order>;3257 } & Struct;3258 readonly isReserveAssetDeposit: boolean;3259 readonly asReserveAssetDeposit: {3260 readonly assets: Vec<XcmV0MultiAsset>;3261 readonly effects: Vec<XcmV0Order>;3262 } & Struct;3263 readonly isTeleportAsset: boolean;3264 readonly asTeleportAsset: {3265 readonly assets: Vec<XcmV0MultiAsset>;3266 readonly effects: Vec<XcmV0Order>;3267 } & Struct;3268 readonly isQueryResponse: boolean;3269 readonly asQueryResponse: {3270 readonly queryId: Compact<u64>;3271 readonly response: XcmV0Response;3272 } & Struct;3273 readonly isTransferAsset: boolean;3274 readonly asTransferAsset: {3275 readonly assets: Vec<XcmV0MultiAsset>;3276 readonly dest: XcmV0MultiLocation;3277 } & Struct;3278 readonly isTransferReserveAsset: boolean;3279 readonly asTransferReserveAsset: {3280 readonly assets: Vec<XcmV0MultiAsset>;3281 readonly dest: XcmV0MultiLocation;3282 readonly effects: Vec<XcmV0Order>;3283 } & Struct;3284 readonly isTransact: boolean;3285 readonly asTransact: {3286 readonly originType: XcmV0OriginKind;3287 readonly requireWeightAtMost: u64;3288 readonly call: XcmDoubleEncoded;3289 } & Struct;3290 readonly isHrmpNewChannelOpenRequest: boolean;3291 readonly asHrmpNewChannelOpenRequest: {3292 readonly sender: Compact<u32>;3293 readonly maxMessageSize: Compact<u32>;3294 readonly maxCapacity: Compact<u32>;3295 } & Struct;3296 readonly isHrmpChannelAccepted: boolean;3297 readonly asHrmpChannelAccepted: {3298 readonly recipient: Compact<u32>;3299 } & Struct;3300 readonly isHrmpChannelClosing: boolean;3301 readonly asHrmpChannelClosing: {3302 readonly initiator: Compact<u32>;3303 readonly sender: Compact<u32>;3304 readonly recipient: Compact<u32>;3305 } & Struct;3306 readonly isRelayedFrom: boolean;3307 readonly asRelayedFrom: {3308 readonly who: XcmV0MultiLocation;3309 readonly message: XcmV0Xcm;3310 } & Struct;3311 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3312}33133314/** @name XcmV1Junction */3315export interface XcmV1Junction extends Enum {3316 readonly isParachain: boolean;3317 readonly asParachain: Compact<u32>;3318 readonly isAccountId32: boolean;3319 readonly asAccountId32: {3320 readonly network: XcmV0JunctionNetworkId;3321 readonly id: U8aFixed;3322 } & Struct;3323 readonly isAccountIndex64: boolean;3324 readonly asAccountIndex64: {3325 readonly network: XcmV0JunctionNetworkId;3326 readonly index: Compact<u64>;3327 } & Struct;3328 readonly isAccountKey20: boolean;3329 readonly asAccountKey20: {3330 readonly network: XcmV0JunctionNetworkId;3331 readonly key: U8aFixed;3332 } & Struct;3333 readonly isPalletInstance: boolean;3334 readonly asPalletInstance: u8;3335 readonly isGeneralIndex: boolean;3336 readonly asGeneralIndex: Compact<u128>;3337 readonly isGeneralKey: boolean;3338 readonly asGeneralKey: Bytes;3339 readonly isOnlyChild: boolean;3340 readonly isPlurality: boolean;3341 readonly asPlurality: {3342 readonly id: XcmV0JunctionBodyId;3343 readonly part: XcmV0JunctionBodyPart;3344 } & Struct;3345 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3346}33473348/** @name XcmV1MultiAsset */3349export interface XcmV1MultiAsset extends Struct {3350 readonly id: XcmV1MultiassetAssetId;3351 readonly fun: XcmV1MultiassetFungibility;3352}33533354/** @name XcmV1MultiassetAssetId */3355export interface XcmV1MultiassetAssetId extends Enum {3356 readonly isConcrete: boolean;3357 readonly asConcrete: XcmV1MultiLocation;3358 readonly isAbstract: boolean;3359 readonly asAbstract: Bytes;3360 readonly type: 'Concrete' | 'Abstract';3361}33623363/** @name XcmV1MultiassetAssetInstance */3364export interface XcmV1MultiassetAssetInstance extends Enum {3365 readonly isUndefined: boolean;3366 readonly isIndex: boolean;3367 readonly asIndex: Compact<u128>;3368 readonly isArray4: boolean;3369 readonly asArray4: U8aFixed;3370 readonly isArray8: boolean;3371 readonly asArray8: U8aFixed;3372 readonly isArray16: boolean;3373 readonly asArray16: U8aFixed;3374 readonly isArray32: boolean;3375 readonly asArray32: U8aFixed;3376 readonly isBlob: boolean;3377 readonly asBlob: Bytes;3378 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3379}33803381/** @name XcmV1MultiassetFungibility */3382export interface XcmV1MultiassetFungibility extends Enum {3383 readonly isFungible: boolean;3384 readonly asFungible: Compact<u128>;3385 readonly isNonFungible: boolean;3386 readonly asNonFungible: XcmV1MultiassetAssetInstance;3387 readonly type: 'Fungible' | 'NonFungible';3388}33893390/** @name XcmV1MultiassetMultiAssetFilter */3391export interface XcmV1MultiassetMultiAssetFilter extends Enum {3392 readonly isDefinite: boolean;3393 readonly asDefinite: XcmV1MultiassetMultiAssets;3394 readonly isWild: boolean;3395 readonly asWild: XcmV1MultiassetWildMultiAsset;3396 readonly type: 'Definite' | 'Wild';3397}33983399/** @name XcmV1MultiassetMultiAssets */3400export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34013402/** @name XcmV1MultiassetWildFungibility */3403export interface XcmV1MultiassetWildFungibility extends Enum {3404 readonly isFungible: boolean;3405 readonly isNonFungible: boolean;3406 readonly type: 'Fungible' | 'NonFungible';3407}34083409/** @name XcmV1MultiassetWildMultiAsset */3410export interface XcmV1MultiassetWildMultiAsset extends Enum {3411 readonly isAll: boolean;3412 readonly isAllOf: boolean;3413 readonly asAllOf: {3414 readonly id: XcmV1MultiassetAssetId;3415 readonly fun: XcmV1MultiassetWildFungibility;3416 } & Struct;3417 readonly type: 'All' | 'AllOf';3418}34193420/** @name XcmV1MultiLocation */3421export interface XcmV1MultiLocation extends Struct {3422 readonly parents: u8;3423 readonly interior: XcmV1MultilocationJunctions;3424}34253426/** @name XcmV1MultilocationJunctions */3427export interface XcmV1MultilocationJunctions extends Enum {3428 readonly isHere: boolean;3429 readonly isX1: boolean;3430 readonly asX1: XcmV1Junction;3431 readonly isX2: boolean;3432 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3433 readonly isX3: boolean;3434 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3435 readonly isX4: boolean;3436 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3437 readonly isX5: boolean;3438 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3439 readonly isX6: boolean;3440 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3441 readonly isX7: boolean;3442 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3443 readonly isX8: boolean;3444 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3445 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3446}34473448/** @name XcmV1Order */3449export interface XcmV1Order extends Enum {3450 readonly isNoop: boolean;3451 readonly isDepositAsset: boolean;3452 readonly asDepositAsset: {3453 readonly assets: XcmV1MultiassetMultiAssetFilter;3454 readonly maxAssets: u32;3455 readonly beneficiary: XcmV1MultiLocation;3456 } & Struct;3457 readonly isDepositReserveAsset: boolean;3458 readonly asDepositReserveAsset: {3459 readonly assets: XcmV1MultiassetMultiAssetFilter;3460 readonly maxAssets: u32;3461 readonly dest: XcmV1MultiLocation;3462 readonly effects: Vec<XcmV1Order>;3463 } & Struct;3464 readonly isExchangeAsset: boolean;3465 readonly asExchangeAsset: {3466 readonly give: XcmV1MultiassetMultiAssetFilter;3467 readonly receive: XcmV1MultiassetMultiAssets;3468 } & Struct;3469 readonly isInitiateReserveWithdraw: boolean;3470 readonly asInitiateReserveWithdraw: {3471 readonly assets: XcmV1MultiassetMultiAssetFilter;3472 readonly reserve: XcmV1MultiLocation;3473 readonly effects: Vec<XcmV1Order>;3474 } & Struct;3475 readonly isInitiateTeleport: boolean;3476 readonly asInitiateTeleport: {3477 readonly assets: XcmV1MultiassetMultiAssetFilter;3478 readonly dest: XcmV1MultiLocation;3479 readonly effects: Vec<XcmV1Order>;3480 } & Struct;3481 readonly isQueryHolding: boolean;3482 readonly asQueryHolding: {3483 readonly queryId: Compact<u64>;3484 readonly dest: XcmV1MultiLocation;3485 readonly assets: XcmV1MultiassetMultiAssetFilter;3486 } & Struct;3487 readonly isBuyExecution: boolean;3488 readonly asBuyExecution: {3489 readonly fees: XcmV1MultiAsset;3490 readonly weight: u64;3491 readonly debt: u64;3492 readonly haltOnError: bool;3493 readonly instructions: Vec<XcmV1Xcm>;3494 } & Struct;3495 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3496}34973498/** @name XcmV1Response */3499export interface XcmV1Response extends Enum {3500 readonly isAssets: boolean;3501 readonly asAssets: XcmV1MultiassetMultiAssets;3502 readonly isVersion: boolean;3503 readonly asVersion: u32;3504 readonly type: 'Assets' | 'Version';3505}35063507/** @name XcmV1Xcm */3508export interface XcmV1Xcm extends Enum {3509 readonly isWithdrawAsset: boolean;3510 readonly asWithdrawAsset: {3511 readonly assets: XcmV1MultiassetMultiAssets;3512 readonly effects: Vec<XcmV1Order>;3513 } & Struct;3514 readonly isReserveAssetDeposited: boolean;3515 readonly asReserveAssetDeposited: {3516 readonly assets: XcmV1MultiassetMultiAssets;3517 readonly effects: Vec<XcmV1Order>;3518 } & Struct;3519 readonly isReceiveTeleportedAsset: boolean;3520 readonly asReceiveTeleportedAsset: {3521 readonly assets: XcmV1MultiassetMultiAssets;3522 readonly effects: Vec<XcmV1Order>;3523 } & Struct;3524 readonly isQueryResponse: boolean;3525 readonly asQueryResponse: {3526 readonly queryId: Compact<u64>;3527 readonly response: XcmV1Response;3528 } & Struct;3529 readonly isTransferAsset: boolean;3530 readonly asTransferAsset: {3531 readonly assets: XcmV1MultiassetMultiAssets;3532 readonly beneficiary: XcmV1MultiLocation;3533 } & Struct;3534 readonly isTransferReserveAsset: boolean;3535 readonly asTransferReserveAsset: {3536 readonly assets: XcmV1MultiassetMultiAssets;3537 readonly dest: XcmV1MultiLocation;3538 readonly effects: Vec<XcmV1Order>;3539 } & Struct;3540 readonly isTransact: boolean;3541 readonly asTransact: {3542 readonly originType: XcmV0OriginKind;3543 readonly requireWeightAtMost: u64;3544 readonly call: XcmDoubleEncoded;3545 } & Struct;3546 readonly isHrmpNewChannelOpenRequest: boolean;3547 readonly asHrmpNewChannelOpenRequest: {3548 readonly sender: Compact<u32>;3549 readonly maxMessageSize: Compact<u32>;3550 readonly maxCapacity: Compact<u32>;3551 } & Struct;3552 readonly isHrmpChannelAccepted: boolean;3553 readonly asHrmpChannelAccepted: {3554 readonly recipient: Compact<u32>;3555 } & Struct;3556 readonly isHrmpChannelClosing: boolean;3557 readonly asHrmpChannelClosing: {3558 readonly initiator: Compact<u32>;3559 readonly sender: Compact<u32>;3560 readonly recipient: Compact<u32>;3561 } & Struct;3562 readonly isRelayedFrom: boolean;3563 readonly asRelayedFrom: {3564 readonly who: XcmV1MultilocationJunctions;3565 readonly message: XcmV1Xcm;3566 } & Struct;3567 readonly isSubscribeVersion: boolean;3568 readonly asSubscribeVersion: {3569 readonly queryId: Compact<u64>;3570 readonly maxResponseWeight: Compact<u64>;3571 } & Struct;3572 readonly isUnsubscribeVersion: boolean;3573 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3574}35753576/** @name XcmV2Instruction */3577export interface XcmV2Instruction extends Enum {3578 readonly isWithdrawAsset: boolean;3579 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3580 readonly isReserveAssetDeposited: boolean;3581 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3582 readonly isReceiveTeleportedAsset: boolean;3583 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3584 readonly isQueryResponse: boolean;3585 readonly asQueryResponse: {3586 readonly queryId: Compact<u64>;3587 readonly response: XcmV2Response;3588 readonly maxWeight: Compact<u64>;3589 } & Struct;3590 readonly isTransferAsset: boolean;3591 readonly asTransferAsset: {3592 readonly assets: XcmV1MultiassetMultiAssets;3593 readonly beneficiary: XcmV1MultiLocation;3594 } & Struct;3595 readonly isTransferReserveAsset: boolean;3596 readonly asTransferReserveAsset: {3597 readonly assets: XcmV1MultiassetMultiAssets;3598 readonly dest: XcmV1MultiLocation;3599 readonly xcm: XcmV2Xcm;3600 } & Struct;3601 readonly isTransact: boolean;3602 readonly asTransact: {3603 readonly originType: XcmV0OriginKind;3604 readonly requireWeightAtMost: Compact<u64>;3605 readonly call: XcmDoubleEncoded;3606 } & Struct;3607 readonly isHrmpNewChannelOpenRequest: boolean;3608 readonly asHrmpNewChannelOpenRequest: {3609 readonly sender: Compact<u32>;3610 readonly maxMessageSize: Compact<u32>;3611 readonly maxCapacity: Compact<u32>;3612 } & Struct;3613 readonly isHrmpChannelAccepted: boolean;3614 readonly asHrmpChannelAccepted: {3615 readonly recipient: Compact<u32>;3616 } & Struct;3617 readonly isHrmpChannelClosing: boolean;3618 readonly asHrmpChannelClosing: {3619 readonly initiator: Compact<u32>;3620 readonly sender: Compact<u32>;3621 readonly recipient: Compact<u32>;3622 } & Struct;3623 readonly isClearOrigin: boolean;3624 readonly isDescendOrigin: boolean;3625 readonly asDescendOrigin: XcmV1MultilocationJunctions;3626 readonly isReportError: boolean;3627 readonly asReportError: {3628 readonly queryId: Compact<u64>;3629 readonly dest: XcmV1MultiLocation;3630 readonly maxResponseWeight: Compact<u64>;3631 } & Struct;3632 readonly isDepositAsset: boolean;3633 readonly asDepositAsset: {3634 readonly assets: XcmV1MultiassetMultiAssetFilter;3635 readonly maxAssets: Compact<u32>;3636 readonly beneficiary: XcmV1MultiLocation;3637 } & Struct;3638 readonly isDepositReserveAsset: boolean;3639 readonly asDepositReserveAsset: {3640 readonly assets: XcmV1MultiassetMultiAssetFilter;3641 readonly maxAssets: Compact<u32>;3642 readonly dest: XcmV1MultiLocation;3643 readonly xcm: XcmV2Xcm;3644 } & Struct;3645 readonly isExchangeAsset: boolean;3646 readonly asExchangeAsset: {3647 readonly give: XcmV1MultiassetMultiAssetFilter;3648 readonly receive: XcmV1MultiassetMultiAssets;3649 } & Struct;3650 readonly isInitiateReserveWithdraw: boolean;3651 readonly asInitiateReserveWithdraw: {3652 readonly assets: XcmV1MultiassetMultiAssetFilter;3653 readonly reserve: XcmV1MultiLocation;3654 readonly xcm: XcmV2Xcm;3655 } & Struct;3656 readonly isInitiateTeleport: boolean;3657 readonly asInitiateTeleport: {3658 readonly assets: XcmV1MultiassetMultiAssetFilter;3659 readonly dest: XcmV1MultiLocation;3660 readonly xcm: XcmV2Xcm;3661 } & Struct;3662 readonly isQueryHolding: boolean;3663 readonly asQueryHolding: {3664 readonly queryId: Compact<u64>;3665 readonly dest: XcmV1MultiLocation;3666 readonly assets: XcmV1MultiassetMultiAssetFilter;3667 readonly maxResponseWeight: Compact<u64>;3668 } & Struct;3669 readonly isBuyExecution: boolean;3670 readonly asBuyExecution: {3671 readonly fees: XcmV1MultiAsset;3672 readonly weightLimit: XcmV2WeightLimit;3673 } & Struct;3674 readonly isRefundSurplus: boolean;3675 readonly isSetErrorHandler: boolean;3676 readonly asSetErrorHandler: XcmV2Xcm;3677 readonly isSetAppendix: boolean;3678 readonly asSetAppendix: XcmV2Xcm;3679 readonly isClearError: boolean;3680 readonly isClaimAsset: boolean;3681 readonly asClaimAsset: {3682 readonly assets: XcmV1MultiassetMultiAssets;3683 readonly ticket: XcmV1MultiLocation;3684 } & Struct;3685 readonly isTrap: boolean;3686 readonly asTrap: Compact<u64>;3687 readonly isSubscribeVersion: boolean;3688 readonly asSubscribeVersion: {3689 readonly queryId: Compact<u64>;3690 readonly maxResponseWeight: Compact<u64>;3691 } & Struct;3692 readonly isUnsubscribeVersion: boolean;3693 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';3694}36953696/** @name XcmV2Response */3697export interface XcmV2Response extends Enum {3698 readonly isNull: boolean;3699 readonly isAssets: boolean;3700 readonly asAssets: XcmV1MultiassetMultiAssets;3701 readonly isExecutionResult: boolean;3702 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3703 readonly isVersion: boolean;3704 readonly asVersion: u32;3705 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3706}37073708/** @name XcmV2TraitsError */3709export interface XcmV2TraitsError extends Enum {3710 readonly isOverflow: boolean;3711 readonly isUnimplemented: boolean;3712 readonly isUntrustedReserveLocation: boolean;3713 readonly isUntrustedTeleportLocation: boolean;3714 readonly isMultiLocationFull: boolean;3715 readonly isMultiLocationNotInvertible: boolean;3716 readonly isBadOrigin: boolean;3717 readonly isInvalidLocation: boolean;3718 readonly isAssetNotFound: boolean;3719 readonly isFailedToTransactAsset: boolean;3720 readonly isNotWithdrawable: boolean;3721 readonly isLocationCannotHold: boolean;3722 readonly isExceedsMaxMessageSize: boolean;3723 readonly isDestinationUnsupported: boolean;3724 readonly isTransport: boolean;3725 readonly isUnroutable: boolean;3726 readonly isUnknownClaim: boolean;3727 readonly isFailedToDecode: boolean;3728 readonly isMaxWeightInvalid: boolean;3729 readonly isNotHoldingFees: boolean;3730 readonly isTooExpensive: boolean;3731 readonly isTrap: boolean;3732 readonly asTrap: u64;3733 readonly isUnhandledXcmVersion: boolean;3734 readonly isWeightLimitReached: boolean;3735 readonly asWeightLimitReached: u64;3736 readonly isBarrier: boolean;3737 readonly isWeightNotComputable: boolean;3738 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';3739}37403741/** @name XcmV2TraitsOutcome */3742export interface XcmV2TraitsOutcome extends Enum {3743 readonly isComplete: boolean;3744 readonly asComplete: u64;3745 readonly isIncomplete: boolean;3746 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3747 readonly isError: boolean;3748 readonly asError: XcmV2TraitsError;3749 readonly type: 'Complete' | 'Incomplete' | 'Error';3750}37513752/** @name XcmV2WeightLimit */3753export interface XcmV2WeightLimit extends Enum {3754 readonly isUnlimited: boolean;3755 readonly isLimited: boolean;3756 readonly asLimited: Compact<u64>;3757 readonly type: 'Unlimited' | 'Limited';3758}37593760/** @name XcmV2Xcm */3761export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}37623763/** @name XcmVersionedMultiAsset */3764export interface XcmVersionedMultiAsset extends Enum {3765 readonly isV0: boolean;3766 readonly asV0: XcmV0MultiAsset;3767 readonly isV1: boolean;3768 readonly asV1: XcmV1MultiAsset;3769 readonly type: 'V0' | 'V1';3770}37713772/** @name XcmVersionedMultiAssets */3773export interface XcmVersionedMultiAssets extends Enum {3774 readonly isV0: boolean;3775 readonly asV0: Vec<XcmV0MultiAsset>;3776 readonly isV1: boolean;3777 readonly asV1: XcmV1MultiassetMultiAssets;3778 readonly type: 'V0' | 'V1';3779}37803781/** @name XcmVersionedMultiLocation */3782export interface XcmVersionedMultiLocation extends Enum {3783 readonly isV0: boolean;3784 readonly asV0: XcmV0MultiLocation;3785 readonly isV1: boolean;3786 readonly asV1: XcmV1MultiLocation;3787 readonly type: 'V0' | 'V1';3788}37893790/** @name XcmVersionedXcm */3791export interface XcmVersionedXcm extends Enum {3792 readonly isV0: boolean;3793 readonly asV0: XcmV0Xcm;3794 readonly isV1: boolean;3795 readonly asV1: XcmV1Xcm;3796 readonly isV2: boolean;3797 readonly asV2: XcmV2Xcm;3798 readonly type: 'V0' | 'V1' | 'V2';3799}38003801export 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 } 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: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;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: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;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: u64;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: u64;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_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;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: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;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: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;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: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;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 FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckTxVersion */695export interface FrameSystemExtensionsCheckTxVersion extends Null {}696697/** @name FrameSystemExtensionsCheckWeight */698export interface FrameSystemExtensionsCheckWeight extends Null {}699700/** @name FrameSystemLastRuntimeUpgradeInfo */701export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {702 readonly specVersion: Compact<u32>;703 readonly specName: Text;704}705706/** @name FrameSystemLimitsBlockLength */707export interface FrameSystemLimitsBlockLength extends Struct {708 readonly max: FrameSupportWeightsPerDispatchClassU32;709}710711/** @name FrameSystemLimitsBlockWeights */712export interface FrameSystemLimitsBlockWeights extends Struct {713 readonly baseBlock: u64;714 readonly maxBlock: u64;715 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;716}717718/** @name FrameSystemLimitsWeightsPerClass */719export interface FrameSystemLimitsWeightsPerClass extends Struct {720 readonly baseExtrinsic: u64;721 readonly maxExtrinsic: Option<u64>;722 readonly maxTotal: Option<u64>;723 readonly reserved: Option<u64>;724}725726/** @name FrameSystemPhase */727export interface FrameSystemPhase extends Enum {728 readonly isApplyExtrinsic: boolean;729 readonly asApplyExtrinsic: u32;730 readonly isFinalization: boolean;731 readonly isInitialization: boolean;732 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';733}734735/** @name OpalRuntimeOriginCaller */736export interface OpalRuntimeOriginCaller extends Enum {737 readonly isSystem: boolean;738 readonly asSystem: FrameSupportDispatchRawOrigin;739 readonly isVoid: boolean;740 readonly asVoid: SpCoreVoid;741 readonly isPolkadotXcm: boolean;742 readonly asPolkadotXcm: PalletXcmOrigin;743 readonly isCumulusXcm: boolean;744 readonly asCumulusXcm: CumulusPalletXcmOrigin;745 readonly isEthereum: boolean;746 readonly asEthereum: PalletEthereumRawOrigin;747 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';748}749750/** @name OpalRuntimeRuntime */751export interface OpalRuntimeRuntime extends Null {}752753/** @name OrmlTokensAccountData */754export interface OrmlTokensAccountData extends Struct {755 readonly free: u128;756 readonly reserved: u128;757 readonly frozen: u128;758}759760/** @name OrmlTokensBalanceLock */761export interface OrmlTokensBalanceLock extends Struct {762 readonly id: U8aFixed;763 readonly amount: u128;764}765766/** @name OrmlTokensModuleCall */767export interface OrmlTokensModuleCall extends Enum {768 readonly isTransfer: boolean;769 readonly asTransfer: {770 readonly dest: MultiAddress;771 readonly currencyId: PalletForeignAssetsAssetIds;772 readonly amount: Compact<u128>;773 } & Struct;774 readonly isTransferAll: boolean;775 readonly asTransferAll: {776 readonly dest: MultiAddress;777 readonly currencyId: PalletForeignAssetsAssetIds;778 readonly keepAlive: bool;779 } & Struct;780 readonly isTransferKeepAlive: boolean;781 readonly asTransferKeepAlive: {782 readonly dest: MultiAddress;783 readonly currencyId: PalletForeignAssetsAssetIds;784 readonly amount: Compact<u128>;785 } & Struct;786 readonly isForceTransfer: boolean;787 readonly asForceTransfer: {788 readonly source: MultiAddress;789 readonly dest: MultiAddress;790 readonly currencyId: PalletForeignAssetsAssetIds;791 readonly amount: Compact<u128>;792 } & Struct;793 readonly isSetBalance: boolean;794 readonly asSetBalance: {795 readonly who: MultiAddress;796 readonly currencyId: PalletForeignAssetsAssetIds;797 readonly newFree: Compact<u128>;798 readonly newReserved: Compact<u128>;799 } & Struct;800 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';801}802803/** @name OrmlTokensModuleError */804export interface OrmlTokensModuleError extends Enum {805 readonly isBalanceTooLow: boolean;806 readonly isAmountIntoBalanceFailed: boolean;807 readonly isLiquidityRestrictions: boolean;808 readonly isMaxLocksExceeded: boolean;809 readonly isKeepAlive: boolean;810 readonly isExistentialDeposit: boolean;811 readonly isDeadAccount: boolean;812 readonly isTooManyReserves: boolean;813 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';814}815816/** @name OrmlTokensModuleEvent */817export interface OrmlTokensModuleEvent extends Enum {818 readonly isEndowed: boolean;819 readonly asEndowed: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly who: AccountId32;822 readonly amount: u128;823 } & Struct;824 readonly isDustLost: boolean;825 readonly asDustLost: {826 readonly currencyId: PalletForeignAssetsAssetIds;827 readonly who: AccountId32;828 readonly amount: u128;829 } & Struct;830 readonly isTransfer: boolean;831 readonly asTransfer: {832 readonly currencyId: PalletForeignAssetsAssetIds;833 readonly from: AccountId32;834 readonly to: AccountId32;835 readonly amount: u128;836 } & Struct;837 readonly isReserved: boolean;838 readonly asReserved: {839 readonly currencyId: PalletForeignAssetsAssetIds;840 readonly who: AccountId32;841 readonly amount: u128;842 } & Struct;843 readonly isUnreserved: boolean;844 readonly asUnreserved: {845 readonly currencyId: PalletForeignAssetsAssetIds;846 readonly who: AccountId32;847 readonly amount: u128;848 } & Struct;849 readonly isReserveRepatriated: boolean;850 readonly asReserveRepatriated: {851 readonly currencyId: PalletForeignAssetsAssetIds;852 readonly from: AccountId32;853 readonly to: AccountId32;854 readonly amount: u128;855 readonly status: FrameSupportTokensMiscBalanceStatus;856 } & Struct;857 readonly isBalanceSet: boolean;858 readonly asBalanceSet: {859 readonly currencyId: PalletForeignAssetsAssetIds;860 readonly who: AccountId32;861 readonly free: u128;862 readonly reserved: u128;863 } & Struct;864 readonly isTotalIssuanceSet: boolean;865 readonly asTotalIssuanceSet: {866 readonly currencyId: PalletForeignAssetsAssetIds;867 readonly amount: u128;868 } & Struct;869 readonly isWithdrawn: boolean;870 readonly asWithdrawn: {871 readonly currencyId: PalletForeignAssetsAssetIds;872 readonly who: AccountId32;873 readonly amount: u128;874 } & Struct;875 readonly isSlashed: boolean;876 readonly asSlashed: {877 readonly currencyId: PalletForeignAssetsAssetIds;878 readonly who: AccountId32;879 readonly freeAmount: u128;880 readonly reservedAmount: u128;881 } & Struct;882 readonly isDeposited: boolean;883 readonly asDeposited: {884 readonly currencyId: PalletForeignAssetsAssetIds;885 readonly who: AccountId32;886 readonly amount: u128;887 } & Struct;888 readonly isLockSet: boolean;889 readonly asLockSet: {890 readonly lockId: U8aFixed;891 readonly currencyId: PalletForeignAssetsAssetIds;892 readonly who: AccountId32;893 readonly amount: u128;894 } & Struct;895 readonly isLockRemoved: boolean;896 readonly asLockRemoved: {897 readonly lockId: U8aFixed;898 readonly currencyId: PalletForeignAssetsAssetIds;899 readonly who: AccountId32;900 } & Struct;901 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';902}903904/** @name OrmlTokensReserveData */905export interface OrmlTokensReserveData extends Struct {906 readonly id: Null;907 readonly amount: u128;908}909910/** @name OrmlVestingModuleCall */911export interface OrmlVestingModuleCall extends Enum {912 readonly isClaim: boolean;913 readonly isVestedTransfer: boolean;914 readonly asVestedTransfer: {915 readonly dest: MultiAddress;916 readonly schedule: OrmlVestingVestingSchedule;917 } & Struct;918 readonly isUpdateVestingSchedules: boolean;919 readonly asUpdateVestingSchedules: {920 readonly who: MultiAddress;921 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;922 } & Struct;923 readonly isClaimFor: boolean;924 readonly asClaimFor: {925 readonly dest: MultiAddress;926 } & Struct;927 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';928}929930/** @name OrmlVestingModuleError */931export interface OrmlVestingModuleError extends Enum {932 readonly isZeroVestingPeriod: boolean;933 readonly isZeroVestingPeriodCount: boolean;934 readonly isInsufficientBalanceToLock: boolean;935 readonly isTooManyVestingSchedules: boolean;936 readonly isAmountLow: boolean;937 readonly isMaxVestingSchedulesExceeded: boolean;938 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';939}940941/** @name OrmlVestingModuleEvent */942export interface OrmlVestingModuleEvent extends Enum {943 readonly isVestingScheduleAdded: boolean;944 readonly asVestingScheduleAdded: {945 readonly from: AccountId32;946 readonly to: AccountId32;947 readonly vestingSchedule: OrmlVestingVestingSchedule;948 } & Struct;949 readonly isClaimed: boolean;950 readonly asClaimed: {951 readonly who: AccountId32;952 readonly amount: u128;953 } & Struct;954 readonly isVestingSchedulesUpdated: boolean;955 readonly asVestingSchedulesUpdated: {956 readonly who: AccountId32;957 } & Struct;958 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';959}960961/** @name OrmlVestingVestingSchedule */962export interface OrmlVestingVestingSchedule extends Struct {963 readonly start: u32;964 readonly period: u32;965 readonly periodCount: u32;966 readonly perPeriod: Compact<u128>;967}968969/** @name OrmlXtokensModuleCall */970export interface OrmlXtokensModuleCall extends Enum {971 readonly isTransfer: boolean;972 readonly asTransfer: {973 readonly currencyId: PalletForeignAssetsAssetIds;974 readonly amount: u128;975 readonly dest: XcmVersionedMultiLocation;976 readonly destWeight: u64;977 } & Struct;978 readonly isTransferMultiasset: boolean;979 readonly asTransferMultiasset: {980 readonly asset: XcmVersionedMultiAsset;981 readonly dest: XcmVersionedMultiLocation;982 readonly destWeight: u64;983 } & Struct;984 readonly isTransferWithFee: boolean;985 readonly asTransferWithFee: {986 readonly currencyId: PalletForeignAssetsAssetIds;987 readonly amount: u128;988 readonly fee: u128;989 readonly dest: XcmVersionedMultiLocation;990 readonly destWeight: u64;991 } & Struct;992 readonly isTransferMultiassetWithFee: boolean;993 readonly asTransferMultiassetWithFee: {994 readonly asset: XcmVersionedMultiAsset;995 readonly fee: XcmVersionedMultiAsset;996 readonly dest: XcmVersionedMultiLocation;997 readonly destWeight: u64;998 } & Struct;999 readonly isTransferMulticurrencies: boolean;1000 readonly asTransferMulticurrencies: {1001 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;1002 readonly feeItem: u32;1003 readonly dest: XcmVersionedMultiLocation;1004 readonly destWeight: u64;1005 } & Struct;1006 readonly isTransferMultiassets: boolean;1007 readonly asTransferMultiassets: {1008 readonly assets: XcmVersionedMultiAssets;1009 readonly feeItem: u32;1010 readonly dest: XcmVersionedMultiLocation;1011 readonly destWeight: u64;1012 } & Struct;1013 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1014}10151016/** @name OrmlXtokensModuleError */1017export interface OrmlXtokensModuleError extends Enum {1018 readonly isAssetHasNoReserve: boolean;1019 readonly isNotCrossChainTransfer: boolean;1020 readonly isInvalidDest: boolean;1021 readonly isNotCrossChainTransferableCurrency: boolean;1022 readonly isUnweighableMessage: boolean;1023 readonly isXcmExecutionFailed: boolean;1024 readonly isCannotReanchor: boolean;1025 readonly isInvalidAncestry: boolean;1026 readonly isInvalidAsset: boolean;1027 readonly isDestinationNotInvertible: boolean;1028 readonly isBadVersion: boolean;1029 readonly isDistinctReserveForAssetAndFee: boolean;1030 readonly isZeroFee: boolean;1031 readonly isZeroAmount: boolean;1032 readonly isTooManyAssetsBeingSent: boolean;1033 readonly isAssetIndexNonExistent: boolean;1034 readonly isFeeNotEnough: boolean;1035 readonly isNotSupportedMultiLocation: boolean;1036 readonly isMinXcmFeeNotDefined: boolean;1037 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';1038}10391040/** @name OrmlXtokensModuleEvent */1041export interface OrmlXtokensModuleEvent extends Enum {1042 readonly isTransferredMultiAssets: boolean;1043 readonly asTransferredMultiAssets: {1044 readonly sender: AccountId32;1045 readonly assets: XcmV1MultiassetMultiAssets;1046 readonly fee: XcmV1MultiAsset;1047 readonly dest: XcmV1MultiLocation;1048 } & Struct;1049 readonly type: 'TransferredMultiAssets';1050}10511052/** @name PalletAppPromotionCall */1053export interface PalletAppPromotionCall extends Enum {1054 readonly isSetAdminAddress: boolean;1055 readonly asSetAdminAddress: {1056 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1057 } & Struct;1058 readonly isStake: boolean;1059 readonly asStake: {1060 readonly amount: u128;1061 } & Struct;1062 readonly isUnstake: boolean;1063 readonly isSponsorCollection: boolean;1064 readonly asSponsorCollection: {1065 readonly collectionId: u32;1066 } & Struct;1067 readonly isStopSponsoringCollection: boolean;1068 readonly asStopSponsoringCollection: {1069 readonly collectionId: u32;1070 } & Struct;1071 readonly isSponsorContract: boolean;1072 readonly asSponsorContract: {1073 readonly contractId: H160;1074 } & Struct;1075 readonly isStopSponsoringContract: boolean;1076 readonly asStopSponsoringContract: {1077 readonly contractId: H160;1078 } & Struct;1079 readonly isPayoutStakers: boolean;1080 readonly asPayoutStakers: {1081 readonly stakersNumber: Option<u8>;1082 } & Struct;1083 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1084}10851086/** @name PalletAppPromotionError */1087export interface PalletAppPromotionError extends Enum {1088 readonly isAdminNotSet: boolean;1089 readonly isNoPermission: boolean;1090 readonly isNotSufficientFunds: boolean;1091 readonly isPendingForBlockOverflow: boolean;1092 readonly isSponsorNotSet: boolean;1093 readonly isIncorrectLockedBalanceOperation: boolean;1094 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1095}10961097/** @name PalletAppPromotionEvent */1098export interface PalletAppPromotionEvent extends Enum {1099 readonly isStakingRecalculation: boolean;1100 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1101 readonly isStake: boolean;1102 readonly asStake: ITuple<[AccountId32, u128]>;1103 readonly isUnstake: boolean;1104 readonly asUnstake: ITuple<[AccountId32, u128]>;1105 readonly isSetAdmin: boolean;1106 readonly asSetAdmin: AccountId32;1107 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1108}11091110/** @name PalletBalancesAccountData */1111export interface PalletBalancesAccountData extends Struct {1112 readonly free: u128;1113 readonly reserved: u128;1114 readonly miscFrozen: u128;1115 readonly feeFrozen: u128;1116}11171118/** @name PalletBalancesBalanceLock */1119export interface PalletBalancesBalanceLock extends Struct {1120 readonly id: U8aFixed;1121 readonly amount: u128;1122 readonly reasons: PalletBalancesReasons;1123}11241125/** @name PalletBalancesCall */1126export interface PalletBalancesCall extends Enum {1127 readonly isTransfer: boolean;1128 readonly asTransfer: {1129 readonly dest: MultiAddress;1130 readonly value: Compact<u128>;1131 } & Struct;1132 readonly isSetBalance: boolean;1133 readonly asSetBalance: {1134 readonly who: MultiAddress;1135 readonly newFree: Compact<u128>;1136 readonly newReserved: Compact<u128>;1137 } & Struct;1138 readonly isForceTransfer: boolean;1139 readonly asForceTransfer: {1140 readonly source: MultiAddress;1141 readonly dest: MultiAddress;1142 readonly value: Compact<u128>;1143 } & Struct;1144 readonly isTransferKeepAlive: boolean;1145 readonly asTransferKeepAlive: {1146 readonly dest: MultiAddress;1147 readonly value: Compact<u128>;1148 } & Struct;1149 readonly isTransferAll: boolean;1150 readonly asTransferAll: {1151 readonly dest: MultiAddress;1152 readonly keepAlive: bool;1153 } & Struct;1154 readonly isForceUnreserve: boolean;1155 readonly asForceUnreserve: {1156 readonly who: MultiAddress;1157 readonly amount: u128;1158 } & Struct;1159 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1160}11611162/** @name PalletBalancesError */1163export interface PalletBalancesError extends Enum {1164 readonly isVestingBalance: boolean;1165 readonly isLiquidityRestrictions: boolean;1166 readonly isInsufficientBalance: boolean;1167 readonly isExistentialDeposit: boolean;1168 readonly isKeepAlive: boolean;1169 readonly isExistingVestingSchedule: boolean;1170 readonly isDeadAccount: boolean;1171 readonly isTooManyReserves: boolean;1172 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1173}11741175/** @name PalletBalancesEvent */1176export interface PalletBalancesEvent extends Enum {1177 readonly isEndowed: boolean;1178 readonly asEndowed: {1179 readonly account: AccountId32;1180 readonly freeBalance: u128;1181 } & Struct;1182 readonly isDustLost: boolean;1183 readonly asDustLost: {1184 readonly account: AccountId32;1185 readonly amount: u128;1186 } & Struct;1187 readonly isTransfer: boolean;1188 readonly asTransfer: {1189 readonly from: AccountId32;1190 readonly to: AccountId32;1191 readonly amount: u128;1192 } & Struct;1193 readonly isBalanceSet: boolean;1194 readonly asBalanceSet: {1195 readonly who: AccountId32;1196 readonly free: u128;1197 readonly reserved: u128;1198 } & Struct;1199 readonly isReserved: boolean;1200 readonly asReserved: {1201 readonly who: AccountId32;1202 readonly amount: u128;1203 } & Struct;1204 readonly isUnreserved: boolean;1205 readonly asUnreserved: {1206 readonly who: AccountId32;1207 readonly amount: u128;1208 } & Struct;1209 readonly isReserveRepatriated: boolean;1210 readonly asReserveRepatriated: {1211 readonly from: AccountId32;1212 readonly to: AccountId32;1213 readonly amount: u128;1214 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1215 } & Struct;1216 readonly isDeposit: boolean;1217 readonly asDeposit: {1218 readonly who: AccountId32;1219 readonly amount: u128;1220 } & Struct;1221 readonly isWithdraw: boolean;1222 readonly asWithdraw: {1223 readonly who: AccountId32;1224 readonly amount: u128;1225 } & Struct;1226 readonly isSlashed: boolean;1227 readonly asSlashed: {1228 readonly who: AccountId32;1229 readonly amount: u128;1230 } & Struct;1231 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1232}12331234/** @name PalletBalancesReasons */1235export interface PalletBalancesReasons extends Enum {1236 readonly isFee: boolean;1237 readonly isMisc: boolean;1238 readonly isAll: boolean;1239 readonly type: 'Fee' | 'Misc' | 'All';1240}12411242/** @name PalletBalancesReleases */1243export interface PalletBalancesReleases extends Enum {1244 readonly isV100: boolean;1245 readonly isV200: boolean;1246 readonly type: 'V100' | 'V200';1247}12481249/** @name PalletBalancesReserveData */1250export interface PalletBalancesReserveData extends Struct {1251 readonly id: U8aFixed;1252 readonly amount: u128;1253}12541255/** @name PalletCommonError */1256export interface PalletCommonError extends Enum {1257 readonly isCollectionNotFound: boolean;1258 readonly isMustBeTokenOwner: boolean;1259 readonly isNoPermission: boolean;1260 readonly isCantDestroyNotEmptyCollection: boolean;1261 readonly isPublicMintingNotAllowed: boolean;1262 readonly isAddressNotInAllowlist: boolean;1263 readonly isCollectionNameLimitExceeded: boolean;1264 readonly isCollectionDescriptionLimitExceeded: boolean;1265 readonly isCollectionTokenPrefixLimitExceeded: boolean;1266 readonly isTotalCollectionsLimitExceeded: boolean;1267 readonly isCollectionAdminCountExceeded: boolean;1268 readonly isCollectionLimitBoundsExceeded: boolean;1269 readonly isOwnerPermissionsCantBeReverted: boolean;1270 readonly isTransferNotAllowed: boolean;1271 readonly isAccountTokenLimitExceeded: boolean;1272 readonly isCollectionTokenLimitExceeded: boolean;1273 readonly isMetadataFlagFrozen: boolean;1274 readonly isTokenNotFound: boolean;1275 readonly isTokenValueTooLow: boolean;1276 readonly isApprovedValueTooLow: boolean;1277 readonly isCantApproveMoreThanOwned: boolean;1278 readonly isAddressIsZero: boolean;1279 readonly isUnsupportedOperation: boolean;1280 readonly isNotSufficientFounds: boolean;1281 readonly isUserIsNotAllowedToNest: boolean;1282 readonly isSourceCollectionIsNotAllowedToNest: boolean;1283 readonly isCollectionFieldSizeExceeded: boolean;1284 readonly isNoSpaceForProperty: boolean;1285 readonly isPropertyLimitReached: boolean;1286 readonly isPropertyKeyIsTooLong: boolean;1287 readonly isInvalidCharacterInPropertyKey: boolean;1288 readonly isEmptyPropertyKey: boolean;1289 readonly isCollectionIsExternal: boolean;1290 readonly isCollectionIsInternal: boolean;1291 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';1292}12931294/** @name PalletCommonEvent */1295export interface PalletCommonEvent extends Enum {1296 readonly isCollectionCreated: boolean;1297 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1298 readonly isCollectionDestroyed: boolean;1299 readonly asCollectionDestroyed: u32;1300 readonly isItemCreated: boolean;1301 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1302 readonly isItemDestroyed: boolean;1303 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1304 readonly isTransfer: boolean;1305 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1306 readonly isApproved: boolean;1307 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1308 readonly isCollectionPropertySet: boolean;1309 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1310 readonly isCollectionPropertyDeleted: boolean;1311 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1312 readonly isTokenPropertySet: boolean;1313 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1314 readonly isTokenPropertyDeleted: boolean;1315 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1316 readonly isPropertyPermissionSet: boolean;1317 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1318 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1319}13201321/** @name PalletConfigurationCall */1322export interface PalletConfigurationCall extends Enum {1323 readonly isSetWeightToFeeCoefficientOverride: boolean;1324 readonly asSetWeightToFeeCoefficientOverride: {1325 readonly coeff: Option<u32>;1326 } & Struct;1327 readonly isSetMinGasPriceOverride: boolean;1328 readonly asSetMinGasPriceOverride: {1329 readonly coeff: Option<u64>;1330 } & Struct;1331 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1332}13331334/** @name PalletEthereumCall */1335export interface PalletEthereumCall extends Enum {1336 readonly isTransact: boolean;1337 readonly asTransact: {1338 readonly transaction: EthereumTransactionTransactionV2;1339 } & Struct;1340 readonly type: 'Transact';1341}13421343/** @name PalletEthereumError */1344export interface PalletEthereumError extends Enum {1345 readonly isInvalidSignature: boolean;1346 readonly isPreLogExists: boolean;1347 readonly type: 'InvalidSignature' | 'PreLogExists';1348}13491350/** @name PalletEthereumEvent */1351export interface PalletEthereumEvent extends Enum {1352 readonly isExecuted: boolean;1353 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1354 readonly type: 'Executed';1355}13561357/** @name PalletEthereumFakeTransactionFinalizer */1358export interface PalletEthereumFakeTransactionFinalizer extends Null {}13591360/** @name PalletEthereumRawOrigin */1361export interface PalletEthereumRawOrigin extends Enum {1362 readonly isEthereumTransaction: boolean;1363 readonly asEthereumTransaction: H160;1364 readonly type: 'EthereumTransaction';1365}13661367/** @name PalletEvmAccountBasicCrossAccountIdRepr */1368export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1369 readonly isSubstrate: boolean;1370 readonly asSubstrate: AccountId32;1371 readonly isEthereum: boolean;1372 readonly asEthereum: H160;1373 readonly type: 'Substrate' | 'Ethereum';1374}13751376/** @name PalletEvmCall */1377export interface PalletEvmCall extends Enum {1378 readonly isWithdraw: boolean;1379 readonly asWithdraw: {1380 readonly address: H160;1381 readonly value: u128;1382 } & Struct;1383 readonly isCall: boolean;1384 readonly asCall: {1385 readonly source: H160;1386 readonly target: H160;1387 readonly input: Bytes;1388 readonly value: U256;1389 readonly gasLimit: u64;1390 readonly maxFeePerGas: U256;1391 readonly maxPriorityFeePerGas: Option<U256>;1392 readonly nonce: Option<U256>;1393 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1394 } & Struct;1395 readonly isCreate: boolean;1396 readonly asCreate: {1397 readonly source: H160;1398 readonly init: Bytes;1399 readonly value: U256;1400 readonly gasLimit: u64;1401 readonly maxFeePerGas: U256;1402 readonly maxPriorityFeePerGas: Option<U256>;1403 readonly nonce: Option<U256>;1404 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1405 } & Struct;1406 readonly isCreate2: boolean;1407 readonly asCreate2: {1408 readonly source: H160;1409 readonly init: Bytes;1410 readonly salt: H256;1411 readonly value: U256;1412 readonly gasLimit: u64;1413 readonly maxFeePerGas: U256;1414 readonly maxPriorityFeePerGas: Option<U256>;1415 readonly nonce: Option<U256>;1416 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1417 } & Struct;1418 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1419}14201421/** @name PalletEvmCoderSubstrateError */1422export interface PalletEvmCoderSubstrateError extends Enum {1423 readonly isOutOfGas: boolean;1424 readonly isOutOfFund: boolean;1425 readonly type: 'OutOfGas' | 'OutOfFund';1426}14271428/** @name PalletEvmContractHelpersError */1429export interface PalletEvmContractHelpersError extends Enum {1430 readonly isNoPermission: boolean;1431 readonly isNoPendingSponsor: boolean;1432 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1433 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1434}14351436/** @name PalletEvmContractHelpersEvent */1437export interface PalletEvmContractHelpersEvent extends Enum {1438 readonly isContractSponsorSet: boolean;1439 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1440 readonly isContractSponsorshipConfirmed: boolean;1441 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1442 readonly isContractSponsorRemoved: boolean;1443 readonly asContractSponsorRemoved: H160;1444 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1445}14461447/** @name PalletEvmContractHelpersSponsoringModeT */1448export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1449 readonly isDisabled: boolean;1450 readonly isAllowlisted: boolean;1451 readonly isGenerous: boolean;1452 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1453}14541455/** @name PalletEvmError */1456export interface PalletEvmError extends Enum {1457 readonly isBalanceLow: boolean;1458 readonly isFeeOverflow: boolean;1459 readonly isPaymentOverflow: boolean;1460 readonly isWithdrawFailed: boolean;1461 readonly isGasPriceTooLow: boolean;1462 readonly isInvalidNonce: boolean;1463 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1464}14651466/** @name PalletEvmEvent */1467export interface PalletEvmEvent extends Enum {1468 readonly isLog: boolean;1469 readonly asLog: EthereumLog;1470 readonly isCreated: boolean;1471 readonly asCreated: H160;1472 readonly isCreatedFailed: boolean;1473 readonly asCreatedFailed: H160;1474 readonly isExecuted: boolean;1475 readonly asExecuted: H160;1476 readonly isExecutedFailed: boolean;1477 readonly asExecutedFailed: H160;1478 readonly isBalanceDeposit: boolean;1479 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1480 readonly isBalanceWithdraw: boolean;1481 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1482 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1483}14841485/** @name PalletEvmMigrationCall */1486export interface PalletEvmMigrationCall extends Enum {1487 readonly isBegin: boolean;1488 readonly asBegin: {1489 readonly address: H160;1490 } & Struct;1491 readonly isSetData: boolean;1492 readonly asSetData: {1493 readonly address: H160;1494 readonly data: Vec<ITuple<[H256, H256]>>;1495 } & Struct;1496 readonly isFinish: boolean;1497 readonly asFinish: {1498 readonly address: H160;1499 readonly code: Bytes;1500 } & Struct;1501 readonly type: 'Begin' | 'SetData' | 'Finish';1502}15031504/** @name PalletEvmMigrationError */1505export interface PalletEvmMigrationError extends Enum {1506 readonly isAccountNotEmpty: boolean;1507 readonly isAccountIsNotMigrating: boolean;1508 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1509}15101511/** @name PalletForeignAssetsAssetIds */1512export interface PalletForeignAssetsAssetIds extends Enum {1513 readonly isForeignAssetId: boolean;1514 readonly asForeignAssetId: u32;1515 readonly isNativeAssetId: boolean;1516 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1517 readonly type: 'ForeignAssetId' | 'NativeAssetId';1518}15191520/** @name PalletForeignAssetsModuleAssetMetadata */1521export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1522 readonly name: Bytes;1523 readonly symbol: Bytes;1524 readonly decimals: u8;1525 readonly minimalBalance: u128;1526}15271528/** @name PalletForeignAssetsModuleCall */1529export interface PalletForeignAssetsModuleCall extends Enum {1530 readonly isRegisterForeignAsset: boolean;1531 readonly asRegisterForeignAsset: {1532 readonly owner: AccountId32;1533 readonly location: XcmVersionedMultiLocation;1534 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1535 } & Struct;1536 readonly isUpdateForeignAsset: boolean;1537 readonly asUpdateForeignAsset: {1538 readonly foreignAssetId: u32;1539 readonly location: XcmVersionedMultiLocation;1540 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1541 } & Struct;1542 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1543}15441545/** @name PalletForeignAssetsModuleError */1546export interface PalletForeignAssetsModuleError extends Enum {1547 readonly isBadLocation: boolean;1548 readonly isMultiLocationExisted: boolean;1549 readonly isAssetIdNotExists: boolean;1550 readonly isAssetIdExisted: boolean;1551 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1552}15531554/** @name PalletForeignAssetsModuleEvent */1555export interface PalletForeignAssetsModuleEvent extends Enum {1556 readonly isForeignAssetRegistered: boolean;1557 readonly asForeignAssetRegistered: {1558 readonly assetId: u32;1559 readonly assetAddress: XcmV1MultiLocation;1560 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1561 } & Struct;1562 readonly isForeignAssetUpdated: boolean;1563 readonly asForeignAssetUpdated: {1564 readonly assetId: u32;1565 readonly assetAddress: XcmV1MultiLocation;1566 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1567 } & Struct;1568 readonly isAssetRegistered: boolean;1569 readonly asAssetRegistered: {1570 readonly assetId: PalletForeignAssetsAssetIds;1571 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1572 } & Struct;1573 readonly isAssetUpdated: boolean;1574 readonly asAssetUpdated: {1575 readonly assetId: PalletForeignAssetsAssetIds;1576 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1577 } & Struct;1578 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1579}15801581/** @name PalletForeignAssetsNativeCurrency */1582export interface PalletForeignAssetsNativeCurrency extends Enum {1583 readonly isHere: boolean;1584 readonly isParent: boolean;1585 readonly type: 'Here' | 'Parent';1586}15871588/** @name PalletFungibleError */1589export interface PalletFungibleError extends Enum {1590 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1591 readonly isFungibleItemsHaveNoId: boolean;1592 readonly isFungibleItemsDontHaveData: boolean;1593 readonly isFungibleDisallowsNesting: boolean;1594 readonly isSettingPropertiesNotAllowed: boolean;1595 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1596}15971598/** @name PalletInflationCall */1599export interface PalletInflationCall extends Enum {1600 readonly isStartInflation: boolean;1601 readonly asStartInflation: {1602 readonly inflationStartRelayBlock: u32;1603 } & Struct;1604 readonly type: 'StartInflation';1605}16061607/** @name PalletNonfungibleError */1608export interface PalletNonfungibleError extends Enum {1609 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1610 readonly isNonfungibleItemsHaveNoAmount: boolean;1611 readonly isCantBurnNftWithChildren: boolean;1612 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1613}16141615/** @name PalletNonfungibleItemData */1616export interface PalletNonfungibleItemData extends Struct {1617 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1618}16191620/** @name PalletRefungibleError */1621export interface PalletRefungibleError extends Enum {1622 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1623 readonly isWrongRefungiblePieces: boolean;1624 readonly isRepartitionWhileNotOwningAllPieces: boolean;1625 readonly isRefungibleDisallowsNesting: boolean;1626 readonly isSettingPropertiesNotAllowed: boolean;1627 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1628}16291630/** @name PalletRefungibleItemData */1631export interface PalletRefungibleItemData extends Struct {1632 readonly constData: Bytes;1633}16341635/** @name PalletRmrkCoreCall */1636export interface PalletRmrkCoreCall extends Enum {1637 readonly isCreateCollection: boolean;1638 readonly asCreateCollection: {1639 readonly metadata: Bytes;1640 readonly max: Option<u32>;1641 readonly symbol: Bytes;1642 } & Struct;1643 readonly isDestroyCollection: boolean;1644 readonly asDestroyCollection: {1645 readonly collectionId: u32;1646 } & Struct;1647 readonly isChangeCollectionIssuer: boolean;1648 readonly asChangeCollectionIssuer: {1649 readonly collectionId: u32;1650 readonly newIssuer: MultiAddress;1651 } & Struct;1652 readonly isLockCollection: boolean;1653 readonly asLockCollection: {1654 readonly collectionId: u32;1655 } & Struct;1656 readonly isMintNft: boolean;1657 readonly asMintNft: {1658 readonly owner: Option<AccountId32>;1659 readonly collectionId: u32;1660 readonly recipient: Option<AccountId32>;1661 readonly royaltyAmount: Option<Permill>;1662 readonly metadata: Bytes;1663 readonly transferable: bool;1664 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1665 } & Struct;1666 readonly isBurnNft: boolean;1667 readonly asBurnNft: {1668 readonly collectionId: u32;1669 readonly nftId: u32;1670 readonly maxBurns: u32;1671 } & Struct;1672 readonly isSend: boolean;1673 readonly asSend: {1674 readonly rmrkCollectionId: u32;1675 readonly rmrkNftId: u32;1676 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1677 } & Struct;1678 readonly isAcceptNft: boolean;1679 readonly asAcceptNft: {1680 readonly rmrkCollectionId: u32;1681 readonly rmrkNftId: u32;1682 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1683 } & Struct;1684 readonly isRejectNft: boolean;1685 readonly asRejectNft: {1686 readonly rmrkCollectionId: u32;1687 readonly rmrkNftId: u32;1688 } & Struct;1689 readonly isAcceptResource: boolean;1690 readonly asAcceptResource: {1691 readonly rmrkCollectionId: u32;1692 readonly rmrkNftId: u32;1693 readonly resourceId: u32;1694 } & Struct;1695 readonly isAcceptResourceRemoval: boolean;1696 readonly asAcceptResourceRemoval: {1697 readonly rmrkCollectionId: u32;1698 readonly rmrkNftId: u32;1699 readonly resourceId: u32;1700 } & Struct;1701 readonly isSetProperty: boolean;1702 readonly asSetProperty: {1703 readonly rmrkCollectionId: Compact<u32>;1704 readonly maybeNftId: Option<u32>;1705 readonly key: Bytes;1706 readonly value: Bytes;1707 } & Struct;1708 readonly isSetPriority: boolean;1709 readonly asSetPriority: {1710 readonly rmrkCollectionId: u32;1711 readonly rmrkNftId: u32;1712 readonly priorities: Vec<u32>;1713 } & Struct;1714 readonly isAddBasicResource: boolean;1715 readonly asAddBasicResource: {1716 readonly rmrkCollectionId: u32;1717 readonly nftId: u32;1718 readonly resource: RmrkTraitsResourceBasicResource;1719 } & Struct;1720 readonly isAddComposableResource: boolean;1721 readonly asAddComposableResource: {1722 readonly rmrkCollectionId: u32;1723 readonly nftId: u32;1724 readonly resource: RmrkTraitsResourceComposableResource;1725 } & Struct;1726 readonly isAddSlotResource: boolean;1727 readonly asAddSlotResource: {1728 readonly rmrkCollectionId: u32;1729 readonly nftId: u32;1730 readonly resource: RmrkTraitsResourceSlotResource;1731 } & Struct;1732 readonly isRemoveResource: boolean;1733 readonly asRemoveResource: {1734 readonly rmrkCollectionId: u32;1735 readonly nftId: u32;1736 readonly resourceId: u32;1737 } & Struct;1738 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1739}17401741/** @name PalletRmrkCoreError */1742export interface PalletRmrkCoreError extends Enum {1743 readonly isCorruptedCollectionType: boolean;1744 readonly isRmrkPropertyKeyIsTooLong: boolean;1745 readonly isRmrkPropertyValueIsTooLong: boolean;1746 readonly isRmrkPropertyIsNotFound: boolean;1747 readonly isUnableToDecodeRmrkData: boolean;1748 readonly isCollectionNotEmpty: boolean;1749 readonly isNoAvailableCollectionId: boolean;1750 readonly isNoAvailableNftId: boolean;1751 readonly isCollectionUnknown: boolean;1752 readonly isNoPermission: boolean;1753 readonly isNonTransferable: boolean;1754 readonly isCollectionFullOrLocked: boolean;1755 readonly isResourceDoesntExist: boolean;1756 readonly isCannotSendToDescendentOrSelf: boolean;1757 readonly isCannotAcceptNonOwnedNft: boolean;1758 readonly isCannotRejectNonOwnedNft: boolean;1759 readonly isCannotRejectNonPendingNft: boolean;1760 readonly isResourceNotPending: boolean;1761 readonly isNoAvailableResourceId: boolean;1762 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1763}17641765/** @name PalletRmrkCoreEvent */1766export interface PalletRmrkCoreEvent extends Enum {1767 readonly isCollectionCreated: boolean;1768 readonly asCollectionCreated: {1769 readonly issuer: AccountId32;1770 readonly collectionId: u32;1771 } & Struct;1772 readonly isCollectionDestroyed: boolean;1773 readonly asCollectionDestroyed: {1774 readonly issuer: AccountId32;1775 readonly collectionId: u32;1776 } & Struct;1777 readonly isIssuerChanged: boolean;1778 readonly asIssuerChanged: {1779 readonly oldIssuer: AccountId32;1780 readonly newIssuer: AccountId32;1781 readonly collectionId: u32;1782 } & Struct;1783 readonly isCollectionLocked: boolean;1784 readonly asCollectionLocked: {1785 readonly issuer: AccountId32;1786 readonly collectionId: u32;1787 } & Struct;1788 readonly isNftMinted: boolean;1789 readonly asNftMinted: {1790 readonly owner: AccountId32;1791 readonly collectionId: u32;1792 readonly nftId: u32;1793 } & Struct;1794 readonly isNftBurned: boolean;1795 readonly asNftBurned: {1796 readonly owner: AccountId32;1797 readonly nftId: u32;1798 } & Struct;1799 readonly isNftSent: boolean;1800 readonly asNftSent: {1801 readonly sender: AccountId32;1802 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1803 readonly collectionId: u32;1804 readonly nftId: u32;1805 readonly approvalRequired: bool;1806 } & Struct;1807 readonly isNftAccepted: boolean;1808 readonly asNftAccepted: {1809 readonly sender: AccountId32;1810 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1811 readonly collectionId: u32;1812 readonly nftId: u32;1813 } & Struct;1814 readonly isNftRejected: boolean;1815 readonly asNftRejected: {1816 readonly sender: AccountId32;1817 readonly collectionId: u32;1818 readonly nftId: u32;1819 } & Struct;1820 readonly isPropertySet: boolean;1821 readonly asPropertySet: {1822 readonly collectionId: u32;1823 readonly maybeNftId: Option<u32>;1824 readonly key: Bytes;1825 readonly value: Bytes;1826 } & Struct;1827 readonly isResourceAdded: boolean;1828 readonly asResourceAdded: {1829 readonly nftId: u32;1830 readonly resourceId: u32;1831 } & Struct;1832 readonly isResourceRemoval: boolean;1833 readonly asResourceRemoval: {1834 readonly nftId: u32;1835 readonly resourceId: u32;1836 } & Struct;1837 readonly isResourceAccepted: boolean;1838 readonly asResourceAccepted: {1839 readonly nftId: u32;1840 readonly resourceId: u32;1841 } & Struct;1842 readonly isResourceRemovalAccepted: boolean;1843 readonly asResourceRemovalAccepted: {1844 readonly nftId: u32;1845 readonly resourceId: u32;1846 } & Struct;1847 readonly isPrioritySet: boolean;1848 readonly asPrioritySet: {1849 readonly collectionId: u32;1850 readonly nftId: u32;1851 } & Struct;1852 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1853}18541855/** @name PalletRmrkEquipCall */1856export interface PalletRmrkEquipCall extends Enum {1857 readonly isCreateBase: boolean;1858 readonly asCreateBase: {1859 readonly baseType: Bytes;1860 readonly symbol: Bytes;1861 readonly parts: Vec<RmrkTraitsPartPartType>;1862 } & Struct;1863 readonly isThemeAdd: boolean;1864 readonly asThemeAdd: {1865 readonly baseId: u32;1866 readonly theme: RmrkTraitsTheme;1867 } & Struct;1868 readonly isEquippable: boolean;1869 readonly asEquippable: {1870 readonly baseId: u32;1871 readonly slotId: u32;1872 readonly equippables: RmrkTraitsPartEquippableList;1873 } & Struct;1874 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1875}18761877/** @name PalletRmrkEquipError */1878export interface PalletRmrkEquipError extends Enum {1879 readonly isPermissionError: boolean;1880 readonly isNoAvailableBaseId: boolean;1881 readonly isNoAvailablePartId: boolean;1882 readonly isBaseDoesntExist: boolean;1883 readonly isNeedsDefaultThemeFirst: boolean;1884 readonly isPartDoesntExist: boolean;1885 readonly isNoEquippableOnFixedPart: boolean;1886 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1887}18881889/** @name PalletRmrkEquipEvent */1890export interface PalletRmrkEquipEvent extends Enum {1891 readonly isBaseCreated: boolean;1892 readonly asBaseCreated: {1893 readonly issuer: AccountId32;1894 readonly baseId: u32;1895 } & Struct;1896 readonly isEquippablesUpdated: boolean;1897 readonly asEquippablesUpdated: {1898 readonly baseId: u32;1899 readonly slotId: u32;1900 } & Struct;1901 readonly type: 'BaseCreated' | 'EquippablesUpdated';1902}19031904/** @name PalletStructureCall */1905export interface PalletStructureCall extends Null {}19061907/** @name PalletStructureError */1908export interface PalletStructureError extends Enum {1909 readonly isOuroborosDetected: boolean;1910 readonly isDepthLimit: boolean;1911 readonly isBreadthLimit: boolean;1912 readonly isTokenNotFound: boolean;1913 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1914}19151916/** @name PalletStructureEvent */1917export interface PalletStructureEvent extends Enum {1918 readonly isExecuted: boolean;1919 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1920 readonly type: 'Executed';1921}19221923/** @name PalletSudoCall */1924export interface PalletSudoCall extends Enum {1925 readonly isSudo: boolean;1926 readonly asSudo: {1927 readonly call: Call;1928 } & Struct;1929 readonly isSudoUncheckedWeight: boolean;1930 readonly asSudoUncheckedWeight: {1931 readonly call: Call;1932 readonly weight: u64;1933 } & Struct;1934 readonly isSetKey: boolean;1935 readonly asSetKey: {1936 readonly new_: MultiAddress;1937 } & Struct;1938 readonly isSudoAs: boolean;1939 readonly asSudoAs: {1940 readonly who: MultiAddress;1941 readonly call: Call;1942 } & Struct;1943 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1944}19451946/** @name PalletSudoError */1947export interface PalletSudoError extends Enum {1948 readonly isRequireSudo: boolean;1949 readonly type: 'RequireSudo';1950}19511952/** @name PalletSudoEvent */1953export interface PalletSudoEvent extends Enum {1954 readonly isSudid: boolean;1955 readonly asSudid: {1956 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1957 } & Struct;1958 readonly isKeyChanged: boolean;1959 readonly asKeyChanged: {1960 readonly oldSudoer: Option<AccountId32>;1961 } & Struct;1962 readonly isSudoAsDone: boolean;1963 readonly asSudoAsDone: {1964 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1965 } & Struct;1966 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1967}19681969/** @name PalletTemplateTransactionPaymentCall */1970export interface PalletTemplateTransactionPaymentCall extends Null {}19711972/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1973export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}19741975/** @name PalletTimestampCall */1976export interface PalletTimestampCall extends Enum {1977 readonly isSet: boolean;1978 readonly asSet: {1979 readonly now: Compact<u64>;1980 } & Struct;1981 readonly type: 'Set';1982}19831984/** @name PalletTransactionPaymentEvent */1985export interface PalletTransactionPaymentEvent extends Enum {1986 readonly isTransactionFeePaid: boolean;1987 readonly asTransactionFeePaid: {1988 readonly who: AccountId32;1989 readonly actualFee: u128;1990 readonly tip: u128;1991 } & Struct;1992 readonly type: 'TransactionFeePaid';1993}19941995/** @name PalletTransactionPaymentReleases */1996export interface PalletTransactionPaymentReleases extends Enum {1997 readonly isV1Ancient: boolean;1998 readonly isV2: boolean;1999 readonly type: 'V1Ancient' | 'V2';2000}20012002/** @name PalletTreasuryCall */2003export interface PalletTreasuryCall extends Enum {2004 readonly isProposeSpend: boolean;2005 readonly asProposeSpend: {2006 readonly value: Compact<u128>;2007 readonly beneficiary: MultiAddress;2008 } & Struct;2009 readonly isRejectProposal: boolean;2010 readonly asRejectProposal: {2011 readonly proposalId: Compact<u32>;2012 } & Struct;2013 readonly isApproveProposal: boolean;2014 readonly asApproveProposal: {2015 readonly proposalId: Compact<u32>;2016 } & Struct;2017 readonly isSpend: boolean;2018 readonly asSpend: {2019 readonly amount: Compact<u128>;2020 readonly beneficiary: MultiAddress;2021 } & Struct;2022 readonly isRemoveApproval: boolean;2023 readonly asRemoveApproval: {2024 readonly proposalId: Compact<u32>;2025 } & Struct;2026 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2027}20282029/** @name PalletTreasuryError */2030export interface PalletTreasuryError extends Enum {2031 readonly isInsufficientProposersBalance: boolean;2032 readonly isInvalidIndex: boolean;2033 readonly isTooManyApprovals: boolean;2034 readonly isInsufficientPermission: boolean;2035 readonly isProposalNotApproved: boolean;2036 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2037}20382039/** @name PalletTreasuryEvent */2040export interface PalletTreasuryEvent extends Enum {2041 readonly isProposed: boolean;2042 readonly asProposed: {2043 readonly proposalIndex: u32;2044 } & Struct;2045 readonly isSpending: boolean;2046 readonly asSpending: {2047 readonly budgetRemaining: u128;2048 } & Struct;2049 readonly isAwarded: boolean;2050 readonly asAwarded: {2051 readonly proposalIndex: u32;2052 readonly award: u128;2053 readonly account: AccountId32;2054 } & Struct;2055 readonly isRejected: boolean;2056 readonly asRejected: {2057 readonly proposalIndex: u32;2058 readonly slashed: u128;2059 } & Struct;2060 readonly isBurnt: boolean;2061 readonly asBurnt: {2062 readonly burntFunds: u128;2063 } & Struct;2064 readonly isRollover: boolean;2065 readonly asRollover: {2066 readonly rolloverBalance: u128;2067 } & Struct;2068 readonly isDeposit: boolean;2069 readonly asDeposit: {2070 readonly value: u128;2071 } & Struct;2072 readonly isSpendApproved: boolean;2073 readonly asSpendApproved: {2074 readonly proposalIndex: u32;2075 readonly amount: u128;2076 readonly beneficiary: AccountId32;2077 } & Struct;2078 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2079}20802081/** @name PalletTreasuryProposal */2082export interface PalletTreasuryProposal extends Struct {2083 readonly proposer: AccountId32;2084 readonly value: u128;2085 readonly beneficiary: AccountId32;2086 readonly bond: u128;2087}20882089/** @name PalletUniqueCall */2090export interface PalletUniqueCall extends Enum {2091 readonly isCreateCollection: boolean;2092 readonly asCreateCollection: {2093 readonly collectionName: Vec<u16>;2094 readonly collectionDescription: Vec<u16>;2095 readonly tokenPrefix: Bytes;2096 readonly mode: UpDataStructsCollectionMode;2097 } & Struct;2098 readonly isCreateCollectionEx: boolean;2099 readonly asCreateCollectionEx: {2100 readonly data: UpDataStructsCreateCollectionData;2101 } & Struct;2102 readonly isDestroyCollection: boolean;2103 readonly asDestroyCollection: {2104 readonly collectionId: u32;2105 } & Struct;2106 readonly isAddToAllowList: boolean;2107 readonly asAddToAllowList: {2108 readonly collectionId: u32;2109 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2110 } & Struct;2111 readonly isRemoveFromAllowList: boolean;2112 readonly asRemoveFromAllowList: {2113 readonly collectionId: u32;2114 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2115 } & Struct;2116 readonly isChangeCollectionOwner: boolean;2117 readonly asChangeCollectionOwner: {2118 readonly collectionId: u32;2119 readonly newOwner: AccountId32;2120 } & Struct;2121 readonly isAddCollectionAdmin: boolean;2122 readonly asAddCollectionAdmin: {2123 readonly collectionId: u32;2124 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2125 } & Struct;2126 readonly isRemoveCollectionAdmin: boolean;2127 readonly asRemoveCollectionAdmin: {2128 readonly collectionId: u32;2129 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2130 } & Struct;2131 readonly isSetCollectionSponsor: boolean;2132 readonly asSetCollectionSponsor: {2133 readonly collectionId: u32;2134 readonly newSponsor: AccountId32;2135 } & Struct;2136 readonly isConfirmSponsorship: boolean;2137 readonly asConfirmSponsorship: {2138 readonly collectionId: u32;2139 } & Struct;2140 readonly isRemoveCollectionSponsor: boolean;2141 readonly asRemoveCollectionSponsor: {2142 readonly collectionId: u32;2143 } & Struct;2144 readonly isCreateItem: boolean;2145 readonly asCreateItem: {2146 readonly collectionId: u32;2147 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2148 readonly data: UpDataStructsCreateItemData;2149 } & Struct;2150 readonly isCreateMultipleItems: boolean;2151 readonly asCreateMultipleItems: {2152 readonly collectionId: u32;2153 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2154 readonly itemsData: Vec<UpDataStructsCreateItemData>;2155 } & Struct;2156 readonly isSetCollectionProperties: boolean;2157 readonly asSetCollectionProperties: {2158 readonly collectionId: u32;2159 readonly properties: Vec<UpDataStructsProperty>;2160 } & Struct;2161 readonly isDeleteCollectionProperties: boolean;2162 readonly asDeleteCollectionProperties: {2163 readonly collectionId: u32;2164 readonly propertyKeys: Vec<Bytes>;2165 } & Struct;2166 readonly isSetTokenProperties: boolean;2167 readonly asSetTokenProperties: {2168 readonly collectionId: u32;2169 readonly tokenId: u32;2170 readonly properties: Vec<UpDataStructsProperty>;2171 } & Struct;2172 readonly isDeleteTokenProperties: boolean;2173 readonly asDeleteTokenProperties: {2174 readonly collectionId: u32;2175 readonly tokenId: u32;2176 readonly propertyKeys: Vec<Bytes>;2177 } & Struct;2178 readonly isSetTokenPropertyPermissions: boolean;2179 readonly asSetTokenPropertyPermissions: {2180 readonly collectionId: u32;2181 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2182 } & Struct;2183 readonly isCreateMultipleItemsEx: boolean;2184 readonly asCreateMultipleItemsEx: {2185 readonly collectionId: u32;2186 readonly data: UpDataStructsCreateItemExData;2187 } & Struct;2188 readonly isSetTransfersEnabledFlag: boolean;2189 readonly asSetTransfersEnabledFlag: {2190 readonly collectionId: u32;2191 readonly value: bool;2192 } & Struct;2193 readonly isBurnItem: boolean;2194 readonly asBurnItem: {2195 readonly collectionId: u32;2196 readonly itemId: u32;2197 readonly value: u128;2198 } & Struct;2199 readonly isBurnFrom: boolean;2200 readonly asBurnFrom: {2201 readonly collectionId: u32;2202 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2203 readonly itemId: u32;2204 readonly value: u128;2205 } & Struct;2206 readonly isTransfer: boolean;2207 readonly asTransfer: {2208 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2209 readonly collectionId: u32;2210 readonly itemId: u32;2211 readonly value: u128;2212 } & Struct;2213 readonly isApprove: boolean;2214 readonly asApprove: {2215 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2216 readonly collectionId: u32;2217 readonly itemId: u32;2218 readonly amount: u128;2219 } & Struct;2220 readonly isTransferFrom: boolean;2221 readonly asTransferFrom: {2222 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2223 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2224 readonly collectionId: u32;2225 readonly itemId: u32;2226 readonly value: u128;2227 } & Struct;2228 readonly isSetCollectionLimits: boolean;2229 readonly asSetCollectionLimits: {2230 readonly collectionId: u32;2231 readonly newLimit: UpDataStructsCollectionLimits;2232 } & Struct;2233 readonly isSetCollectionPermissions: boolean;2234 readonly asSetCollectionPermissions: {2235 readonly collectionId: u32;2236 readonly newPermission: UpDataStructsCollectionPermissions;2237 } & Struct;2238 readonly isRepartition: boolean;2239 readonly asRepartition: {2240 readonly collectionId: u32;2241 readonly tokenId: u32;2242 readonly amount: u128;2243 } & Struct;2244 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';2245}22462247/** @name PalletUniqueError */2248export interface PalletUniqueError extends Enum {2249 readonly isCollectionDecimalPointLimitExceeded: boolean;2250 readonly isConfirmUnsetSponsorFail: boolean;2251 readonly isEmptyArgument: boolean;2252 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2253 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2254}22552256/** @name PalletUniqueRawEvent */2257export interface PalletUniqueRawEvent extends Enum {2258 readonly isCollectionSponsorRemoved: boolean;2259 readonly asCollectionSponsorRemoved: u32;2260 readonly isCollectionAdminAdded: boolean;2261 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2262 readonly isCollectionOwnedChanged: boolean;2263 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2264 readonly isCollectionSponsorSet: boolean;2265 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2266 readonly isSponsorshipConfirmed: boolean;2267 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2268 readonly isCollectionAdminRemoved: boolean;2269 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2270 readonly isAllowListAddressRemoved: boolean;2271 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2272 readonly isAllowListAddressAdded: boolean;2273 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2274 readonly isCollectionLimitSet: boolean;2275 readonly asCollectionLimitSet: u32;2276 readonly isCollectionPermissionSet: boolean;2277 readonly asCollectionPermissionSet: u32;2278 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2279}22802281/** @name PalletUniqueSchedulerCall */2282export interface PalletUniqueSchedulerCall extends Enum {2283 readonly isScheduleNamed: boolean;2284 readonly asScheduleNamed: {2285 readonly id: U8aFixed;2286 readonly when: u32;2287 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2288 readonly priority: u8;2289 readonly call: FrameSupportScheduleMaybeHashed;2290 } & Struct;2291 readonly isCancelNamed: boolean;2292 readonly asCancelNamed: {2293 readonly id: U8aFixed;2294 } & Struct;2295 readonly isScheduleNamedAfter: boolean;2296 readonly asScheduleNamedAfter: {2297 readonly id: U8aFixed;2298 readonly after: u32;2299 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2300 readonly priority: u8;2301 readonly call: FrameSupportScheduleMaybeHashed;2302 } & Struct;2303 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2304}23052306/** @name PalletUniqueSchedulerError */2307export interface PalletUniqueSchedulerError extends Enum {2308 readonly isFailedToSchedule: boolean;2309 readonly isNotFound: boolean;2310 readonly isTargetBlockNumberInPast: boolean;2311 readonly isRescheduleNoChange: boolean;2312 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2313}23142315/** @name PalletUniqueSchedulerEvent */2316export interface PalletUniqueSchedulerEvent extends Enum {2317 readonly isScheduled: boolean;2318 readonly asScheduled: {2319 readonly when: u32;2320 readonly index: u32;2321 } & Struct;2322 readonly isCanceled: boolean;2323 readonly asCanceled: {2324 readonly when: u32;2325 readonly index: u32;2326 } & Struct;2327 readonly isDispatched: boolean;2328 readonly asDispatched: {2329 readonly task: ITuple<[u32, u32]>;2330 readonly id: Option<U8aFixed>;2331 readonly result: Result<Null, SpRuntimeDispatchError>;2332 } & Struct;2333 readonly isCallLookupFailed: boolean;2334 readonly asCallLookupFailed: {2335 readonly task: ITuple<[u32, u32]>;2336 readonly id: Option<U8aFixed>;2337 readonly error: FrameSupportScheduleLookupError;2338 } & Struct;2339 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2340}23412342/** @name PalletUniqueSchedulerScheduledV3 */2343export interface PalletUniqueSchedulerScheduledV3 extends Struct {2344 readonly maybeId: Option<U8aFixed>;2345 readonly priority: u8;2346 readonly call: FrameSupportScheduleMaybeHashed;2347 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2348 readonly origin: OpalRuntimeOriginCaller;2349}23502351/** @name PalletXcmCall */2352export interface PalletXcmCall extends Enum {2353 readonly isSend: boolean;2354 readonly asSend: {2355 readonly dest: XcmVersionedMultiLocation;2356 readonly message: XcmVersionedXcm;2357 } & Struct;2358 readonly isTeleportAssets: boolean;2359 readonly asTeleportAssets: {2360 readonly dest: XcmVersionedMultiLocation;2361 readonly beneficiary: XcmVersionedMultiLocation;2362 readonly assets: XcmVersionedMultiAssets;2363 readonly feeAssetItem: u32;2364 } & Struct;2365 readonly isReserveTransferAssets: boolean;2366 readonly asReserveTransferAssets: {2367 readonly dest: XcmVersionedMultiLocation;2368 readonly beneficiary: XcmVersionedMultiLocation;2369 readonly assets: XcmVersionedMultiAssets;2370 readonly feeAssetItem: u32;2371 } & Struct;2372 readonly isExecute: boolean;2373 readonly asExecute: {2374 readonly message: XcmVersionedXcm;2375 readonly maxWeight: u64;2376 } & Struct;2377 readonly isForceXcmVersion: boolean;2378 readonly asForceXcmVersion: {2379 readonly location: XcmV1MultiLocation;2380 readonly xcmVersion: u32;2381 } & Struct;2382 readonly isForceDefaultXcmVersion: boolean;2383 readonly asForceDefaultXcmVersion: {2384 readonly maybeXcmVersion: Option<u32>;2385 } & Struct;2386 readonly isForceSubscribeVersionNotify: boolean;2387 readonly asForceSubscribeVersionNotify: {2388 readonly location: XcmVersionedMultiLocation;2389 } & Struct;2390 readonly isForceUnsubscribeVersionNotify: boolean;2391 readonly asForceUnsubscribeVersionNotify: {2392 readonly location: XcmVersionedMultiLocation;2393 } & Struct;2394 readonly isLimitedReserveTransferAssets: boolean;2395 readonly asLimitedReserveTransferAssets: {2396 readonly dest: XcmVersionedMultiLocation;2397 readonly beneficiary: XcmVersionedMultiLocation;2398 readonly assets: XcmVersionedMultiAssets;2399 readonly feeAssetItem: u32;2400 readonly weightLimit: XcmV2WeightLimit;2401 } & Struct;2402 readonly isLimitedTeleportAssets: boolean;2403 readonly asLimitedTeleportAssets: {2404 readonly dest: XcmVersionedMultiLocation;2405 readonly beneficiary: XcmVersionedMultiLocation;2406 readonly assets: XcmVersionedMultiAssets;2407 readonly feeAssetItem: u32;2408 readonly weightLimit: XcmV2WeightLimit;2409 } & Struct;2410 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2411}24122413/** @name PalletXcmError */2414export interface PalletXcmError extends Enum {2415 readonly isUnreachable: boolean;2416 readonly isSendFailure: boolean;2417 readonly isFiltered: boolean;2418 readonly isUnweighableMessage: boolean;2419 readonly isDestinationNotInvertible: boolean;2420 readonly isEmpty: boolean;2421 readonly isCannotReanchor: boolean;2422 readonly isTooManyAssets: boolean;2423 readonly isInvalidOrigin: boolean;2424 readonly isBadVersion: boolean;2425 readonly isBadLocation: boolean;2426 readonly isNoSubscription: boolean;2427 readonly isAlreadySubscribed: boolean;2428 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2429}24302431/** @name PalletXcmEvent */2432export interface PalletXcmEvent extends Enum {2433 readonly isAttempted: boolean;2434 readonly asAttempted: XcmV2TraitsOutcome;2435 readonly isSent: boolean;2436 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2437 readonly isUnexpectedResponse: boolean;2438 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2439 readonly isResponseReady: boolean;2440 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2441 readonly isNotified: boolean;2442 readonly asNotified: ITuple<[u64, u8, u8]>;2443 readonly isNotifyOverweight: boolean;2444 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2445 readonly isNotifyDispatchError: boolean;2446 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2447 readonly isNotifyDecodeFailed: boolean;2448 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2449 readonly isInvalidResponder: boolean;2450 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2451 readonly isInvalidResponderVersion: boolean;2452 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2453 readonly isResponseTaken: boolean;2454 readonly asResponseTaken: u64;2455 readonly isAssetsTrapped: boolean;2456 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2457 readonly isVersionChangeNotified: boolean;2458 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2459 readonly isSupportedVersionChanged: boolean;2460 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2461 readonly isNotifyTargetSendFail: boolean;2462 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2463 readonly isNotifyTargetMigrationFail: boolean;2464 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2465 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2466}24672468/** @name PalletXcmOrigin */2469export interface PalletXcmOrigin extends Enum {2470 readonly isXcm: boolean;2471 readonly asXcm: XcmV1MultiLocation;2472 readonly isResponse: boolean;2473 readonly asResponse: XcmV1MultiLocation;2474 readonly type: 'Xcm' | 'Response';2475}24762477/** @name PhantomTypeUpDataStructs */2478export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}24792480/** @name PolkadotCorePrimitivesInboundDownwardMessage */2481export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2482 readonly sentAt: u32;2483 readonly msg: Bytes;2484}24852486/** @name PolkadotCorePrimitivesInboundHrmpMessage */2487export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2488 readonly sentAt: u32;2489 readonly data: Bytes;2490}24912492/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2493export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2494 readonly recipient: u32;2495 readonly data: Bytes;2496}24972498/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2499export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2500 readonly isConcatenatedVersionedXcm: boolean;2501 readonly isConcatenatedEncodedBlob: boolean;2502 readonly isSignals: boolean;2503 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2504}25052506/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2507export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2508 readonly maxCodeSize: u32;2509 readonly maxHeadDataSize: u32;2510 readonly maxUpwardQueueCount: u32;2511 readonly maxUpwardQueueSize: u32;2512 readonly maxUpwardMessageSize: u32;2513 readonly maxUpwardMessageNumPerCandidate: u32;2514 readonly hrmpMaxMessageNumPerCandidate: u32;2515 readonly validationUpgradeCooldown: u32;2516 readonly validationUpgradeDelay: u32;2517}25182519/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2520export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2521 readonly maxCapacity: u32;2522 readonly maxTotalSize: u32;2523 readonly maxMessageSize: u32;2524 readonly msgCount: u32;2525 readonly totalSize: u32;2526 readonly mqcHead: Option<H256>;2527}25282529/** @name PolkadotPrimitivesV2PersistedValidationData */2530export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2531 readonly parentHead: Bytes;2532 readonly relayParentNumber: u32;2533 readonly relayParentStorageRoot: H256;2534 readonly maxPovSize: u32;2535}25362537/** @name PolkadotPrimitivesV2UpgradeRestriction */2538export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2539 readonly isPresent: boolean;2540 readonly type: 'Present';2541}25422543/** @name RmrkTraitsBaseBaseInfo */2544export interface RmrkTraitsBaseBaseInfo extends Struct {2545 readonly issuer: AccountId32;2546 readonly baseType: Bytes;2547 readonly symbol: Bytes;2548}25492550/** @name RmrkTraitsCollectionCollectionInfo */2551export interface RmrkTraitsCollectionCollectionInfo extends Struct {2552 readonly issuer: AccountId32;2553 readonly metadata: Bytes;2554 readonly max: Option<u32>;2555 readonly symbol: Bytes;2556 readonly nftsCount: u32;2557}25582559/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2560export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2561 readonly isAccountId: boolean;2562 readonly asAccountId: AccountId32;2563 readonly isCollectionAndNftTuple: boolean;2564 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2565 readonly type: 'AccountId' | 'CollectionAndNftTuple';2566}25672568/** @name RmrkTraitsNftNftChild */2569export interface RmrkTraitsNftNftChild extends Struct {2570 readonly collectionId: u32;2571 readonly nftId: u32;2572}25732574/** @name RmrkTraitsNftNftInfo */2575export interface RmrkTraitsNftNftInfo extends Struct {2576 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2577 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2578 readonly metadata: Bytes;2579 readonly equipped: bool;2580 readonly pending: bool;2581}25822583/** @name RmrkTraitsNftRoyaltyInfo */2584export interface RmrkTraitsNftRoyaltyInfo extends Struct {2585 readonly recipient: AccountId32;2586 readonly amount: Permill;2587}25882589/** @name RmrkTraitsPartEquippableList */2590export interface RmrkTraitsPartEquippableList extends Enum {2591 readonly isAll: boolean;2592 readonly isEmpty: boolean;2593 readonly isCustom: boolean;2594 readonly asCustom: Vec<u32>;2595 readonly type: 'All' | 'Empty' | 'Custom';2596}25972598/** @name RmrkTraitsPartFixedPart */2599export interface RmrkTraitsPartFixedPart extends Struct {2600 readonly id: u32;2601 readonly z: u32;2602 readonly src: Bytes;2603}26042605/** @name RmrkTraitsPartPartType */2606export interface RmrkTraitsPartPartType extends Enum {2607 readonly isFixedPart: boolean;2608 readonly asFixedPart: RmrkTraitsPartFixedPart;2609 readonly isSlotPart: boolean;2610 readonly asSlotPart: RmrkTraitsPartSlotPart;2611 readonly type: 'FixedPart' | 'SlotPart';2612}26132614/** @name RmrkTraitsPartSlotPart */2615export interface RmrkTraitsPartSlotPart extends Struct {2616 readonly id: u32;2617 readonly equippable: RmrkTraitsPartEquippableList;2618 readonly src: Bytes;2619 readonly z: u32;2620}26212622/** @name RmrkTraitsPropertyPropertyInfo */2623export interface RmrkTraitsPropertyPropertyInfo extends Struct {2624 readonly key: Bytes;2625 readonly value: Bytes;2626}26272628/** @name RmrkTraitsResourceBasicResource */2629export interface RmrkTraitsResourceBasicResource extends Struct {2630 readonly src: Option<Bytes>;2631 readonly metadata: Option<Bytes>;2632 readonly license: Option<Bytes>;2633 readonly thumb: Option<Bytes>;2634}26352636/** @name RmrkTraitsResourceComposableResource */2637export interface RmrkTraitsResourceComposableResource extends Struct {2638 readonly parts: Vec<u32>;2639 readonly base: u32;2640 readonly src: Option<Bytes>;2641 readonly metadata: Option<Bytes>;2642 readonly license: Option<Bytes>;2643 readonly thumb: Option<Bytes>;2644}26452646/** @name RmrkTraitsResourceResourceInfo */2647export interface RmrkTraitsResourceResourceInfo extends Struct {2648 readonly id: u32;2649 readonly resource: RmrkTraitsResourceResourceTypes;2650 readonly pending: bool;2651 readonly pendingRemoval: bool;2652}26532654/** @name RmrkTraitsResourceResourceTypes */2655export interface RmrkTraitsResourceResourceTypes extends Enum {2656 readonly isBasic: boolean;2657 readonly asBasic: RmrkTraitsResourceBasicResource;2658 readonly isComposable: boolean;2659 readonly asComposable: RmrkTraitsResourceComposableResource;2660 readonly isSlot: boolean;2661 readonly asSlot: RmrkTraitsResourceSlotResource;2662 readonly type: 'Basic' | 'Composable' | 'Slot';2663}26642665/** @name RmrkTraitsResourceSlotResource */2666export interface RmrkTraitsResourceSlotResource extends Struct {2667 readonly base: u32;2668 readonly src: Option<Bytes>;2669 readonly metadata: Option<Bytes>;2670 readonly slot: u32;2671 readonly license: Option<Bytes>;2672 readonly thumb: Option<Bytes>;2673}26742675/** @name RmrkTraitsTheme */2676export interface RmrkTraitsTheme extends Struct {2677 readonly name: Bytes;2678 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2679 readonly inherit: bool;2680}26812682/** @name RmrkTraitsThemeThemeProperty */2683export interface RmrkTraitsThemeThemeProperty extends Struct {2684 readonly key: Bytes;2685 readonly value: Bytes;2686}26872688/** @name SpCoreEcdsaSignature */2689export interface SpCoreEcdsaSignature extends U8aFixed {}26902691/** @name SpCoreEd25519Signature */2692export interface SpCoreEd25519Signature extends U8aFixed {}26932694/** @name SpCoreSr25519Signature */2695export interface SpCoreSr25519Signature extends U8aFixed {}26962697/** @name SpCoreVoid */2698export interface SpCoreVoid extends Null {}26992700/** @name SpRuntimeArithmeticError */2701export interface SpRuntimeArithmeticError extends Enum {2702 readonly isUnderflow: boolean;2703 readonly isOverflow: boolean;2704 readonly isDivisionByZero: boolean;2705 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2706}27072708/** @name SpRuntimeDigest */2709export interface SpRuntimeDigest extends Struct {2710 readonly logs: Vec<SpRuntimeDigestDigestItem>;2711}27122713/** @name SpRuntimeDigestDigestItem */2714export interface SpRuntimeDigestDigestItem extends Enum {2715 readonly isOther: boolean;2716 readonly asOther: Bytes;2717 readonly isConsensus: boolean;2718 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2719 readonly isSeal: boolean;2720 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2721 readonly isPreRuntime: boolean;2722 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2723 readonly isRuntimeEnvironmentUpdated: boolean;2724 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2725}27262727/** @name SpRuntimeDispatchError */2728export interface SpRuntimeDispatchError extends Enum {2729 readonly isOther: boolean;2730 readonly isCannotLookup: boolean;2731 readonly isBadOrigin: boolean;2732 readonly isModule: boolean;2733 readonly asModule: SpRuntimeModuleError;2734 readonly isConsumerRemaining: boolean;2735 readonly isNoProviders: boolean;2736 readonly isTooManyConsumers: boolean;2737 readonly isToken: boolean;2738 readonly asToken: SpRuntimeTokenError;2739 readonly isArithmetic: boolean;2740 readonly asArithmetic: SpRuntimeArithmeticError;2741 readonly isTransactional: boolean;2742 readonly asTransactional: SpRuntimeTransactionalError;2743 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2744}27452746/** @name SpRuntimeModuleError */2747export interface SpRuntimeModuleError extends Struct {2748 readonly index: u8;2749 readonly error: U8aFixed;2750}27512752/** @name SpRuntimeMultiSignature */2753export interface SpRuntimeMultiSignature extends Enum {2754 readonly isEd25519: boolean;2755 readonly asEd25519: SpCoreEd25519Signature;2756 readonly isSr25519: boolean;2757 readonly asSr25519: SpCoreSr25519Signature;2758 readonly isEcdsa: boolean;2759 readonly asEcdsa: SpCoreEcdsaSignature;2760 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2761}27622763/** @name SpRuntimeTokenError */2764export interface SpRuntimeTokenError extends Enum {2765 readonly isNoFunds: boolean;2766 readonly isWouldDie: boolean;2767 readonly isBelowMinimum: boolean;2768 readonly isCannotCreate: boolean;2769 readonly isUnknownAsset: boolean;2770 readonly isFrozen: boolean;2771 readonly isUnsupported: boolean;2772 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2773}27742775/** @name SpRuntimeTransactionalError */2776export interface SpRuntimeTransactionalError extends Enum {2777 readonly isLimitReached: boolean;2778 readonly isNoLayer: boolean;2779 readonly type: 'LimitReached' | 'NoLayer';2780}27812782/** @name SpTrieStorageProof */2783export interface SpTrieStorageProof extends Struct {2784 readonly trieNodes: BTreeSet<Bytes>;2785}27862787/** @name SpVersionRuntimeVersion */2788export interface SpVersionRuntimeVersion extends Struct {2789 readonly specName: Text;2790 readonly implName: Text;2791 readonly authoringVersion: u32;2792 readonly specVersion: u32;2793 readonly implVersion: u32;2794 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2795 readonly transactionVersion: u32;2796 readonly stateVersion: u8;2797}27982799/** @name UpDataStructsAccessMode */2800export interface UpDataStructsAccessMode extends Enum {2801 readonly isNormal: boolean;2802 readonly isAllowList: boolean;2803 readonly type: 'Normal' | 'AllowList';2804}28052806/** @name UpDataStructsCollection */2807export interface UpDataStructsCollection extends Struct {2808 readonly owner: AccountId32;2809 readonly mode: UpDataStructsCollectionMode;2810 readonly name: Vec<u16>;2811 readonly description: Vec<u16>;2812 readonly tokenPrefix: Bytes;2813 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2814 readonly limits: UpDataStructsCollectionLimits;2815 readonly permissions: UpDataStructsCollectionPermissions;2816 readonly flags: U8aFixed;2817}28182819/** @name UpDataStructsCollectionLimits */2820export interface UpDataStructsCollectionLimits extends Struct {2821 readonly accountTokenOwnershipLimit: Option<u32>;2822 readonly sponsoredDataSize: Option<u32>;2823 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2824 readonly tokenLimit: Option<u32>;2825 readonly sponsorTransferTimeout: Option<u32>;2826 readonly sponsorApproveTimeout: Option<u32>;2827 readonly ownerCanTransfer: Option<bool>;2828 readonly ownerCanDestroy: Option<bool>;2829 readonly transfersEnabled: Option<bool>;2830}28312832/** @name UpDataStructsCollectionMode */2833export interface UpDataStructsCollectionMode extends Enum {2834 readonly isNft: boolean;2835 readonly isFungible: boolean;2836 readonly asFungible: u8;2837 readonly isReFungible: boolean;2838 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2839}28402841/** @name UpDataStructsCollectionPermissions */2842export interface UpDataStructsCollectionPermissions extends Struct {2843 readonly access: Option<UpDataStructsAccessMode>;2844 readonly mintMode: Option<bool>;2845 readonly nesting: Option<UpDataStructsNestingPermissions>;2846}28472848/** @name UpDataStructsCollectionStats */2849export interface UpDataStructsCollectionStats extends Struct {2850 readonly created: u32;2851 readonly destroyed: u32;2852 readonly alive: u32;2853}28542855/** @name UpDataStructsCreateCollectionData */2856export interface UpDataStructsCreateCollectionData extends Struct {2857 readonly mode: UpDataStructsCollectionMode;2858 readonly access: Option<UpDataStructsAccessMode>;2859 readonly name: Vec<u16>;2860 readonly description: Vec<u16>;2861 readonly tokenPrefix: Bytes;2862 readonly pendingSponsor: Option<AccountId32>;2863 readonly limits: Option<UpDataStructsCollectionLimits>;2864 readonly permissions: Option<UpDataStructsCollectionPermissions>;2865 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2866 readonly properties: Vec<UpDataStructsProperty>;2867}28682869/** @name UpDataStructsCreateFungibleData */2870export interface UpDataStructsCreateFungibleData extends Struct {2871 readonly value: u128;2872}28732874/** @name UpDataStructsCreateItemData */2875export interface UpDataStructsCreateItemData extends Enum {2876 readonly isNft: boolean;2877 readonly asNft: UpDataStructsCreateNftData;2878 readonly isFungible: boolean;2879 readonly asFungible: UpDataStructsCreateFungibleData;2880 readonly isReFungible: boolean;2881 readonly asReFungible: UpDataStructsCreateReFungibleData;2882 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2883}28842885/** @name UpDataStructsCreateItemExData */2886export interface UpDataStructsCreateItemExData extends Enum {2887 readonly isNft: boolean;2888 readonly asNft: Vec<UpDataStructsCreateNftExData>;2889 readonly isFungible: boolean;2890 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2891 readonly isRefungibleMultipleItems: boolean;2892 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2893 readonly isRefungibleMultipleOwners: boolean;2894 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2895 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2896}28972898/** @name UpDataStructsCreateNftData */2899export interface UpDataStructsCreateNftData extends Struct {2900 readonly properties: Vec<UpDataStructsProperty>;2901}29022903/** @name UpDataStructsCreateNftExData */2904export interface UpDataStructsCreateNftExData extends Struct {2905 readonly properties: Vec<UpDataStructsProperty>;2906 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2907}29082909/** @name UpDataStructsCreateReFungibleData */2910export interface UpDataStructsCreateReFungibleData extends Struct {2911 readonly pieces: u128;2912 readonly properties: Vec<UpDataStructsProperty>;2913}29142915/** @name UpDataStructsCreateRefungibleExMultipleOwners */2916export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2917 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2918 readonly properties: Vec<UpDataStructsProperty>;2919}29202921/** @name UpDataStructsCreateRefungibleExSingleOwner */2922export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2923 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2924 readonly pieces: u128;2925 readonly properties: Vec<UpDataStructsProperty>;2926}29272928/** @name UpDataStructsNestingPermissions */2929export interface UpDataStructsNestingPermissions extends Struct {2930 readonly tokenOwner: bool;2931 readonly collectionAdmin: bool;2932 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2933}29342935/** @name UpDataStructsOwnerRestrictedSet */2936export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29372938/** @name UpDataStructsProperties */2939export interface UpDataStructsProperties extends Struct {2940 readonly map: UpDataStructsPropertiesMapBoundedVec;2941 readonly consumedSpace: u32;2942 readonly spaceLimit: u32;2943}29442945/** @name UpDataStructsPropertiesMapBoundedVec */2946export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29472948/** @name UpDataStructsPropertiesMapPropertyPermission */2949export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29502951/** @name UpDataStructsProperty */2952export interface UpDataStructsProperty extends Struct {2953 readonly key: Bytes;2954 readonly value: Bytes;2955}29562957/** @name UpDataStructsPropertyKeyPermission */2958export interface UpDataStructsPropertyKeyPermission extends Struct {2959 readonly key: Bytes;2960 readonly permission: UpDataStructsPropertyPermission;2961}29622963/** @name UpDataStructsPropertyPermission */2964export interface UpDataStructsPropertyPermission extends Struct {2965 readonly mutable: bool;2966 readonly collectionAdmin: bool;2967 readonly tokenOwner: bool;2968}29692970/** @name UpDataStructsPropertyScope */2971export interface UpDataStructsPropertyScope extends Enum {2972 readonly isNone: boolean;2973 readonly isRmrk: boolean;2974 readonly type: 'None' | 'Rmrk';2975}29762977/** @name UpDataStructsRpcCollection */2978export interface UpDataStructsRpcCollection extends Struct {2979 readonly owner: AccountId32;2980 readonly mode: UpDataStructsCollectionMode;2981 readonly name: Vec<u16>;2982 readonly description: Vec<u16>;2983 readonly tokenPrefix: Bytes;2984 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2985 readonly limits: UpDataStructsCollectionLimits;2986 readonly permissions: UpDataStructsCollectionPermissions;2987 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2988 readonly properties: Vec<UpDataStructsProperty>;2989 readonly readOnly: bool;2990 readonly foreign: bool;2991}29922993/** @name UpDataStructsSponsoringRateLimit */2994export interface UpDataStructsSponsoringRateLimit extends Enum {2995 readonly isSponsoringDisabled: boolean;2996 readonly isBlocks: boolean;2997 readonly asBlocks: u32;2998 readonly type: 'SponsoringDisabled' | 'Blocks';2999}30003001/** @name UpDataStructsSponsorshipStateAccountId32 */3002export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3003 readonly isDisabled: boolean;3004 readonly isUnconfirmed: boolean;3005 readonly asUnconfirmed: AccountId32;3006 readonly isConfirmed: boolean;3007 readonly asConfirmed: AccountId32;3008 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3009}30103011/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3012export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3013 readonly isDisabled: boolean;3014 readonly isUnconfirmed: boolean;3015 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3016 readonly isConfirmed: boolean;3017 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3018 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3019}30203021/** @name UpDataStructsTokenChild */3022export interface UpDataStructsTokenChild extends Struct {3023 readonly token: u32;3024 readonly collection: u32;3025}30263027/** @name UpDataStructsTokenData */3028export interface UpDataStructsTokenData extends Struct {3029 readonly properties: Vec<UpDataStructsProperty>;3030 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3031 readonly pieces: u128;3032}30333034/** @name XcmDoubleEncoded */3035export interface XcmDoubleEncoded extends Struct {3036 readonly encoded: Bytes;3037}30383039/** @name XcmV0Junction */3040export interface XcmV0Junction extends Enum {3041 readonly isParent: boolean;3042 readonly isParachain: boolean;3043 readonly asParachain: Compact<u32>;3044 readonly isAccountId32: boolean;3045 readonly asAccountId32: {3046 readonly network: XcmV0JunctionNetworkId;3047 readonly id: U8aFixed;3048 } & Struct;3049 readonly isAccountIndex64: boolean;3050 readonly asAccountIndex64: {3051 readonly network: XcmV0JunctionNetworkId;3052 readonly index: Compact<u64>;3053 } & Struct;3054 readonly isAccountKey20: boolean;3055 readonly asAccountKey20: {3056 readonly network: XcmV0JunctionNetworkId;3057 readonly key: U8aFixed;3058 } & Struct;3059 readonly isPalletInstance: boolean;3060 readonly asPalletInstance: u8;3061 readonly isGeneralIndex: boolean;3062 readonly asGeneralIndex: Compact<u128>;3063 readonly isGeneralKey: boolean;3064 readonly asGeneralKey: Bytes;3065 readonly isOnlyChild: boolean;3066 readonly isPlurality: boolean;3067 readonly asPlurality: {3068 readonly id: XcmV0JunctionBodyId;3069 readonly part: XcmV0JunctionBodyPart;3070 } & Struct;3071 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3072}30733074/** @name XcmV0JunctionBodyId */3075export interface XcmV0JunctionBodyId extends Enum {3076 readonly isUnit: boolean;3077 readonly isNamed: boolean;3078 readonly asNamed: Bytes;3079 readonly isIndex: boolean;3080 readonly asIndex: Compact<u32>;3081 readonly isExecutive: boolean;3082 readonly isTechnical: boolean;3083 readonly isLegislative: boolean;3084 readonly isJudicial: boolean;3085 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3086}30873088/** @name XcmV0JunctionBodyPart */3089export interface XcmV0JunctionBodyPart extends Enum {3090 readonly isVoice: boolean;3091 readonly isMembers: boolean;3092 readonly asMembers: {3093 readonly count: Compact<u32>;3094 } & Struct;3095 readonly isFraction: boolean;3096 readonly asFraction: {3097 readonly nom: Compact<u32>;3098 readonly denom: Compact<u32>;3099 } & Struct;3100 readonly isAtLeastProportion: boolean;3101 readonly asAtLeastProportion: {3102 readonly nom: Compact<u32>;3103 readonly denom: Compact<u32>;3104 } & Struct;3105 readonly isMoreThanProportion: boolean;3106 readonly asMoreThanProportion: {3107 readonly nom: Compact<u32>;3108 readonly denom: Compact<u32>;3109 } & Struct;3110 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3111}31123113/** @name XcmV0JunctionNetworkId */3114export interface XcmV0JunctionNetworkId extends Enum {3115 readonly isAny: boolean;3116 readonly isNamed: boolean;3117 readonly asNamed: Bytes;3118 readonly isPolkadot: boolean;3119 readonly isKusama: boolean;3120 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3121}31223123/** @name XcmV0MultiAsset */3124export interface XcmV0MultiAsset extends Enum {3125 readonly isNone: boolean;3126 readonly isAll: boolean;3127 readonly isAllFungible: boolean;3128 readonly isAllNonFungible: boolean;3129 readonly isAllAbstractFungible: boolean;3130 readonly asAllAbstractFungible: {3131 readonly id: Bytes;3132 } & Struct;3133 readonly isAllAbstractNonFungible: boolean;3134 readonly asAllAbstractNonFungible: {3135 readonly class: Bytes;3136 } & Struct;3137 readonly isAllConcreteFungible: boolean;3138 readonly asAllConcreteFungible: {3139 readonly id: XcmV0MultiLocation;3140 } & Struct;3141 readonly isAllConcreteNonFungible: boolean;3142 readonly asAllConcreteNonFungible: {3143 readonly class: XcmV0MultiLocation;3144 } & Struct;3145 readonly isAbstractFungible: boolean;3146 readonly asAbstractFungible: {3147 readonly id: Bytes;3148 readonly amount: Compact<u128>;3149 } & Struct;3150 readonly isAbstractNonFungible: boolean;3151 readonly asAbstractNonFungible: {3152 readonly class: Bytes;3153 readonly instance: XcmV1MultiassetAssetInstance;3154 } & Struct;3155 readonly isConcreteFungible: boolean;3156 readonly asConcreteFungible: {3157 readonly id: XcmV0MultiLocation;3158 readonly amount: Compact<u128>;3159 } & Struct;3160 readonly isConcreteNonFungible: boolean;3161 readonly asConcreteNonFungible: {3162 readonly class: XcmV0MultiLocation;3163 readonly instance: XcmV1MultiassetAssetInstance;3164 } & Struct;3165 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3166}31673168/** @name XcmV0MultiLocation */3169export interface XcmV0MultiLocation extends Enum {3170 readonly isNull: boolean;3171 readonly isX1: boolean;3172 readonly asX1: XcmV0Junction;3173 readonly isX2: boolean;3174 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3175 readonly isX3: boolean;3176 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3177 readonly isX4: boolean;3178 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3179 readonly isX5: boolean;3180 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3181 readonly isX6: boolean;3182 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3183 readonly isX7: boolean;3184 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3185 readonly isX8: boolean;3186 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3187 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3188}31893190/** @name XcmV0Order */3191export interface XcmV0Order extends Enum {3192 readonly isNull: boolean;3193 readonly isDepositAsset: boolean;3194 readonly asDepositAsset: {3195 readonly assets: Vec<XcmV0MultiAsset>;3196 readonly dest: XcmV0MultiLocation;3197 } & Struct;3198 readonly isDepositReserveAsset: boolean;3199 readonly asDepositReserveAsset: {3200 readonly assets: Vec<XcmV0MultiAsset>;3201 readonly dest: XcmV0MultiLocation;3202 readonly effects: Vec<XcmV0Order>;3203 } & Struct;3204 readonly isExchangeAsset: boolean;3205 readonly asExchangeAsset: {3206 readonly give: Vec<XcmV0MultiAsset>;3207 readonly receive: Vec<XcmV0MultiAsset>;3208 } & Struct;3209 readonly isInitiateReserveWithdraw: boolean;3210 readonly asInitiateReserveWithdraw: {3211 readonly assets: Vec<XcmV0MultiAsset>;3212 readonly reserve: XcmV0MultiLocation;3213 readonly effects: Vec<XcmV0Order>;3214 } & Struct;3215 readonly isInitiateTeleport: boolean;3216 readonly asInitiateTeleport: {3217 readonly assets: Vec<XcmV0MultiAsset>;3218 readonly dest: XcmV0MultiLocation;3219 readonly effects: Vec<XcmV0Order>;3220 } & Struct;3221 readonly isQueryHolding: boolean;3222 readonly asQueryHolding: {3223 readonly queryId: Compact<u64>;3224 readonly dest: XcmV0MultiLocation;3225 readonly assets: Vec<XcmV0MultiAsset>;3226 } & Struct;3227 readonly isBuyExecution: boolean;3228 readonly asBuyExecution: {3229 readonly fees: XcmV0MultiAsset;3230 readonly weight: u64;3231 readonly debt: u64;3232 readonly haltOnError: bool;3233 readonly xcm: Vec<XcmV0Xcm>;3234 } & Struct;3235 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3236}32373238/** @name XcmV0OriginKind */3239export interface XcmV0OriginKind extends Enum {3240 readonly isNative: boolean;3241 readonly isSovereignAccount: boolean;3242 readonly isSuperuser: boolean;3243 readonly isXcm: boolean;3244 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3245}32463247/** @name XcmV0Response */3248export interface XcmV0Response extends Enum {3249 readonly isAssets: boolean;3250 readonly asAssets: Vec<XcmV0MultiAsset>;3251 readonly type: 'Assets';3252}32533254/** @name XcmV0Xcm */3255export interface XcmV0Xcm extends Enum {3256 readonly isWithdrawAsset: boolean;3257 readonly asWithdrawAsset: {3258 readonly assets: Vec<XcmV0MultiAsset>;3259 readonly effects: Vec<XcmV0Order>;3260 } & Struct;3261 readonly isReserveAssetDeposit: boolean;3262 readonly asReserveAssetDeposit: {3263 readonly assets: Vec<XcmV0MultiAsset>;3264 readonly effects: Vec<XcmV0Order>;3265 } & Struct;3266 readonly isTeleportAsset: boolean;3267 readonly asTeleportAsset: {3268 readonly assets: Vec<XcmV0MultiAsset>;3269 readonly effects: Vec<XcmV0Order>;3270 } & Struct;3271 readonly isQueryResponse: boolean;3272 readonly asQueryResponse: {3273 readonly queryId: Compact<u64>;3274 readonly response: XcmV0Response;3275 } & Struct;3276 readonly isTransferAsset: boolean;3277 readonly asTransferAsset: {3278 readonly assets: Vec<XcmV0MultiAsset>;3279 readonly dest: XcmV0MultiLocation;3280 } & Struct;3281 readonly isTransferReserveAsset: boolean;3282 readonly asTransferReserveAsset: {3283 readonly assets: Vec<XcmV0MultiAsset>;3284 readonly dest: XcmV0MultiLocation;3285 readonly effects: Vec<XcmV0Order>;3286 } & Struct;3287 readonly isTransact: boolean;3288 readonly asTransact: {3289 readonly originType: XcmV0OriginKind;3290 readonly requireWeightAtMost: u64;3291 readonly call: XcmDoubleEncoded;3292 } & Struct;3293 readonly isHrmpNewChannelOpenRequest: boolean;3294 readonly asHrmpNewChannelOpenRequest: {3295 readonly sender: Compact<u32>;3296 readonly maxMessageSize: Compact<u32>;3297 readonly maxCapacity: Compact<u32>;3298 } & Struct;3299 readonly isHrmpChannelAccepted: boolean;3300 readonly asHrmpChannelAccepted: {3301 readonly recipient: Compact<u32>;3302 } & Struct;3303 readonly isHrmpChannelClosing: boolean;3304 readonly asHrmpChannelClosing: {3305 readonly initiator: Compact<u32>;3306 readonly sender: Compact<u32>;3307 readonly recipient: Compact<u32>;3308 } & Struct;3309 readonly isRelayedFrom: boolean;3310 readonly asRelayedFrom: {3311 readonly who: XcmV0MultiLocation;3312 readonly message: XcmV0Xcm;3313 } & Struct;3314 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3315}33163317/** @name XcmV1Junction */3318export interface XcmV1Junction extends Enum {3319 readonly isParachain: boolean;3320 readonly asParachain: Compact<u32>;3321 readonly isAccountId32: boolean;3322 readonly asAccountId32: {3323 readonly network: XcmV0JunctionNetworkId;3324 readonly id: U8aFixed;3325 } & Struct;3326 readonly isAccountIndex64: boolean;3327 readonly asAccountIndex64: {3328 readonly network: XcmV0JunctionNetworkId;3329 readonly index: Compact<u64>;3330 } & Struct;3331 readonly isAccountKey20: boolean;3332 readonly asAccountKey20: {3333 readonly network: XcmV0JunctionNetworkId;3334 readonly key: U8aFixed;3335 } & Struct;3336 readonly isPalletInstance: boolean;3337 readonly asPalletInstance: u8;3338 readonly isGeneralIndex: boolean;3339 readonly asGeneralIndex: Compact<u128>;3340 readonly isGeneralKey: boolean;3341 readonly asGeneralKey: Bytes;3342 readonly isOnlyChild: boolean;3343 readonly isPlurality: boolean;3344 readonly asPlurality: {3345 readonly id: XcmV0JunctionBodyId;3346 readonly part: XcmV0JunctionBodyPart;3347 } & Struct;3348 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3349}33503351/** @name XcmV1MultiAsset */3352export interface XcmV1MultiAsset extends Struct {3353 readonly id: XcmV1MultiassetAssetId;3354 readonly fun: XcmV1MultiassetFungibility;3355}33563357/** @name XcmV1MultiassetAssetId */3358export interface XcmV1MultiassetAssetId extends Enum {3359 readonly isConcrete: boolean;3360 readonly asConcrete: XcmV1MultiLocation;3361 readonly isAbstract: boolean;3362 readonly asAbstract: Bytes;3363 readonly type: 'Concrete' | 'Abstract';3364}33653366/** @name XcmV1MultiassetAssetInstance */3367export interface XcmV1MultiassetAssetInstance extends Enum {3368 readonly isUndefined: boolean;3369 readonly isIndex: boolean;3370 readonly asIndex: Compact<u128>;3371 readonly isArray4: boolean;3372 readonly asArray4: U8aFixed;3373 readonly isArray8: boolean;3374 readonly asArray8: U8aFixed;3375 readonly isArray16: boolean;3376 readonly asArray16: U8aFixed;3377 readonly isArray32: boolean;3378 readonly asArray32: U8aFixed;3379 readonly isBlob: boolean;3380 readonly asBlob: Bytes;3381 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3382}33833384/** @name XcmV1MultiassetFungibility */3385export interface XcmV1MultiassetFungibility extends Enum {3386 readonly isFungible: boolean;3387 readonly asFungible: Compact<u128>;3388 readonly isNonFungible: boolean;3389 readonly asNonFungible: XcmV1MultiassetAssetInstance;3390 readonly type: 'Fungible' | 'NonFungible';3391}33923393/** @name XcmV1MultiassetMultiAssetFilter */3394export interface XcmV1MultiassetMultiAssetFilter extends Enum {3395 readonly isDefinite: boolean;3396 readonly asDefinite: XcmV1MultiassetMultiAssets;3397 readonly isWild: boolean;3398 readonly asWild: XcmV1MultiassetWildMultiAsset;3399 readonly type: 'Definite' | 'Wild';3400}34013402/** @name XcmV1MultiassetMultiAssets */3403export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34043405/** @name XcmV1MultiassetWildFungibility */3406export interface XcmV1MultiassetWildFungibility extends Enum {3407 readonly isFungible: boolean;3408 readonly isNonFungible: boolean;3409 readonly type: 'Fungible' | 'NonFungible';3410}34113412/** @name XcmV1MultiassetWildMultiAsset */3413export interface XcmV1MultiassetWildMultiAsset extends Enum {3414 readonly isAll: boolean;3415 readonly isAllOf: boolean;3416 readonly asAllOf: {3417 readonly id: XcmV1MultiassetAssetId;3418 readonly fun: XcmV1MultiassetWildFungibility;3419 } & Struct;3420 readonly type: 'All' | 'AllOf';3421}34223423/** @name XcmV1MultiLocation */3424export interface XcmV1MultiLocation extends Struct {3425 readonly parents: u8;3426 readonly interior: XcmV1MultilocationJunctions;3427}34283429/** @name XcmV1MultilocationJunctions */3430export interface XcmV1MultilocationJunctions extends Enum {3431 readonly isHere: boolean;3432 readonly isX1: boolean;3433 readonly asX1: XcmV1Junction;3434 readonly isX2: boolean;3435 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3436 readonly isX3: boolean;3437 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3438 readonly isX4: boolean;3439 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3440 readonly isX5: boolean;3441 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3442 readonly isX6: boolean;3443 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3444 readonly isX7: boolean;3445 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3446 readonly isX8: boolean;3447 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3448 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3449}34503451/** @name XcmV1Order */3452export interface XcmV1Order extends Enum {3453 readonly isNoop: boolean;3454 readonly isDepositAsset: boolean;3455 readonly asDepositAsset: {3456 readonly assets: XcmV1MultiassetMultiAssetFilter;3457 readonly maxAssets: u32;3458 readonly beneficiary: XcmV1MultiLocation;3459 } & Struct;3460 readonly isDepositReserveAsset: boolean;3461 readonly asDepositReserveAsset: {3462 readonly assets: XcmV1MultiassetMultiAssetFilter;3463 readonly maxAssets: u32;3464 readonly dest: XcmV1MultiLocation;3465 readonly effects: Vec<XcmV1Order>;3466 } & Struct;3467 readonly isExchangeAsset: boolean;3468 readonly asExchangeAsset: {3469 readonly give: XcmV1MultiassetMultiAssetFilter;3470 readonly receive: XcmV1MultiassetMultiAssets;3471 } & Struct;3472 readonly isInitiateReserveWithdraw: boolean;3473 readonly asInitiateReserveWithdraw: {3474 readonly assets: XcmV1MultiassetMultiAssetFilter;3475 readonly reserve: XcmV1MultiLocation;3476 readonly effects: Vec<XcmV1Order>;3477 } & Struct;3478 readonly isInitiateTeleport: boolean;3479 readonly asInitiateTeleport: {3480 readonly assets: XcmV1MultiassetMultiAssetFilter;3481 readonly dest: XcmV1MultiLocation;3482 readonly effects: Vec<XcmV1Order>;3483 } & Struct;3484 readonly isQueryHolding: boolean;3485 readonly asQueryHolding: {3486 readonly queryId: Compact<u64>;3487 readonly dest: XcmV1MultiLocation;3488 readonly assets: XcmV1MultiassetMultiAssetFilter;3489 } & Struct;3490 readonly isBuyExecution: boolean;3491 readonly asBuyExecution: {3492 readonly fees: XcmV1MultiAsset;3493 readonly weight: u64;3494 readonly debt: u64;3495 readonly haltOnError: bool;3496 readonly instructions: Vec<XcmV1Xcm>;3497 } & Struct;3498 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3499}35003501/** @name XcmV1Response */3502export interface XcmV1Response extends Enum {3503 readonly isAssets: boolean;3504 readonly asAssets: XcmV1MultiassetMultiAssets;3505 readonly isVersion: boolean;3506 readonly asVersion: u32;3507 readonly type: 'Assets' | 'Version';3508}35093510/** @name XcmV1Xcm */3511export interface XcmV1Xcm extends Enum {3512 readonly isWithdrawAsset: boolean;3513 readonly asWithdrawAsset: {3514 readonly assets: XcmV1MultiassetMultiAssets;3515 readonly effects: Vec<XcmV1Order>;3516 } & Struct;3517 readonly isReserveAssetDeposited: boolean;3518 readonly asReserveAssetDeposited: {3519 readonly assets: XcmV1MultiassetMultiAssets;3520 readonly effects: Vec<XcmV1Order>;3521 } & Struct;3522 readonly isReceiveTeleportedAsset: boolean;3523 readonly asReceiveTeleportedAsset: {3524 readonly assets: XcmV1MultiassetMultiAssets;3525 readonly effects: Vec<XcmV1Order>;3526 } & Struct;3527 readonly isQueryResponse: boolean;3528 readonly asQueryResponse: {3529 readonly queryId: Compact<u64>;3530 readonly response: XcmV1Response;3531 } & Struct;3532 readonly isTransferAsset: boolean;3533 readonly asTransferAsset: {3534 readonly assets: XcmV1MultiassetMultiAssets;3535 readonly beneficiary: XcmV1MultiLocation;3536 } & Struct;3537 readonly isTransferReserveAsset: boolean;3538 readonly asTransferReserveAsset: {3539 readonly assets: XcmV1MultiassetMultiAssets;3540 readonly dest: XcmV1MultiLocation;3541 readonly effects: Vec<XcmV1Order>;3542 } & Struct;3543 readonly isTransact: boolean;3544 readonly asTransact: {3545 readonly originType: XcmV0OriginKind;3546 readonly requireWeightAtMost: u64;3547 readonly call: XcmDoubleEncoded;3548 } & Struct;3549 readonly isHrmpNewChannelOpenRequest: boolean;3550 readonly asHrmpNewChannelOpenRequest: {3551 readonly sender: Compact<u32>;3552 readonly maxMessageSize: Compact<u32>;3553 readonly maxCapacity: Compact<u32>;3554 } & Struct;3555 readonly isHrmpChannelAccepted: boolean;3556 readonly asHrmpChannelAccepted: {3557 readonly recipient: Compact<u32>;3558 } & Struct;3559 readonly isHrmpChannelClosing: boolean;3560 readonly asHrmpChannelClosing: {3561 readonly initiator: Compact<u32>;3562 readonly sender: Compact<u32>;3563 readonly recipient: Compact<u32>;3564 } & Struct;3565 readonly isRelayedFrom: boolean;3566 readonly asRelayedFrom: {3567 readonly who: XcmV1MultilocationJunctions;3568 readonly message: XcmV1Xcm;3569 } & Struct;3570 readonly isSubscribeVersion: boolean;3571 readonly asSubscribeVersion: {3572 readonly queryId: Compact<u64>;3573 readonly maxResponseWeight: Compact<u64>;3574 } & Struct;3575 readonly isUnsubscribeVersion: boolean;3576 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3577}35783579/** @name XcmV2Instruction */3580export interface XcmV2Instruction extends Enum {3581 readonly isWithdrawAsset: boolean;3582 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3583 readonly isReserveAssetDeposited: boolean;3584 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3585 readonly isReceiveTeleportedAsset: boolean;3586 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3587 readonly isQueryResponse: boolean;3588 readonly asQueryResponse: {3589 readonly queryId: Compact<u64>;3590 readonly response: XcmV2Response;3591 readonly maxWeight: Compact<u64>;3592 } & Struct;3593 readonly isTransferAsset: boolean;3594 readonly asTransferAsset: {3595 readonly assets: XcmV1MultiassetMultiAssets;3596 readonly beneficiary: XcmV1MultiLocation;3597 } & Struct;3598 readonly isTransferReserveAsset: boolean;3599 readonly asTransferReserveAsset: {3600 readonly assets: XcmV1MultiassetMultiAssets;3601 readonly dest: XcmV1MultiLocation;3602 readonly xcm: XcmV2Xcm;3603 } & Struct;3604 readonly isTransact: boolean;3605 readonly asTransact: {3606 readonly originType: XcmV0OriginKind;3607 readonly requireWeightAtMost: Compact<u64>;3608 readonly call: XcmDoubleEncoded;3609 } & Struct;3610 readonly isHrmpNewChannelOpenRequest: boolean;3611 readonly asHrmpNewChannelOpenRequest: {3612 readonly sender: Compact<u32>;3613 readonly maxMessageSize: Compact<u32>;3614 readonly maxCapacity: Compact<u32>;3615 } & Struct;3616 readonly isHrmpChannelAccepted: boolean;3617 readonly asHrmpChannelAccepted: {3618 readonly recipient: Compact<u32>;3619 } & Struct;3620 readonly isHrmpChannelClosing: boolean;3621 readonly asHrmpChannelClosing: {3622 readonly initiator: Compact<u32>;3623 readonly sender: Compact<u32>;3624 readonly recipient: Compact<u32>;3625 } & Struct;3626 readonly isClearOrigin: boolean;3627 readonly isDescendOrigin: boolean;3628 readonly asDescendOrigin: XcmV1MultilocationJunctions;3629 readonly isReportError: boolean;3630 readonly asReportError: {3631 readonly queryId: Compact<u64>;3632 readonly dest: XcmV1MultiLocation;3633 readonly maxResponseWeight: Compact<u64>;3634 } & Struct;3635 readonly isDepositAsset: boolean;3636 readonly asDepositAsset: {3637 readonly assets: XcmV1MultiassetMultiAssetFilter;3638 readonly maxAssets: Compact<u32>;3639 readonly beneficiary: XcmV1MultiLocation;3640 } & Struct;3641 readonly isDepositReserveAsset: boolean;3642 readonly asDepositReserveAsset: {3643 readonly assets: XcmV1MultiassetMultiAssetFilter;3644 readonly maxAssets: Compact<u32>;3645 readonly dest: XcmV1MultiLocation;3646 readonly xcm: XcmV2Xcm;3647 } & Struct;3648 readonly isExchangeAsset: boolean;3649 readonly asExchangeAsset: {3650 readonly give: XcmV1MultiassetMultiAssetFilter;3651 readonly receive: XcmV1MultiassetMultiAssets;3652 } & Struct;3653 readonly isInitiateReserveWithdraw: boolean;3654 readonly asInitiateReserveWithdraw: {3655 readonly assets: XcmV1MultiassetMultiAssetFilter;3656 readonly reserve: XcmV1MultiLocation;3657 readonly xcm: XcmV2Xcm;3658 } & Struct;3659 readonly isInitiateTeleport: boolean;3660 readonly asInitiateTeleport: {3661 readonly assets: XcmV1MultiassetMultiAssetFilter;3662 readonly dest: XcmV1MultiLocation;3663 readonly xcm: XcmV2Xcm;3664 } & Struct;3665 readonly isQueryHolding: boolean;3666 readonly asQueryHolding: {3667 readonly queryId: Compact<u64>;3668 readonly dest: XcmV1MultiLocation;3669 readonly assets: XcmV1MultiassetMultiAssetFilter;3670 readonly maxResponseWeight: Compact<u64>;3671 } & Struct;3672 readonly isBuyExecution: boolean;3673 readonly asBuyExecution: {3674 readonly fees: XcmV1MultiAsset;3675 readonly weightLimit: XcmV2WeightLimit;3676 } & Struct;3677 readonly isRefundSurplus: boolean;3678 readonly isSetErrorHandler: boolean;3679 readonly asSetErrorHandler: XcmV2Xcm;3680 readonly isSetAppendix: boolean;3681 readonly asSetAppendix: XcmV2Xcm;3682 readonly isClearError: boolean;3683 readonly isClaimAsset: boolean;3684 readonly asClaimAsset: {3685 readonly assets: XcmV1MultiassetMultiAssets;3686 readonly ticket: XcmV1MultiLocation;3687 } & Struct;3688 readonly isTrap: boolean;3689 readonly asTrap: Compact<u64>;3690 readonly isSubscribeVersion: boolean;3691 readonly asSubscribeVersion: {3692 readonly queryId: Compact<u64>;3693 readonly maxResponseWeight: Compact<u64>;3694 } & Struct;3695 readonly isUnsubscribeVersion: boolean;3696 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';3697}36983699/** @name XcmV2Response */3700export interface XcmV2Response extends Enum {3701 readonly isNull: boolean;3702 readonly isAssets: boolean;3703 readonly asAssets: XcmV1MultiassetMultiAssets;3704 readonly isExecutionResult: boolean;3705 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3706 readonly isVersion: boolean;3707 readonly asVersion: u32;3708 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3709}37103711/** @name XcmV2TraitsError */3712export interface XcmV2TraitsError extends Enum {3713 readonly isOverflow: boolean;3714 readonly isUnimplemented: boolean;3715 readonly isUntrustedReserveLocation: boolean;3716 readonly isUntrustedTeleportLocation: boolean;3717 readonly isMultiLocationFull: boolean;3718 readonly isMultiLocationNotInvertible: boolean;3719 readonly isBadOrigin: boolean;3720 readonly isInvalidLocation: boolean;3721 readonly isAssetNotFound: boolean;3722 readonly isFailedToTransactAsset: boolean;3723 readonly isNotWithdrawable: boolean;3724 readonly isLocationCannotHold: boolean;3725 readonly isExceedsMaxMessageSize: boolean;3726 readonly isDestinationUnsupported: boolean;3727 readonly isTransport: boolean;3728 readonly isUnroutable: boolean;3729 readonly isUnknownClaim: boolean;3730 readonly isFailedToDecode: boolean;3731 readonly isMaxWeightInvalid: boolean;3732 readonly isNotHoldingFees: boolean;3733 readonly isTooExpensive: boolean;3734 readonly isTrap: boolean;3735 readonly asTrap: u64;3736 readonly isUnhandledXcmVersion: boolean;3737 readonly isWeightLimitReached: boolean;3738 readonly asWeightLimitReached: u64;3739 readonly isBarrier: boolean;3740 readonly isWeightNotComputable: boolean;3741 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';3742}37433744/** @name XcmV2TraitsOutcome */3745export interface XcmV2TraitsOutcome extends Enum {3746 readonly isComplete: boolean;3747 readonly asComplete: u64;3748 readonly isIncomplete: boolean;3749 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3750 readonly isError: boolean;3751 readonly asError: XcmV2TraitsError;3752 readonly type: 'Complete' | 'Incomplete' | 'Error';3753}37543755/** @name XcmV2WeightLimit */3756export interface XcmV2WeightLimit extends Enum {3757 readonly isUnlimited: boolean;3758 readonly isLimited: boolean;3759 readonly asLimited: Compact<u64>;3760 readonly type: 'Unlimited' | 'Limited';3761}37623763/** @name XcmV2Xcm */3764export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}37653766/** @name XcmVersionedMultiAsset */3767export interface XcmVersionedMultiAsset extends Enum {3768 readonly isV0: boolean;3769 readonly asV0: XcmV0MultiAsset;3770 readonly isV1: boolean;3771 readonly asV1: XcmV1MultiAsset;3772 readonly type: 'V0' | 'V1';3773}37743775/** @name XcmVersionedMultiAssets */3776export interface XcmVersionedMultiAssets extends Enum {3777 readonly isV0: boolean;3778 readonly asV0: Vec<XcmV0MultiAsset>;3779 readonly isV1: boolean;3780 readonly asV1: XcmV1MultiassetMultiAssets;3781 readonly type: 'V0' | 'V1';3782}37833784/** @name XcmVersionedMultiLocation */3785export interface XcmVersionedMultiLocation extends Enum {3786 readonly isV0: boolean;3787 readonly asV0: XcmV0MultiLocation;3788 readonly isV1: boolean;3789 readonly asV1: XcmV1MultiLocation;3790 readonly type: 'V0' | 'V1';3791}37923793/** @name XcmVersionedXcm */3794export interface XcmVersionedXcm extends Enum {3795 readonly isV0: boolean;3796 readonly asV0: XcmV0Xcm;3797 readonly isV1: boolean;3798 readonly asV1: XcmV1Xcm;3799 readonly isV2: boolean;3800 readonly asV2: XcmV2Xcm;3801 readonly type: 'V0' | 'V1' | 'V2';3802}38033804export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -3540,27 +3540,31 @@
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup479: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup479: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ **/
+ FrameSystemExtensionsCheckTxVersion: 'Null',
+ /**
+ * Lookup480: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup482: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup483: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup483: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup484: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup484: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup485: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup485: opal_runtime::Runtime
+ * Lookup486: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup486: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup487: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -71,6 +71,7 @@
FrameSystemExtensionsCheckGenesis: FrameSystemExtensionsCheckGenesis;
FrameSystemExtensionsCheckNonce: FrameSystemExtensionsCheckNonce;
FrameSystemExtensionsCheckSpecVersion: FrameSystemExtensionsCheckSpecVersion;
+ FrameSystemExtensionsCheckTxVersion: FrameSystemExtensionsCheckTxVersion;
FrameSystemExtensionsCheckWeight: FrameSystemExtensionsCheckWeight;
FrameSystemLastRuntimeUpgradeInfo: FrameSystemLastRuntimeUpgradeInfo;
FrameSystemLimitsBlockLength: FrameSystemLimitsBlockLength;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -3784,22 +3784,25 @@
/** @name FrameSystemExtensionsCheckSpecVersion (478) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (479) */
+ /** @name FrameSystemExtensionsCheckTxVersion (479) */
+ type FrameSystemExtensionsCheckTxVersion = Null;
+
+ /** @name FrameSystemExtensionsCheckGenesis (480) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (482) */
+ /** @name FrameSystemExtensionsCheckNonce (483) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (483) */
+ /** @name FrameSystemExtensionsCheckWeight (484) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (484) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (485) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (485) */
+ /** @name OpalRuntimeRuntime (486) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (486) */
+ /** @name PalletEthereumFakeTransactionFinalizer (487) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -24,7 +24,7 @@
const collectionParam = {name: 'collection', type: 'u32'};
const tokenParam = {name: 'tokenId', type: 'u32'};
-const propertyKeysParam = {name: 'propertyKeys', type: 'Vec<String>', isOptional: true};
+const propertyKeysParam = {name: 'propertyKeys', type: 'Option<Vec<String>>', isOptional: true};
const crossAccountParam = (name = 'account') => ({name, type: CROSS_ACCOUNT_ID_TYPE});
const atParam = {name: 'at', type: 'Hash', isOptional: true};
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -20,8 +20,11 @@
if (account.Ethereum) this.Ethereum = account.Ethereum;
}
- static fromKeyring(account: IKeyringPair) {
- return new CrossAccountId({Substrate: account.address});
+ static fromKeyring(account: IKeyringPair, domain: 'Substrate' | 'Ethereum' = 'Substrate') {
+ switch (domain) {
+ case 'Substrate': return new CrossAccountId({Substrate: account.address});
+ case 'Ethereum': return new CrossAccountId({Substrate: account.address}).toEthereum();
+ }
}
static fromLowerCaseKeys(address: ICrossAccountIdLower): CrossAccountId {
@@ -40,6 +43,24 @@
if (this.Substrate) return CrossAccountId.withNormalizedSubstrate(this.Substrate, ss58Format);
return this;
}
+
+ static translateSubToEth(address: TSubstrateAccount): TEthereumAccount {
+ return nesting.toChecksumAddress('0x' + Array.from(addressToEvm(address), i => i.toString(16).padStart(2, '0')).join(''));
+ }
+
+ toEthereum(): CrossAccountId {
+ if (this.Substrate) return new CrossAccountId({Ethereum: CrossAccountId.translateSubToEth(this.Substrate)});
+ return this;
+ }
+
+ static translateEthToSub(address: TEthereumAccount, ss58Format?: number): TSubstrateAccount {
+ return evmToAddress(address, ss58Format);
+ }
+
+ toSubstrate(ss58Format?: number): CrossAccountId {
+ if (this.Ethereum) return new CrossAccountId({Substrate: CrossAccountId.translateEthToSub(this.Ethereum, ss58Format)});
+ return this;
+ }
toLowerCase(): CrossAccountId {
if (this.Substrate) this.Substrate = this.Substrate.toLowerCase();
@@ -934,8 +955,8 @@
* @example getProperties(1219, ['location', 'date', 'time', 'isParadise']);
* @returns array of key-value pairs
*/
- async getProperties(collectionId: number, propertyKeys: string[] | null = null): Promise<IProperty[]> {
- return (await this.helper.callRpc('api.rpc.unique.collectionProperties', [collectionId, ...(propertyKeys === null ? [] : [propertyKeys])])).toHuman();
+ async getProperties(collectionId: number, propertyKeys?: string[] | null): Promise<IProperty[]> {
+ return (await this.helper.callRpc('api.rpc.unique.collectionProperties', [collectionId, propertyKeys])).toHuman();
}
/**
@@ -1215,8 +1236,8 @@
* @example getTokenProperties(1219, ['location', 'date', 'time', 'isParadise']);
* @returns array of key-value pairs
*/
- async getTokenProperties(collectionId: number, tokenId: number, propertyKeys: string[] | null = null): Promise<IProperty[]> {
- return (await this.helper.callRpc('api.rpc.unique.tokenProperties', [collectionId, tokenId, ...(propertyKeys === null ? [] : [propertyKeys])])).toHuman();
+ async getTokenProperties(collectionId: number, tokenId: number, propertyKeys?: string[] | null): Promise<IProperty[]> {
+ return (await this.helper.callRpc('api.rpc.unique.tokenProperties', [collectionId, tokenId, propertyKeys])).toHuman();
}
/**
@@ -2013,6 +2034,9 @@
class BalanceGroup extends HelperGroup {
+ getCollectionCreationPrice(): bigint {
+ return 2n * this.helper.balance.getOneTokenNominal();
+ }
/**
* Representation of the native token in the smallest unit - one OPAL (OPL), QUARTZ (QTZ), or UNIQUE (UNQ).
* @example getOneTokenNominal()
@@ -2100,9 +2124,8 @@
* @example normalizeSubstrateToChainFormat("5GrwvaEF5zXb26Fz...") // returns unjKJQJrRd238pkUZZ... for Unique Network
* @returns address in chain format
*/
- async normalizeSubstrateToChainFormat(address: TSubstrateAccount): Promise<TSubstrateAccount> {
- const info = this.helper.chain.getChainProperties();
- return encodeAddress(decodeAddress(address), info.ss58Format);
+ normalizeSubstrateToChainFormat(address: TSubstrateAccount): TSubstrateAccount {
+ return this.normalizeSubstrate(address, this.helper.chain.getChainProperties().ss58Format);
}
/**
@@ -2112,10 +2135,8 @@
* @example ethToSubstrate('0x9F0583DbB855d...')
* @returns substrate mirror of a provided ethereum address
*/
- async ethToSubstrate(ethAddress: TEthereumAccount, toChainFormat=false): Promise<TSubstrateAccount> {
- if(!toChainFormat) return evmToAddress(ethAddress);
- const info = this.helper.chain.getChainProperties();
- return evmToAddress(ethAddress, info.ss58Format);
+ ethToSubstrate(ethAddress: TEthereumAccount, toChainFormat=false): TSubstrateAccount {
+ return CrossAccountId.translateEthToSub(ethAddress, toChainFormat ? this.helper.chain.getChainProperties().ss58Format : undefined);
}
/**
@@ -2125,7 +2146,7 @@
* @returns ethereum mirror of a provided substrate address
*/
substrateToEth(subAddress: TSubstrateAccount): TEthereumAccount {
- return nesting.toChecksumAddress('0x' + Array.from(addressToEvm(subAddress), i => i.toString(16).padStart(2, '0')).join(''));
+ return CrossAccountId.translateSubToEth(subAddress);
}
}
@@ -2272,7 +2293,7 @@
return await this.helper.collection.getEffectiveLimits(this.collectionId);
}
- async getProperties(propertyKeys: string[] | null = null) {
+ async getProperties(propertyKeys?: string[] | null) {
return await this.helper.collection.getProperties(this.collectionId, propertyKeys);
}
@@ -2371,7 +2392,7 @@
return await this.helper.nft.getPropertyPermissions(this.collectionId, propertyKeys);
}
- async getTokenProperties(tokenId: number, propertyKeys: string[] | null = null) {
+ async getTokenProperties(tokenId: number, propertyKeys?: string[] | null) {
return await this.helper.nft.getTokenProperties(this.collectionId, tokenId, propertyKeys);
}
@@ -2462,7 +2483,7 @@
return await this.helper.rft.getPropertyPermissions(this.collectionId, propertyKeys);
}
- async getTokenProperties(tokenId: number, propertyKeys: string[] | null = null) {
+ async getTokenProperties(tokenId: number, propertyKeys?: string[] | null) {
return await this.helper.rft.getTokenProperties(this.collectionId, tokenId, propertyKeys);
}
@@ -2574,7 +2595,7 @@
return await this.collection.getTokenNextSponsored(this.tokenId, addressObj);
}
- async getProperties(propertyKeys: string[] | null = null) {
+ async getProperties(propertyKeys?: string[] | null) {
return await this.collection.getTokenProperties(this.tokenId, propertyKeys);
}