git.delta.rocks / unique-network / refs/commits / 5f2e50bafc58

difftreelog

Merge branch 'develop' into feature/CORE-325

Igor Kozyrev2022-04-21parents: #c97f702 #23e7e86.patch.diff
in: master

63 files changed

modified.gitignorediffbeforeafterboth
11*store_key*.json11*store_key*.json
1212
13/.idea/13/.idea/
14/.cargo/
1415
15tests/.vscode16tests/.vscode
16cumulus-parachain/17cumulus-parachain/
modifiedCargo.lockdiffbeforeafterboth
68source = "registry+https://github.com/rust-lang/crates.io-index"68source = "registry+https://github.com/rust-lang/crates.io-index"
69checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"69checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
70dependencies = [70dependencies = [
71 "getrandom 0.2.5",71 "getrandom 0.2.6",
72 "once_cell",72 "once_cell",
73 "version_check",73 "version_check",
74]74]
188188
189[[package]]189[[package]]
190name = "async-global-executor"190name = "async-global-executor"
191version = "2.0.3"191version = "2.0.4"
192source = "registry+https://github.com/rust-lang/crates.io-index"192source = "registry+https://github.com/rust-lang/crates.io-index"
193checksum = "c026b7e44f1316b567ee750fea85103f87fcb80792b860e979f221259796ca0a"193checksum = "c290043c9a95b05d45e952fb6383c67bcb61471f60cfa21e890dba6654234f43"
194dependencies = [194dependencies = [
195 "async-channel",195 "async-channel",
196 "async-executor",196 "async-executor",
306306
307[[package]]307[[package]]
308name = "async-trait"308name = "async-trait"
309version = "0.1.52"309version = "0.1.53"
310source = "registry+https://github.com/rust-lang/crates.io-index"310source = "registry+https://github.com/rust-lang/crates.io-index"
311checksum = "061a7acccaa286c011ddc30970520b98fa40e00c9d644633fb26b5fc63a265e3"311checksum = "ed6aa3524a2dfcf9fe180c51eae2b58738348d819517ceadf95789c51fff7600"
312dependencies = [312dependencies = [
313 "proc-macro2",313 "proc-macro2",
314 "quote",314 "quote",
392checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1"392checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1"
393dependencies = [393dependencies = [
394 "futures-core",394 "futures-core",
395 "getrandom 0.2.5",395 "getrandom 0.2.6",
396 "instant",396 "instant",
397 "pin-project-lite 0.2.8",397 "pin-project-lite 0.2.8",
398 "rand 0.8.5",398 "rand 0.8.5",
440440
441[[package]]441[[package]]
442name = "base64ct"442name = "base64ct"
443version = "1.4.1"443version = "1.5.0"
444source = "registry+https://github.com/rust-lang/crates.io-index"444source = "registry+https://github.com/rust-lang/crates.io-index"
445checksum = "71acf5509fc522cce1b100ac0121c635129bfd4d91cdf036bcc9b9935f97ccf5"445checksum = "dea908e7347a8c64e378c17e30ef880ad73e3b4498346b055c2c00ea342f3179"
446446
447[[package]]447[[package]]
448name = "beef"448name = "beef"
990dependencies = [990dependencies = [
991 "camino",991 "camino",
992 "cargo-platform",992 "cargo-platform",
993 "semver 1.0.6",993 "semver 1.0.7",
994 "serde",994 "serde",
995 "serde_json",995 "serde_json",
996]996]
11111111
1112[[package]]1112[[package]]
1113name = "clap"1113name = "clap"
1114version = "3.1.6"1114version = "3.1.8"
1115source = "registry+https://github.com/rust-lang/crates.io-index"1115source = "registry+https://github.com/rust-lang/crates.io-index"
1116checksum = "d8c93436c21e4698bacadf42917db28b23017027a4deccb35dbe47a7e7840123"1116checksum = "71c47df61d9e16dc010b55dba1952a57d8c215dbb533fd13cdd13369aac73b1c"
1117dependencies = [1117dependencies = [
1118 "atty",1118 "atty",
1119 "bitflags",1119 "bitflags",
11281128
1129[[package]]1129[[package]]
1130name = "clap_derive"1130name = "clap_derive"
1131version = "3.1.4"1131version = "3.1.7"
1132source = "registry+https://github.com/rust-lang/crates.io-index"1132source = "registry+https://github.com/rust-lang/crates.io-index"
1133checksum = "da95d038ede1a964ce99f49cbe27a7fb538d1da595e4b4f70b8c8f338d17bf16"1133checksum = "a3aab4734e083b809aaf5794e14e756d1c798d2c69c7f7de7a09a2f5214993c1"
1134dependencies = [1134dependencies = [
1135 "heck 0.4.0",1135 "heck 0.4.0",
1136 "proc-macro-error",1136 "proc-macro-error",
19131913
1914[[package]]1914[[package]]
1915name = "darling"1915name = "darling"
1916version = "0.13.1"1916version = "0.13.4"
1917source = "registry+https://github.com/rust-lang/crates.io-index"1917source = "registry+https://github.com/rust-lang/crates.io-index"
1918checksum = "d0d720b8683f8dd83c65155f0530560cba68cd2bf395f6513a483caee57ff7f4"1918checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
1919dependencies = [1919dependencies = [
1920 "darling_core",1920 "darling_core",
1921 "darling_macro",1921 "darling_macro",
1922]1922]
19231923
1924[[package]]1924[[package]]
1925name = "darling_core"1925name = "darling_core"
1926version = "0.13.1"1926version = "0.13.4"
1927source = "registry+https://github.com/rust-lang/crates.io-index"1927source = "registry+https://github.com/rust-lang/crates.io-index"
1928checksum = "7a340f241d2ceed1deb47ae36c4144b2707ec7dd0b649f894cb39bb595986324"1928checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
1929dependencies = [1929dependencies = [
1930 "fnv",1930 "fnv",
1931 "ident_case",1931 "ident_case",
19371937
1938[[package]]1938[[package]]
1939name = "darling_macro"1939name = "darling_macro"
1940version = "0.13.1"1940version = "0.13.4"
1941source = "registry+https://github.com/rust-lang/crates.io-index"1941source = "registry+https://github.com/rust-lang/crates.io-index"
1942checksum = "72c41b3b7352feb3211a0d743dc5700a4e3b60f51bd2b368892d1e0f9a95f44b"1942checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
1943dependencies = [1943dependencies = [
1944 "darling_core",1944 "darling_core",
1945 "quote",1945 "quote",
2484[[package]]2484[[package]]
2485name = "fc-consensus"2485name = "fc-consensus"
2486version = "2.0.0-dev"2486version = "2.0.0-dev"
2487source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2487source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2488dependencies = [2488dependencies = [
2489 "async-trait",2489 "async-trait",
2490 "derive_more",2490 "derive_more",
2511[[package]]2511[[package]]
2512name = "fc-db"2512name = "fc-db"
2513version = "2.0.0-dev"2513version = "2.0.0-dev"
2514source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2514source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2515dependencies = [2515dependencies = [
2516 "fp-storage",2516 "fp-storage",
2517 "kvdb",2517 "kvdb",
2527[[package]]2527[[package]]
2528name = "fc-mapping-sync"2528name = "fc-mapping-sync"
2529version = "2.0.0-dev"2529version = "2.0.0-dev"
2530source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2530source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2531dependencies = [2531dependencies = [
2532 "fc-consensus",2532 "fc-consensus",
2533 "fc-db",2533 "fc-db",
2545[[package]]2545[[package]]
2546name = "fc-rpc"2546name = "fc-rpc"
2547version = "2.0.0-dev"2547version = "2.0.0-dev"
2548source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2548source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2549dependencies = [2549dependencies = [
2550 "ethereum",2550 "ethereum",
2551 "ethereum-types",2551 "ethereum-types",
2591[[package]]2591[[package]]
2592name = "fc-rpc-core"2592name = "fc-rpc-core"
2593version = "1.1.0-dev"2593version = "1.1.0-dev"
2594source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2594source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2595dependencies = [2595dependencies = [
2596 "ethereum",2596 "ethereum",
2597 "ethereum-types",2597 "ethereum-types",
2725[[package]]2725[[package]]
2726name = "fp-consensus"2726name = "fp-consensus"
2727version = "2.0.0-dev"2727version = "2.0.0-dev"
2728source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2728source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2729dependencies = [2729dependencies = [
2730 "ethereum",2730 "ethereum",
2731 "parity-scale-codec",2731 "parity-scale-codec",
2739[[package]]2739[[package]]
2740name = "fp-evm"2740name = "fp-evm"
2741version = "3.0.0-dev"2741version = "3.0.0-dev"
2742source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2742source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2743dependencies = [2743dependencies = [
2744 "evm",2744 "evm",
2745 "impl-trait-for-tuples",2745 "impl-trait-for-tuples",
2750 "sp-std",2750 "sp-std",
2751]2751]
2752
2753[[package]]
2754name = "fp-evm-mapping"
2755version = "0.1.0"
2756source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2757dependencies = [
2758 "frame-support",
2759 "sp-core",
2760]
27522761
2753[[package]]2762[[package]]
2754name = "fp-rpc"2763name = "fp-rpc"
2755version = "3.0.0-dev"2764version = "3.0.0-dev"
2756source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2765source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2757dependencies = [2766dependencies = [
2758 "ethereum",2767 "ethereum",
2759 "ethereum-types",2768 "ethereum-types",
2770[[package]]2779[[package]]
2771name = "fp-self-contained"2780name = "fp-self-contained"
2772version = "1.0.0-dev"2781version = "1.0.0-dev"
2773source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2782source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
2774dependencies = [2783dependencies = [
2775 "ethereum",2784 "ethereum",
2776 "frame-support",2785 "frame-support",
2787[[package]]2796[[package]]
2788name = "fp-storage"2797name = "fp-storage"
2789version = "2.0.0"2798version = "2.0.0"
2790source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"2799source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
27912800
2792[[package]]2801[[package]]
2793name = "frame-benchmarking"2802name = "frame-benchmarking"
32343243
3235[[package]]3244[[package]]
3236name = "getrandom"3245name = "getrandom"
3237version = "0.2.5"3246version = "0.2.6"
3238source = "registry+https://github.com/rust-lang/crates.io-index"3247source = "registry+https://github.com/rust-lang/crates.io-index"
3239checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77"3248checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad"
3240dependencies = [3249dependencies = [
3241 "cfg-if 1.0.0",3250 "cfg-if 1.0.0",
3242 "libc",3251 "libc",
33083317
3309[[package]]3318[[package]]
3310name = "h2"3319name = "h2"
3311version = "0.3.12"3320version = "0.3.13"
3312source = "registry+https://github.com/rust-lang/crates.io-index"3321source = "registry+https://github.com/rust-lang/crates.io-index"
3313checksum = "62eeb471aa3e3c9197aa4bfeabfe02982f6dc96f750486c0bb0009ac58b26d2b"3322checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57"
3314dependencies = [3323dependencies = [
3315 "bytes 1.1.0",3324 "bytes 1.1.0",
3316 "fnv",3325 "fnv",
3321 "indexmap",3330 "indexmap",
3322 "slab",3331 "slab",
3323 "tokio 1.17.0",3332 "tokio 1.17.0",
3324 "tokio-util",3333 "tokio-util 0.7.1",
3325 "tracing",3334 "tracing",
3326]3335]
33273336
36793688
3680[[package]]3689[[package]]
3681name = "indexmap"3690name = "indexmap"
3682version = "1.8.0"3691version = "1.8.1"
3683source = "registry+https://github.com/rust-lang/crates.io-index"3692source = "registry+https://github.com/rust-lang/crates.io-index"
3684checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223"3693checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee"
3685dependencies = [3694dependencies = [
3686 "autocfg",3695 "autocfg",
3687 "hashbrown 0.11.2",3696 "hashbrown 0.11.2",
3906 "log",3915 "log",
3907 "tokio 1.17.0",3916 "tokio 1.17.0",
3908 "tokio-stream",3917 "tokio-stream",
3909 "tokio-util",3918 "tokio-util 0.6.9",
3910 "unicase",3919 "unicase",
3911]3920]
39123921
3976 "thiserror",3985 "thiserror",
3977 "tokio 1.17.0",3986 "tokio 1.17.0",
3978 "tokio-rustls 0.23.3",3987 "tokio-rustls 0.23.3",
3979 "tokio-util",3988 "tokio-util 0.6.9",
3980 "tracing",3989 "tracing",
3981 "webpki-roots 0.22.2",3990 "webpki-roots 0.22.2",
3982]3991]
3997 "thiserror",4006 "thiserror",
3998 "tokio 1.17.0",4007 "tokio 1.17.0",
3999 "tokio-rustls 0.23.3",4008 "tokio-rustls 0.23.3",
4000 "tokio-util",4009 "tokio-util 0.6.9",
4001 "tracing",4010 "tracing",
4002 "webpki-roots 0.22.2",4011 "webpki-roots 0.22.2",
4003]4012]
4158 "thiserror",4167 "thiserror",
4159 "tokio 1.17.0",4168 "tokio 1.17.0",
4160 "tokio-rustls 0.22.0",4169 "tokio-rustls 0.22.0",
4161 "tokio-util",4170 "tokio-util 0.6.9",
4162]4171]
41634172
4164[[package]]4173[[package]]
4769 "libp2p-core",4778 "libp2p-core",
4770 "libp2p-swarm",4779 "libp2p-swarm",
4771 "log",4780 "log",
4772 "lru 0.7.3",4781 "lru 0.7.5",
4773 "rand 0.7.3",4782 "rand 0.7.3",
4774 "smallvec",4783 "smallvec",
4775 "unsigned-varint 0.7.1",4784 "unsigned-varint 0.7.1",
49995008
5000[[package]]5009[[package]]
5001name = "lock_api"5010name = "lock_api"
5002version = "0.4.6"5011version = "0.4.7"
5003source = "registry+https://github.com/rust-lang/crates.io-index"5012source = "registry+https://github.com/rust-lang/crates.io-index"
5004checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b"5013checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
5005dependencies = [5014dependencies = [
5015 "autocfg",
5006 "scopeguard",5016 "scopeguard",
5007]5017]
50085018
50275037
5028[[package]]5038[[package]]
5029name = "lru"5039name = "lru"
5030version = "0.7.3"5040version = "0.7.5"
5031source = "registry+https://github.com/rust-lang/crates.io-index"5041source = "registry+https://github.com/rust-lang/crates.io-index"
5032checksum = "fcb87f3080f6d1d69e8c564c0fcfde1d7aa8cc451ce40cae89479111f03bc0eb"5042checksum = "32613e41de4c47ab04970c348ca7ae7382cf116625755af070b008a15516a889"
5033dependencies = [5043dependencies = [
5034 "hashbrown 0.11.2",5044 "hashbrown 0.11.2",
5035]5045]
5576 "cumulus-primitives-timestamp",5586 "cumulus-primitives-timestamp",
5577 "cumulus-primitives-utility",5587 "cumulus-primitives-utility",
5578 "derivative",5588 "derivative",
5589 "fp-evm-mapping",
5579 "fp-rpc",5590 "fp-rpc",
5580 "fp-self-contained",5591 "fp-self-contained",
5581 "frame-benchmarking",5592 "frame-benchmarking",
5632 "substrate-wasm-builder",5643 "substrate-wasm-builder",
5633 "unique-runtime-common",5644 "unique-runtime-common",
5634 "up-data-structs",5645 "up-data-structs",
5635 "up-evm-mapping",
5636 "up-rpc",5646 "up-rpc",
5637 "xcm",5647 "xcm",
5638 "xcm-builder",5648 "xcm-builder",
5831[[package]]5841[[package]]
5832name = "pallet-base-fee"5842name = "pallet-base-fee"
5833version = "1.0.0"5843version = "1.0.0"
5834source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"5844source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
5835dependencies = [5845dependencies = [
5836 "frame-support",5846 "frame-support",
5837 "frame-system",5847 "frame-system",
5984version = "0.1.0"5994version = "0.1.0"
5985dependencies = [5995dependencies = [
5986 "evm-coder",5996 "evm-coder",
5997 "fp-evm-mapping",
5987 "frame-support",5998 "frame-support",
5988 "frame-system",5999 "frame-system",
5989 "pallet-evm",6000 "pallet-evm",
5995 "sp-runtime",6006 "sp-runtime",
5996 "sp-std",6007 "sp-std",
5997 "up-data-structs",6008 "up-data-structs",
5998 "up-evm-mapping",
5999]6009]
60006010
6001[[package]]6011[[package]]
6058[[package]]6068[[package]]
6059name = "pallet-ethereum"6069name = "pallet-ethereum"
6060version = "4.0.0-dev"6070version = "4.0.0-dev"
6061source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"6071source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
6062dependencies = [6072dependencies = [
6063 "ethereum",6073 "ethereum",
6064 "ethereum-types",6074 "ethereum-types",
6065 "evm",6075 "evm",
6066 "fp-consensus",6076 "fp-consensus",
6067 "fp-evm",6077 "fp-evm",
6078 "fp-evm-mapping",
6068 "fp-rpc",6079 "fp-rpc",
6069 "fp-self-contained",6080 "fp-self-contained",
6070 "fp-storage",6081 "fp-storage",
6088[[package]]6099[[package]]
6089name = "pallet-evm"6100name = "pallet-evm"
6090version = "6.0.0-dev"6101version = "6.0.0-dev"
6091source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"6102source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
6092dependencies = [6103dependencies = [
6093 "evm",6104 "evm",
6094 "evm-gasometer",6105 "evm-gasometer",
6095 "evm-runtime",6106 "evm-runtime",
6096 "fp-evm",6107 "fp-evm",
6108 "fp-evm-mapping",
6097 "frame-benchmarking",6109 "frame-benchmarking",
6098 "frame-support",6110 "frame-support",
6099 "frame-system",6111 "frame-system",
6136version = "0.1.0"6148version = "0.1.0"
6137dependencies = [6149dependencies = [
6138 "evm-coder",6150 "evm-coder",
6151 "fp-evm-mapping",
6139 "frame-support",6152 "frame-support",
6140 "frame-system",6153 "frame-system",
6141 "log",6154 "log",
6171version = "0.1.0"6184version = "0.1.0"
6172dependencies = [6185dependencies = [
6173 "fp-evm",6186 "fp-evm",
6187 "fp-evm-mapping",
6174 "frame-support",6188 "frame-support",
6175 "frame-system",6189 "frame-system",
6176 "pallet-ethereum",6190 "pallet-ethereum",
6181 "sp-io",6195 "sp-io",
6182 "sp-runtime",6196 "sp-runtime",
6183 "sp-std",6197 "sp-std",
6184 "up-evm-mapping",
6185 "up-sponsorship",6198 "up-sponsorship",
6186]6199]
61876200
6195 "frame-support",6208 "frame-support",
6196 "frame-system",6209 "frame-system",
6197 "pallet-common",6210 "pallet-common",
6211 "pallet-evm",
6198 "pallet-evm-coder-substrate",6212 "pallet-evm-coder-substrate",
6199 "parity-scale-codec",6213 "parity-scale-codec",
6200 "scale-info",6214 "scale-info",
6421 "frame-support",6435 "frame-support",
6422 "frame-system",6436 "frame-system",
6423 "pallet-common",6437 "pallet-common",
6438 "pallet-evm",
6424 "pallet-evm-coder-substrate",6439 "pallet-evm-coder-substrate",
6425 "parity-scale-codec",6440 "parity-scale-codec",
6426 "scale-info",6441 "scale-info",
6537 "frame-support",6552 "frame-support",
6538 "frame-system",6553 "frame-system",
6539 "pallet-common",6554 "pallet-common",
6555 "pallet-evm",
6540 "parity-scale-codec",6556 "parity-scale-codec",
6541 "scale-info",6557 "scale-info",
6542 "sp-core",6558 "sp-core",
6672[[package]]6688[[package]]
6673name = "pallet-template-transaction-payment"6689name = "pallet-template-transaction-payment"
6674version = "3.0.0"6690version = "3.0.0"
6675source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#e914a799e5ff1c18383a614ea99e87dd7f3f446e"6691source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#7bc842b35a53f762ee6ee89e5f5bef84a284c9f4"
6676dependencies = [6692dependencies = [
6677 "frame-benchmarking",6693 "frame-benchmarking",
6678 "frame-support",6694 "frame-support",
6795 "ethereum",6811 "ethereum",
6796 "evm-coder",6812 "evm-coder",
6797 "fp-evm",6813 "fp-evm",
6814 "fp-evm-mapping",
6798 "frame-benchmarking",6815 "frame-benchmarking",
6799 "frame-support",6816 "frame-support",
6800 "frame-system",6817 "frame-system",
6821 "sp-runtime",6838 "sp-runtime",
6822 "sp-std",6839 "sp-std",
6823 "up-data-structs",6840 "up-data-structs",
6824 "up-evm-mapping",
6825 "up-sponsorship",6841 "up-sponsorship",
6826]6842]
68276843
69256941
6926[[package]]6942[[package]]
6927name = "parity-db"6943name = "parity-db"
6928version = "0.3.9"6944version = "0.3.11"
6929source = "registry+https://github.com/rust-lang/crates.io-index"6945source = "registry+https://github.com/rust-lang/crates.io-index"
6930checksum = "3d121a9af17a43efd0a38c6afa508b927ba07785bd4709efb2ac03bf77efef8d"6946checksum = "b3e7f385d61562f5834282b90aa50b41f38a35cf64d5209b8b05487b50553dbe"
6931dependencies = [6947dependencies = [
6932 "blake2-rfc",6948 "blake2-rfc",
6933 "crc32fast",6949 "crc32fast",
6998 "ethereum-types",7014 "ethereum-types",
6999 "hashbrown 0.12.0",7015 "hashbrown 0.12.0",
7000 "impl-trait-for-tuples",7016 "impl-trait-for-tuples",
7001 "lru 0.7.3",7017 "lru 0.7.5",
7002 "parity-util-mem-derive",7018 "parity-util-mem-derive",
7003 "parking_lot 0.12.0",7019 "parking_lot 0.12.0",
7004 "primitive-types",7020 "primitive-types",
7074checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58"7090checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58"
7075dependencies = [7091dependencies = [
7076 "lock_api",7092 "lock_api",
7077 "parking_lot_core 0.9.1",7093 "parking_lot_core 0.9.2",
7078]7094]
70797095
7080[[package]]7096[[package]]
70937109
7094[[package]]7110[[package]]
7095name = "parking_lot_core"7111name = "parking_lot_core"
7096version = "0.9.1"7112version = "0.9.2"
7097source = "registry+https://github.com/rust-lang/crates.io-index"7113source = "registry+https://github.com/rust-lang/crates.io-index"
7098checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954"7114checksum = "995f667a6c822200b0433ac218e05582f0e2efa1b922a3fd2fbaadc5f87bab37"
7099dependencies = [7115dependencies = [
7100 "cfg-if 1.0.0",7116 "cfg-if 1.0.0",
7101 "libc",7117 "libc",
71067122
7107[[package]]7123[[package]]
7108name = "paste"7124name = "paste"
7109version = "1.0.6"7125version = "1.0.7"
7110source = "registry+https://github.com/rust-lang/crates.io-index"7126source = "registry+https://github.com/rust-lang/crates.io-index"
7111checksum = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5"7127checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc"
71127128
7113[[package]]7129[[package]]
7114name = "pbkdf2"7130name = "pbkdf2"
72707286
7271[[package]]7287[[package]]
7272name = "pkg-config"7288name = "pkg-config"
7273version = "0.3.24"7289version = "0.3.25"
7274source = "registry+https://github.com/rust-lang/crates.io-index"7290source = "registry+https://github.com/rust-lang/crates.io-index"
7275checksum = "58893f751c9b0412871a09abd62ecd2a00298c6c83befa223ef98c52aef40cbe"7291checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
72767292
7277[[package]]7293[[package]]
7278name = "platforms"7294name = "platforms"
7315 "derive_more",7331 "derive_more",
7316 "fatality",7332 "fatality",
7317 "futures 0.3.21",7333 "futures 0.3.21",
7318 "lru 0.7.3",7334 "lru 0.7.5",
7319 "parity-scale-codec",7335 "parity-scale-codec",
7320 "polkadot-erasure-coding",7336 "polkadot-erasure-coding",
7321 "polkadot-node-network-protocol",7337 "polkadot-node-network-protocol",
7337dependencies = [7353dependencies = [
7338 "fatality",7354 "fatality",
7339 "futures 0.3.21",7355 "futures 0.3.21",
7340 "lru 0.7.3",7356 "lru 0.7.5",
7341 "parity-scale-codec",7357 "parity-scale-codec",
7342 "polkadot-erasure-coding",7358 "polkadot-erasure-coding",
7343 "polkadot-node-network-protocol",7359 "polkadot-node-network-protocol",
7446 "derive_more",7462 "derive_more",
7447 "fatality",7463 "fatality",
7448 "futures 0.3.21",7464 "futures 0.3.21",
7449 "lru 0.7.3",7465 "lru 0.7.5",
7450 "parity-scale-codec",7466 "parity-scale-codec",
7451 "polkadot-erasure-coding",7467 "polkadot-erasure-coding",
7452 "polkadot-node-network-protocol",7468 "polkadot-node-network-protocol",
7542 "futures 0.3.21",7558 "futures 0.3.21",
7543 "futures-timer",7559 "futures-timer",
7544 "kvdb",7560 "kvdb",
7545 "lru 0.7.3",7561 "lru 0.7.5",
7546 "merlin",7562 "merlin",
7547 "parity-scale-codec",7563 "parity-scale-codec",
7548 "polkadot-node-jaeger",7564 "polkadot-node-jaeger",
7671 "fatality",7687 "fatality",
7672 "futures 0.3.21",7688 "futures 0.3.21",
7673 "kvdb",7689 "kvdb",
7674 "lru 0.7.3",7690 "lru 0.7.5",
7675 "parity-scale-codec",7691 "parity-scale-codec",
7676 "polkadot-node-primitives",7692 "polkadot-node-primitives",
7677 "polkadot-node-subsystem",7693 "polkadot-node-subsystem",
7897 "futures 0.3.21",7913 "futures 0.3.21",
7898 "itertools",7914 "itertools",
7899 "kvdb",7915 "kvdb",
7900 "lru 0.7.3",7916 "lru 0.7.5",
7901 "metered-channel",7917 "metered-channel",
7902 "parity-db",7918 "parity-db",
7903 "parity-scale-codec",7919 "parity-scale-codec",
7926dependencies = [7942dependencies = [
7927 "futures 0.3.21",7943 "futures 0.3.21",
7928 "futures-timer",7944 "futures-timer",
7929 "lru 0.7.3",7945 "lru 0.7.5",
7930 "parity-util-mem",7946 "parity-util-mem",
7931 "parking_lot 0.12.0",7947 "parking_lot 0.12.0",
7932 "polkadot-node-metrics",7948 "polkadot-node-metrics",
8273 "kusama-runtime",8289 "kusama-runtime",
8274 "kvdb",8290 "kvdb",
8275 "kvdb-rocksdb",8291 "kvdb-rocksdb",
8276 "lru 0.7.3",8292 "lru 0.7.5",
8277 "pallet-babe",8293 "pallet-babe",
8278 "pallet-im-online",8294 "pallet-im-online",
8279 "pallet-mmr-primitives",8295 "pallet-mmr-primitives",
86088624
8609[[package]]8625[[package]]
8610name = "proc-macro2"8626name = "proc-macro2"
8611version = "1.0.36"8627version = "1.0.37"
8612source = "registry+https://github.com/rust-lang/crates.io-index"8628source = "registry+https://github.com/rust-lang/crates.io-index"
8613checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029"8629checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1"
8614dependencies = [8630dependencies = [
8615 "unicode-xid",8631 "unicode-xid",
8616]8632]
86848700
8685[[package]]8701[[package]]
8686name = "psm"8702name = "psm"
8687version = "0.1.17"8703version = "0.1.18"
8688source = "registry+https://github.com/rust-lang/crates.io-index"8704source = "registry+https://github.com/rust-lang/crates.io-index"
8689checksum = "6eca0fa5dd7c4c96e184cec588f0b1db1ee3165e678db21c09793105acb17e6f"8705checksum = "871372391786ccec00d3c5d3d6608905b3d4db263639cfe075d3b60a736d115a"
8690dependencies = [8706dependencies = [
8691 "cc",8707 "cc",
8692]8708]
8704 "cumulus-primitives-timestamp",8720 "cumulus-primitives-timestamp",
8705 "cumulus-primitives-utility",8721 "cumulus-primitives-utility",
8706 "derivative",8722 "derivative",
8723 "fp-evm-mapping",
8707 "fp-rpc",8724 "fp-rpc",
8708 "fp-self-contained",8725 "fp-self-contained",
8709 "frame-executive",8726 "frame-executive",
8757 "substrate-wasm-builder",8774 "substrate-wasm-builder",
8758 "unique-runtime-common",8775 "unique-runtime-common",
8759 "up-data-structs",8776 "up-data-structs",
8760 "up-evm-mapping",
8761 "up-rpc",8777 "up-rpc",
8762 "xcm",8778 "xcm",
8763 "xcm-builder",8779 "xcm-builder",
87898805
8790[[package]]8806[[package]]
8791name = "quote"8807name = "quote"
8792version = "1.0.16"8808version = "1.0.17"
8793source = "registry+https://github.com/rust-lang/crates.io-index"8809source = "registry+https://github.com/rust-lang/crates.io-index"
8794checksum = "b4af2ec4714533fcdf07e886f17025ace8b997b9ce51204ee69b6da831c3da57"8810checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58"
8795dependencies = [8811dependencies = [
8796 "proc-macro2",8812 "proc-macro2",
8797]8813]
8862source = "registry+https://github.com/rust-lang/crates.io-index"8878source = "registry+https://github.com/rust-lang/crates.io-index"
8863checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"8879checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
8864dependencies = [8880dependencies = [
8865 "getrandom 0.2.5",8881 "getrandom 0.2.6",
8866]8882]
88678883
8868[[package]]8884[[package]]
89268942
8927[[package]]8943[[package]]
8928name = "redox_syscall"8944name = "redox_syscall"
8929version = "0.2.11"8945version = "0.2.13"
8930source = "registry+https://github.com/rust-lang/crates.io-index"8946source = "registry+https://github.com/rust-lang/crates.io-index"
8931checksum = "8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c"8947checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42"
8932dependencies = [8948dependencies = [
8933 "bitflags",8949 "bitflags",
8934]8950]
89358951
8936[[package]]8952[[package]]
8937name = "redox_users"8953name = "redox_users"
8938version = "0.4.2"8954version = "0.4.3"
8939source = "registry+https://github.com/rust-lang/crates.io-index"8955source = "registry+https://github.com/rust-lang/crates.io-index"
8940checksum = "7776223e2696f1aa4c6b0170e83212f47296a00424305117d013dfe86fb0fe55"8956checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
8941dependencies = [8957dependencies = [
8942 "getrandom 0.2.5",8958 "getrandom 0.2.6",
8943 "redox_syscall",8959 "redox_syscall",
8944 "thiserror",8960 "thiserror",
8945]8961]
9253source = "registry+https://github.com/rust-lang/crates.io-index"9269source = "registry+https://github.com/rust-lang/crates.io-index"
9254checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"9270checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
9255dependencies = [9271dependencies = [
9256 "semver 1.0.6",9272 "semver 1.0.7",
9257]9273]
92589274
9259[[package]]9275[[package]]
9974 "linked-hash-map",9990 "linked-hash-map",
9975 "linked_hash_set",9991 "linked_hash_set",
9976 "log",9992 "log",
9977 "lru 0.7.3",9993 "lru 0.7.5",
9978 "parity-scale-codec",9994 "parity-scale-codec",
9979 "parking_lot 0.12.0",9995 "parking_lot 0.12.0",
9980 "pin-project 1.0.10",9996 "pin-project 1.0.10",
10012 "futures-timer",10028 "futures-timer",
10013 "libp2p",10029 "libp2p",
10014 "log",10030 "log",
10015 "lru 0.7.3",10031 "lru 0.7.5",
10016 "sc-network",10032 "sc-network",
10017 "sp-runtime",10033 "sp-runtime",
10018 "substrate-prometheus-endpoint",10034 "substrate-prometheus-endpoint",
1053210548
10533[[package]]10549[[package]]
10534name = "semver"10550name = "semver"
10535version = "1.0.6"10551version = "1.0.7"
10536source = "registry+https://github.com/rust-lang/crates.io-index"10552source = "registry+https://github.com/rust-lang/crates.io-index"
10537checksum = "a4a3381e03edd24287172047536f20cabde766e2cd3e65e6b00fb3af51c4f38d"10553checksum = "d65bd28f48be7196d222d95b9243287f48d27aca604e08497513019ff0502cc4"
10538dependencies = [10554dependencies = [
10539 "serde",10555 "serde",
10540]10556]
1074710763
10748[[package]]10764[[package]]
10749name = "slab"10765name = "slab"
10750version = "0.4.5"10766version = "0.4.6"
10751source = "registry+https://github.com/rust-lang/crates.io-index"10767source = "registry+https://github.com/rust-lang/crates.io-index"
10752checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5"10768checksum = "eb703cfe953bccee95685111adeedb76fabe4e97549a58d16f03ea7b9367bb32"
1075310769
10754[[package]]10770[[package]]
10755name = "slot-range-helper"10771name = "slot-range-helper"
10940dependencies = [10956dependencies = [
10941 "futures 0.3.21",10957 "futures 0.3.21",
10942 "log",10958 "log",
10943 "lru 0.7.3",10959 "lru 0.7.5",
10944 "parity-scale-codec",10960 "parity-scale-codec",
10945 "parking_lot 0.12.0",10961 "parking_lot 0.12.0",
10946 "sp-api",10962 "sp-api",
1180111817
11802[[package]]11818[[package]]
11803name = "syn"11819name = "syn"
11804version = "1.0.89"11820version = "1.0.91"
11805source = "registry+https://github.com/rust-lang/crates.io-index"11821source = "registry+https://github.com/rust-lang/crates.io-index"
11806checksum = "ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54"11822checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d"
11807dependencies = [11823dependencies = [
11808 "proc-macro2",11824 "proc-macro2",
11809 "quote",11825 "quote",
12093 "tokio 1.17.0",12109 "tokio 1.17.0",
12094]12110]
12111
12112[[package]]
12113name = "tokio-util"
12114version = "0.7.1"
12115source = "registry+https://github.com/rust-lang/crates.io-index"
12116checksum = "0edfdeb067411dba2044da6d1cb2df793dd35add7888d73c16e3381ded401764"
12117dependencies = [
12118 "bytes 1.1.0",
12119 "futures-core",
12120 "futures-sink",
12121 "pin-project-lite 0.2.8",
12122 "tokio 1.17.0",
12123 "tracing",
12124]
1209512125
12096[[package]]12126[[package]]
12097name = "toml"12127name = "toml"
1213312163
12134[[package]]12164[[package]]
12135name = "tracing-core"12165name = "tracing-core"
12136version = "0.1.23"12166version = "0.1.24"
12137source = "registry+https://github.com/rust-lang/crates.io-index"12167source = "registry+https://github.com/rust-lang/crates.io-index"
12138checksum = "aa31669fa42c09c34d94d8165dd2012e8ff3c66aca50f3bb226b68f216f2706c"12168checksum = "90442985ee2f57c9e1b548ee72ae842f4a9a20e3f417cc38dbc5dc684d9bb4ee"
12139dependencies = [12169dependencies = [
12140 "lazy_static",12170 "lazy_static",
12141 "valuable",12171 "valuable",
12333 "jsonrpc-core-client",12363 "jsonrpc-core-client",
12334 "jsonrpc-derive",12364 "jsonrpc-derive",
12335 "pallet-common",12365 "pallet-common",
12366 "pallet-evm",
12336 "parity-scale-codec",12367 "parity-scale-codec",
12337 "sp-api",12368 "sp-api",
12338 "sp-blockchain",12369 "sp-blockchain",
12475 "substrate-build-script-utils",12506 "substrate-build-script-utils",
12476 "substrate-frame-rpc-system",12507 "substrate-frame-rpc-system",
12477 "substrate-prometheus-endpoint",12508 "substrate-prometheus-endpoint",
12509 "tokio 1.17.0",
12478 "unique-rpc",12510 "unique-rpc",
12479 "unique-runtime",12511 "unique-runtime",
12480 "unique-runtime-common",12512 "unique-runtime-common",
12542 "cumulus-primitives-timestamp",12574 "cumulus-primitives-timestamp",
12543 "cumulus-primitives-utility",12575 "cumulus-primitives-utility",
12544 "derivative",12576 "derivative",
12577 "fp-evm-mapping",
12545 "fp-rpc",12578 "fp-rpc",
12546 "fp-self-contained",12579 "fp-self-contained",
12547 "frame-benchmarking",12580 "frame-benchmarking",
12598 "substrate-wasm-builder",12631 "substrate-wasm-builder",
12599 "unique-runtime-common",12632 "unique-runtime-common",
12600 "up-data-structs",12633 "up-data-structs",
12601 "up-evm-mapping",
12602 "up-rpc",12634 "up-rpc",
12603 "xcm",12635 "xcm",
12604 "xcm-builder",12636 "xcm-builder",
12613 "frame-support",12645 "frame-support",
12614 "frame-system",12646 "frame-system",
12615 "pallet-common",12647 "pallet-common",
12648 "pallet-evm",
12616 "parity-scale-codec",12649 "parity-scale-codec",
12617 "scale-info",12650 "scale-info",
12618 "sp-consensus-aura",12651 "sp-consensus-aura",
12681 "sp-std",12714 "sp-std",
12682]12715]
12683
12684[[package]]
12685name = "up-evm-mapping"
12686version = "0.1.0"
12687dependencies = [
12688 "frame-support",
12689 "sp-core",
12690]
1269112716
12692[[package]]12717[[package]]
12693name = "up-rpc"12718name = "up-rpc"
12694version = "0.1.0"12719version = "0.1.0"
12695dependencies = [12720dependencies = [
12696 "pallet-common",12721 "pallet-common",
12722 "pallet-evm",
12697 "parity-scale-codec",12723 "parity-scale-codec",
12698 "sp-api",12724 "sp-api",
12699 "sp-core",12725 "sp-core",
12705[[package]]12731[[package]]
12706name = "up-sponsorship"12732name = "up-sponsorship"
12707version = "0.1.0"12733version = "0.1.0"
12708source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#e914a799e5ff1c18383a614ea99e87dd7f3f446e"12734source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#7bc842b35a53f762ee6ee89e5f5bef84a284c9f4"
12709dependencies = [12735dependencies = [
12710 "impl-trait-for-tuples",12736 "impl-trait-for-tuples",
12711]12737]
1331313339
13314[[package]]13340[[package]]
13315name = "windows-sys"13341name = "windows-sys"
13316version = "0.32.0"13342version = "0.34.0"
13317source = "registry+https://github.com/rust-lang/crates.io-index"13343source = "registry+https://github.com/rust-lang/crates.io-index"
13318checksum = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6"13344checksum = "5acdd78cb4ba54c0045ac14f62d8f94a03d10047904ae2a40afa1e99d8f70825"
13319dependencies = [13345dependencies = [
13320 "windows_aarch64_msvc",13346 "windows_aarch64_msvc",
13321 "windows_i686_gnu",13347 "windows_i686_gnu",
1332613352
13327[[package]]13353[[package]]
13328name = "windows_aarch64_msvc"13354name = "windows_aarch64_msvc"
13329version = "0.32.0"13355version = "0.34.0"
13330source = "registry+https://github.com/rust-lang/crates.io-index"13356source = "registry+https://github.com/rust-lang/crates.io-index"
13331checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5"13357checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d"
1333213358
13333[[package]]13359[[package]]
13334name = "windows_i686_gnu"13360name = "windows_i686_gnu"
13335version = "0.32.0"13361version = "0.34.0"
13336source = "registry+https://github.com/rust-lang/crates.io-index"13362source = "registry+https://github.com/rust-lang/crates.io-index"
13337checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615"13363checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed"
1333813364
13339[[package]]13365[[package]]
13340name = "windows_i686_msvc"13366name = "windows_i686_msvc"
13341version = "0.32.0"13367version = "0.34.0"
13342source = "registry+https://github.com/rust-lang/crates.io-index"13368source = "registry+https://github.com/rust-lang/crates.io-index"
13343checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172"13369checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956"
1334413370
13345[[package]]13371[[package]]
13346name = "windows_x86_64_gnu"13372name = "windows_x86_64_gnu"
13347version = "0.32.0"13373version = "0.34.0"
13348source = "registry+https://github.com/rust-lang/crates.io-index"13374source = "registry+https://github.com/rust-lang/crates.io-index"
13349checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc"13375checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4"
1335013376
13351[[package]]13377[[package]]
13352name = "windows_x86_64_msvc"13378name = "windows_x86_64_msvc"
13353version = "0.32.0"13379version = "0.34.0"
13354source = "registry+https://github.com/rust-lang/crates.io-index"13380source = "registry+https://github.com/rust-lang/crates.io-index"
13355checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316"13381checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9"
1335613382
13357[[package]]13383[[package]]
13358name = "winreg"13384name = "winreg"
modifiedclient/rpc/Cargo.tomldiffbeforeafterboth
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
19sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }19sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
20sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }20sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
21pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
2122
modifiedclient/rpc/src/lib.rsdiffbeforeafterboth
19use codec::Decode;19use codec::Decode;
20use jsonrpc_core::{Error as RpcError, ErrorCode, Result};20use jsonrpc_core::{Error as RpcError, ErrorCode, Result};
21use jsonrpc_derive::rpc;21use jsonrpc_derive::rpc;
22use up_data_structs::{Collection, CollectionId, CollectionStats, TokenId};22use up_data_structs::{Collection, CollectionId, CollectionStats, CollectionLimits, TokenId};
23use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};23use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};
24use sp_blockchain::HeaderBackend;24use sp_blockchain::HeaderBackend;
25use up_rpc::UniqueApi as UniqueRuntimeApi;25use up_rpc::UniqueApi as UniqueRuntimeApi;
120 #[rpc(name = "unique_collectionStats")]120 #[rpc(name = "unique_collectionStats")]
121 fn collection_stats(&self, at: Option<BlockHash>) -> Result<CollectionStats>;121 fn collection_stats(&self, at: Option<BlockHash>) -> Result<CollectionStats>;
122
123 #[rpc(name = "unique_nextSponsored")]
124 fn next_sponsored(
125 &self,
126 collection: CollectionId,
127 account: CrossAccountId,
128 token: TokenId,
129 at: Option<BlockHash>,
130 ) -> Result<Option<u64>>;
131 #[rpc(name = "unique_effectiveCollectionLimits")]
132 fn effective_collection_limits(
133 &self,
134 collection_id: CollectionId,
135 at: Option<BlockHash>,
136 ) -> Result<Option<CollectionLimits>>;
122}137}
123138
124pub struct Unique<C, P> {139pub struct Unique<C, P> {
201 AccountId: Decode,216 AccountId: Decode,
202 C: 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,217 C: 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,
203 C::Api: UniqueRuntimeApi<Block, CrossAccountId, AccountId>,218 C::Api: UniqueRuntimeApi<Block, CrossAccountId, AccountId>,
204 CrossAccountId: pallet_common::account::CrossAccountId<AccountId>,219 CrossAccountId: pallet_evm::account::CrossAccountId<AccountId>,
205{220{
206 pass_method!(account_tokens(collection: CollectionId, account: CrossAccountId) -> Vec<TokenId>);221 pass_method!(account_tokens(collection: CollectionId, account: CrossAccountId) -> Vec<TokenId>);
207 pass_method!(token_exists(collection: CollectionId, token: TokenId) -> bool);222 pass_method!(token_exists(collection: CollectionId, token: TokenId) -> bool);
222 pass_method!(last_token_id(collection: CollectionId) -> TokenId);237 pass_method!(last_token_id(collection: CollectionId) -> TokenId);
223 pass_method!(collection_by_id(collection: CollectionId) -> Option<Collection<AccountId>>);238 pass_method!(collection_by_id(collection: CollectionId) -> Option<Collection<AccountId>>);
224 pass_method!(collection_stats() -> CollectionStats);239 pass_method!(collection_stats() -> CollectionStats);
240 pass_method!(next_sponsored(collection: CollectionId, account: CrossAccountId, token: TokenId) -> Option<u64>);
241 pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>);
225}242}
226243
modifiednode/cli/Cargo.tomldiffbeforeafterboth
302jsonrpc-pubsub = "18.0.0"302jsonrpc-pubsub = "18.0.0"
303tokio = { version = "1.17.0", features = ["time"] }303tokio = { version = "1.17.0", features = ["time"] }
304304
305fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }305fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
306fc-consensus = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }306fc-consensus = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
307fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }307fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
308fc-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }308fc-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
309fc-db = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }309fc-db = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
310fp-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }310fp-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
311pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }311pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
312312
313unique-rpc = { default-features = false, path = "../rpc" }313unique-rpc = { default-features = false, path = "../rpc" }
314314
modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
212 vec![212 vec![
213 get_account_id_from_seed::<sr25519::Public>("Alice"),213 get_account_id_from_seed::<sr25519::Public>("Alice"),
214 get_account_id_from_seed::<sr25519::Public>("Bob"),214 get_account_id_from_seed::<sr25519::Public>("Bob"),
215 get_account_id_from_seed::<sr25519::Public>("Charlie"),
216 get_account_id_from_seed::<sr25519::Public>("Dave"),
217 get_account_id_from_seed::<sr25519::Public>("Eve"),
218 get_account_id_from_seed::<sr25519::Public>("Ferdie"),
219 get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
220 get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
221 get_account_id_from_seed::<sr25519::Public>("Charlie//stash"),
222 get_account_id_from_seed::<sr25519::Public>("Dave//stash"),
223 get_account_id_from_seed::<sr25519::Public>("Eve//stash"),
224 get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
215 ],225 ],
216 1000226 1000
217 )227 )
modifiednode/rpc/Cargo.tomldiffbeforeafterboth
41substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }41substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
42tokio = { version = "0.2.25", features = ["macros", "sync"] }42tokio = { version = "0.2.25", features = ["macros", "sync"] }
4343
44pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }44pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
45fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }45fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
46fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }46fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
47fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }47fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
48fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }48fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
49fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }49fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
5050
51pallet-common = { default-features = false, path = "../../pallets/common" }51pallet-common = { default-features = false, path = "../../pallets/common" }
52unique-runtime-common = { default-features = false, path = "../../runtime/common" }52unique-runtime-common = { default-features = false, path = "../../runtime/common" }
modifiedpallets/common/Cargo.tomldiffbeforeafterboth
16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
19up-evm-mapping = { default-features = false, path = '../../primitives/evm-mapping' }19fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
21pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }21pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
22evm-coder = { default-features = false, path = '../../crates/evm-coder' }22evm-coder = { default-features = false, path = '../../crates/evm-coder' }
23pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }23pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
24serde = { version = "1.0.130", default-features = false }24serde = { version = "1.0.130", default-features = false }
25scale-info = { version = "2.0.1", default-features = false, features = [25scale-info = { version = "2.0.1", default-features = false, features = [
26 "derive",26 "derive",
33 "frame-system/std",33 "frame-system/std",
34 "sp-runtime/std",34 "sp-runtime/std",
35 "sp-std/std",35 "sp-std/std",
36 "up-evm-mapping/std",36 "fp-evm-mapping/std",
37 "up-data-structs/std",37 "up-data-structs/std",
38 "pallet-evm/std",38 "pallet-evm/std",
39]39]
deletedpallets/common/src/account.rsdiffbeforeafterboth

no changes

modifiedpallets/common/src/lib.rsdiffbeforeafterboth
19use core::ops::{Deref, DerefMut};19use core::ops::{Deref, DerefMut};
20use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};20use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
21use sp_std::vec::Vec;21use sp_std::vec::Vec;
22use account::CrossAccountId;22use pallet_evm::account::CrossAccountId;
23use frame_support::{23use frame_support::{
24 dispatch::{DispatchErrorWithPostInfo, DispatchResultWithPostInfo},24 dispatch::{DispatchErrorWithPostInfo, DispatchResultWithPostInfo},
25 ensure, fail,25 ensure, fail,
33 TokenId, Weight, WithdrawReasons, CollectionStats, MAX_TOKEN_OWNERSHIP, CollectionMode,33 TokenId, Weight, WithdrawReasons, CollectionStats, MAX_TOKEN_OWNERSHIP, CollectionMode,
34 NFT_SPONSOR_TRANSFER_TIMEOUT, FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,34 NFT_SPONSOR_TRANSFER_TIMEOUT, FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
35 REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, MAX_SPONSOR_TIMEOUT, CUSTOM_DATA_LIMIT, CollectionLimits,35 REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, MAX_SPONSOR_TIMEOUT, CUSTOM_DATA_LIMIT, CollectionLimits,
36 CustomDataLimit, CreateCollectionData, SponsorshipState, CreateItemExData,36 CustomDataLimit, CreateCollectionData, SponsorshipState, CreateItemExData, SponsoringRateLimit,
37};37};
38pub use pallet::*;38pub use pallet::*;
39use sp_core::H160;39use sp_core::H160;
40use sp_runtime::{ArithmeticError, DispatchError, DispatchResult};40use sp_runtime::{ArithmeticError, DispatchError, DispatchResult};
41pub mod account;
42#[cfg(feature = "runtime-benchmarks")]41#[cfg(feature = "runtime-benchmarks")]
43pub mod benchmarking;42pub mod benchmarking;
44pub mod erc;43pub mod erc;
163pub mod pallet {162pub mod pallet {
164 use super::*;163 use super::*;
165 use frame_support::{Blake2_128Concat, pallet_prelude::*, storage::Key};164 use frame_support::{Blake2_128Concat, pallet_prelude::*, storage::Key};
166 use account::CrossAccountId;165 use pallet_evm::account;
167 use frame_support::traits::Currency;166 use frame_support::traits::Currency;
168 use up_data_structs::TokenId;167 use up_data_structs::TokenId;
169 use scale_info::TypeInfo;168 use scale_info::TypeInfo;
170169
171 #[pallet::config]170 #[pallet::config]
172 pub trait Config: frame_system::Config + pallet_evm_coder_substrate::Config + TypeInfo {171 pub trait Config:
172 frame_system::Config + pallet_evm_coder_substrate::Config + TypeInfo + account::Config
173 {
173 type Event: IsType<<Self as frame_system::Config>::Event> + From<Event<Self>>;174 type Event: IsType<<Self as frame_system::Config>::Event> + From<Event<Self>>;
174
175 type CrossAccountId: CrossAccountId<Self::AccountId>;
176
177 type EvmAddressMapping: pallet_evm::AddressMapping<Self::AccountId>;
178 type EvmBackwardsAddressMapping: up_evm_mapping::EvmBackwardsAddressMapping<Self::AccountId>;
179175
180 type Currency: Currency<Self::AccountId>;176 type Currency: Currency<Self::AccountId>;
181177
422 }418 }
423 }419 }
420
421 pub fn effective_collection_limits(collection: CollectionId) -> Option<CollectionLimits> {
422 let collection = <CollectionById<T>>::get(collection);
423 if collection.is_none() {
424 return None;
425 }
426
427 let collection = collection.unwrap();
428 let limits = collection.limits;
429 let effective_limits = CollectionLimits {
430 account_token_ownership_limit: Some(limits.account_token_ownership_limit()),
431 sponsored_data_size: Some(limits.sponsored_data_size()),
432 sponsored_data_rate_limit: Some(
433 limits
434 .sponsored_data_rate_limit
435 .unwrap_or(SponsoringRateLimit::SponsoringDisabled),
436 ),
437 token_limit: Some(limits.token_limit()),
438 sponsor_transfer_timeout: Some(limits.sponsor_transfer_timeout(
439 match collection.mode {
440 CollectionMode::NFT => NFT_SPONSOR_TRANSFER_TIMEOUT,
441 CollectionMode::Fungible(_) => FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
442 CollectionMode::ReFungible => REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
443 },
444 )),
445 sponsor_approve_timeout: Some(limits.sponsor_approve_timeout()),
446 owner_can_transfer: Some(limits.owner_can_transfer()),
447 owner_can_destroy: Some(limits.owner_can_destroy()),
448 transfers_enabled: Some(limits.transfers_enabled()),
449 };
450
451 Some(effective_limits)
452 }
424}453}
425454
426impl<T: Config> Pallet<T> {455impl<T: Config> Pallet<T> {
modifiedpallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth
12sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }12sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
13ethereum = { version = "0.12.0", default-features = false }13ethereum = { version = "0.12.0", default-features = false }
14evm-coder = { default-features = false, path = "../../crates/evm-coder" }14evm-coder = { default-features = false, path = "../../crates/evm-coder" }
15pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }15pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
16pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }16pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
17frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }17frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }18frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
19frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }19frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
15sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }15sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16evm-coder = { default-features = false, path = '../../crates/evm-coder' }16evm-coder = { default-features = false, path = '../../crates/evm-coder' }
17pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }17pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
19fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
19up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
20log = "0.4.14"21log = "0.4.14"
2122
modifiedpallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth
18use evm_coder::{abi::AbiWriter, execution::Result, generate_stubgen, solidity_interface, types::*};18use evm_coder::{abi::AbiWriter, execution::Result, generate_stubgen, solidity_interface, types::*};
19use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};19use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
20use pallet_evm::{ExitRevert, OnCreate, OnMethodCall, PrecompileResult, PrecompileFailure};20use pallet_evm::{
21 ExitRevert, OnCreate, OnMethodCall, PrecompileResult, PrecompileFailure,
22 account::CrossAccountId,
23};
21use sp_core::H160;24use sp_core::H160;
22use crate::{25use crate::{
23 AllowlistEnabled, Config, Owner, Pallet, SponsorBasket, SponsoringRateLimit, SponsoringModeT,26 AllowlistEnabled, Config, Owner, Pallet, SponsorBasket, SponsoringRateLimit, SponsoringModeT,
24};27};
25use frame_support::traits::Get;28use frame_support::traits::Get;
26use up_sponsorship::SponsorshipHandler;29use up_sponsorship::SponsorshipHandler;
27use sp_std::{convert::TryInto, vec::Vec};30use sp_std::vec::Vec;
2831
29struct ContractHelpers<T: Config>(SubstrateRecorder<T>);32struct ContractHelpers<T: Config>(SubstrateRecorder<T>);
30impl<T: Config> WithRecorder<T> for ContractHelpers<T> {33impl<T: Config> WithRecorder<T> for ContractHelpers<T> {
177}180}
178181
179pub struct HelpersContractSponsoring<T: Config>(PhantomData<*const T>);182pub struct HelpersContractSponsoring<T: Config>(PhantomData<*const T>);
180impl<T: Config> SponsorshipHandler<H160, (H160, Vec<u8>)> for HelpersContractSponsoring<T> {183impl<T: Config> SponsorshipHandler<T::CrossAccountId, (H160, Vec<u8>)>
184 for HelpersContractSponsoring<T>
185{
181 fn get_sponsor(who: &H160, call: &(H160, Vec<u8>)) -> Option<H160> {186 fn get_sponsor(who: &T::CrossAccountId, call: &(H160, Vec<u8>)) -> Option<T::CrossAccountId> {
182 let mode = <Pallet<T>>::sponsoring_mode(call.0);187 let mode = <Pallet<T>>::sponsoring_mode(call.0);
183 if mode == SponsoringModeT::Disabled {188 if mode == SponsoringModeT::Disabled {
184 return None;189 return None;
185 }190 }
191
186 if mode == SponsoringModeT::Allowlisted && !<Pallet<T>>::allowed(call.0, *who) {192 if mode == SponsoringModeT::Allowlisted && !<Pallet<T>>::allowed(call.0, *who.as_eth()) {
187 return None;193 return None;
188 }194 }
189 let block_number = <frame_system::Pallet<T>>::block_number() as T::BlockNumber;195 let block_number = <frame_system::Pallet<T>>::block_number() as T::BlockNumber;
190196
191 if let Some(last_tx_block) = <SponsorBasket<T>>::get(&call.0, who) {197 if let Some(last_tx_block) = <SponsorBasket<T>>::get(&call.0, who.as_eth()) {
192 let limit = <SponsoringRateLimit<T>>::get(&call.0);198 let limit = <SponsoringRateLimit<T>>::get(&call.0);
193199
194 let timeout = last_tx_block + limit;200 let timeout = last_tx_block + limit;
197 }203 }
198 }204 }
199205
200 <SponsorBasket<T>>::insert(&call.0, who, block_number);206 <SponsorBasket<T>>::insert(&call.0, who.as_eth(), block_number);
201207
202 Some(call.0)208 let sponsor = T::CrossAccountId::from_eth(call.0);
209 Some(sponsor)
203 }210 }
204}211}
205212
modifiedpallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth
3131
32 #[pallet::config]32 #[pallet::config]
33 pub trait Config: frame_system::Config + pallet_evm_coder_substrate::Config {33 pub trait Config:
34 frame_system::Config + pallet_evm_coder_substrate::Config + pallet_evm::account::Config
35 {
34 type ContractAddress: Get<H160>;36 type ContractAddress: Get<H160>;
35 type DefaultSponsoringRateLimit: Get<Self::BlockNumber>;37 type DefaultSponsoringRateLimit: Get<Self::BlockNumber>;
modifiedpallets/evm-migration/Cargo.tomldiffbeforeafterboth
15sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }15sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }16sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }17sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
19fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }19fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
2020
21[dependencies.codec]21[dependencies.codec]
22default-features = false22default-features = false
modifiedpallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth
14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }15sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }16sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
19pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }19pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
21up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }21fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
2222
23[dependencies.codec]23[dependencies.codec]
24default-features = false24default-features = false
39 "pallet-ethereum/std",39 "pallet-ethereum/std",
40 "fp-evm/std",40 "fp-evm/std",
41 "up-sponsorship/std",41 "up-sponsorship/std",
42 "up-evm-mapping/std",42 "fp-evm-mapping/std",
43]43]
4444
modifiedpallets/evm-transaction-payment/src/lib.rsdiffbeforeafterboth
20use fp_evm::WithdrawReason;20use fp_evm::WithdrawReason;
21use frame_support::traits::{Currency, IsSubType};21use frame_support::traits::{Currency, IsSubType};
22pub use pallet::*;22pub use pallet::*;
23use pallet_evm::{EVMCurrencyAdapter, EnsureAddressOrigin};23use pallet_evm::{EVMCurrencyAdapter, EnsureAddressOrigin, account::CrossAccountId};
24use sp_core::{H160, U256};24use sp_core::{H160, U256};
25use sp_runtime::TransactionOutcome;25use sp_runtime::TransactionOutcome;
26use up_sponsorship::SponsorshipHandler;26use up_sponsorship::SponsorshipHandler;
27use up_evm_mapping::EvmBackwardsAddressMapping;
28use pallet_evm::AddressMapping;
2927
30#[frame_support::pallet]28#[frame_support::pallet]
31pub mod pallet {29pub mod pallet {
35 use sp_std::vec::Vec;33 use sp_std::vec::Vec;
3634
37 #[pallet::config]35 #[pallet::config]
38 pub trait Config: frame_system::Config {36 pub trait Config: frame_system::Config + pallet_evm::account::Config {
39 type EvmSponsorshipHandler: SponsorshipHandler<H160, (H160, Vec<u8>)>;37 type EvmSponsorshipHandler: SponsorshipHandler<Self::CrossAccountId, (H160, Vec<u8>)>;
40 type Currency: Currency<Self::AccountId>;38 type Currency: Currency<Self::AccountId>;
41 type EvmBackwardsAddressMapping: EvmBackwardsAddressMapping<Self::AccountId>;
42 type EvmAddressMapping: AddressMapping<Self::AccountId>;
43 }39 }
4440
45 #[pallet::pallet]41 #[pallet::pallet]
60}56}
6157
62pub struct TransactionValidityHack<T: Config>(PhantomData<*const T>);58pub struct TransactionValidityHack<T: Config>(PhantomData<*const T>);
63impl<T: Config> fp_evm::TransactionValidityHack for TransactionValidityHack<T> {59impl<T: Config> fp_evm::TransactionValidityHack<T::CrossAccountId> for TransactionValidityHack<T> {
64 fn who_pays_fee(origin: H160, reason: &WithdrawReason) -> Option<H160> {60 fn who_pays_fee(origin: H160, reason: &WithdrawReason) -> Option<T::CrossAccountId> {
65 match reason {61 match reason {
66 WithdrawReason::Call { target, input } => {62 WithdrawReason::Call { target, input } => {
67 // This method is only used for checking, we shouldn't touch storage in it63 // This method is only used for checking, we shouldn't touch storage in it
68 frame_support::storage::with_transaction(|| {64 frame_support::storage::with_transaction(|| {
65 let origin_sub = T::CrossAccountId::from_eth(origin);
69 TransactionOutcome::Rollback(T::EvmSponsorshipHandler::get_sponsor(66 TransactionOutcome::Rollback(T::EvmSponsorshipHandler::get_sponsor(
70 &origin,67 &origin_sub,
71 &(*target, input.clone()),68 &(*target, input.clone()),
72 ))69 ))
73 })70 })
85 type LiquidityInfo = Option<ChargeEvmLiquidityInfo<T>>;82 type LiquidityInfo = Option<ChargeEvmLiquidityInfo<T>>;
8683
87 fn withdraw_fee(84 fn withdraw_fee(
88 who: &H160,85 who: &T::CrossAccountId,
89 reason: WithdrawReason,86 reason: WithdrawReason,
90 fee: U256,87 fee: U256,
91 ) -> core::result::Result<Self::LiquidityInfo, pallet_evm::Error<T>> {88 ) -> core::result::Result<Self::LiquidityInfo, pallet_evm::Error<T>> {
92 let mut who_pays_fee = *who;
93 if let WithdrawReason::Call { target, input } = &reason {89 let who_pays_fee = if let WithdrawReason::Call { target, input } = &reason {
94 who_pays_fee = T::EvmSponsorshipHandler::get_sponsor(who, &(*target, input.clone()))90 T::EvmSponsorshipHandler::get_sponsor(who, &(*target, input.clone()))
95 .unwrap_or(who_pays_fee);91 .unwrap_or(who.clone())
96 }92 } else {
93 who.clone()
94 };
95
97 let negative_imbalance = EVMCurrencyAdapter::<<T as Config>::Currency, ()>::withdraw_fee(96 let negative_imbalance = EVMCurrencyAdapter::<<T as Config>::Currency, ()>::withdraw_fee(
98 &who_pays_fee,97 &who_pays_fee,
99 reason,98 reason,
100 fee,99 fee,
101 )?;100 )?;
101
102 Ok(negative_imbalance.map(|i| ChargeEvmLiquidityInfo {102 Ok(negative_imbalance.map(|i| ChargeEvmLiquidityInfo {
103 who: who_pays_fee,103 who: who_pays_fee.as_eth().clone(),
104 negative_imbalance: i,104 negative_imbalance: i,
105 }))105 }))
106 }106 }
107107
108 fn correct_and_deposit_fee(108 fn correct_and_deposit_fee(
109 who: &H160,109 who: &T::CrossAccountId,
110 corrected_fee: U256,110 corrected_fee: U256,
111 already_withdrawn: Self::LiquidityInfo,111 already_withdrawn: Self::LiquidityInfo,
112 ) {112 ) {
113 <EVMCurrencyAdapter<<T as Config>::Currency, ()> as pallet_evm::OnChargeEVMTransaction<T>>::correct_and_deposit_fee(113 <EVMCurrencyAdapter<<T as Config>::Currency, ()> as pallet_evm::OnChargeEVMTransaction<T>>::correct_and_deposit_fee(
114 &already_withdrawn.as_ref().map(|e| e.who).unwrap_or(*who),114 &already_withdrawn.as_ref().map(|e| T::CrossAccountId::from_eth(e.who)).unwrap_or(who.clone()),
115 corrected_fee,115 corrected_fee,
116 already_withdrawn.map(|e| e.negative_imbalance),116 already_withdrawn.map(|e| e.negative_imbalance),
117 )117 )
142 <frame_system::RawOrigin<T::AccountId>>::Signed(who.clone()).into(),142 <frame_system::RawOrigin<T::AccountId>>::Signed(who.clone()).into(),
143 )143 )
144 .ok()?;144 .ok()?;
145 let who = T::EvmBackwardsAddressMapping::from_account_id(who.clone());145 let who = T::CrossAccountId::from_sub(who.clone());
146 // Effects from EvmSponsorshipHandler are applied in OnChargeEvmTransaction by pallet_evm::runner146 // Effects from EvmSponsorshipHandler are applied in OnChargeEvmTransaction by pallet_evm::runner
147 // TODO: Should we implement simulation mode (test, but do not apply effects) in `up-sponsorship`?147 // TODO: Should we implement simulation mode (test, but do not apply effects) in `up-sponsorship`?
148 let sponsor = frame_support::storage::with_transaction(|| {148 let sponsor = frame_support::storage::with_transaction(|| {
151 &(*target, input.clone()),151 &(*target, input.clone()),
152 ))152 ))
153 })?;153 })?;
154 let sponsor = T::EvmAddressMapping::into_account_id(sponsor);154 Some(sponsor.as_sub().clone())
155 Some(sponsor)
156 }155 }
157 _ => None,156 _ => None,
158 }157 }
modifiedpallets/fungible/Cargo.tomldiffbeforeafterboth
22pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }22pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
23ethereum = { version = "0.12.0", default-features = false }23ethereum = { version = "0.12.0", default-features = false }
24frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }24frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
25pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
25scale-info = { version = "2.0.1", default-features = false, features = [26scale-info = { version = "2.0.1", default-features = false, features = [
26 "derive",27 "derive",
27] }28] }
39 "ethereum/std",40 "ethereum/std",
40 "pallet-evm-coder-substrate/std",41 "pallet-evm-coder-substrate/std",
41 'frame-benchmarking/std',42 'frame-benchmarking/std',
43 "pallet-evm/std"
42]44]
43runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']45runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']
4446
modifiedpallets/fungible/src/erc.rsdiffbeforeafterboth
21use pallet_common::erc::{CommonEvmHandler, PrecompileResult};21use pallet_common::erc::{CommonEvmHandler, PrecompileResult};
22use sp_core::{H160, U256};22use sp_core::{H160, U256};
23use sp_std::vec::Vec;23use sp_std::vec::Vec;
24use pallet_common::account::CrossAccountId;24use pallet_evm::account::CrossAccountId;
25use pallet_evm_coder_substrate::{call, dispatch_to_evm};25use pallet_evm_coder_substrate::{call, dispatch_to_evm};
2626
27use crate::{27use crate::{
modifiedpallets/fungible/src/lib.rsdiffbeforeafterboth
20use frame_support::{ensure};20use frame_support::{ensure};
21use up_data_structs::{AccessMode, CollectionId, TokenId, CreateCollectionData};21use up_data_structs::{AccessMode, CollectionId, TokenId, CreateCollectionData};
22use pallet_common::{22use pallet_common::{Error as CommonError, Event as CommonEvent, Pallet as PalletCommon};
23 Error as CommonError, Event as CommonEvent, Pallet as PalletCommon, account::CrossAccountId,23use pallet_evm::account::CrossAccountId;
24};
25use pallet_evm_coder_substrate::WithRecorder;24use pallet_evm_coder_substrate::WithRecorder;
26use sp_core::H160;25use sp_core::H160;
36pub mod erc;35pub mod erc;
37pub mod weights;36pub mod weights;
3837
39pub type CreateItemData<T> = (<T as pallet_common::Config>::CrossAccountId, u128);38pub type CreateItemData<T> = (<T as pallet_evm::account::Config>::CrossAccountId, u128);
40pub(crate) type SelfWeightOf<T> = <T as Config>::WeightInfo;39pub(crate) type SelfWeightOf<T> = <T as Config>::WeightInfo;
4140
42#[frame_support::pallet]41#[frame_support::pallet]
modifiedpallets/nonfungible/Cargo.tomldiffbeforeafterboth
16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
19pallet-common = { default-features = false, path = '../common' }20pallet-common = { default-features = false, path = '../common' }
20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
21evm-coder = { default-features = false, path = '../../crates/evm-coder' }22evm-coder = { default-features = false, path = '../../crates/evm-coder' }
39 "ethereum/std",40 "ethereum/std",
40 "pallet-evm-coder-substrate/std",41 "pallet-evm-coder-substrate/std",
41 'frame-benchmarking/std',42 'frame-benchmarking/std',
43 "pallet-evm/std"
42]44]
43runtime-benchmarks = [45runtime-benchmarks = [
44 'frame-benchmarking',46 'frame-benchmarking',
modifiedpallets/nonfungible/src/erc.rsdiffbeforeafterboth
26use sp_core::{H160, U256};26use sp_core::{H160, U256};
27use sp_std::{vec::Vec, vec};27use sp_std::{vec::Vec, vec};
28use pallet_common::{28use pallet_common::{
29 account::CrossAccountId,
30 erc::{CommonEvmHandler, PrecompileResult},29 erc::{CommonEvmHandler, PrecompileResult},
31};30};
31use pallet_evm::account::CrossAccountId;
32use pallet_evm_coder_substrate::call;32use pallet_evm_coder_substrate::call;
3333
34use crate::{34use crate::{
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
22 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,22 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,
23};23};
24use pallet_common::{24use pallet_common::{Error as CommonError, Pallet as PalletCommon, Event as CommonEvent};
25 Error as CommonError, Pallet as PalletCommon, Event as CommonEvent, account::CrossAccountId,25use pallet_evm::account::CrossAccountId;
26};
27use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};26use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
28use sp_core::H160;27use sp_core::H160;
40pub mod erc;39pub mod erc;
41pub mod weights;40pub mod weights;
4241
43pub type CreateItemData<T> = CreateNftExData<<T as pallet_common::Config>::CrossAccountId>;42pub type CreateItemData<T> = CreateNftExData<<T as pallet_evm::account::Config>::CrossAccountId>;
44pub(crate) type SelfWeightOf<T> = <T as Config>::WeightInfo;43pub(crate) type SelfWeightOf<T> = <T as Config>::WeightInfo;
4544
46#[derive(Encode, Decode, TypeInfo, MaxEncodedLen)]45#[derive(Encode, Decode, TypeInfo, MaxEncodedLen)]
modifiedpallets/refungible/Cargo.tomldiffbeforeafterboth
16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
19pallet-common = { default-features = false, path = '../common' }20pallet-common = { default-features = false, path = '../common' }
20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
21frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }22frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
33 "up-data-structs/std",34 "up-data-structs/std",
34 "pallet-common/std",35 "pallet-common/std",
35 'frame-benchmarking/std',36 'frame-benchmarking/std',
37 "pallet-evm/std",
36]38]
37runtime-benchmarks = [39runtime-benchmarks = [
38 'frame-benchmarking',40 'frame-benchmarking',
modifiedpallets/refungible/src/lib.rsdiffbeforeafterboth
22 CreateCollectionData, CreateRefungibleExData,22 CreateCollectionData, CreateRefungibleExData,
23};23};
24use pallet_common::{24use pallet_common::{Error as CommonError, Event as CommonEvent, Pallet as PalletCommon};
25 Error as CommonError, Event as CommonEvent, Pallet as PalletCommon, account::CrossAccountId,25use pallet_evm::account::CrossAccountId;
26};
27use sp_runtime::{ArithmeticError, DispatchError, DispatchResult};26use sp_runtime::{ArithmeticError, DispatchError, DispatchResult};
28use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap};27use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap};
modifiedpallets/unique/Cargo.tomldiffbeforeafterboth
34 'fp-evm/std',34 'fp-evm/std',
35 'up-data-structs/std',35 'up-data-structs/std',
36 'up-sponsorship/std',36 'up-sponsorship/std',
37 'up-evm-mapping/std',37 'fp-evm-mapping/std',
38 'sp-std/std',38 'sp-std/std',
39 'sp-api/std',39 'sp-api/std',
40 'sp-runtime/std',40 'sp-runtime/std',
132sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }132sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
133133
134up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }134up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
135up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }135fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
136evm-coder = { default-features = false, path = "../../crates/evm-coder" }136evm-coder = { default-features = false, path = "../../crates/evm-coder" }
137pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }137pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
138primitive-types = { version = "0.11.1", default-features = false, features = [138primitive-types = { version = "0.11.1", default-features = false, features = [
139 "serde_no_std",139 "serde_no_std",
140] }140] }
141141
142pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }142pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
143pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }143pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
144fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }144fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
145hex-literal = "0.3.3"145hex-literal = "0.3.3"
146146
147pallet-common = { default-features = false, path = "../common" }147pallet-common = { default-features = false, path = "../common" }
modifiedpallets/unique/src/eth/sponsoring.rsdiffbeforeafterboth
24use up_sponsorship::SponsorshipHandler;24use up_sponsorship::SponsorshipHandler;
25use core::marker::PhantomData;25use core::marker::PhantomData;
26use core::convert::TryInto;26use core::convert::TryInto;
27use up_data_structs::{TokenId, CreateItemData, CreateNftData};
28use up_evm_mapping::EvmBackwardsAddressMapping;
29use pallet_common::account::CrossAccountId;27use pallet_evm::account::CrossAccountId;
3028
31use pallet_nonfungible::erc::{29use pallet_nonfungible::erc::{
32 UniqueNFTCall, ERC721UniqueExtensionsCall, ERC721MintableCall, ERC721Call,30 UniqueNFTCall, ERC721UniqueExtensionsCall, ERC721MintableCall, ERC721Call,
33};31};
34use pallet_fungible::erc::{UniqueFungibleCall, ERC20Call};32use pallet_fungible::erc::{UniqueFungibleCall, ERC20Call};
33use up_data_structs::{TokenId, CreateItemData, CreateNftData};
3534
36pub struct UniqueEthSponsorshipHandler<T: Config>(PhantomData<*const T>);35pub struct UniqueEthSponsorshipHandler<T: Config>(PhantomData<*const T>);
37impl<T: Config> SponsorshipHandler<H160, (H160, Vec<u8>)> for UniqueEthSponsorshipHandler<T> {36impl<T: Config> SponsorshipHandler<T::CrossAccountId, (H160, Vec<u8>)>
37 for UniqueEthSponsorshipHandler<T>
38{
38 fn get_sponsor(who: &H160, call: &(H160, Vec<u8>)) -> Option<H160> {39 fn get_sponsor(who: &T::CrossAccountId, call: &(H160, Vec<u8>)) -> Option<T::CrossAccountId> {
39 let collection_id = map_eth_to_id(&call.0)?;40 let collection_id = map_eth_to_id(&call.0)?;
40 let collection = <CollectionHandle<T>>::new(collection_id)?;41 let collection = <CollectionHandle<T>>::new(collection_id)?;
41 let sponsor = collection.sponsorship.sponsor()?.clone();42 let sponsor = collection.sponsorship.sponsor()?.clone();
42 let sponsor =
43 <T as pallet_common::Config>::EvmBackwardsAddressMapping::from_account_id(sponsor);
44 let who = T::CrossAccountId::from_eth(*who);
45 let (method_id, mut reader) = AbiReader::new_call(&call.1).ok()?;43 let (method_id, mut reader) = AbiReader::new_call(&call.1).ok()?;
46 match &collection.mode {44 Some(T::CrossAccountId::from_sub(match &collection.mode {
47 crate::CollectionMode::NFT => {45 crate::CollectionMode::NFT => {
48 let call = <UniqueNFTCall<T>>::parse(method_id, &mut reader).ok()??;46 let call = <UniqueNFTCall<T>>::parse(method_id, &mut reader).ok()??;
49 match call {47 match call {
83 #[allow(clippy::single_match)]81 #[allow(clippy::single_match)]
84 match call {82 match call {
85 UniqueFungibleCall::ERC20(ERC20Call::Transfer { .. }) => {83 UniqueFungibleCall::ERC20(ERC20Call::Transfer { .. }) => {
86 withdraw_transfer::<T>(&collection, &who, &TokenId::default())84 withdraw_transfer::<T>(&collection, who, &TokenId::default())
87 .map(|()| sponsor)85 .map(|()| sponsor)
88 }86 }
89 UniqueFungibleCall::ERC20(ERC20Call::TransferFrom { from, .. }) => {87 UniqueFungibleCall::ERC20(ERC20Call::TransferFrom { from, .. }) => {
99 }97 }
100 }98 }
101 _ => None,99 _ => None,
102 }100 }?))
103 }101 }
104}102}
105103
modifiedpallets/unique/src/lib.rsdiffbeforeafterboth
54 CreateCollectionData, CustomDataLimit, CreateItemExData,54 CreateCollectionData, CustomDataLimit, CreateItemExData,
55};55};
56use pallet_common::{56use pallet_common::{CollectionHandle, Pallet as PalletCommon, Error as CommonError, CommonWeightInfo};
57 account::CrossAccountId, CollectionHandle, Pallet as PalletCommon, Error as CommonError,57use pallet_evm::account::CrossAccountId;
58 CommonWeightInfo,
59};
60use pallet_refungible::{Pallet as PalletRefungible, RefungibleHandle};58use pallet_refungible::{Pallet as PalletRefungible, RefungibleHandle};
61use pallet_fungible::{Pallet as PalletFungible, FungibleHandle};59use pallet_fungible::{Pallet as PalletFungible, FungibleHandle};
6967
70mod eth;68mod eth;
71mod sponsorship;69mod sponsorship;
72pub use sponsorship::UniqueSponsorshipHandler;70pub use sponsorship::{UniqueSponsorshipHandler, UniqueSponsorshipPredict};
73pub use eth::sponsoring::UniqueEthSponsorshipHandler;71pub use eth::sponsoring::UniqueEthSponsorshipHandler;
7472
75pub use eth::UniqueErcSupport;73pub use eth::UniqueErcSupport;
84pub mod weights;82pub mod weights;
85use weights::WeightInfo;83use weights::WeightInfo;
84
85pub trait SponsorshipPredict<T: Config> {
86 fn predict(collection: CollectionId, account: T::CrossAccountId, token: TokenId) -> Option<u64>
87 where
88 u64: From<<T as frame_system::Config>::BlockNumber>;
89}
8690
87decl_error! {91decl_error! {
88 /// Error for non-fungible-token module.92 /// Error for non-fungible-token module.
116 pub enum Event<T>120 pub enum Event<T>
117 where121 where
118 <T as frame_system::Config>::AccountId,122 <T as frame_system::Config>::AccountId,
119 <T as pallet_common::Config>::CrossAccountId,123 <T as pallet_evm::account::Config>::CrossAccountId,
120 {124 {
121 /// Collection sponsor was removed125 /// Collection sponsor was removed
122 ///126 ///
modifiedpallets/unique/src/mock.rsdiffbeforeafterboth
25};25};
26use pallet_transaction_payment::{CurrencyAdapter};26use pallet_transaction_payment::{CurrencyAdapter};
27use frame_system as system;27use frame_system as system;
28use pallet_evm::{AddressMapping, runner::stack::MaybeMirroredLog};28use pallet_evm::{AddressMapping, runner::stack::MaybeMirroredLog, account::CrossAccountId};
29use pallet_common::account::{EvmBackwardsAddressMapping, CrossAccountId};29use fp_evm_mapping::EvmBackwardsAddressMapping;
30use codec::{Encode, Decode, MaxEncodedLen};30use codec::{Encode, Decode, MaxEncodedLen};
31use scale_info::TypeInfo;31use scale_info::TypeInfo;
32use up_data_structs::ConstU32;32use up_data_structs::ConstU32;
191191
192impl pallet_common::Config for Test {192impl pallet_common::Config for Test {
193 type Event = ();193 type Event = ();
194 type EvmBackwardsAddressMapping = TestEvmBackwardsAddressMapping;
195 type EvmAddressMapping = TestEvmAddressMapping;
196 type CrossAccountId = TestCrossAccountId;
197
198 type Currency = Balances;194 type Currency = Balances;
199 type CollectionCreationPrice = CollectionCreationPrice;195 type CollectionCreationPrice = CollectionCreationPrice;
200 type TreasuryAccountId = TreasuryAccountId;196 type TreasuryAccountId = TreasuryAccountId;
201}197}
198
199impl pallet_evm::account::Config for Test {
200 type CrossAccountId = TestCrossAccountId;
201 type EvmAddressMapping = TestEvmAddressMapping;
202 type EvmBackwardsAddressMapping = TestEvmBackwardsAddressMapping;
203}
202204
203impl pallet_fungible::Config for Test {205impl pallet_fungible::Config for Test {
204 type WeightInfo = ();206 type WeightInfo = ();
modifiedpallets/unique/src/sponsorship.rsdiffbeforeafterboth
29 CollectionId, FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, MetaUpdatePermission,29 CollectionId, FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, MetaUpdatePermission,
30 NFT_SPONSOR_TRANSFER_TIMEOUT, REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, TokenId,30 NFT_SPONSOR_TRANSFER_TIMEOUT, REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, TokenId,
31};31};
32use sp_runtime::traits::Saturating;
32use pallet_common::{CollectionHandle};33use pallet_common::{CollectionHandle};
33use pallet_common::account::CrossAccountId;34use pallet_evm::account::CrossAccountId;
3435
35pub fn withdraw_transfer<T: Config>(36pub fn withdraw_transfer<T: Config>(
36 collection: &CollectionHandle<T>,37 collection: &CollectionHandle<T>,
302 }303 }
303}304}
305
306use crate::SponsorshipPredict;
307use up_data_structs::SponsorshipState;
308pub struct UniqueSponsorshipPredict<T>(PhantomData<T>);
309
310impl<T> SponsorshipPredict<T> for UniqueSponsorshipPredict<T>
311where
312 T: Config,
313{
314 fn predict(collection_id: CollectionId, who: T::CrossAccountId, token: TokenId) -> Option<u64>
315 where
316 u64: From<<T as frame_system::Config>::BlockNumber>,
317 {
318 let collection = <CollectionHandle<T>>::try_get(collection_id).ok()?;
319 let _ = collection.sponsorship.sponsor()?;
320
321 // sponsor timeout
322 let block_number = <frame_system::Pallet<T>>::block_number() as T::BlockNumber;
323 let limit = collection
324 .limits
325 .sponsor_transfer_timeout(match collection.mode {
326 CollectionMode::NFT => NFT_SPONSOR_TRANSFER_TIMEOUT,
327 CollectionMode::Fungible(_) => FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
328 CollectionMode::ReFungible => REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
329 });
330
331 let last_tx_block = match collection.mode {
332 CollectionMode::NFT => <NftTransferBasket<T>>::get(collection.id, token),
333 CollectionMode::Fungible(_) => {
334 <FungibleTransferBasket<T>>::get(collection.id, who.as_sub())
335 }
336 CollectionMode::ReFungible => {
337 <ReFungibleTransferBasket<T>>::get((collection.id, token, who.as_sub()))
338 }
339 };
340
341 if let Some(last_tx_block) = last_tx_block {
342 return Some(
343 last_tx_block
344 .saturating_add(limit.into())
345 .saturating_sub(block_number)
346 .into(),
347 );
348 }
349
350 let token_exists = match collection.mode {
351 CollectionMode::NFT => {
352 <pallet_nonfungible::TokenData<T>>::contains_key((collection.id, token))
353 }
354 CollectionMode::Fungible(_) => true,
355 CollectionMode::ReFungible => {
356 <pallet_refungible::TotalSupply<T>>::contains_key((collection.id, token))
357 }
358 };
359
360 if token_exists {
361 Some(0)
362 } else {
363 None
364 }
365 }
366}
304367
modifiedpallets/unique/src/tests.rsdiffbeforeafterboth
18use super::*;18use super::*;
19use crate::mock::*;19use crate::mock::*;
20use crate::{AccessMode, CollectionMode};20use crate::{AccessMode, CollectionMode};
21use sp_runtime::AccountId32;
21use up_data_structs::{22use up_data_structs::{
22 COLLECTION_NUMBER_LIMIT, CollectionId, CreateItemData, CreateFungibleData, CreateNftData,23 COLLECTION_NUMBER_LIMIT, CollectionId, CreateItemData, CreateFungibleData, CreateNftData,
23 CreateReFungibleData, MAX_DECIMAL_POINTS, COLLECTION_ADMINS_LIMIT, MetaUpdatePermission,24 CreateReFungibleData, MAX_DECIMAL_POINTS, COLLECTION_ADMINS_LIMIT, MetaUpdatePermission,
2855 });2856 });
2856}2857}
2858
2859#[test]
2860fn collection_sponsoring() {
2861 new_test_ext().execute_with(|| {
2862 // default_limits();
2863 let user1 = 1_u64;
2864 let user2 = 777_u64;
2865 let origin1 = Origin::signed(user1);
2866 let origin2 = Origin::signed(user2);
2867 let account2 = account(user2);
2868
2869 let collection_id =
2870 create_test_collection_for_owner(&CollectionMode::NFT, user1, CollectionId(1));
2871 assert_ok!(TemplateModule::set_collection_sponsor(
2872 origin1.clone(),
2873 collection_id,
2874 user1
2875 ));
2876 assert_ok!(TemplateModule::confirm_sponsorship(
2877 origin1.clone(),
2878 collection_id
2879 ));
2880
2881 // Expect error while have no permissions
2882 assert!(TemplateModule::create_item(
2883 origin2.clone(),
2884 collection_id,
2885 account2.clone(),
2886 default_nft_data().into()
2887 )
2888 .is_err());
2889
2890 assert_ok!(TemplateModule::set_public_access_mode(
2891 origin1.clone(),
2892 collection_id,
2893 AccessMode::AllowList
2894 ));
2895 assert_ok!(TemplateModule::add_to_allow_list(
2896 origin1.clone(),
2897 collection_id,
2898 account2.clone()
2899 ));
2900 assert_ok!(TemplateModule::set_mint_permission(
2901 origin1.clone(),
2902 collection_id,
2903 true
2904 ));
2905
2906 assert_ok!(TemplateModule::create_item(
2907 origin2,
2908 collection_id,
2909 account2,
2910 default_nft_data().into()
2911 ));
2912 });
2913}
28572914
deletedprimitives/evm-mapping/Cargo.tomldiffbeforeafterboth

no changes

deletedprimitives/evm-mapping/src/lib.rsdiffbeforeafterboth

no changes

modifiedprimitives/rpc/Cargo.tomldiffbeforeafterboth
14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }15sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
1718
18[features]19[features]
19default = ["std"]20default = ["std"]
modifiedprimitives/rpc/src/lib.rsdiffbeforeafterboth
1616
17#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
1818
19use up_data_structs::{CollectionId, TokenId, Collection, CollectionStats};19use up_data_structs::{CollectionId, TokenId, Collection, CollectionStats, CollectionLimits};
20use sp_std::vec::Vec;20use sp_std::vec::Vec;
21use sp_core::H160;21use sp_core::H160;
22use codec::Decode;22use codec::Decode;
28 #[api_version(2)]28 #[api_version(2)]
29 pub trait UniqueApi<CrossAccountId, AccountId> where29 pub trait UniqueApi<CrossAccountId, AccountId> where
30 AccountId: Decode,30 AccountId: Decode,
31 CrossAccountId: pallet_common::account::CrossAccountId<AccountId>,31 CrossAccountId: pallet_evm::account::CrossAccountId<AccountId>,
32 {32 {
33 #[changed_in(2)]33 #[changed_in(2)]
34 fn token_owner(collection: CollectionId, token: TokenId) -> Result<CrossAccountId>;34 fn token_owner(collection: CollectionId, token: TokenId) -> Result<CrossAccountId>;
59 fn last_token_id(collection: CollectionId) -> Result<TokenId>;59 fn last_token_id(collection: CollectionId) -> Result<TokenId>;
60 fn collection_by_id(collection: CollectionId) -> Result<Option<Collection<AccountId>>>;60 fn collection_by_id(collection: CollectionId) -> Result<Option<Collection<AccountId>>>;
61 fn collection_stats() -> Result<CollectionStats>;61 fn collection_stats() -> Result<CollectionStats>;
62 fn next_sponsored(collection: CollectionId, account: CrossAccountId, token: TokenId) -> Result<Option<u64>>;
63 fn effective_collection_limits(collection_id: CollectionId) -> Result<Option<CollectionLimits>>;
62 }64 }
63}65}
6466
modifiedruntime/common/Cargo.tomldiffbeforeafterboth
69[dependencies.fp-rpc]69[dependencies.fp-rpc]
70default-features = false70default-features = false
71git = "https://github.com/uniquenetwork/frontier.git"71git = "https://github.com/uniquenetwork/frontier.git"
72branch = "unique-polkadot-v0.9.18"72branch = "unique-polkadot-v0.9.18-2"
7373
74[dependencies]
75pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
69 fn collection_stats() -> Result<CollectionStats, DispatchError> {69 fn collection_stats() -> Result<CollectionStats, DispatchError> {
70 Ok(<pallet_common::Pallet<Runtime>>::collection_stats())70 Ok(<pallet_common::Pallet<Runtime>>::collection_stats())
71 }71 }
72 fn next_sponsored(collection: CollectionId, account: CrossAccountId, token: TokenId) -> Result<Option<u64>, DispatchError> {
73 Ok(<pallet_unique::UniqueSponsorshipPredict<Runtime> as
74 pallet_unique::SponsorshipPredict<Runtime>>::predict(
75 collection,
76 account,
77 token))
78 }
79
80 fn effective_collection_limits(collection: CollectionId) -> Result<Option<CollectionLimits>, DispatchError> {
81 Ok(<pallet_common::Pallet<Runtime>>::effective_collection_limits(collection))
82 }
72 }83 }
7384
74 impl sp_api::Core<Block> for Runtime {85 impl sp_api::Core<Block> for Runtime {
181 };192 };
182193
183 <Runtime as pallet_evm::Config>::Runner::call(194 <Runtime as pallet_evm::Config>::Runner::call(
184 from,195 CrossAccountId::from_eth(from),
185 to,196 to,
186 data,197 data,
187 value,198 value,
215 };226 };
216227
217 <Runtime as pallet_evm::Config>::Runner::create(228 <Runtime as pallet_evm::Config>::Runner::create(
218 from,229 CrossAccountId::from_eth(from),
219 data,230 data,
220 value,231 value,
221 gas_limit.low_u64(),232 gas_limit.low_u64(),
modifiedruntime/common/src/types.rsdiffbeforeafterboth
42pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;42pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;
4343
44pub trait RuntimeInstance {44pub trait RuntimeInstance {
45 type CrossAccountId: pallet_common::account::CrossAccountId<sp_runtime::AccountId32>45 type CrossAccountId: pallet_evm::account::CrossAccountId<sp_runtime::AccountId32>
46 + Send46 + Send
47 + Sync47 + Sync
48 + 'static;48 + 'static;
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
72 'pallet-base-fee/std',72 'pallet-base-fee/std',
73 'fp-rpc/std',73 'fp-rpc/std',
74 'up-rpc/std',74 'up-rpc/std',
75 'up-evm-mapping/std',75 'fp-evm-mapping/std',
76 'fp-self-contained/std',76 'fp-self-contained/std',
77 'parachain-info/std',77 'parachain-info/std',
78 'serde',78 'serde',
382derivative = "2.2.0"382derivative = "2.2.0"
383pallet-unique = { path = '../../pallets/unique', default-features = false }383pallet-unique = { path = '../../pallets/unique', default-features = false }
384up-rpc = { path = "../../primitives/rpc", default-features = false }384up-rpc = { path = "../../primitives/rpc", default-features = false }
385up-evm-mapping = { path = "../../primitives/evm-mapping", default-features = false }385fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
386pallet-inflation = { path = '../../pallets/inflation', default-features = false }386pallet-inflation = { path = '../../pallets/inflation', default-features = false }
387up-data-structs = { path = '../../primitives/data-structs', default-features = false }387up-data-structs = { path = '../../primitives/data-structs', default-features = false }
388pallet-common = { default-features = false, path = "../../pallets/common" }388pallet-common = { default-features = false, path = "../../pallets/common" }
396pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }396pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
397pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }397pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
398pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }398pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
399pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }399pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
400pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }400pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
401pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }401pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
402fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }402fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
403fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }403fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
404404
405################################################################################405################################################################################
406# Build Dependencies406# Build Dependencies
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
49// A few exports that help ease life for downstream crates.49// A few exports that help ease life for downstream crates.
50pub use pallet_balances::Call as BalancesCall;50pub use pallet_balances::Call as BalancesCall;
51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};51pub use pallet_evm::{
52 EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,
53};
52pub use frame_support::{54pub use frame_support::{
53 construct_runtime, match_type,55 construct_runtime, match_type,
117pub const RUNTIME_NAME: &str = "opal";119pub const RUNTIME_NAME: &str = "opal";
118pub const TOKEN_SYMBOL: &str = "OPL";120pub const TOKEN_SYMBOL: &str = "OPL";
119121
120type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;122type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;
121123
122impl RuntimeInstance for Runtime {124impl RuntimeInstance for Runtime {
123 type CrossAccountId = self::CrossAccountId;125 type CrossAccountId = self::CrossAccountId;
129 }130 }
130}131}
132
133/// The type for looking up accounts. We don't expect more than 4 billion of them, but you
134/// never know...
135pub type AccountIndex = u32;
136
137/// Balance of an account.
138pub type Balance = u128;
139
140/// Index of a transaction in the chain.
141pub type Index = u32;
142
143/// A hash of some data used by the chain.
144pub type Hash = sp_core::H256;
145
146/// Digest item type.
147pub type DigestItem = generic::DigestItem;
131148
132/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know149/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know
133/// the specifics of the runtime. They can then be made to be agnostic over specific formats150/// the specifics of the runtime. They can then be made to be agnostic over specific formats
152 spec_name: create_runtime_str!(RUNTIME_NAME),169 spec_name: create_runtime_str!(RUNTIME_NAME),
153 impl_name: create_runtime_str!(RUNTIME_NAME),170 impl_name: create_runtime_str!(RUNTIME_NAME),
154 authoring_version: 1,171 authoring_version: 1,
155 spec_version: 918001,172 spec_version: 918010,
156 impl_version: 0,173 impl_version: 0,
157 apis: RUNTIME_API_VERSIONS,174 apis: RUNTIME_API_VERSIONS,
158 transaction_version: 1,175 transaction_version: 1,
258 }275 }
259}276}
277
278impl pallet_evm::account::Config for Runtime {
279 type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;
280 type EvmAddressMapping = pallet_evm::HashedAddressMapping<Self::Hashing>;
281 type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;
282}
260283
261impl pallet_evm::Config for Runtime {284impl pallet_evm::Config for Runtime {
262 type BlockGasLimit = BlockGasLimit;285 type BlockGasLimit = BlockGasLimit;
845868
846impl pallet_common::Config for Runtime {869impl pallet_common::Config for Runtime {
847 type Event = Event;870 type Event = Event;
848 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;
849 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
850 type CrossAccountId = pallet_common::account::BasicCrossAccountId<Self>;
851
852 type Currency = Balances;871 type Currency = Balances;
853 type CollectionCreationPrice = CollectionCreationPrice;872 type CollectionCreationPrice = CollectionCreationPrice;
912impl pallet_evm_transaction_payment::Config for Runtime {931impl pallet_evm_transaction_payment::Config for Runtime {
913 type EvmSponsorshipHandler = EvmSponsorshipHandler;932 type EvmSponsorshipHandler = EvmSponsorshipHandler;
914 type Currency = Balances;933 type Currency = Balances;
915 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
916 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;
917}934}
918935
919impl pallet_charge_transaction::Config for Runtime {936impl pallet_charge_transaction::Config for Runtime {
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
72 'pallet-base-fee/std',72 'pallet-base-fee/std',
73 'fp-rpc/std',73 'fp-rpc/std',
74 'up-rpc/std',74 'up-rpc/std',
75 'up-evm-mapping/std',75 'fp-evm-mapping/std',
76 'fp-self-contained/std',76 'fp-self-contained/std',
77 'parachain-info/std',77 'parachain-info/std',
78 'serde',78 'serde',
382derivative = "2.2.0"382derivative = "2.2.0"
383pallet-unique = { path = '../../pallets/unique', default-features = false }383pallet-unique = { path = '../../pallets/unique', default-features = false }
384up-rpc = { path = "../../primitives/rpc", default-features = false }384up-rpc = { path = "../../primitives/rpc", default-features = false }
385up-evm-mapping = { path = "../../primitives/evm-mapping", default-features = false }385fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
386pallet-inflation = { path = '../../pallets/inflation', default-features = false }386pallet-inflation = { path = '../../pallets/inflation', default-features = false }
387up-data-structs = { path = '../../primitives/data-structs', default-features = false }387up-data-structs = { path = '../../primitives/data-structs', default-features = false }
388pallet-common = { default-features = false, path = "../../pallets/common" }388pallet-common = { default-features = false, path = "../../pallets/common" }
396pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }396pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
397pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }397pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
398pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }398pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
399pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }399pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
400pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }400pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
401pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }401pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
402fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }402fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
403fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }403fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
404404
405################################################################################405################################################################################
406# Build Dependencies406# Build Dependencies
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
49// A few exports that help ease life for downstream crates.49// A few exports that help ease life for downstream crates.
50pub use pallet_balances::Call as BalancesCall;50pub use pallet_balances::Call as BalancesCall;
51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};51pub use pallet_evm::{
52 EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,
53};
52pub use frame_support::{54pub use frame_support::{
53 construct_runtime, match_type,55 construct_runtime, match_type,
117pub const RUNTIME_NAME: &str = "quartz";119pub const RUNTIME_NAME: &str = "quartz";
118pub const TOKEN_SYMBOL: &str = "QTZ";120pub const TOKEN_SYMBOL: &str = "QTZ";
119121
120type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;122type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;
121123
122impl RuntimeInstance for Runtime {124impl RuntimeInstance for Runtime {
123 type CrossAccountId = self::CrossAccountId;125 type CrossAccountId = self::CrossAccountId;
152 spec_name: create_runtime_str!(RUNTIME_NAME),154 spec_name: create_runtime_str!(RUNTIME_NAME),
153 impl_name: create_runtime_str!(RUNTIME_NAME),155 impl_name: create_runtime_str!(RUNTIME_NAME),
154 authoring_version: 1,156 authoring_version: 1,
155 spec_version: 918001,157 spec_version: 918010,
156 impl_version: 0,158 impl_version: 0,
157 apis: RUNTIME_API_VERSIONS,159 apis: RUNTIME_API_VERSIONS,
158 transaction_version: 1,160 transaction_version: 1,
845847
846impl pallet_common::Config for Runtime {848impl pallet_common::Config for Runtime {
847 type Event = Event;849 type Event = Event;
848 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;
849 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
850 type CrossAccountId = pallet_common::account::BasicCrossAccountId<Self>;
851850
852 type Currency = Balances;851 type Currency = Balances;
853 type CollectionCreationPrice = CollectionCreationPrice;852 type CollectionCreationPrice = CollectionCreationPrice;
854 type TreasuryAccountId = TreasuryAccountId;853 type TreasuryAccountId = TreasuryAccountId;
855}854}
855
856impl pallet_evm::account::Config for Runtime {
857 type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;
858 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
859 type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;
860}
856861
857impl pallet_fungible::Config for Runtime {862impl pallet_fungible::Config for Runtime {
858 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;863 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;
912impl pallet_evm_transaction_payment::Config for Runtime {917impl pallet_evm_transaction_payment::Config for Runtime {
913 type EvmSponsorshipHandler = EvmSponsorshipHandler;918 type EvmSponsorshipHandler = EvmSponsorshipHandler;
914 type Currency = Balances;919 type Currency = Balances;
915 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
916 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;
917}920}
918921
919impl pallet_charge_transaction::Config for Runtime {922impl pallet_charge_transaction::Config for Runtime {
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
72 'pallet-base-fee/std',72 'pallet-base-fee/std',
73 'fp-rpc/std',73 'fp-rpc/std',
74 'up-rpc/std',74 'up-rpc/std',
75 'up-evm-mapping/std',75 'fp-evm-mapping/std',
76 'fp-self-contained/std',76 'fp-self-contained/std',
77 'parachain-info/std',77 'parachain-info/std',
78 'serde',78 'serde',
382derivative = "2.2.0"382derivative = "2.2.0"
383pallet-unique = { path = '../../pallets/unique', default-features = false }383pallet-unique = { path = '../../pallets/unique', default-features = false }
384up-rpc = { path = "../../primitives/rpc", default-features = false }384up-rpc = { path = "../../primitives/rpc", default-features = false }
385up-evm-mapping = { path = "../../primitives/evm-mapping", default-features = false }
386pallet-inflation = { path = '../../pallets/inflation', default-features = false }385pallet-inflation = { path = '../../pallets/inflation', default-features = false }
387up-data-structs = { path = '../../primitives/data-structs', default-features = false }386up-data-structs = { path = '../../primitives/data-structs', default-features = false }
388pallet-common = { default-features = false, path = "../../pallets/common" }387pallet-common = { default-features = false, path = "../../pallets/common" }
396pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }395pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
397pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }396pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
398pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }397pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
399pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }398pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
400pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }399pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
401pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }400pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
402fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }401fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
403fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }402fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
403fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
404404
405################################################################################405################################################################################
406# Build Dependencies406# Build Dependencies
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
49// A few exports that help ease life for downstream crates.49// A few exports that help ease life for downstream crates.
50pub use pallet_balances::Call as BalancesCall;50pub use pallet_balances::Call as BalancesCall;
51pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};51pub use pallet_evm::{
52 EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,
53};
52pub use frame_support::{54pub use frame_support::{
53 construct_runtime, match_type,55 construct_runtime, match_type,
116pub const RUNTIME_NAME: &str = "unique";118pub const RUNTIME_NAME: &str = "unique";
117pub const TOKEN_SYMBOL: &str = "UNQ";119pub const TOKEN_SYMBOL: &str = "UNQ";
118120
119type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;121type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;
120122
121impl RuntimeInstance for Runtime {123impl RuntimeInstance for Runtime {
122 type CrossAccountId = self::CrossAccountId;124 type CrossAccountId = self::CrossAccountId;
151 spec_name: create_runtime_str!(RUNTIME_NAME),153 spec_name: create_runtime_str!(RUNTIME_NAME),
152 impl_name: create_runtime_str!(RUNTIME_NAME),154 impl_name: create_runtime_str!(RUNTIME_NAME),
153 authoring_version: 1,155 authoring_version: 1,
154 spec_version: 918001,156 spec_version: 918010,
155 impl_version: 0,157 impl_version: 0,
156 apis: RUNTIME_API_VERSIONS,158 apis: RUNTIME_API_VERSIONS,
157 transaction_version: 1,159 transaction_version: 1,
844846
845impl pallet_common::Config for Runtime {847impl pallet_common::Config for Runtime {
846 type Event = Event;848 type Event = Event;
847 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;
848 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
849 type CrossAccountId = pallet_common::account::BasicCrossAccountId<Self>;
850
851 type Currency = Balances;849 type Currency = Balances;
852 type CollectionCreationPrice = CollectionCreationPrice;850 type CollectionCreationPrice = CollectionCreationPrice;
853 type TreasuryAccountId = TreasuryAccountId;851 type TreasuryAccountId = TreasuryAccountId;
854}852}
853
854impl pallet_evm::account::Config for Runtime {
855 type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;
856 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
857 type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;
858}
855859
856impl pallet_fungible::Config for Runtime {860impl pallet_fungible::Config for Runtime {
857 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;861 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;
911impl pallet_evm_transaction_payment::Config for Runtime {915impl pallet_evm_transaction_payment::Config for Runtime {
912 type EvmSponsorshipHandler = EvmSponsorshipHandler;916 type EvmSponsorshipHandler = EvmSponsorshipHandler;
913 type Currency = Balances;917 type Currency = Balances;
914 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;
915 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;
916}918}
917919
918impl pallet_charge_transaction::Config for Runtime {920impl pallet_charge_transaction::Config for Runtime {
modifiedtests/README.mddiffbeforeafterboth
20git clone https://github.com/paritytech/polkadot-launch && cd polkadot-launch20git clone https://github.com/paritytech/polkadot-launch && cd polkadot-launch
21```21```
2222
235. Run launch-test-env.sh from the root of this project235. Run launch-testnet.sh from the root of this project
2424
2525
26## How to run tests26## How to run tests
modifiedtests/package.jsondiffbeforeafterboth
67 "testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts",67 "testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts",
68 "testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts",68 "testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts",
69 "testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts",69 "testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts",
70 "testLimits": "mocha --timeout 9999999 -r ts-node/register ./**/limits.test.ts",
70 "polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",71 "polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",
71 "polkadot-types-from-defs": "echo 'export default {}' > src/interfaces/lookup.ts && ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",72 "polkadot-types-from-defs": "echo 'export default {}' > src/interfaces/lookup.ts && ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",
72 "polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",73 "polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",
modifiedtests/src/eth/base.test.tsdiffbeforeafterboth
34 const userB = createEthAccount(web3);34 const userB = createEthAccount(web3);
3535
36 const cost = await recordEthFee(api, userA, () => web3.eth.sendTransaction({from: userA, to: userB, value: '1000000', ...GAS_ARGS}));36 const cost = await recordEthFee(api, userA, () => web3.eth.sendTransaction({from: userA, to: userB, value: '1000000', ...GAS_ARGS}));
37 const balanceB = await ethBalanceViaSub(api, userB);
37 expect(cost - await ethBalanceViaSub(api, userB) < BigInt(0.2 * Number(UNIQUE))).to.be.true;38 expect(cost - balanceB < BigInt(0.2 * Number(UNIQUE))).to.be.true;
38 });39 });
3940
40 itWeb3('NFT transfer is close to 0.15 UNQ', async ({web3, api}) => {41 itWeb3('NFT transfer is close to 0.15 UNQ', async ({web3, api}) => {
modifiedtests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth
24 itWeb3,24 itWeb3,
25 SponsoringMode,25 SponsoringMode,
26 createEthAccount,26 createEthAccount,
27 collectionIdToAddress,
28 GAS_ARGS,
29 normalizeEvents,
30 subToEth,
31 executeEthTxOnSub,
27} from './util/helpers';32} from './util/helpers';
33import {
34 addCollectionAdminExpectSuccess,
35 createCollectionExpectSuccess,
36 getCreateCollectionResult,
37 transferBalanceTo,
38} from '../util/helpers';
39import nonFungibleAbi from './nonFungibleAbi.json';
40import {
41 submitTransactionAsync,
42} from '../substrate/substrate-api';
43import getBalance from '../substrate/get-balance';
44import {alicesPublicKey} from '../accounts';
2845
29describe('Sponsoring EVM contracts', () => {46describe('Sponsoring EVM contracts', () => {
30 itWeb3('Sponsoring can be set by the address that has deployed the contract', async ({api, web3}) => {47 itWeb3('Sponsoring can be set by the address that has deployed the contract', async ({api, web3}) => {
200 expect(await helpers.methods.getSponsoringRateLimit(flipper.options.address).call()).to.be.equals('7200');217 expect(await helpers.methods.getSponsoringRateLimit(flipper.options.address).call()).to.be.equals('7200');
201 });218 });
219
220 itWeb3('Sponsoring evm address from substrate collection', async ({api, web3}) => {
221 const owner = privateKey('//Alice');
222 const userEth = createEthAccount(web3);
223 const collectionId = await createCollectionExpectSuccess();
224
225 {
226 const tx = api.tx.unique.setCollectionSponsor(collectionId, owner.address);
227 const events = await submitTransactionAsync(owner, tx);
228 const result = getCreateCollectionResult(events);
229 expect(result.success).to.be.true;
230 }
231 {
232 const tx = api.tx.unique.confirmSponsorship(collectionId);
233 const events = await submitTransactionAsync(owner, tx);
234 const result = getCreateCollectionResult(events);
235 expect(result.success).to.be.true;
236 }
237
238 const address = collectionIdToAddress(collectionId);
239 const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: userEth, ...GAS_ARGS});
240
241 { // This part should fail, because user not in access list and user have no money
242 const nextTokenId = await contract.methods.nextTokenId().call();
243 expect(nextTokenId).to.be.equal('1');
244 await expect(contract.methods.mintWithTokenURI(
245 userEth,
246 nextTokenId,
247 'Test URI',
248 ).call({from: userEth})).to.be.rejectedWith(/PublicMintingNotAllowed/);
249 }
250
251 {
252 const tx = api.tx.unique.setPublicAccessMode(collectionId, 'AllowList');
253 const events = await submitTransactionAsync(owner, tx);
254 const result = getCreateCollectionResult(events);
255 expect(result.success).to.be.true;
256 }
257 {
258 const tx = api.tx.unique.addToAllowList(collectionId, {Ethereum: userEth});
259 const events = await submitTransactionAsync(owner, tx);
260 const result = getCreateCollectionResult(events);
261 expect(result.success).to.be.true;
262 }
263 {
264 const tx = api.tx.unique.setMintPermission(collectionId, true);
265 const events = await submitTransactionAsync(owner, tx);
266 const result = getCreateCollectionResult(events);
267 expect(result.success).to.be.true;
268 }
269
270 const [alicesBalanceBefore] = await getBalance(api, [alicesPublicKey]);
271
272 {
273 const nextTokenId = await contract.methods.nextTokenId().call();
274 expect(nextTokenId).to.be.equal('1');
275 const result = await contract.methods.mintWithTokenURI(
276 userEth,
277 nextTokenId,
278 'Test URI',
279 ).send({from: userEth});
280 const events = normalizeEvents(result.events);
281
282 expect(events).to.be.deep.equal([
283 {
284 address,
285 event: 'Transfer',
286 args: {
287 from: '0x0000000000000000000000000000000000000000',
288 to: userEth,
289 tokenId: nextTokenId,
290 },
291 },
292 ]);
293
294 expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
295 }
296
297 const [alicesBalanceAfter] = await getBalance(api, [alicesPublicKey]);
298 expect(alicesBalanceAfter < alicesBalanceBefore).to.be.true;
299 });
300
301
302 itWeb3('Check that transaction via EVM spend money from substrate address', async ({api, web3}) => {
303 const owner = privateKey('//Alice');
304 const user = privateKey(`//User/${Date.now()}`);
305 const userEth = subToEth(user.address);
306 const collectionId = await createCollectionExpectSuccess();
307 await addCollectionAdminExpectSuccess(owner, collectionId, {Ethereum: userEth});
308 await transferBalanceTo(api, owner, user.address);
309
310 const address = collectionIdToAddress(collectionId);
311 const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: userEth, ...GAS_ARGS});
312
313 const [userBalanceBefore] = await getBalance(api, [user.address]);
314
315 {
316 const nextTokenId = await contract.methods.nextTokenId().call();
317 expect(nextTokenId).to.be.equal('1');
318 await executeEthTxOnSub(web3, api, user, contract, m => m.mintWithTokenURI(
319 userEth,
320 nextTokenId,
321 'Test URI',
322 ));
323
324 expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
325 }
326
327 const [userBalanceAfter] = await getBalance(api, [user.address]);
328 expect(userBalanceAfter < userBalanceBefore).to.be.true;
329 });
202});330});
203331
modifiedtests/src/eth/marketplace/marketplace.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {readFile} from 'fs/promises';17import {readFile} from 'fs/promises';
18import {getBalanceSingle, transferBalanceExpectSuccess} from '../../substrate/get-balance';18import {getBalanceSingle} from '../../substrate/get-balance';
19import privateKey from '../../substrate/privateKey';19import privateKey from '../../substrate/privateKey';
20import {addToAllowListExpectSuccess, confirmSponsorshipExpectSuccess, createCollectionExpectSuccess, createFungibleItemExpectSuccess, createItemExpectSuccess, getTokenOwner, setCollectionLimitsExpectSuccess, setCollectionSponsorExpectSuccess, transferExpectSuccess, transferFromExpectSuccess} from '../../util/helpers';20import {
21 addToAllowListExpectSuccess,
22 confirmSponsorshipExpectSuccess,
23 createCollectionExpectSuccess,
24 createItemExpectSuccess,
25 getTokenOwner,
26 setCollectionLimitsExpectSuccess,
27 setCollectionSponsorExpectSuccess,
28 transferExpectSuccess,
29 transferFromExpectSuccess,
30 transferBalanceTo,
31} from '../../util/helpers';
21import {collectionIdToAddress, contractHelpers, createEthAccountWithBalance, executeEthTxOnSub, GAS_ARGS, itWeb3, SponsoringMode, subToEth, subToEthLowercase, transferBalanceToEth} from '../util/helpers';32import {collectionIdToAddress, contractHelpers, createEthAccountWithBalance, executeEthTxOnSub, GAS_ARGS, itWeb3, SponsoringMode, subToEth, subToEthLowercase, transferBalanceToEth} from '../util/helpers';
22import {evmToAddress} from '@polkadot/util-crypto';33import {evmToAddress} from '@polkadot/util-crypto';
23import nonFungibleAbi from '../nonFungibleAbi.json';34import nonFungibleAbi from '../nonFungibleAbi.json';
24import fungibleAbi from '../fungibleAbi.json';35
25import {expect} from 'chai';36import {expect} from 'chai';
2637
27const PRICE = 2000n;38const PRICE = 2000n;
87 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});98 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});
88 });99 });
89100
90 // selling for custom tokens excluded from release
91 itWeb3.skip('With custom ERC20', async ({api, web3}) => {
92 const alice = privateKey('//Alice');
93 const matcherOwner = await createEthAccountWithBalance(api, web3);
94 const matcherContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/MarketPlace.abi`)).toString()), undefined, {
95 from: matcherOwner,
96 ...GAS_ARGS,
97 });
98 const matcher = await matcherContract.deploy({data: (await readFile(`${__dirname}/MarketPlace.bin`)).toString(), arguments: [matcherOwner]}).send({from: matcherOwner});
99
100 const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
101 const evmCollection = new web3.eth.Contract(nonFungibleAbi as any, collectionIdToAddress(collectionId), {from: matcherOwner});
102
103 const fungibleId = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
104 const evmFungible = new web3.eth.Contract(fungibleAbi as any, collectionIdToAddress(fungibleId), {from: matcherOwner, ...GAS_ARGS});
105 await createFungibleItemExpectSuccess(alice, fungibleId, {Value: PRICE}, {Ethereum: subToEth(alice.address)});
106
107 const seller = privateKey('//Bob');
108
109 const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', seller.address);
110
111 // To transfer item to matcher it first needs to be transfered to EVM account of bob
112 await transferExpectSuccess(collectionId, tokenId, seller, {Ethereum: subToEth(seller.address)});
113 // Fees will be paid from EVM account, so we should have some balance here
114 await transferBalanceExpectSuccess(api, seller, evmToAddress(subToEth(seller.address)), 10n ** 18n);
115 await transferBalanceExpectSuccess(api, alice, evmToAddress(subToEth(alice.address)), 10n ** 18n);
116
117 // Token is owned by seller initially
118 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(seller.address)});
119
120 // Ask
121 {
122 await executeEthTxOnSub(web3, api, seller, evmCollection, m => m.approve(matcher.options.address, tokenId));
123 await executeEthTxOnSub(web3, api, seller, matcher, m => m.addAsk(PRICE, evmFungible.options.address, evmCollection.options.address, tokenId, 1));
124 }
125
126 // Token is transferred to matcher
127 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: matcher.options.address.toLowerCase()});
128
129 // Buy
130 {
131 const sellerBalanceBeforePurchase = BigInt(await evmFungible.methods.balanceOf(subToEth(seller.address)).call());
132 const buyerBalanceBeforePurchase = BigInt(await evmFungible.methods.balanceOf(subToEth(alice.address)).call());
133
134 await executeEthTxOnSub(web3, api, alice, evmFungible, m => m.approve(matcher.options.address, PRICE));
135 // There is two functions named 'buy', so we should provide full signature
136 await executeEthTxOnSub(web3, api, alice, matcher, m =>
137 m['buy(address,uint256,address,uint256)'](evmCollection.options.address, tokenId, evmFungible.options.address, PRICE));
138
139 // Approved price is removed from buyer balance, and added to seller
140 expect(BigInt(await evmFungible.methods.balanceOf(subToEth(seller.address)).call()) - sellerBalanceBeforePurchase === PRICE);
141 expect(buyerBalanceBeforePurchase - BigInt(await evmFungible.methods.balanceOf(subToEth(alice.address)).call()) === PRICE);
142 }
143
144 // Token is transferred to evm account of alice
145 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(alice.address)});
146
147
148 // Transfer token to substrate side of alice
149 await transferFromExpectSuccess(collectionId, tokenId, alice, {Ethereum: subToEth(alice.address)}, {Substrate: alice.address});
150
151 // Token is transferred to substrate account of alice
152 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});
153 });
154101
155 itWeb3('With escrow', async ({api, web3}) => {102 itWeb3('With escrow', async ({api, web3}) => {
156 const alice = privateKey('//Alice');103 const alice = privateKey('//Alice');
223 });170 });
171
172
173 itWeb3('Sell tokens from substrate user via EVM contract', async ({api, web3}) => {
174 const alice = privateKey('//Alice');
175 const matcherOwner = await createEthAccountWithBalance(api, web3);
176 const matcherContract = new web3.eth.Contract(JSON.parse((await readFile(`${__dirname}/MarketPlace.abi`)).toString()), undefined, {
177 from: matcherOwner,
178 ...GAS_ARGS,
179 });
180 const matcher = await matcherContract.deploy({data: (await readFile(`${__dirname}/MarketPlace.bin`)).toString(), arguments:[matcherOwner]}).send({from: matcherOwner});
181 await transferBalanceToEth(api, alice, matcher.options.address);
182
183 const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
184 await setCollectionLimitsExpectSuccess(alice, collectionId, {sponsorApproveTimeout: 1});
185 const evmCollection = new web3.eth.Contract(nonFungibleAbi as any, collectionIdToAddress(collectionId), {from: matcherOwner});
186
187 const seller = privateKey(`//Seller/${Date.now()}`);
188 await transferBalanceTo(api, alice, seller.address);
189
190 const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', seller.address);
191
192 // To transfer item to matcher it first needs to be transfered to EVM account of bob
193 await transferExpectSuccess(collectionId, tokenId, seller, {Ethereum: subToEth(seller.address)});
194
195 // Token is owned by seller initially
196 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(seller.address)});
197
198 // Ask
199 {
200 await executeEthTxOnSub(web3, api, seller, evmCollection, m => m.approve(matcher.options.address, tokenId));
201 await executeEthTxOnSub(web3, api, seller, matcher, m => m.addAsk(PRICE, '0x0000000000000000000000000000000000000001', evmCollection.options.address, tokenId));
202 }
203
204 // Token is transferred to matcher
205 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: matcher.options.address.toLowerCase()});
206
207 // Buy
208 {
209 const sellerBalanceBeforePurchase = await getBalanceSingle(api, seller.address);
210 await executeEthTxOnSub(web3, api, alice, matcher, m => m.buy(evmCollection.options.address, tokenId), {value: PRICE});
211 expect(await getBalanceSingle(api, seller.address) - sellerBalanceBeforePurchase === PRICE);
212 }
213
214 // Token is transferred to evm account of alice
215 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Ethereum: subToEthLowercase(alice.address)});
216
217 // Transfer token to substrate side of alice
218 await transferFromExpectSuccess(collectionId, tokenId, alice, {Ethereum: subToEth(alice.address)}, {Substrate: alice.address});
219
220 // Token is transferred to substrate account of alice, seller received funds
221 expect(await getTokenOwner(api, collectionId, tokenId)).to.be.deep.equal({Substrate: alice.address});
222 });
224});223});
225224
modifiedtests/src/eth/util/helpers.tsdiffbeforeafterboth
29import privateKey from '../../substrate/privateKey';29import privateKey from '../../substrate/privateKey';
30import contractHelpersAbi from './contractHelpersAbi.json';30import contractHelpersAbi from './contractHelpersAbi.json';
31import getBalance from '../../substrate/get-balance';31import getBalance from '../../substrate/get-balance';
32import waitNewBlocks from '../../substrate/wait-new-blocks';
3233
33export const GAS_ARGS = {gas: 2500000};34export const GAS_ARGS = {gas: 2500000};
3435
241 return collector;242 return collector;
242}243}
243244
245/**
246 * pallet evm_contract_helpers
247 * @param web3
248 * @param caller - eth address
249 * @returns
250 */
244export function contractHelpers(web3: Web3, caller: string) {251export function contractHelpers(web3: Web3, caller: string) {
245 return new web3.eth.Contract(contractHelpersAbi as any, '0x842899ECF380553E8a4de75bF534cdf6fBF64049', {from: caller, ...GAS_ARGS});252 return new web3.eth.Contract(contractHelpersAbi as any, '0x842899ECF380553E8a4de75bF534cdf6fBF64049', {from: caller, ...GAS_ARGS});
246}253}
287294
288 await call();295 await call();
289296
297 // In dev mode, the transaction might not finish processing in time
298 await waitNewBlocks(api, 1);
290 const after = await ethBalanceViaSub(api, user);299 const after = await ethBalanceViaSub(api, user);
291300
292 // Can't use .to.be.less, because chai doesn't supports bigint301 // Can't use .to.be.less, because chai doesn't supports bigint
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
104 * No permission to perform action104 * No permission to perform action
105 **/105 **/
106 NoPermission: AugmentedError<ApiType>;106 NoPermission: AugmentedError<ApiType>;
107 /**
108 * Not sufficient founds to perform action
109 **/
110 NotSufficientFounds: AugmentedError<ApiType>;
107 /**111 /**
108 * Tried to enable permissions which are only permitted to be disabled112 * Tried to enable permissions which are only permitted to be disabled
109 **/113 **/
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
4import type { ApiTypes } from '@polkadot/api-base/types';4import type { ApiTypes } from '@polkadot/api-base/types';
5import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types-codec';5import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types-codec';
6import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';6import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
7import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletCommonAccountBasicCrossAccountIdRepr, SpRuntimeDispatchError, UpDataStructsAccessMode, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';7import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, SpRuntimeDispatchError, UpDataStructsAccessMode, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
88
9declare module '@polkadot/api-base/types/events' {9declare module '@polkadot/api-base/types/events' {
10 export interface AugmentedEvents<ApiType extends ApiTypes> {10 export interface AugmentedEvents<ApiType extends ApiTypes> {
68 * 68 *
69 * * amount69 * * amount
70 **/70 **/
71 Approved: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;71 Approved: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
72 /**72 /**
73 * New collection was created73 * New collection was created
74 * 74 *
102 * 102 *
103 * * amount: Always 1 for NFT103 * * amount: Always 1 for NFT
104 **/104 **/
105 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;105 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
106 /**106 /**
107 * Collection item was burned.107 * Collection item was burned.
108 * 108 *
116 * 116 *
117 * * amount: Always 1 for NFT117 * * amount: Always 1 for NFT
118 **/118 **/
119 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;119 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
120 /**120 /**
121 * Item was transferred121 * Item was transferred
122 * 122 *
130 * 130 *
131 * * amount: Always 1 for NFT131 * * amount: Always 1 for NFT
132 **/132 **/
133 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;133 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
134 /**134 /**
135 * Generic event135 * Generic event
136 **/136 **/
483 * 483 *
484 * * user: Address.484 * * user: Address.
485 **/485 **/
486 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;486 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
487 /**487 /**
488 * Address was remove from allow list488 * Address was remove from allow list
489 * 489 *
493 * 493 *
494 * * user: Address.494 * * user: Address.
495 **/495 **/
496 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;496 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
497 /**497 /**
498 * Collection admin was added498 * Collection admin was added
499 * 499 *
503 * 503 *
504 * * admin: Admin address.504 * * admin: Admin address.
505 **/505 **/
506 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;506 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
507 /**507 /**
508 * Collection admin was removed508 * Collection admin was removed
509 * 509 *
513 * 513 *
514 * * admin: Admin address.514 * * admin: Admin address.
515 **/515 **/
516 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;516 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
517 /**517 /**
518 * Collection limits was set518 * Collection limits was set
519 * 519 *
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, UpDataStructsCollection, UpDataStructsCollectionStats } from '@polkadot/types/lookup';8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats } from '@polkadot/types/lookup';
9import type { Observable } from '@polkadot/types/types';9import type { Observable } from '@polkadot/types/types';
1010
11declare module '@polkadot/api-base/types/storage' {11declare module '@polkadot/api-base/types/storage' {
73 /**73 /**
74 * Allowlisted collection users74 * Allowlisted collection users
75 **/75 **/
76 allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;76 allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
77 /**77 /**
78 * Collection info78 * Collection info
79 **/79 **/
87 /**87 /**
88 * List of collection admins88 * List of collection admins
89 **/89 **/
90 isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;90 isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
91 /**91 /**
92 * Generic query92 * Generic query
93 **/93 **/
173 [key: string]: QueryableStorageEntry<ApiType>;173 [key: string]: QueryableStorageEntry<ApiType>;
174 };174 };
175 fungible: {175 fungible: {
176 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]>;176 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
177 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;177 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
178 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;178 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
179 /**179 /**
180 * Generic query180 * Generic query
208 [key: string]: QueryableStorageEntry<ApiType>;208 [key: string]: QueryableStorageEntry<ApiType>;
209 };209 };
210 nonfungible: {210 nonfungible: {
211 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;211 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
212 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCommonAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;212 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
213 /**213 /**
214 * Used to enumerate tokens owned by account214 * Used to enumerate tokens owned by account
215 **/215 **/
216 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]>;216 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
217 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;217 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
218 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;218 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
219 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;219 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
311 * This will be cleared in `on_initialize` of each new block.311 * This will be cleared in `on_initialize` of each new block.
312 **/312 **/
313 processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;313 processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
314 /**
315 * The state proof for the last relay parent block.
316 *
317 * This field is meant to be updated each block with the validation data inherent. Therefore,
318 * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
319 *
320 * This data is also absent from the genesis.
321 **/
322 relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;
314 /**323 /**
315 * The snapshot of some state related to messaging relevant to the current parachain as per324 * The snapshot of some state related to messaging relevant to the current parachain as per
316 * the relay parent.325 * the relay parent.
371 [key: string]: QueryableStorageEntry<ApiType>;380 [key: string]: QueryableStorageEntry<ApiType>;
372 };381 };
373 refungible: {382 refungible: {
374 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;383 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
375 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]>;384 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
376 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr]>;385 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
377 /**386 /**
378 * Used to enumerate tokens owned by account387 * Used to enumerate tokens owned by account
379 **/388 **/
380 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]>;389 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
381 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;390 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
382 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;391 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
383 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;392 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';4import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionStats } from './unique';
5import type { AugmentedRpc } from '@polkadot/rpc-core/types';5import type { AugmentedRpc } from '@polkadot/rpc-core/types';
6import type { Metadata, StorageKey } from '@polkadot/types';6import type { Metadata, StorageKey } from '@polkadot/types';
7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
562 /**562 /**
563 * Get amount of different user tokens563 * Get amount of different user tokens
564 **/564 **/
565 accountBalance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;565 accountBalance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
566 /**566 /**
567 * Get tokens owned by account567 * Get tokens owned by account
568 **/568 **/
569 accountTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;569 accountTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;
570 /**570 /**
571 * Get admin list571 * Get admin list
572 **/572 **/
573 adminlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;573 adminlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;
574 /**574 /**
575 * Get allowed amount575 * Get allowed amount
576 **/576 **/
577 allowance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, sender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;577 allowance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, sender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
578 /**578 /**
579 * Check if user is allowed to use collection579 * Check if user is allowed to use collection
580 **/580 **/
581 allowed: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;581 allowed: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
582 /**582 /**
583 * Get allowlist583 * Get allowlist
584 **/584 **/
585 allowlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;585 allowlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;
586 /**586 /**
587 * Get amount of specific account token587 * Get amount of specific account token
588 **/588 **/
589 balance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;589 balance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
590 /**590 /**
591 * Get collection by specified id591 * Get collection by specified id
592 **/592 **/
603 * Get token constant metadata603 * Get token constant metadata
604 **/604 **/
605 constMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;605 constMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
606 /**
607 * Get effective collection limits
608 **/
609 effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;
606 /**610 /**
607 * Get last token id611 * Get last token id
608 **/612 **/
614 /**618 /**
615 * Get token owner619 * Get token owner
616 **/620 **/
617 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletCommonAccountBasicCrossAccountIdRepr>>;621 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletEvmAccountBasicCrossAccountIdRepr>>;
618 /**622 /**
619 * Get token variable metadata623 * Get token variable metadata
620 **/624 **/
621 variableMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;625 variableMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
626 /**
627 * nextSponsored transaction
628 **/
629 nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: AccountId | string | Uint8Array | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;
622 };630 };
623 web3: {631 web3: {
624 /**632 /**
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
99
10declare module '@polkadot/api-base/types/submittable' {10declare module '@polkadot/api-base/types/submittable' {
11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {
551 * 551 *
552 * * new_admin_id: Address of new admin to add.552 * * new_admin_id: Address of new admin to add.
553 **/553 **/
554 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;554 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
555 /**555 /**
556 * Add an address to allow list.556 * Add an address to allow list.
557 * 557 *
566 * 566 *
567 * * address.567 * * address.
568 **/568 **/
569 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;569 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
570 /**570 /**
571 * Set, change, or remove approved address to transfer the ownership of the NFT.571 * Set, change, or remove approved address to transfer the ownership of the NFT.
572 * 572 *
584 * 584 *
585 * * item_id: ID of the item.585 * * item_id: ID of the item.
586 **/586 **/
587 approve: AugmentedSubmittable<(spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;587 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;
588 /**588 /**
589 * Destroys a concrete instance of NFT on behalf of the owner589 * Destroys a concrete instance of NFT on behalf of the owner
590 * See also: [`approve`]590 * See also: [`approve`]
603 * 603 *
604 * * from: owner of item604 * * from: owner of item
605 **/605 **/
606 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32, u128]>;606 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;
607 /**607 /**
608 * Destroys a concrete instance of NFT.608 * Destroys a concrete instance of NFT.
609 * 609 *
688 * 688 *
689 * * data: Token data to store on chain.689 * * data: Token data to store on chain.
690 **/690 **/
691 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;691 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;
692 /**692 /**
693 * This method creates multiple items in a collection created with CreateCollection method.693 * This method creates multiple items in a collection created with CreateCollection method.
694 * 694 *
709 * 709 *
710 * * owner: Address, initial owner of the NFT.710 * * owner: Address, initial owner of the NFT.
711 **/711 **/
712 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;712 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;
713 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;713 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;
714 /**714 /**
715 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.715 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.
737 * 737 *
738 * * account_id: Address of admin to remove.738 * * account_id: Address of admin to remove.
739 **/739 **/
740 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;740 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
741 /**741 /**
742 * Switch back to pay-per-own-transaction model.742 * Switch back to pay-per-own-transaction model.
743 * 743 *
764 * 764 *
765 * * address.765 * * address.
766 **/766 **/
767 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;767 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
768 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;768 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;
769 /**769 /**
770 * # Permissions770 * # Permissions
938 * * Fungible Mode: Must specify transferred amount938 * * Fungible Mode: Must specify transferred amount
939 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)939 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)
940 **/940 **/
941 transfer: AugmentedSubmittable<(recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;941 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;
942 /**942 /**
943 * Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.943 * Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.
944 * 944 *
960 * 960 *
961 * * value: Amount to transfer.961 * * value: Amount to transfer.
962 **/962 **/
963 transferFrom: AugmentedSubmittable<(from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;963 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;
964 /**964 /**
965 * Generic tx965 * Generic tx
966 **/966 **/
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, 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, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, 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, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
5import type { Data, StorageKey } from '@polkadot/types';5import type { Data, StorageKey } from '@polkadot/types';
6import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';6import type { BTreeSet, BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
8import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';8import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
9import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';9import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
18import type { StatementKind } from '@polkadot/types/interfaces/claims';18import type { StatementKind } from '@polkadot/types/interfaces/claims';
19import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';19import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
20import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';20import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
21import type { AliveContractInfo, CodeHash, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';21import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
22import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';22import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
175 BridgedBlockNumber: BridgedBlockNumber;175 BridgedBlockNumber: BridgedBlockNumber;
176 BridgedHeader: BridgedHeader;176 BridgedHeader: BridgedHeader;
177 BridgeMessageId: BridgeMessageId;177 BridgeMessageId: BridgeMessageId;
178 BTreeSet: BTreeSet;
178 BufferedSessionChange: BufferedSessionChange;179 BufferedSessionChange: BufferedSessionChange;
179 Bytes: Bytes;180 Bytes: Bytes;
180 Call: Call;181 Call: Call;
198 ClassMetadata: ClassMetadata;199 ClassMetadata: ClassMetadata;
199 CodecHash: CodecHash;200 CodecHash: CodecHash;
200 CodeHash: CodeHash;201 CodeHash: CodeHash;
202 CodeSource: CodeSource;
201 CodeUploadRequest: CodeUploadRequest;203 CodeUploadRequest: CodeUploadRequest;
202 CodeUploadResult: CodeUploadResult;204 CodeUploadResult: CodeUploadResult;
203 CodeUploadResultValue: CodeUploadResultValue;205 CodeUploadResultValue: CodeUploadResultValue;
250 ContractInfo: ContractInfo;252 ContractInfo: ContractInfo;
251 ContractInstantiateResult: ContractInstantiateResult;253 ContractInstantiateResult: ContractInstantiateResult;
252 ContractInstantiateResultTo267: ContractInstantiateResultTo267;254 ContractInstantiateResultTo267: ContractInstantiateResultTo267;
255 ContractInstantiateResultTo299: ContractInstantiateResultTo299;
253 ContractLayoutArray: ContractLayoutArray;256 ContractLayoutArray: ContractLayoutArray;
254 ContractLayoutCell: ContractLayoutCell;257 ContractLayoutCell: ContractLayoutCell;
255 ContractLayoutEnum: ContractLayoutEnum;258 ContractLayoutEnum: ContractLayoutEnum;
591 InstanceId: InstanceId;594 InstanceId: InstanceId;
592 InstanceMetadata: InstanceMetadata;595 InstanceMetadata: InstanceMetadata;
593 InstantiateRequest: InstantiateRequest;596 InstantiateRequest: InstantiateRequest;
597 InstantiateRequestV1: InstantiateRequestV1;
598 InstantiateRequestV2: InstantiateRequestV2;
594 InstantiateReturnValue: InstantiateReturnValue;599 InstantiateReturnValue: InstantiateReturnValue;
600 InstantiateReturnValueOk: InstantiateReturnValueOk;
595 InstantiateReturnValueTo267: InstantiateReturnValueTo267;601 InstantiateReturnValueTo267: InstantiateReturnValueTo267;
596 InstructionV2: InstructionV2;602 InstructionV2: InstructionV2;
597 InstructionWeights: InstructionWeights;603 InstructionWeights: InstructionWeights;
707 OffchainAccuracyCompact: OffchainAccuracyCompact;713 OffchainAccuracyCompact: OffchainAccuracyCompact;
708 OffenceDetails: OffenceDetails;714 OffenceDetails: OffenceDetails;
709 Offender: Offender;715 Offender: Offender;
716 OpalRuntimeRuntime: OpalRuntimeRuntime;
710 OpaqueCall: OpaqueCall;717 OpaqueCall: OpaqueCall;
711 OpaqueMultiaddr: OpaqueMultiaddr;718 OpaqueMultiaddr: OpaqueMultiaddr;
712 OpaqueNetworkState: OpaqueNetworkState;719 OpaqueNetworkState: OpaqueNetworkState;
746 PalletBalancesReserveData: PalletBalancesReserveData;753 PalletBalancesReserveData: PalletBalancesReserveData;
747 PalletCallMetadataLatest: PalletCallMetadataLatest;754 PalletCallMetadataLatest: PalletCallMetadataLatest;
748 PalletCallMetadataV14: PalletCallMetadataV14;755 PalletCallMetadataV14: PalletCallMetadataV14;
749 PalletCommonAccountBasicCrossAccountIdRepr: PalletCommonAccountBasicCrossAccountIdRepr;
750 PalletCommonError: PalletCommonError;756 PalletCommonError: PalletCommonError;
751 PalletCommonEvent: PalletCommonEvent;757 PalletCommonEvent: PalletCommonEvent;
752 PalletConstantMetadataLatest: PalletConstantMetadataLatest;758 PalletConstantMetadataLatest: PalletConstantMetadataLatest;
758 PalletEthereumEvent: PalletEthereumEvent;764 PalletEthereumEvent: PalletEthereumEvent;
759 PalletEventMetadataLatest: PalletEventMetadataLatest;765 PalletEventMetadataLatest: PalletEventMetadataLatest;
760 PalletEventMetadataV14: PalletEventMetadataV14;766 PalletEventMetadataV14: PalletEventMetadataV14;
767 PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;
761 PalletEvmCall: PalletEvmCall;768 PalletEvmCall: PalletEvmCall;
762 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;769 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;
763 PalletEvmContractHelpersError: PalletEvmContractHelpersError;770 PalletEvmContractHelpersError: PalletEvmContractHelpersError;
1146 UnappliedSlash: UnappliedSlash;1153 UnappliedSlash: UnappliedSlash;
1147 UnappliedSlashOther: UnappliedSlashOther;1154 UnappliedSlashOther: UnappliedSlashOther;
1148 UncleEntryItem: UncleEntryItem;1155 UncleEntryItem: UncleEntryItem;
1149 UniqueRuntimeRuntime: UniqueRuntimeRuntime;
1150 UnknownTransaction: UnknownTransaction;1156 UnknownTransaction: UnknownTransaction;
1151 UnlockChunk: UnlockChunk;1157 UnlockChunk: UnlockChunk;
1152 UnrewardedRelayer: UnrewardedRelayer;1158 UnrewardedRelayer: UnrewardedRelayer;
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
19 PolkadotPrimitivesV1UpgradeRestriction: {19 PolkadotPrimitivesV1UpgradeRestriction: {
20 _enum: ['Present']20 _enum: ['Present']
21 },21 },
22 /**
23 * Lookup10: sp_trie::storage_proof::StorageProof
24 **/
25 SpTrieStorageProof: {
26 trieNodes: 'BTreeSet'
27 },
28 /**
29 * Lookup11: BTreeSet<T>
30 **/
31 BTreeSet: 'Vec<Bytes>',
22 /**32 /**
23 * Lookup10: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot33 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
24 **/34 **/
25 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {35 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
26 dmqMqcHead: 'H256',36 dmqMqcHead: 'H256',
27 relayDispatchQueueSize: '(u32,u32)',37 relayDispatchQueueSize: '(u32,u32)',
28 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>',38 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>',
29 egressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>'39 egressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>'
30 },40 },
31 /**41 /**
32 * Lookup15: polkadot_primitives::v1::AbridgedHrmpChannel42 * Lookup18: polkadot_primitives::v1::AbridgedHrmpChannel
33 **/43 **/
34 PolkadotPrimitivesV1AbridgedHrmpChannel: {44 PolkadotPrimitivesV1AbridgedHrmpChannel: {
35 maxCapacity: 'u32',45 maxCapacity: 'u32',
36 maxTotalSize: 'u32',46 maxTotalSize: 'u32',
39 totalSize: 'u32',49 totalSize: 'u32',
40 mqcHead: 'Option<H256>'50 mqcHead: 'Option<H256>'
41 },51 },
42 /**52 /**
43 * Lookup17: polkadot_primitives::v1::AbridgedHostConfiguration53 * Lookup20: polkadot_primitives::v1::AbridgedHostConfiguration
44 **/54 **/
45 PolkadotPrimitivesV1AbridgedHostConfiguration: {55 PolkadotPrimitivesV1AbridgedHostConfiguration: {
46 maxCodeSize: 'u32',56 maxCodeSize: 'u32',
47 maxHeadDataSize: 'u32',57 maxHeadDataSize: 'u32',
53 validationUpgradeCooldown: 'u32',63 validationUpgradeCooldown: 'u32',
54 validationUpgradeDelay: 'u32'64 validationUpgradeDelay: 'u32'
55 },65 },
56 /**66 /**
57 * Lookup23: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>67 * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
58 **/68 **/
59 PolkadotCorePrimitivesOutboundHrmpMessage: {69 PolkadotCorePrimitivesOutboundHrmpMessage: {
60 recipient: 'u32',70 recipient: 'u32',
61 data: 'Bytes'71 data: 'Bytes'
62 },72 },
63 /**73 /**
64 * Lookup26: cumulus_pallet_parachain_system::pallet::Call<T>74 * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>
65 **/75 **/
66 CumulusPalletParachainSystemCall: {76 CumulusPalletParachainSystemCall: {
67 _enum: {77 _enum: {
68 set_validation_data: {78 set_validation_data: {
79 }89 }
80 }90 }
81 },91 },
82 /**92 /**
83 * Lookup27: cumulus_primitives_parachain_inherent::ParachainInherentData93 * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData
84 **/94 **/
85 CumulusPrimitivesParachainInherentParachainInherentData: {95 CumulusPrimitivesParachainInherentParachainInherentData: {
86 validationData: 'PolkadotPrimitivesV1PersistedValidationData',96 validationData: 'PolkadotPrimitivesV1PersistedValidationData',
87 relayChainState: 'SpTrieStorageProof',97 relayChainState: 'SpTrieStorageProof',
88 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',98 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',
89 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'99 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
90 },100 },
91 /**
92 * Lookup28: sp_trie::storage_proof::StorageProof
93 **/
94 SpTrieStorageProof: {
95 trieNodes: 'Vec<Bytes>'
96 },
97 /**101 /**
98 * Lookup30: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>102 * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
99 **/103 **/
100 PolkadotCorePrimitivesInboundDownwardMessage: {104 PolkadotCorePrimitivesInboundDownwardMessage: {
101 sentAt: 'u32',105 sentAt: 'u32',
102 msg: 'Bytes'106 msg: 'Bytes'
103 },107 },
104 /**108 /**
105 * Lookup33: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>109 * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
106 **/110 **/
107 PolkadotCorePrimitivesInboundHrmpMessage: {111 PolkadotCorePrimitivesInboundHrmpMessage: {
108 sentAt: 'u32',112 sentAt: 'u32',
109 data: 'Bytes'113 data: 'Bytes'
110 },114 },
111 /**115 /**
112 * Lookup36: cumulus_pallet_parachain_system::pallet::Event<T>116 * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>
113 **/117 **/
114 CumulusPalletParachainSystemEvent: {118 CumulusPalletParachainSystemEvent: {
115 _enum: {119 _enum: {
116 ValidationFunctionStored: 'Null',120 ValidationFunctionStored: 'Null',
121 DownwardMessagesProcessed: '(u64,H256)'125 DownwardMessagesProcessed: '(u64,H256)'
122 }126 }
123 },127 },
124 /**128 /**
125 * Lookup37: cumulus_pallet_parachain_system::pallet::Error<T>129 * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>
126 **/130 **/
127 CumulusPalletParachainSystemError: {131 CumulusPalletParachainSystemError: {
128 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']132 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
129 },133 },
130 /**134 /**
131 * Lookup40: pallet_balances::AccountData<Balance>135 * Lookup41: pallet_balances::AccountData<Balance>
132 **/136 **/
133 PalletBalancesAccountData: {137 PalletBalancesAccountData: {
134 free: 'u128',138 free: 'u128',
135 reserved: 'u128',139 reserved: 'u128',
136 miscFrozen: 'u128',140 miscFrozen: 'u128',
137 feeFrozen: 'u128'141 feeFrozen: 'u128'
138 },142 },
139 /**143 /**
140 * Lookup42: pallet_balances::BalanceLock<Balance>144 * Lookup43: pallet_balances::BalanceLock<Balance>
141 **/145 **/
142 PalletBalancesBalanceLock: {146 PalletBalancesBalanceLock: {
143 id: '[u8;8]',147 id: '[u8;8]',
144 amount: 'u128',148 amount: 'u128',
145 reasons: 'PalletBalancesReasons'149 reasons: 'PalletBalancesReasons'
146 },150 },
147 /**151 /**
148 * Lookup44: pallet_balances::Reasons152 * Lookup45: pallet_balances::Reasons
149 **/153 **/
150 PalletBalancesReasons: {154 PalletBalancesReasons: {
151 _enum: ['Fee', 'Misc', 'All']155 _enum: ['Fee', 'Misc', 'All']
152 },156 },
153 /**157 /**
154 * Lookup47: pallet_balances::ReserveData<ReserveIdentifier, Balance>158 * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>
155 **/159 **/
156 PalletBalancesReserveData: {160 PalletBalancesReserveData: {
157 id: '[u8;8]',161 id: '[u8;8]',
158 amount: 'u128'162 amount: 'u128'
159 },163 },
160 /**164 /**
161 * Lookup49: pallet_balances::Releases165 * Lookup50: pallet_balances::Releases
162 **/166 **/
163 PalletBalancesReleases: {167 PalletBalancesReleases: {
164 _enum: ['V1_0_0', 'V2_0_0']168 _enum: ['V1_0_0', 'V2_0_0']
165 },169 },
166 /**170 /**
167 * Lookup50: pallet_balances::pallet::Call<T, I>171 * Lookup51: pallet_balances::pallet::Call<T, I>
168 **/172 **/
169 PalletBalancesCall: {173 PalletBalancesCall: {
170 _enum: {174 _enum: {
171 transfer: {175 transfer: {
196 }200 }
197 }201 }
198 },202 },
199 /**203 /**
200 * Lookup56: pallet_balances::pallet::Event<T, I>204 * Lookup57: pallet_balances::pallet::Event<T, I>
201 **/205 **/
202 PalletBalancesEvent: {206 PalletBalancesEvent: {
203 _enum: {207 _enum: {
204 Endowed: {208 Endowed: {
247 }251 }
248 }252 }
249 },253 },
250 /**254 /**
251 * Lookup57: frame_support::traits::tokens::misc::BalanceStatus255 * Lookup58: frame_support::traits::tokens::misc::BalanceStatus
252 **/256 **/
253 FrameSupportTokensMiscBalanceStatus: {257 FrameSupportTokensMiscBalanceStatus: {
254 _enum: ['Free', 'Reserved']258 _enum: ['Free', 'Reserved']
255 },259 },
256 /**260 /**
257 * Lookup58: pallet_balances::pallet::Error<T, I>261 * Lookup59: pallet_balances::pallet::Error<T, I>
258 **/262 **/
259 PalletBalancesError: {263 PalletBalancesError: {
260 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']264 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
261 },265 },
262 /**266 /**
263 * Lookup61: pallet_timestamp::pallet::Call<T>267 * Lookup62: pallet_timestamp::pallet::Call<T>
264 **/268 **/
265 PalletTimestampCall: {269 PalletTimestampCall: {
266 _enum: {270 _enum: {
267 set: {271 set: {
268 now: 'Compact<u64>'272 now: 'Compact<u64>'
269 }273 }
270 }274 }
271 },275 },
272 /**276 /**
273 * Lookup64: pallet_transaction_payment::Releases277 * Lookup65: pallet_transaction_payment::Releases
274 **/278 **/
275 PalletTransactionPaymentReleases: {279 PalletTransactionPaymentReleases: {
276 _enum: ['V1Ancient', 'V2']280 _enum: ['V1Ancient', 'V2']
277 },281 },
278 /**282 /**
279 * Lookup66: frame_support::weights::WeightToFeeCoefficient<Balance>283 * Lookup67: frame_support::weights::WeightToFeeCoefficient<Balance>
280 **/284 **/
281 FrameSupportWeightsWeightToFeeCoefficient: {285 FrameSupportWeightsWeightToFeeCoefficient: {
282 coeffInteger: 'u128',286 coeffInteger: 'u128',
283 coeffFrac: 'Perbill',287 coeffFrac: 'Perbill',
284 negative: 'bool',288 negative: 'bool',
285 degree: 'u8'289 degree: 'u8'
286 },290 },
287 /**291 /**
288 * Lookup68: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>292 * Lookup69: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
289 **/293 **/
290 PalletTreasuryProposal: {294 PalletTreasuryProposal: {
291 proposer: 'AccountId32',295 proposer: 'AccountId32',
292 value: 'u128',296 value: 'u128',
293 beneficiary: 'AccountId32',297 beneficiary: 'AccountId32',
294 bond: 'u128'298 bond: 'u128'
295 },299 },
296 /**300 /**
297 * Lookup71: pallet_treasury::pallet::Call<T, I>301 * Lookup72: pallet_treasury::pallet::Call<T, I>
298 **/302 **/
299 PalletTreasuryCall: {303 PalletTreasuryCall: {
300 _enum: {304 _enum: {
301 propose_spend: {305 propose_spend: {
310 }314 }
311 }315 }
312 },316 },
313 /**317 /**
314 * Lookup73: pallet_treasury::pallet::Event<T, I>318 * Lookup74: pallet_treasury::pallet::Event<T, I>
315 **/319 **/
316 PalletTreasuryEvent: {320 PalletTreasuryEvent: {
317 _enum: {321 _enum: {
318 Proposed: {322 Proposed: {
341 }345 }
342 }346 }
343 },347 },
344 /**348 /**
345 * Lookup76: frame_support::PalletId349 * Lookup77: frame_support::PalletId
346 **/350 **/
347 FrameSupportPalletId: '[u8;8]',351 FrameSupportPalletId: '[u8;8]',
348 /**352 /**
349 * Lookup77: pallet_treasury::pallet::Error<T, I>353 * Lookup78: pallet_treasury::pallet::Error<T, I>
350 **/354 **/
351 PalletTreasuryError: {355 PalletTreasuryError: {
352 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']356 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
353 },357 },
354 /**358 /**
355 * Lookup78: pallet_sudo::pallet::Call<T>359 * Lookup79: pallet_sudo::pallet::Call<T>
356 **/360 **/
357 PalletSudoCall: {361 PalletSudoCall: {
358 _enum: {362 _enum: {
359 sudo: {363 sudo: {
375 }379 }
376 }380 }
377 },381 },
378 /**382 /**
379 * Lookup80: frame_system::pallet::Call<T>383 * Lookup81: frame_system::pallet::Call<T>
380 **/384 **/
381 FrameSystemCall: {385 FrameSystemCall: {
382 _enum: {386 _enum: {
383 fill_block: {387 fill_block: {
413 }417 }
414 }418 }
415 },419 },
416 /**420 /**
417 * Lookup83: orml_vesting::module::Call<T>421 * Lookup84: orml_vesting::module::Call<T>
418 **/422 **/
419 OrmlVestingModuleCall: {423 OrmlVestingModuleCall: {
420 _enum: {424 _enum: {
421 claim: 'Null',425 claim: 'Null',
432 }436 }
433 }437 }
434 },438 },
435 /**439 /**
436 * Lookup84: orml_vesting::VestingSchedule<BlockNumber, Balance>440 * Lookup85: orml_vesting::VestingSchedule<BlockNumber, Balance>
437 **/441 **/
438 OrmlVestingVestingSchedule: {442 OrmlVestingVestingSchedule: {
439 start: 'u32',443 start: 'u32',
440 period: 'u32',444 period: 'u32',
441 periodCount: 'u32',445 periodCount: 'u32',
442 perPeriod: 'Compact<u128>'446 perPeriod: 'Compact<u128>'
443 },447 },
444 /**448 /**
445 * Lookup86: cumulus_pallet_xcmp_queue::pallet::Call<T>449 * Lookup87: cumulus_pallet_xcmp_queue::pallet::Call<T>
446 **/450 **/
447 CumulusPalletXcmpQueueCall: {451 CumulusPalletXcmpQueueCall: {
448 _enum: {452 _enum: {
449 service_overweight: {453 service_overweight: {
490 }494 }
491 }495 }
492 },496 },
493 /**497 /**
494 * Lookup87: pallet_xcm::pallet::Call<T>498 * Lookup88: pallet_xcm::pallet::Call<T>
495 **/499 **/
496 PalletXcmCall: {500 PalletXcmCall: {
497 _enum: {501 _enum: {
498 send: {502 send: {
544 }548 }
545 }549 }
546 },550 },
547 /**551 /**
548 * Lookup88: xcm::VersionedMultiLocation552 * Lookup89: xcm::VersionedMultiLocation
549 **/553 **/
550 XcmVersionedMultiLocation: {554 XcmVersionedMultiLocation: {
551 _enum: {555 _enum: {
552 V0: 'XcmV0MultiLocation',556 V0: 'XcmV0MultiLocation',
553 V1: 'XcmV1MultiLocation'557 V1: 'XcmV1MultiLocation'
554 }558 }
555 },559 },
556 /**560 /**
557 * Lookup89: xcm::v0::multi_location::MultiLocation561 * Lookup90: xcm::v0::multi_location::MultiLocation
558 **/562 **/
559 XcmV0MultiLocation: {563 XcmV0MultiLocation: {
560 _enum: {564 _enum: {
561 Null: 'Null',565 Null: 'Null',
569 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'573 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
570 }574 }
571 },575 },
572 /**576 /**
573 * Lookup90: xcm::v0::junction::Junction577 * Lookup91: xcm::v0::junction::Junction
574 **/578 **/
575 XcmV0Junction: {579 XcmV0Junction: {
576 _enum: {580 _enum: {
577 Parent: 'Null',581 Parent: 'Null',
598 }602 }
599 }603 }
600 },604 },
601 /**605 /**
602 * Lookup91: xcm::v0::junction::NetworkId606 * Lookup92: xcm::v0::junction::NetworkId
603 **/607 **/
604 XcmV0JunctionNetworkId: {608 XcmV0JunctionNetworkId: {
605 _enum: {609 _enum: {
606 Any: 'Null',610 Any: 'Null',
609 Kusama: 'Null'613 Kusama: 'Null'
610 }614 }
611 },615 },
612 /**616 /**
613 * Lookup92: xcm::v0::junction::BodyId617 * Lookup93: xcm::v0::junction::BodyId
614 **/618 **/
615 XcmV0JunctionBodyId: {619 XcmV0JunctionBodyId: {
616 _enum: {620 _enum: {
617 Unit: 'Null',621 Unit: 'Null',
623 Judicial: 'Null'627 Judicial: 'Null'
624 }628 }
625 },629 },
626 /**630 /**
627 * Lookup93: xcm::v0::junction::BodyPart631 * Lookup94: xcm::v0::junction::BodyPart
628 **/632 **/
629 XcmV0JunctionBodyPart: {633 XcmV0JunctionBodyPart: {
630 _enum: {634 _enum: {
631 Voice: 'Null',635 Voice: 'Null',
646 }650 }
647 }651 }
648 },652 },
649 /**653 /**
650 * Lookup94: xcm::v1::multilocation::MultiLocation654 * Lookup95: xcm::v1::multilocation::MultiLocation
651 **/655 **/
652 XcmV1MultiLocation: {656 XcmV1MultiLocation: {
653 parents: 'u8',657 parents: 'u8',
654 interior: 'XcmV1MultilocationJunctions'658 interior: 'XcmV1MultilocationJunctions'
655 },659 },
656 /**660 /**
657 * Lookup95: xcm::v1::multilocation::Junctions661 * Lookup96: xcm::v1::multilocation::Junctions
658 **/662 **/
659 XcmV1MultilocationJunctions: {663 XcmV1MultilocationJunctions: {
660 _enum: {664 _enum: {
661 Here: 'Null',665 Here: 'Null',
669 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'673 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
670 }674 }
671 },675 },
672 /**676 /**
673 * Lookup96: xcm::v1::junction::Junction677 * Lookup97: xcm::v1::junction::Junction
674 **/678 **/
675 XcmV1Junction: {679 XcmV1Junction: {
676 _enum: {680 _enum: {
677 Parachain: 'Compact<u32>',681 Parachain: 'Compact<u32>',
697 }701 }
698 }702 }
699 },703 },
700 /**704 /**
701 * Lookup97: xcm::VersionedXcm<Call>705 * Lookup98: xcm::VersionedXcm<Call>
702 **/706 **/
703 XcmVersionedXcm: {707 XcmVersionedXcm: {
704 _enum: {708 _enum: {
705 V0: 'XcmV0Xcm',709 V0: 'XcmV0Xcm',
706 V1: 'XcmV1Xcm',710 V1: 'XcmV1Xcm',
707 V2: 'XcmV2Xcm'711 V2: 'XcmV2Xcm'
708 }712 }
709 },713 },
710 /**714 /**
711 * Lookup98: xcm::v0::Xcm<Call>715 * Lookup99: xcm::v0::Xcm<Call>
712 **/716 **/
713 XcmV0Xcm: {717 XcmV0Xcm: {
714 _enum: {718 _enum: {
715 WithdrawAsset: {719 WithdrawAsset: {
761 }765 }
762 }766 }
763 },767 },
764 /**768 /**
765 * Lookup100: xcm::v0::multi_asset::MultiAsset769 * Lookup101: xcm::v0::multi_asset::MultiAsset
766 **/770 **/
767 XcmV0MultiAsset: {771 XcmV0MultiAsset: {
768 _enum: {772 _enum: {
769 None: 'Null',773 None: 'Null',
800 }804 }
801 }805 }
802 },806 },
803 /**807 /**
804 * Lookup101: xcm::v1::multiasset::AssetInstance808 * Lookup102: xcm::v1::multiasset::AssetInstance
805 **/809 **/
806 XcmV1MultiassetAssetInstance: {810 XcmV1MultiassetAssetInstance: {
807 _enum: {811 _enum: {
808 Undefined: 'Null',812 Undefined: 'Null',
814 Blob: 'Bytes'818 Blob: 'Bytes'
815 }819 }
816 },820 },
817 /**821 /**
818 * Lookup105: xcm::v0::order::Order<Call>822 * Lookup106: xcm::v0::order::Order<Call>
819 **/823 **/
820 XcmV0Order: {824 XcmV0Order: {
821 _enum: {825 _enum: {
822 Null: 'Null',826 Null: 'Null',
857 }861 }
858 }862 }
859 },863 },
860 /**864 /**
861 * Lookup107: xcm::v0::Response865 * Lookup108: xcm::v0::Response
862 **/866 **/
863 XcmV0Response: {867 XcmV0Response: {
864 _enum: {868 _enum: {
865 Assets: 'Vec<XcmV0MultiAsset>'869 Assets: 'Vec<XcmV0MultiAsset>'
866 }870 }
867 },871 },
868 /**872 /**
869 * Lookup108: xcm::v0::OriginKind873 * Lookup109: xcm::v0::OriginKind
870 **/874 **/
871 XcmV0OriginKind: {875 XcmV0OriginKind: {
872 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']876 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
873 },877 },
874 /**878 /**
875 * Lookup109: xcm::double_encoded::DoubleEncoded<T>879 * Lookup110: xcm::double_encoded::DoubleEncoded<T>
876 **/880 **/
877 XcmDoubleEncoded: {881 XcmDoubleEncoded: {
878 encoded: 'Bytes'882 encoded: 'Bytes'
879 },883 },
880 /**884 /**
881 * Lookup110: xcm::v1::Xcm<Call>885 * Lookup111: xcm::v1::Xcm<Call>
882 **/886 **/
883 XcmV1Xcm: {887 XcmV1Xcm: {
884 _enum: {888 _enum: {
885 WithdrawAsset: {889 WithdrawAsset: {
936 UnsubscribeVersion: 'Null'940 UnsubscribeVersion: 'Null'
937 }941 }
938 },942 },
939 /**943 /**
940 * Lookup111: xcm::v1::multiasset::MultiAssets944 * Lookup112: xcm::v1::multiasset::MultiAssets
941 **/945 **/
942 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',946 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
943 /**947 /**
944 * Lookup113: xcm::v1::multiasset::MultiAsset948 * Lookup114: xcm::v1::multiasset::MultiAsset
945 **/949 **/
946 XcmV1MultiAsset: {950 XcmV1MultiAsset: {
947 id: 'XcmV1MultiassetAssetId',951 id: 'XcmV1MultiassetAssetId',
948 fun: 'XcmV1MultiassetFungibility'952 fun: 'XcmV1MultiassetFungibility'
949 },953 },
950 /**954 /**
951 * Lookup114: xcm::v1::multiasset::AssetId955 * Lookup115: xcm::v1::multiasset::AssetId
952 **/956 **/
953 XcmV1MultiassetAssetId: {957 XcmV1MultiassetAssetId: {
954 _enum: {958 _enum: {
955 Concrete: 'XcmV1MultiLocation',959 Concrete: 'XcmV1MultiLocation',
956 Abstract: 'Bytes'960 Abstract: 'Bytes'
957 }961 }
958 },962 },
959 /**963 /**
960 * Lookup115: xcm::v1::multiasset::Fungibility964 * Lookup116: xcm::v1::multiasset::Fungibility
961 **/965 **/
962 XcmV1MultiassetFungibility: {966 XcmV1MultiassetFungibility: {
963 _enum: {967 _enum: {
964 Fungible: 'Compact<u128>',968 Fungible: 'Compact<u128>',
965 NonFungible: 'XcmV1MultiassetAssetInstance'969 NonFungible: 'XcmV1MultiassetAssetInstance'
966 }970 }
967 },971 },
968 /**972 /**
969 * Lookup117: xcm::v1::order::Order<Call>973 * Lookup118: xcm::v1::order::Order<Call>
970 **/974 **/
971 XcmV1Order: {975 XcmV1Order: {
972 _enum: {976 _enum: {
973 Noop: 'Null',977 Noop: 'Null',
1010 }1014 }
1011 }1015 }
1012 },1016 },
1013 /**1017 /**
1014 * Lookup118: xcm::v1::multiasset::MultiAssetFilter1018 * Lookup119: xcm::v1::multiasset::MultiAssetFilter
1015 **/1019 **/
1016 XcmV1MultiassetMultiAssetFilter: {1020 XcmV1MultiassetMultiAssetFilter: {
1017 _enum: {1021 _enum: {
1018 Definite: 'XcmV1MultiassetMultiAssets',1022 Definite: 'XcmV1MultiassetMultiAssets',
1019 Wild: 'XcmV1MultiassetWildMultiAsset'1023 Wild: 'XcmV1MultiassetWildMultiAsset'
1020 }1024 }
1021 },1025 },
1022 /**1026 /**
1023 * Lookup119: xcm::v1::multiasset::WildMultiAsset1027 * Lookup120: xcm::v1::multiasset::WildMultiAsset
1024 **/1028 **/
1025 XcmV1MultiassetWildMultiAsset: {1029 XcmV1MultiassetWildMultiAsset: {
1026 _enum: {1030 _enum: {
1027 All: 'Null',1031 All: 'Null',
1031 }1035 }
1032 }1036 }
1033 },1037 },
1034 /**1038 /**
1035 * Lookup120: xcm::v1::multiasset::WildFungibility1039 * Lookup121: xcm::v1::multiasset::WildFungibility
1036 **/1040 **/
1037 XcmV1MultiassetWildFungibility: {1041 XcmV1MultiassetWildFungibility: {
1038 _enum: ['Fungible', 'NonFungible']1042 _enum: ['Fungible', 'NonFungible']
1039 },1043 },
1040 /**1044 /**
1041 * Lookup122: xcm::v1::Response1045 * Lookup123: xcm::v1::Response
1042 **/1046 **/
1043 XcmV1Response: {1047 XcmV1Response: {
1044 _enum: {1048 _enum: {
1045 Assets: 'XcmV1MultiassetMultiAssets',1049 Assets: 'XcmV1MultiassetMultiAssets',
1046 Version: 'u32'1050 Version: 'u32'
1047 }1051 }
1048 },1052 },
1049 /**1053 /**
1050 * Lookup123: xcm::v2::Xcm<Call>1054 * Lookup124: xcm::v2::Xcm<Call>
1051 **/1055 **/
1052 XcmV2Xcm: 'Vec<XcmV2Instruction>',1056 XcmV2Xcm: 'Vec<XcmV2Instruction>',
1053 /**1057 /**
1054 * Lookup125: xcm::v2::Instruction<Call>1058 * Lookup126: xcm::v2::Instruction<Call>
1055 **/1059 **/
1056 XcmV2Instruction: {1060 XcmV2Instruction: {
1057 _enum: {1061 _enum: {
1058 WithdrawAsset: 'XcmV1MultiassetMultiAssets',1062 WithdrawAsset: 'XcmV1MultiassetMultiAssets',
1148 UnsubscribeVersion: 'Null'1152 UnsubscribeVersion: 'Null'
1149 }1153 }
1150 },1154 },
1151 /**1155 /**
1152 * Lookup126: xcm::v2::Response1156 * Lookup127: xcm::v2::Response
1153 **/1157 **/
1154 XcmV2Response: {1158 XcmV2Response: {
1155 _enum: {1159 _enum: {
1156 Null: 'Null',1160 Null: 'Null',
1159 Version: 'u32'1163 Version: 'u32'
1160 }1164 }
1161 },1165 },
1162 /**1166 /**
1163 * Lookup129: xcm::v2::traits::Error1167 * Lookup130: xcm::v2::traits::Error
1164 **/1168 **/
1165 XcmV2TraitsError: {1169 XcmV2TraitsError: {
1166 _enum: {1170 _enum: {
1167 Overflow: 'Null',1171 Overflow: 'Null',
1192 WeightNotComputable: 'Null'1196 WeightNotComputable: 'Null'
1193 }1197 }
1194 },1198 },
1195 /**1199 /**
1196 * Lookup130: xcm::v2::WeightLimit1200 * Lookup131: xcm::v2::WeightLimit
1197 **/1201 **/
1198 XcmV2WeightLimit: {1202 XcmV2WeightLimit: {
1199 _enum: {1203 _enum: {
1200 Unlimited: 'Null',1204 Unlimited: 'Null',
1201 Limited: 'Compact<u64>'1205 Limited: 'Compact<u64>'
1202 }1206 }
1203 },1207 },
1204 /**1208 /**
1205 * Lookup131: xcm::VersionedMultiAssets1209 * Lookup132: xcm::VersionedMultiAssets
1206 **/1210 **/
1207 XcmVersionedMultiAssets: {1211 XcmVersionedMultiAssets: {
1208 _enum: {1212 _enum: {
1209 V0: 'Vec<XcmV0MultiAsset>',1213 V0: 'Vec<XcmV0MultiAsset>',
1210 V1: 'XcmV1MultiassetMultiAssets'1214 V1: 'XcmV1MultiassetMultiAssets'
1211 }1215 }
1212 },1216 },
1213 /**1217 /**
1214 * Lookup146: cumulus_pallet_xcm::pallet::Call<T>1218 * Lookup147: cumulus_pallet_xcm::pallet::Call<T>
1215 **/1219 **/
1216 CumulusPalletXcmCall: 'Null',1220 CumulusPalletXcmCall: 'Null',
1217 /**1221 /**
1218 * Lookup147: cumulus_pallet_dmp_queue::pallet::Call<T>1222 * Lookup148: cumulus_pallet_dmp_queue::pallet::Call<T>
1219 **/1223 **/
1220 CumulusPalletDmpQueueCall: {1224 CumulusPalletDmpQueueCall: {
1221 _enum: {1225 _enum: {
1222 service_overweight: {1226 service_overweight: {
1225 }1229 }
1226 }1230 }
1227 },1231 },
1228 /**1232 /**
1229 * Lookup148: pallet_inflation::pallet::Call<T>1233 * Lookup149: pallet_inflation::pallet::Call<T>
1230 **/1234 **/
1231 PalletInflationCall: {1235 PalletInflationCall: {
1232 _enum: {1236 _enum: {
1233 start_inflation: {1237 start_inflation: {
1234 inflationStartRelayBlock: 'u32'1238 inflationStartRelayBlock: 'u32'
1235 }1239 }
1236 }1240 }
1237 },1241 },
1238 /**1242 /**
1239 * Lookup149: pallet_unique::Call<T>1243 * Lookup150: pallet_unique::Call<T>
1240 **/1244 **/
1241 PalletUniqueCall: {1245 PalletUniqueCall: {
1242 _enum: {1246 _enum: {
1243 create_collection: {1247 create_collection: {
1254 },1258 },
1255 add_to_allow_list: {1259 add_to_allow_list: {
1256 collectionId: 'u32',1260 collectionId: 'u32',
1257 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1261 address: 'PalletEvmAccountBasicCrossAccountIdRepr',
1258 },1262 },
1259 remove_from_allow_list: {1263 remove_from_allow_list: {
1260 collectionId: 'u32',1264 collectionId: 'u32',
1261 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1265 address: 'PalletEvmAccountBasicCrossAccountIdRepr',
1262 },1266 },
1263 set_public_access_mode: {1267 set_public_access_mode: {
1264 collectionId: 'u32',1268 collectionId: 'u32',
1274 },1278 },
1275 add_collection_admin: {1279 add_collection_admin: {
1276 collectionId: 'u32',1280 collectionId: 'u32',
1277 newAdminId: 'PalletCommonAccountBasicCrossAccountIdRepr',1281 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',
1278 },1282 },
1279 remove_collection_admin: {1283 remove_collection_admin: {
1280 collectionId: 'u32',1284 collectionId: 'u32',
1281 accountId: 'PalletCommonAccountBasicCrossAccountIdRepr',1285 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',
1282 },1286 },
1283 set_collection_sponsor: {1287 set_collection_sponsor: {
1284 collectionId: 'u32',1288 collectionId: 'u32',
1292 },1296 },
1293 create_item: {1297 create_item: {
1294 collectionId: 'u32',1298 collectionId: 'u32',
1295 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1299 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',
1296 data: 'UpDataStructsCreateItemData',1300 data: 'UpDataStructsCreateItemData',
1297 },1301 },
1298 create_multiple_items: {1302 create_multiple_items: {
1299 collectionId: 'u32',1303 collectionId: 'u32',
1300 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1304 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',
1301 itemsData: 'Vec<UpDataStructsCreateItemData>',1305 itemsData: 'Vec<UpDataStructsCreateItemData>',
1302 },1306 },
1303 create_multiple_items_ex: {1307 create_multiple_items_ex: {
1315 },1319 },
1316 burn_from: {1320 burn_from: {
1317 collectionId: 'u32',1321 collectionId: 'u32',
1318 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1322 from: 'PalletEvmAccountBasicCrossAccountIdRepr',
1319 itemId: 'u32',1323 itemId: 'u32',
1320 value: 'u128',1324 value: 'u128',
1321 },1325 },
1322 transfer: {1326 transfer: {
1323 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1327 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',
1324 collectionId: 'u32',1328 collectionId: 'u32',
1325 itemId: 'u32',1329 itemId: 'u32',
1326 value: 'u128',1330 value: 'u128',
1327 },1331 },
1328 approve: {1332 approve: {
1329 spender: 'PalletCommonAccountBasicCrossAccountIdRepr',1333 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',
1330 collectionId: 'u32',1334 collectionId: 'u32',
1331 itemId: 'u32',1335 itemId: 'u32',
1332 amount: 'u128',1336 amount: 'u128',
1333 },1337 },
1334 transfer_from: {1338 transfer_from: {
1335 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1339 from: 'PalletEvmAccountBasicCrossAccountIdRepr',
1336 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1340 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',
1337 collectionId: 'u32',1341 collectionId: 'u32',
1338 itemId: 'u32',1342 itemId: 'u32',
1339 value: 'u128',1343 value: 'u128',
1369 }1373 }
1370 }1374 }
1371 },1375 },
1372 /**1376 /**
1373 * Lookup155: up_data_structs::CollectionMode1377 * Lookup156: up_data_structs::CollectionMode
1374 **/1378 **/
1375 UpDataStructsCollectionMode: {1379 UpDataStructsCollectionMode: {
1376 _enum: {1380 _enum: {
1377 NFT: 'Null',1381 NFT: 'Null',
1378 Fungible: 'u8',1382 Fungible: 'u8',
1379 ReFungible: 'Null'1383 ReFungible: 'Null'
1380 }1384 }
1381 },1385 },
1382 /**1386 /**
1383 * Lookup156: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1387 * Lookup157: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
1384 **/1388 **/
1385 UpDataStructsCreateCollectionData: {1389 UpDataStructsCreateCollectionData: {
1386 mode: 'UpDataStructsCollectionMode',1390 mode: 'UpDataStructsCollectionMode',
1387 access: 'Option<UpDataStructsAccessMode>',1391 access: 'Option<UpDataStructsAccessMode>',
1396 constOnChainSchema: 'Bytes',1400 constOnChainSchema: 'Bytes',
1397 metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'1401 metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'
1398 },1402 },
1399 /**1403 /**
1400 * Lookup158: up_data_structs::AccessMode1404 * Lookup159: up_data_structs::AccessMode
1401 **/1405 **/
1402 UpDataStructsAccessMode: {1406 UpDataStructsAccessMode: {
1403 _enum: ['Normal', 'AllowList']1407 _enum: ['Normal', 'AllowList']
1404 },1408 },
1405 /**1409 /**
1406 * Lookup161: up_data_structs::SchemaVersion1410 * Lookup162: up_data_structs::SchemaVersion
1407 **/1411 **/
1408 UpDataStructsSchemaVersion: {1412 UpDataStructsSchemaVersion: {
1409 _enum: ['ImageURL', 'Unique']1413 _enum: ['ImageURL', 'Unique']
1410 },1414 },
1411 /**1415 /**
1412 * Lookup164: up_data_structs::CollectionLimits1416 * Lookup165: up_data_structs::CollectionLimits
1413 **/1417 **/
1414 UpDataStructsCollectionLimits: {1418 UpDataStructsCollectionLimits: {
1415 accountTokenOwnershipLimit: 'Option<u32>',1419 accountTokenOwnershipLimit: 'Option<u32>',
1416 sponsoredDataSize: 'Option<u32>',1420 sponsoredDataSize: 'Option<u32>',
1422 ownerCanDestroy: 'Option<bool>',1426 ownerCanDestroy: 'Option<bool>',
1423 transfersEnabled: 'Option<bool>'1427 transfersEnabled: 'Option<bool>'
1424 },1428 },
1425 /**1429 /**
1426 * Lookup166: up_data_structs::SponsoringRateLimit1430 * Lookup167: up_data_structs::SponsoringRateLimit
1427 **/1431 **/
1428 UpDataStructsSponsoringRateLimit: {1432 UpDataStructsSponsoringRateLimit: {
1429 _enum: {1433 _enum: {
1430 SponsoringDisabled: 'Null',1434 SponsoringDisabled: 'Null',
1431 Blocks: 'u32'1435 Blocks: 'u32'
1432 }1436 }
1433 },1437 },
1434 /**1438 /**
1435 * Lookup170: up_data_structs::MetaUpdatePermission1439 * Lookup171: up_data_structs::MetaUpdatePermission
1436 **/1440 **/
1437 UpDataStructsMetaUpdatePermission: {1441 UpDataStructsMetaUpdatePermission: {
1438 _enum: ['ItemOwner', 'Admin', 'None']1442 _enum: ['ItemOwner', 'Admin', 'None']
1439 },1443 },
1440 /**1444 /**
1441 * Lookup172: pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1445 * Lookup173: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
1442 **/1446 **/
1443 PalletCommonAccountBasicCrossAccountIdRepr: {1447 PalletEvmAccountBasicCrossAccountIdRepr: {
1444 _enum: {1448 _enum: {
1445 Substrate: 'AccountId32',1449 Substrate: 'AccountId32',
1446 Ethereum: 'H160'1450 Ethereum: 'H160'
1447 }1451 }
1448 },1452 },
1449 /**1453 /**
1450 * Lookup174: up_data_structs::CreateItemData1454 * Lookup175: up_data_structs::CreateItemData
1451 **/1455 **/
1452 UpDataStructsCreateItemData: {1456 UpDataStructsCreateItemData: {
1453 _enum: {1457 _enum: {
1454 NFT: 'UpDataStructsCreateNftData',1458 NFT: 'UpDataStructsCreateNftData',
1455 Fungible: 'UpDataStructsCreateFungibleData',1459 Fungible: 'UpDataStructsCreateFungibleData',
1456 ReFungible: 'UpDataStructsCreateReFungibleData'1460 ReFungible: 'UpDataStructsCreateReFungibleData'
1457 }1461 }
1458 },1462 },
1459 /**1463 /**
1460 * Lookup175: up_data_structs::CreateNftData1464 * Lookup176: up_data_structs::CreateNftData
1461 **/1465 **/
1462 UpDataStructsCreateNftData: {1466 UpDataStructsCreateNftData: {
1463 constData: 'Bytes',1467 constData: 'Bytes',
1464 variableData: 'Bytes'1468 variableData: 'Bytes'
1465 },1469 },
1466 /**1470 /**
1467 * Lookup177: up_data_structs::CreateFungibleData1471 * Lookup178: up_data_structs::CreateFungibleData
1468 **/1472 **/
1469 UpDataStructsCreateFungibleData: {1473 UpDataStructsCreateFungibleData: {
1470 value: 'u128'1474 value: 'u128'
1471 },1475 },
1472 /**1476 /**
1473 * Lookup178: up_data_structs::CreateReFungibleData1477 * Lookup179: up_data_structs::CreateReFungibleData
1474 **/1478 **/
1475 UpDataStructsCreateReFungibleData: {1479 UpDataStructsCreateReFungibleData: {
1476 constData: 'Bytes',1480 constData: 'Bytes',
1477 variableData: 'Bytes',1481 variableData: 'Bytes',
1478 pieces: 'u128'1482 pieces: 'u128'
1479 },1483 },
1480 /**1484 /**
1481 * Lookup180: up_data_structs::CreateItemExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1485 * Lookup181: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
1482 **/1486 **/
1483 UpDataStructsCreateItemExData: {1487 UpDataStructsCreateItemExData: {
1484 _enum: {1488 _enum: {
1485 NFT: 'Vec<UpDataStructsCreateNftExData>',1489 NFT: 'Vec<UpDataStructsCreateNftExData>',
1486 Fungible: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>',1490 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
1487 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1491 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',
1488 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1492 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'
1489 }1493 }
1490 },1494 },
1491 /**1495 /**
1492 * Lookup182: up_data_structs::CreateNftExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1496 * Lookup183: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
1493 **/1497 **/
1494 UpDataStructsCreateNftExData: {1498 UpDataStructsCreateNftExData: {
1495 constData: 'Bytes',1499 constData: 'Bytes',
1496 variableData: 'Bytes',1500 variableData: 'Bytes',
1497 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'1501 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
1498 },1502 },
1499 /**1503 /**
1500 * Lookup189: up_data_structs::CreateRefungibleExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1504 * Lookup190: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
1501 **/1505 **/
1502 UpDataStructsCreateRefungibleExData: {1506 UpDataStructsCreateRefungibleExData: {
1503 constData: 'Bytes',1507 constData: 'Bytes',
1504 variableData: 'Bytes',1508 variableData: 'Bytes',
1505 users: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>'1509 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'
1506 },1510 },
1507 /**1511 /**
1508 * Lookup192: pallet_template_transaction_payment::Call<T>1512 * Lookup193: pallet_template_transaction_payment::Call<T>
1509 **/1513 **/
1510 PalletTemplateTransactionPaymentCall: 'Null',1514 PalletTemplateTransactionPaymentCall: 'Null',
1511 /**1515 /**
1512 * Lookup193: pallet_evm::pallet::Call<T>1516 * Lookup194: pallet_evm::pallet::Call<T>
1513 **/1517 **/
1514 PalletEvmCall: {1518 PalletEvmCall: {
1515 _enum: {1519 _enum: {
1516 withdraw: {1520 withdraw: {
1551 }1555 }
1552 }1556 }
1553 },1557 },
1554 /**1558 /**
1555 * Lookup199: pallet_ethereum::pallet::Call<T>1559 * Lookup200: pallet_ethereum::pallet::Call<T>
1556 **/1560 **/
1557 PalletEthereumCall: {1561 PalletEthereumCall: {
1558 _enum: {1562 _enum: {
1559 transact: {1563 transact: {
1560 transaction: 'EthereumTransactionTransactionV2'1564 transaction: 'EthereumTransactionTransactionV2'
1561 }1565 }
1562 }1566 }
1563 },1567 },
1564 /**1568 /**
1565 * Lookup200: ethereum::transaction::TransactionV21569 * Lookup201: ethereum::transaction::TransactionV2
1566 **/1570 **/
1567 EthereumTransactionTransactionV2: {1571 EthereumTransactionTransactionV2: {
1568 _enum: {1572 _enum: {
1569 Legacy: 'EthereumTransactionLegacyTransaction',1573 Legacy: 'EthereumTransactionLegacyTransaction',
1570 EIP2930: 'EthereumTransactionEip2930Transaction',1574 EIP2930: 'EthereumTransactionEip2930Transaction',
1571 EIP1559: 'EthereumTransactionEip1559Transaction'1575 EIP1559: 'EthereumTransactionEip1559Transaction'
1572 }1576 }
1573 },1577 },
1574 /**1578 /**
1575 * Lookup201: ethereum::transaction::LegacyTransaction1579 * Lookup202: ethereum::transaction::LegacyTransaction
1576 **/1580 **/
1577 EthereumTransactionLegacyTransaction: {1581 EthereumTransactionLegacyTransaction: {
1578 nonce: 'U256',1582 nonce: 'U256',
1579 gasPrice: 'U256',1583 gasPrice: 'U256',
1583 input: 'Bytes',1587 input: 'Bytes',
1584 signature: 'EthereumTransactionTransactionSignature'1588 signature: 'EthereumTransactionTransactionSignature'
1585 },1589 },
1586 /**1590 /**
1587 * Lookup202: ethereum::transaction::TransactionAction1591 * Lookup203: ethereum::transaction::TransactionAction
1588 **/1592 **/
1589 EthereumTransactionTransactionAction: {1593 EthereumTransactionTransactionAction: {
1590 _enum: {1594 _enum: {
1591 Call: 'H160',1595 Call: 'H160',
1592 Create: 'Null'1596 Create: 'Null'
1593 }1597 }
1594 },1598 },
1595 /**1599 /**
1596 * Lookup203: ethereum::transaction::TransactionSignature1600 * Lookup204: ethereum::transaction::TransactionSignature
1597 **/1601 **/
1598 EthereumTransactionTransactionSignature: {1602 EthereumTransactionTransactionSignature: {
1599 v: 'u64',1603 v: 'u64',
1600 r: 'H256',1604 r: 'H256',
1601 s: 'H256'1605 s: 'H256'
1602 },1606 },
1603 /**1607 /**
1604 * Lookup205: ethereum::transaction::EIP2930Transaction1608 * Lookup206: ethereum::transaction::EIP2930Transaction
1605 **/1609 **/
1606 EthereumTransactionEip2930Transaction: {1610 EthereumTransactionEip2930Transaction: {
1607 chainId: 'u64',1611 chainId: 'u64',
1608 nonce: 'U256',1612 nonce: 'U256',
1616 r: 'H256',1620 r: 'H256',
1617 s: 'H256'1621 s: 'H256'
1618 },1622 },
1619 /**1623 /**
1620 * Lookup207: ethereum::transaction::AccessListItem1624 * Lookup208: ethereum::transaction::AccessListItem
1621 **/1625 **/
1622 EthereumTransactionAccessListItem: {1626 EthereumTransactionAccessListItem: {
1623 address: 'H160',1627 address: 'H160',
1624 slots: 'Vec<H256>'1628 storageKeys: 'Vec<H256>'
1625 },1629 },
1626 /**1630 /**
1627 * Lookup208: ethereum::transaction::EIP1559Transaction1631 * Lookup209: ethereum::transaction::EIP1559Transaction
1628 **/1632 **/
1629 EthereumTransactionEip1559Transaction: {1633 EthereumTransactionEip1559Transaction: {
1630 chainId: 'u64',1634 chainId: 'u64',
1631 nonce: 'U256',1635 nonce: 'U256',
1640 r: 'H256',1644 r: 'H256',
1641 s: 'H256'1645 s: 'H256'
1642 },1646 },
1643 /**1647 /**
1644 * Lookup209: pallet_evm_migration::pallet::Call<T>1648 * Lookup210: pallet_evm_migration::pallet::Call<T>
1645 **/1649 **/
1646 PalletEvmMigrationCall: {1650 PalletEvmMigrationCall: {
1647 _enum: {1651 _enum: {
1648 begin: {1652 begin: {
1658 }1662 }
1659 }1663 }
1660 },1664 },
1661 /**1665 /**
1662 * Lookup212: pallet_sudo::pallet::Event<T>1666 * Lookup213: pallet_sudo::pallet::Event<T>
1663 **/1667 **/
1664 PalletSudoEvent: {1668 PalletSudoEvent: {
1665 _enum: {1669 _enum: {
1666 Sudid: {1670 Sudid: {
1674 }1678 }
1675 }1679 }
1676 },1680 },
1677 /**1681 /**
1678 * Lookup214: sp_runtime::DispatchError1682 * Lookup215: sp_runtime::DispatchError
1679 **/1683 **/
1680 SpRuntimeDispatchError: {1684 SpRuntimeDispatchError: {
1681 _enum: {1685 _enum: {
1682 Other: 'Null',1686 Other: 'Null',
1690 Arithmetic: 'SpRuntimeArithmeticError'1694 Arithmetic: 'SpRuntimeArithmeticError'
1691 }1695 }
1692 },1696 },
1693 /**1697 /**
1694 * Lookup215: sp_runtime::ModuleError1698 * Lookup216: sp_runtime::ModuleError
1695 **/1699 **/
1696 SpRuntimeModuleError: {1700 SpRuntimeModuleError: {
1697 index: 'u8',1701 index: 'u8',
1698 error: 'u8'1702 error: 'u8'
1699 },1703 },
1700 /**1704 /**
1701 * Lookup216: sp_runtime::TokenError1705 * Lookup217: sp_runtime::TokenError
1702 **/1706 **/
1703 SpRuntimeTokenError: {1707 SpRuntimeTokenError: {
1704 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1708 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
1705 },1709 },
1706 /**1710 /**
1707 * Lookup217: sp_runtime::ArithmeticError1711 * Lookup218: sp_runtime::ArithmeticError
1708 **/1712 **/
1709 SpRuntimeArithmeticError: {1713 SpRuntimeArithmeticError: {
1710 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1714 _enum: ['Underflow', 'Overflow', 'DivisionByZero']
1711 },1715 },
1712 /**1716 /**
1713 * Lookup218: pallet_sudo::pallet::Error<T>1717 * Lookup219: pallet_sudo::pallet::Error<T>
1714 **/1718 **/
1715 PalletSudoError: {1719 PalletSudoError: {
1716 _enum: ['RequireSudo']1720 _enum: ['RequireSudo']
1717 },1721 },
1718 /**1722 /**
1719 * Lookup219: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1723 * Lookup220: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
1720 **/1724 **/
1721 FrameSystemAccountInfo: {1725 FrameSystemAccountInfo: {
1722 nonce: 'u32',1726 nonce: 'u32',
1723 consumers: 'u32',1727 consumers: 'u32',
1724 providers: 'u32',1728 providers: 'u32',
1725 sufficients: 'u32',1729 sufficients: 'u32',
1726 data: 'PalletBalancesAccountData'1730 data: 'PalletBalancesAccountData'
1727 },1731 },
1728 /**1732 /**
1729 * Lookup220: frame_support::weights::PerDispatchClass<T>1733 * Lookup221: frame_support::weights::PerDispatchClass<T>
1730 **/1734 **/
1731 FrameSupportWeightsPerDispatchClassU64: {1735 FrameSupportWeightsPerDispatchClassU64: {
1732 normal: 'u64',1736 normal: 'u64',
1733 operational: 'u64',1737 operational: 'u64',
1734 mandatory: 'u64'1738 mandatory: 'u64'
1735 },1739 },
1736 /**1740 /**
1737 * Lookup221: sp_runtime::generic::digest::Digest1741 * Lookup222: sp_runtime::generic::digest::Digest
1738 **/1742 **/
1739 SpRuntimeDigest: {1743 SpRuntimeDigest: {
1740 logs: 'Vec<SpRuntimeDigestDigestItem>'1744 logs: 'Vec<SpRuntimeDigestDigestItem>'
1741 },1745 },
1742 /**1746 /**
1743 * Lookup223: sp_runtime::generic::digest::DigestItem1747 * Lookup224: sp_runtime::generic::digest::DigestItem
1744 **/1748 **/
1745 SpRuntimeDigestDigestItem: {1749 SpRuntimeDigestDigestItem: {
1746 _enum: {1750 _enum: {
1747 Other: 'Bytes',1751 Other: 'Bytes',
1755 RuntimeEnvironmentUpdated: 'Null'1759 RuntimeEnvironmentUpdated: 'Null'
1756 }1760 }
1757 },1761 },
1758 /**1762 /**
1759 * Lookup225: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>1763 * Lookup226: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
1760 **/1764 **/
1761 FrameSystemEventRecord: {1765 FrameSystemEventRecord: {
1762 phase: 'FrameSystemPhase',1766 phase: 'FrameSystemPhase',
1763 event: 'Event',1767 event: 'Event',
1764 topics: 'Vec<H256>'1768 topics: 'Vec<H256>'
1765 },1769 },
1766 /**1770 /**
1767 * Lookup227: frame_system::pallet::Event<T>1771 * Lookup228: frame_system::pallet::Event<T>
1768 **/1772 **/
1769 FrameSystemEvent: {1773 FrameSystemEvent: {
1770 _enum: {1774 _enum: {
1771 ExtrinsicSuccess: {1775 ExtrinsicSuccess: {
1791 }1795 }
1792 }1796 }
1793 },1797 },
1794 /**1798 /**
1795 * Lookup228: frame_support::weights::DispatchInfo1799 * Lookup229: frame_support::weights::DispatchInfo
1796 **/1800 **/
1797 FrameSupportWeightsDispatchInfo: {1801 FrameSupportWeightsDispatchInfo: {
1798 weight: 'u64',1802 weight: 'u64',
1799 class: 'FrameSupportWeightsDispatchClass',1803 class: 'FrameSupportWeightsDispatchClass',
1800 paysFee: 'FrameSupportWeightsPays'1804 paysFee: 'FrameSupportWeightsPays'
1801 },1805 },
1802 /**1806 /**
1803 * Lookup229: frame_support::weights::DispatchClass1807 * Lookup230: frame_support::weights::DispatchClass
1804 **/1808 **/
1805 FrameSupportWeightsDispatchClass: {1809 FrameSupportWeightsDispatchClass: {
1806 _enum: ['Normal', 'Operational', 'Mandatory']1810 _enum: ['Normal', 'Operational', 'Mandatory']
1807 },1811 },
1808 /**1812 /**
1809 * Lookup230: frame_support::weights::Pays1813 * Lookup231: frame_support::weights::Pays
1810 **/1814 **/
1811 FrameSupportWeightsPays: {1815 FrameSupportWeightsPays: {
1812 _enum: ['Yes', 'No']1816 _enum: ['Yes', 'No']
1813 },1817 },
1814 /**1818 /**
1815 * Lookup231: orml_vesting::module::Event<T>1819 * Lookup232: orml_vesting::module::Event<T>
1816 **/1820 **/
1817 OrmlVestingModuleEvent: {1821 OrmlVestingModuleEvent: {
1818 _enum: {1822 _enum: {
1819 VestingScheduleAdded: {1823 VestingScheduleAdded: {
1830 }1834 }
1831 }1835 }
1832 },1836 },
1833 /**1837 /**
1834 * Lookup232: cumulus_pallet_xcmp_queue::pallet::Event<T>1838 * Lookup233: cumulus_pallet_xcmp_queue::pallet::Event<T>
1835 **/1839 **/
1836 CumulusPalletXcmpQueueEvent: {1840 CumulusPalletXcmpQueueEvent: {
1837 _enum: {1841 _enum: {
1838 Success: 'Option<H256>',1842 Success: 'Option<H256>',
1845 OverweightServiced: '(u64,u64)'1849 OverweightServiced: '(u64,u64)'
1846 }1850 }
1847 },1851 },
1848 /**1852 /**
1849 * Lookup233: pallet_xcm::pallet::Event<T>1853 * Lookup234: pallet_xcm::pallet::Event<T>
1850 **/1854 **/
1851 PalletXcmEvent: {1855 PalletXcmEvent: {
1852 _enum: {1856 _enum: {
1853 Attempted: 'XcmV2TraitsOutcome',1857 Attempted: 'XcmV2TraitsOutcome',
1868 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'1872 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'
1869 }1873 }
1870 },1874 },
1871 /**1875 /**
1872 * Lookup234: xcm::v2::traits::Outcome1876 * Lookup235: xcm::v2::traits::Outcome
1873 **/1877 **/
1874 XcmV2TraitsOutcome: {1878 XcmV2TraitsOutcome: {
1875 _enum: {1879 _enum: {
1876 Complete: 'u64',1880 Complete: 'u64',
1877 Incomplete: '(u64,XcmV2TraitsError)',1881 Incomplete: '(u64,XcmV2TraitsError)',
1878 Error: 'XcmV2TraitsError'1882 Error: 'XcmV2TraitsError'
1879 }1883 }
1880 },1884 },
1881 /**1885 /**
1882 * Lookup236: cumulus_pallet_xcm::pallet::Event<T>1886 * Lookup237: cumulus_pallet_xcm::pallet::Event<T>
1883 **/1887 **/
1884 CumulusPalletXcmEvent: {1888 CumulusPalletXcmEvent: {
1885 _enum: {1889 _enum: {
1886 InvalidFormat: '[u8;8]',1890 InvalidFormat: '[u8;8]',
1887 UnsupportedVersion: '[u8;8]',1891 UnsupportedVersion: '[u8;8]',
1888 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'1892 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
1889 }1893 }
1890 },1894 },
1891 /**1895 /**
1892 * Lookup237: cumulus_pallet_dmp_queue::pallet::Event<T>1896 * Lookup238: cumulus_pallet_dmp_queue::pallet::Event<T>
1893 **/1897 **/
1894 CumulusPalletDmpQueueEvent: {1898 CumulusPalletDmpQueueEvent: {
1895 _enum: {1899 _enum: {
1896 InvalidFormat: '[u8;32]',1900 InvalidFormat: '[u8;32]',
1901 OverweightServiced: '(u64,u64)'1905 OverweightServiced: '(u64,u64)'
1902 }1906 }
1903 },1907 },
1904 /**1908 /**
1905 * Lookup238: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1909 * Lookup239: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
1906 **/1910 **/
1907 PalletUniqueRawEvent: {1911 PalletUniqueRawEvent: {
1908 _enum: {1912 _enum: {
1909 CollectionSponsorRemoved: 'u32',1913 CollectionSponsorRemoved: 'u32',
1910 CollectionAdminAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1914 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
1911 CollectionOwnedChanged: '(u32,AccountId32)',1915 CollectionOwnedChanged: '(u32,AccountId32)',
1912 CollectionSponsorSet: '(u32,AccountId32)',1916 CollectionSponsorSet: '(u32,AccountId32)',
1913 ConstOnChainSchemaSet: 'u32',1917 ConstOnChainSchemaSet: 'u32',
1914 SponsorshipConfirmed: '(u32,AccountId32)',1918 SponsorshipConfirmed: '(u32,AccountId32)',
1915 CollectionAdminRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1919 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
1916 AllowListAddressRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1920 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
1917 AllowListAddressAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1921 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
1918 CollectionLimitSet: 'u32',1922 CollectionLimitSet: 'u32',
1919 MintPermissionSet: 'u32',1923 MintPermissionSet: 'u32',
1920 OffchainSchemaSet: 'u32',1924 OffchainSchemaSet: 'u32',
1923 VariableOnChainSchemaSet: 'u32'1927 VariableOnChainSchemaSet: 'u32'
1924 }1928 }
1925 },1929 },
1926 /**1930 /**
1927 * Lookup239: pallet_common::pallet::Event<T>1931 * Lookup240: pallet_common::pallet::Event<T>
1928 **/1932 **/
1929 PalletCommonEvent: {1933 PalletCommonEvent: {
1930 _enum: {1934 _enum: {
1931 CollectionCreated: '(u32,u8,AccountId32)',1935 CollectionCreated: '(u32,u8,AccountId32)',
1932 CollectionDestroyed: 'u32',1936 CollectionDestroyed: 'u32',
1933 ItemCreated: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1937 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
1934 ItemDestroyed: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1938 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
1935 Transfer: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1939 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
1936 Approved: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)'1940 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)'
1937 }1941 }
1938 },1942 },
1939 /**1943 /**
1940 * Lookup240: pallet_evm::pallet::Event<T>1944 * Lookup241: pallet_evm::pallet::Event<T>
1941 **/1945 **/
1942 PalletEvmEvent: {1946 PalletEvmEvent: {
1943 _enum: {1947 _enum: {
1944 Log: 'EthereumLog',1948 Log: 'EthereumLog',
1950 BalanceWithdraw: '(AccountId32,H160,U256)'1954 BalanceWithdraw: '(AccountId32,H160,U256)'
1951 }1955 }
1952 },1956 },
1953 /**1957 /**
1954 * Lookup241: ethereum::log::Log1958 * Lookup242: ethereum::log::Log
1955 **/1959 **/
1956 EthereumLog: {1960 EthereumLog: {
1957 address: 'H160',1961 address: 'H160',
1958 topics: 'Vec<H256>',1962 topics: 'Vec<H256>',
1959 data: 'Bytes'1963 data: 'Bytes'
1960 },1964 },
1961 /**1965 /**
1962 * Lookup242: pallet_ethereum::pallet::Event1966 * Lookup243: pallet_ethereum::pallet::Event
1963 **/1967 **/
1964 PalletEthereumEvent: {1968 PalletEthereumEvent: {
1965 _enum: {1969 _enum: {
1966 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1970 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'
1967 }1971 }
1968 },1972 },
1969 /**1973 /**
1970 * Lookup243: evm_core::error::ExitReason1974 * Lookup244: evm_core::error::ExitReason
1971 **/1975 **/
1972 EvmCoreErrorExitReason: {1976 EvmCoreErrorExitReason: {
1973 _enum: {1977 _enum: {
1974 Succeed: 'EvmCoreErrorExitSucceed',1978 Succeed: 'EvmCoreErrorExitSucceed',
1977 Fatal: 'EvmCoreErrorExitFatal'1981 Fatal: 'EvmCoreErrorExitFatal'
1978 }1982 }
1979 },1983 },
1980 /**1984 /**
1981 * Lookup244: evm_core::error::ExitSucceed1985 * Lookup245: evm_core::error::ExitSucceed
1982 **/1986 **/
1983 EvmCoreErrorExitSucceed: {1987 EvmCoreErrorExitSucceed: {
1984 _enum: ['Stopped', 'Returned', 'Suicided']1988 _enum: ['Stopped', 'Returned', 'Suicided']
1985 },1989 },
1986 /**1990 /**
1987 * Lookup245: evm_core::error::ExitError1991 * Lookup246: evm_core::error::ExitError
1988 **/1992 **/
1989 EvmCoreErrorExitError: {1993 EvmCoreErrorExitError: {
1990 _enum: {1994 _enum: {
1991 StackUnderflow: 'Null',1995 StackUnderflow: 'Null',
2005 Other: 'Text'2009 Other: 'Text'
2006 }2010 }
2007 },2011 },
2008 /**2012 /**
2009 * Lookup248: evm_core::error::ExitRevert2013 * Lookup249: evm_core::error::ExitRevert
2010 **/2014 **/
2011 EvmCoreErrorExitRevert: {2015 EvmCoreErrorExitRevert: {
2012 _enum: ['Reverted']2016 _enum: ['Reverted']
2013 },2017 },
2014 /**2018 /**
2015 * Lookup249: evm_core::error::ExitFatal2019 * Lookup250: evm_core::error::ExitFatal
2016 **/2020 **/
2017 EvmCoreErrorExitFatal: {2021 EvmCoreErrorExitFatal: {
2018 _enum: {2022 _enum: {
2019 NotSupported: 'Null',2023 NotSupported: 'Null',
2022 Other: 'Text'2026 Other: 'Text'
2023 }2027 }
2024 },2028 },
2025 /**2029 /**
2026 * Lookup250: frame_system::Phase2030 * Lookup251: frame_system::Phase
2027 **/2031 **/
2028 FrameSystemPhase: {2032 FrameSystemPhase: {
2029 _enum: {2033 _enum: {
2030 ApplyExtrinsic: 'u32',2034 ApplyExtrinsic: 'u32',
2031 Finalization: 'Null',2035 Finalization: 'Null',
2032 Initialization: 'Null'2036 Initialization: 'Null'
2033 }2037 }
2034 },2038 },
2035 /**2039 /**
2036 * Lookup252: frame_system::LastRuntimeUpgradeInfo2040 * Lookup253: frame_system::LastRuntimeUpgradeInfo
2037 **/2041 **/
2038 FrameSystemLastRuntimeUpgradeInfo: {2042 FrameSystemLastRuntimeUpgradeInfo: {
2039 specVersion: 'Compact<u32>',2043 specVersion: 'Compact<u32>',
2040 specName: 'Text'2044 specName: 'Text'
2041 },2045 },
2042 /**2046 /**
2043 * Lookup253: frame_system::limits::BlockWeights2047 * Lookup254: frame_system::limits::BlockWeights
2044 **/2048 **/
2045 FrameSystemLimitsBlockWeights: {2049 FrameSystemLimitsBlockWeights: {
2046 baseBlock: 'u64',2050 baseBlock: 'u64',
2047 maxBlock: 'u64',2051 maxBlock: 'u64',
2048 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2052 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
2049 },2053 },
2050 /**2054 /**
2051 * Lookup254: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2055 * Lookup255: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
2052 **/2056 **/
2053 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2057 FrameSupportWeightsPerDispatchClassWeightsPerClass: {
2054 normal: 'FrameSystemLimitsWeightsPerClass',2058 normal: 'FrameSystemLimitsWeightsPerClass',
2055 operational: 'FrameSystemLimitsWeightsPerClass',2059 operational: 'FrameSystemLimitsWeightsPerClass',
2056 mandatory: 'FrameSystemLimitsWeightsPerClass'2060 mandatory: 'FrameSystemLimitsWeightsPerClass'
2057 },2061 },
2058 /**2062 /**
2059 * Lookup255: frame_system::limits::WeightsPerClass2063 * Lookup256: frame_system::limits::WeightsPerClass
2060 **/2064 **/
2061 FrameSystemLimitsWeightsPerClass: {2065 FrameSystemLimitsWeightsPerClass: {
2062 baseExtrinsic: 'u64',2066 baseExtrinsic: 'u64',
2063 maxExtrinsic: 'Option<u64>',2067 maxExtrinsic: 'Option<u64>',
2064 maxTotal: 'Option<u64>',2068 maxTotal: 'Option<u64>',
2065 reserved: 'Option<u64>'2069 reserved: 'Option<u64>'
2066 },2070 },
2067 /**2071 /**
2068 * Lookup257: frame_system::limits::BlockLength2072 * Lookup258: frame_system::limits::BlockLength
2069 **/2073 **/
2070 FrameSystemLimitsBlockLength: {2074 FrameSystemLimitsBlockLength: {
2071 max: 'FrameSupportWeightsPerDispatchClassU32'2075 max: 'FrameSupportWeightsPerDispatchClassU32'
2072 },2076 },
2073 /**2077 /**
2074 * Lookup258: frame_support::weights::PerDispatchClass<T>2078 * Lookup259: frame_support::weights::PerDispatchClass<T>
2075 **/2079 **/
2076 FrameSupportWeightsPerDispatchClassU32: {2080 FrameSupportWeightsPerDispatchClassU32: {
2077 normal: 'u32',2081 normal: 'u32',
2078 operational: 'u32',2082 operational: 'u32',
2079 mandatory: 'u32'2083 mandatory: 'u32'
2080 },2084 },
2081 /**2085 /**
2082 * Lookup259: frame_support::weights::RuntimeDbWeight2086 * Lookup260: frame_support::weights::RuntimeDbWeight
2083 **/2087 **/
2084 FrameSupportWeightsRuntimeDbWeight: {2088 FrameSupportWeightsRuntimeDbWeight: {
2085 read: 'u64',2089 read: 'u64',
2086 write: 'u64'2090 write: 'u64'
2087 },2091 },
2088 /**2092 /**
2089 * Lookup260: sp_version::RuntimeVersion2093 * Lookup261: sp_version::RuntimeVersion
2090 **/2094 **/
2091 SpVersionRuntimeVersion: {2095 SpVersionRuntimeVersion: {
2092 specName: 'Text',2096 specName: 'Text',
2093 implName: 'Text',2097 implName: 'Text',
2098 transactionVersion: 'u32',2102 transactionVersion: 'u32',
2099 stateVersion: 'u8'2103 stateVersion: 'u8'
2100 },2104 },
2101 /**2105 /**
2102 * Lookup264: frame_system::pallet::Error<T>2106 * Lookup265: frame_system::pallet::Error<T>
2103 **/2107 **/
2104 FrameSystemError: {2108 FrameSystemError: {
2105 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2109 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
2106 },2110 },
2107 /**2111 /**
2108 * Lookup266: orml_vesting::module::Error<T>2112 * Lookup267: orml_vesting::module::Error<T>
2109 **/2113 **/
2110 OrmlVestingModuleError: {2114 OrmlVestingModuleError: {
2111 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2115 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
2112 },2116 },
2113 /**2117 /**
2114 * Lookup268: cumulus_pallet_xcmp_queue::InboundChannelDetails2118 * Lookup269: cumulus_pallet_xcmp_queue::InboundChannelDetails
2115 **/2119 **/
2116 CumulusPalletXcmpQueueInboundChannelDetails: {2120 CumulusPalletXcmpQueueInboundChannelDetails: {
2117 sender: 'u32',2121 sender: 'u32',
2118 state: 'CumulusPalletXcmpQueueInboundState',2122 state: 'CumulusPalletXcmpQueueInboundState',
2119 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2123 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
2120 },2124 },
2121 /**2125 /**
2122 * Lookup269: cumulus_pallet_xcmp_queue::InboundState2126 * Lookup270: cumulus_pallet_xcmp_queue::InboundState
2123 **/2127 **/
2124 CumulusPalletXcmpQueueInboundState: {2128 CumulusPalletXcmpQueueInboundState: {
2125 _enum: ['Ok', 'Suspended']2129 _enum: ['Ok', 'Suspended']
2126 },2130 },
2127 /**2131 /**
2128 * Lookup272: polkadot_parachain::primitives::XcmpMessageFormat2132 * Lookup273: polkadot_parachain::primitives::XcmpMessageFormat
2129 **/2133 **/
2130 PolkadotParachainPrimitivesXcmpMessageFormat: {2134 PolkadotParachainPrimitivesXcmpMessageFormat: {
2131 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2135 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
2132 },2136 },
2133 /**2137 /**
2134 * Lookup275: cumulus_pallet_xcmp_queue::OutboundChannelDetails2138 * Lookup276: cumulus_pallet_xcmp_queue::OutboundChannelDetails
2135 **/2139 **/
2136 CumulusPalletXcmpQueueOutboundChannelDetails: {2140 CumulusPalletXcmpQueueOutboundChannelDetails: {
2137 recipient: 'u32',2141 recipient: 'u32',
2138 state: 'CumulusPalletXcmpQueueOutboundState',2142 state: 'CumulusPalletXcmpQueueOutboundState',
2139 signalsExist: 'bool',2143 signalsExist: 'bool',
2140 firstIndex: 'u16',2144 firstIndex: 'u16',
2141 lastIndex: 'u16'2145 lastIndex: 'u16'
2142 },2146 },
2143 /**2147 /**
2144 * Lookup276: cumulus_pallet_xcmp_queue::OutboundState2148 * Lookup277: cumulus_pallet_xcmp_queue::OutboundState
2145 **/2149 **/
2146 CumulusPalletXcmpQueueOutboundState: {2150 CumulusPalletXcmpQueueOutboundState: {
2147 _enum: ['Ok', 'Suspended']2151 _enum: ['Ok', 'Suspended']
2148 },2152 },
2149 /**2153 /**
2150 * Lookup278: cumulus_pallet_xcmp_queue::QueueConfigData2154 * Lookup279: cumulus_pallet_xcmp_queue::QueueConfigData
2151 **/2155 **/
2152 CumulusPalletXcmpQueueQueueConfigData: {2156 CumulusPalletXcmpQueueQueueConfigData: {
2153 suspendThreshold: 'u32',2157 suspendThreshold: 'u32',
2154 dropThreshold: 'u32',2158 dropThreshold: 'u32',
2157 weightRestrictDecay: 'u64',2161 weightRestrictDecay: 'u64',
2158 xcmpMaxIndividualWeight: 'u64'2162 xcmpMaxIndividualWeight: 'u64'
2159 },2163 },
2160 /**2164 /**
2161 * Lookup280: cumulus_pallet_xcmp_queue::pallet::Error<T>2165 * Lookup281: cumulus_pallet_xcmp_queue::pallet::Error<T>
2162 **/2166 **/
2163 CumulusPalletXcmpQueueError: {2167 CumulusPalletXcmpQueueError: {
2164 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2168 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
2165 },2169 },
2166 /**2170 /**
2167 * Lookup281: pallet_xcm::pallet::Error<T>2171 * Lookup282: pallet_xcm::pallet::Error<T>
2168 **/2172 **/
2169 PalletXcmError: {2173 PalletXcmError: {
2170 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2174 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
2171 },2175 },
2172 /**2176 /**
2173 * Lookup282: cumulus_pallet_xcm::pallet::Error<T>2177 * Lookup283: cumulus_pallet_xcm::pallet::Error<T>
2174 **/2178 **/
2175 CumulusPalletXcmError: 'Null',2179 CumulusPalletXcmError: 'Null',
2176 /**2180 /**
2177 * Lookup283: cumulus_pallet_dmp_queue::ConfigData2181 * Lookup284: cumulus_pallet_dmp_queue::ConfigData
2178 **/2182 **/
2179 CumulusPalletDmpQueueConfigData: {2183 CumulusPalletDmpQueueConfigData: {
2180 maxIndividual: 'u64'2184 maxIndividual: 'u64'
2181 },2185 },
2182 /**2186 /**
2183 * Lookup284: cumulus_pallet_dmp_queue::PageIndexData2187 * Lookup285: cumulus_pallet_dmp_queue::PageIndexData
2184 **/2188 **/
2185 CumulusPalletDmpQueuePageIndexData: {2189 CumulusPalletDmpQueuePageIndexData: {
2186 beginUsed: 'u32',2190 beginUsed: 'u32',
2187 endUsed: 'u32',2191 endUsed: 'u32',
2188 overweightCount: 'u64'2192 overweightCount: 'u64'
2189 },2193 },
2190 /**2194 /**
2191 * Lookup287: cumulus_pallet_dmp_queue::pallet::Error<T>2195 * Lookup288: cumulus_pallet_dmp_queue::pallet::Error<T>
2192 **/2196 **/
2193 CumulusPalletDmpQueueError: {2197 CumulusPalletDmpQueueError: {
2194 _enum: ['Unknown', 'OverLimit']2198 _enum: ['Unknown', 'OverLimit']
2195 },2199 },
2196 /**2200 /**
2197 * Lookup291: pallet_unique::Error<T>2201 * Lookup292: pallet_unique::Error<T>
2198 **/2202 **/
2199 PalletUniqueError: {2203 PalletUniqueError: {
2200 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2204 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
2201 },2205 },
2202 /**2206 /**
2203 * Lookup292: up_data_structs::Collection<sp_core::crypto::AccountId32>2207 * Lookup293: up_data_structs::Collection<sp_core::crypto::AccountId32>
2204 **/2208 **/
2205 UpDataStructsCollection: {2209 UpDataStructsCollection: {
2206 owner: 'AccountId32',2210 owner: 'AccountId32',
2207 mode: 'UpDataStructsCollectionMode',2211 mode: 'UpDataStructsCollectionMode',
2218 constOnChainSchema: 'Bytes',2222 constOnChainSchema: 'Bytes',
2219 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'2223 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
2220 },2224 },
2221 /**2225 /**
2222 * Lookup293: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2226 * Lookup294: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
2223 **/2227 **/
2224 UpDataStructsSponsorshipState: {2228 UpDataStructsSponsorshipState: {
2225 _enum: {2229 _enum: {
2226 Disabled: 'Null',2230 Disabled: 'Null',
2227 Unconfirmed: 'AccountId32',2231 Unconfirmed: 'AccountId32',
2228 Confirmed: 'AccountId32'2232 Confirmed: 'AccountId32'
2229 }2233 }
2230 },2234 },
2231 /**2235 /**
2232 * Lookup296: up_data_structs::CollectionStats2236 * Lookup297: up_data_structs::CollectionStats
2233 **/2237 **/
2234 UpDataStructsCollectionStats: {2238 UpDataStructsCollectionStats: {
2235 created: 'u32',2239 created: 'u32',
2236 destroyed: 'u32',2240 destroyed: 'u32',
2237 alive: 'u32'2241 alive: 'u32'
2238 },2242 },
2239 /**2243 /**
2240 * Lookup297: pallet_common::pallet::Error<T>2244 * Lookup298: pallet_common::pallet::Error<T>
2241 **/2245 **/
2242 PalletCommonError: {2246 PalletCommonError: {
2243 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation']2247 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds']
2244 },2248 },
2245 /**2249 /**
2246 * Lookup299: pallet_fungible::pallet::Error<T>2250 * Lookup300: pallet_fungible::pallet::Error<T>
2247 **/2251 **/
2248 PalletFungibleError: {2252 PalletFungibleError: {
2249 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']2253 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']
2250 },2254 },
2251 /**2255 /**
2252 * Lookup300: pallet_refungible::ItemData2256 * Lookup301: pallet_refungible::ItemData
2253 **/2257 **/
2254 PalletRefungibleItemData: {2258 PalletRefungibleItemData: {
2255 constData: 'Bytes',2259 constData: 'Bytes',
2256 variableData: 'Bytes'2260 variableData: 'Bytes'
2257 },2261 },
2258 /**2262 /**
2259 * Lookup304: pallet_refungible::pallet::Error<T>2263 * Lookup305: pallet_refungible::pallet::Error<T>
2260 **/2264 **/
2261 PalletRefungibleError: {2265 PalletRefungibleError: {
2262 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']2266 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']
2263 },2267 },
2264 /**2268 /**
2265 * Lookup305: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2269 * Lookup306: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2266 **/2270 **/
2267 PalletNonfungibleItemData: {2271 PalletNonfungibleItemData: {
2268 constData: 'Bytes',2272 constData: 'Bytes',
2269 variableData: 'Bytes',2273 variableData: 'Bytes',
2270 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'2274 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
2271 },2275 },
2272 /**2276 /**
2273 * Lookup306: pallet_nonfungible::pallet::Error<T>2277 * Lookup307: pallet_nonfungible::pallet::Error<T>
2274 **/2278 **/
2275 PalletNonfungibleError: {2279 PalletNonfungibleError: {
2276 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']2280 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
2277 },2281 },
2278 /**2282 /**
2279 * Lookup308: pallet_evm::pallet::Error<T>2283 * Lookup309: pallet_evm::pallet::Error<T>
2280 **/2284 **/
2281 PalletEvmError: {2285 PalletEvmError: {
2282 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2286 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
2283 },2287 },
2284 /**2288 /**
2285 * Lookup311: fp_rpc::TransactionStatus2289 * Lookup312: fp_rpc::TransactionStatus
2286 **/2290 **/
2287 FpRpcTransactionStatus: {2291 FpRpcTransactionStatus: {
2288 transactionHash: 'H256',2292 transactionHash: 'H256',
2289 transactionIndex: 'u32',2293 transactionIndex: 'u32',
2293 logs: 'Vec<EthereumLog>',2297 logs: 'Vec<EthereumLog>',
2294 logsBloom: 'EthbloomBloom'2298 logsBloom: 'EthbloomBloom'
2295 },2299 },
2296 /**2300 /**
2297 * Lookup314: ethbloom::Bloom2301 * Lookup315: ethbloom::Bloom
2298 **/2302 **/
2299 EthbloomBloom: '[u8;256]',2303 EthbloomBloom: '[u8;256]',
2300 /**2304 /**
2301 * Lookup316: ethereum::receipt::ReceiptV32305 * Lookup317: ethereum::receipt::ReceiptV3
2302 **/2306 **/
2303 EthereumReceiptReceiptV3: {2307 EthereumReceiptReceiptV3: {
2304 _enum: {2308 _enum: {
2305 Legacy: 'EthereumReceiptEip658ReceiptData',2309 Legacy: 'EthereumReceiptEip658ReceiptData',
2306 EIP2930: 'EthereumReceiptEip658ReceiptData',2310 EIP2930: 'EthereumReceiptEip658ReceiptData',
2307 EIP1559: 'EthereumReceiptEip658ReceiptData'2311 EIP1559: 'EthereumReceiptEip658ReceiptData'
2308 }2312 }
2309 },2313 },
2310 /**2314 /**
2311 * Lookup317: ethereum::receipt::EIP658ReceiptData2315 * Lookup318: ethereum::receipt::EIP658ReceiptData
2312 **/2316 **/
2313 EthereumReceiptEip658ReceiptData: {2317 EthereumReceiptEip658ReceiptData: {
2314 statusCode: 'u8',2318 statusCode: 'u8',
2315 usedGas: 'U256',2319 usedGas: 'U256',
2316 logsBloom: 'EthbloomBloom',2320 logsBloom: 'EthbloomBloom',
2317 logs: 'Vec<EthereumLog>'2321 logs: 'Vec<EthereumLog>'
2318 },2322 },
2319 /**2323 /**
2320 * Lookup318: ethereum::block::Block<ethereum::transaction::TransactionV2>2324 * Lookup319: ethereum::block::Block<ethereum::transaction::TransactionV2>
2321 **/2325 **/
2322 EthereumBlock: {2326 EthereumBlock: {
2323 header: 'EthereumHeader',2327 header: 'EthereumHeader',
2324 transactions: 'Vec<EthereumTransactionTransactionV2>',2328 transactions: 'Vec<EthereumTransactionTransactionV2>',
2325 ommers: 'Vec<EthereumHeader>'2329 ommers: 'Vec<EthereumHeader>'
2326 },2330 },
2327 /**2331 /**
2328 * Lookup319: ethereum::header::Header2332 * Lookup320: ethereum::header::Header
2329 **/2333 **/
2330 EthereumHeader: {2334 EthereumHeader: {
2331 parentHash: 'H256',2335 parentHash: 'H256',
2332 ommersHash: 'H256',2336 ommersHash: 'H256',
2344 mixHash: 'H256',2348 mixHash: 'H256',
2345 nonce: 'EthereumTypesHashH64'2349 nonce: 'EthereumTypesHashH64'
2346 },2350 },
2347 /**2351 /**
2348 * Lookup320: ethereum_types::hash::H642352 * Lookup321: ethereum_types::hash::H64
2349 **/2353 **/
2350 EthereumTypesHashH64: '[u8;8]',2354 EthereumTypesHashH64: '[u8;8]',
2351 /**2355 /**
2352 * Lookup325: pallet_ethereum::pallet::Error<T>2356 * Lookup326: pallet_ethereum::pallet::Error<T>
2353 **/2357 **/
2354 PalletEthereumError: {2358 PalletEthereumError: {
2355 _enum: ['InvalidSignature', 'PreLogExists']2359 _enum: ['InvalidSignature', 'PreLogExists']
2356 },2360 },
2357 /**2361 /**
2358 * Lookup326: pallet_evm_coder_substrate::pallet::Error<T>2362 * Lookup327: pallet_evm_coder_substrate::pallet::Error<T>
2359 **/2363 **/
2360 PalletEvmCoderSubstrateError: {2364 PalletEvmCoderSubstrateError: {
2361 _enum: ['OutOfGas', 'OutOfFund']2365 _enum: ['OutOfGas', 'OutOfFund']
2362 },2366 },
2363 /**2367 /**
2364 * Lookup327: pallet_evm_contract_helpers::SponsoringModeT2368 * Lookup328: pallet_evm_contract_helpers::SponsoringModeT
2365 **/2369 **/
2366 PalletEvmContractHelpersSponsoringModeT: {2370 PalletEvmContractHelpersSponsoringModeT: {
2367 _enum: ['Disabled', 'Allowlisted', 'Generous']2371 _enum: ['Disabled', 'Allowlisted', 'Generous']
2368 },2372 },
2369 /**2373 /**
2370 * Lookup329: pallet_evm_contract_helpers::pallet::Error<T>2374 * Lookup330: pallet_evm_contract_helpers::pallet::Error<T>
2371 **/2375 **/
2372 PalletEvmContractHelpersError: {2376 PalletEvmContractHelpersError: {
2373 _enum: ['NoPermission']2377 _enum: ['NoPermission']
2374 },2378 },
2375 /**2379 /**
2376 * Lookup330: pallet_evm_migration::pallet::Error<T>2380 * Lookup331: pallet_evm_migration::pallet::Error<T>
2377 **/2381 **/
2378 PalletEvmMigrationError: {2382 PalletEvmMigrationError: {
2379 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']2383 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
2380 },2384 },
2381 /**2385 /**
2382 * Lookup332: sp_runtime::MultiSignature2386 * Lookup333: sp_runtime::MultiSignature
2383 **/2387 **/
2384 SpRuntimeMultiSignature: {2388 SpRuntimeMultiSignature: {
2385 _enum: {2389 _enum: {
2386 Ed25519: 'SpCoreEd25519Signature',2390 Ed25519: 'SpCoreEd25519Signature',
2387 Sr25519: 'SpCoreSr25519Signature',2391 Sr25519: 'SpCoreSr25519Signature',
2388 Ecdsa: 'SpCoreEcdsaSignature'2392 Ecdsa: 'SpCoreEcdsaSignature'
2389 }2393 }
2390 },2394 },
2391 /**2395 /**
2392 * Lookup333: sp_core::ed25519::Signature2396 * Lookup334: sp_core::ed25519::Signature
2393 **/2397 **/
2394 SpCoreEd25519Signature: '[u8;64]',2398 SpCoreEd25519Signature: '[u8;64]',
2395 /**2399 /**
2396 * Lookup335: sp_core::sr25519::Signature2400 * Lookup336: sp_core::sr25519::Signature
2397 **/2401 **/
2398 SpCoreSr25519Signature: '[u8;64]',2402 SpCoreSr25519Signature: '[u8;64]',
2399 /**2403 /**
2400 * Lookup336: sp_core::ecdsa::Signature2404 * Lookup337: sp_core::ecdsa::Signature
2401 **/2405 **/
2402 SpCoreEcdsaSignature: '[u8;65]',2406 SpCoreEcdsaSignature: '[u8;65]',
2403 /**2407 /**
2404 * Lookup339: frame_system::extensions::check_spec_version::CheckSpecVersion<T>2408 * Lookup340: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
2405 **/2409 **/
2406 FrameSystemExtensionsCheckSpecVersion: 'Null',2410 FrameSystemExtensionsCheckSpecVersion: 'Null',
2407 /**2411 /**
2408 * Lookup340: frame_system::extensions::check_genesis::CheckGenesis<T>2412 * Lookup341: frame_system::extensions::check_genesis::CheckGenesis<T>
2409 **/2413 **/
2410 FrameSystemExtensionsCheckGenesis: 'Null',2414 FrameSystemExtensionsCheckGenesis: 'Null',
2411 /**2415 /**
2412 * Lookup343: frame_system::extensions::check_nonce::CheckNonce<T>2416 * Lookup344: frame_system::extensions::check_nonce::CheckNonce<T>
2413 **/2417 **/
2414 FrameSystemExtensionsCheckNonce: 'Compact<u32>',2418 FrameSystemExtensionsCheckNonce: 'Compact<u32>',
2415 /**2419 /**
2416 * Lookup344: frame_system::extensions::check_weight::CheckWeight<T>2420 * Lookup345: frame_system::extensions::check_weight::CheckWeight<T>
2417 **/2421 **/
2418 FrameSystemExtensionsCheckWeight: 'Null',2422 FrameSystemExtensionsCheckWeight: 'Null',
2419 /**2423 /**
2420 * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>2424 * Lookup346: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
2421 **/2425 **/
2422 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2426 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
2423 /**2427 /**
2424 * Lookup346: unique_runtime::Runtime2428 * Lookup347: opal_runtime::Runtime
2425 **/2429 **/
2426 UniqueRuntimeRuntime: 'Null'2430 OpalRuntimeRuntime: 'Null'
2427};2431};
24282432
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
2/* eslint-disable */2/* eslint-disable */
33
4declare module '@polkadot/types/lookup' {4declare module '@polkadot/types/lookup' {
5 import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5 import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
6 import type { ITuple } from '@polkadot/types-codec/types';6 import type { ITuple } from '@polkadot/types-codec/types';
7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
8 import type { Event } from '@polkadot/types/interfaces/system';8 import type { Event } from '@polkadot/types/interfaces/system';
21 readonly type: 'Present';21 readonly type: 'Present';
22 }22 }
23
24 /** @name SpTrieStorageProof (10) */
25 export interface SpTrieStorageProof extends Struct {
26 readonly trieNodes: BTreeSet;
27 }
28
29 /** @name BTreeSet (11) */
30 export interface BTreeSet extends Vec<Bytes> {}
2331
24 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (10) */32 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
25 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {33 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
26 readonly dmqMqcHead: H256;34 readonly dmqMqcHead: H256;
27 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;35 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
28 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV1AbridgedHrmpChannel]>>;36 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV1AbridgedHrmpChannel]>>;
29 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV1AbridgedHrmpChannel]>>;37 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV1AbridgedHrmpChannel]>>;
30 }38 }
3139
32 /** @name PolkadotPrimitivesV1AbridgedHrmpChannel (15) */40 /** @name PolkadotPrimitivesV1AbridgedHrmpChannel (18) */
33 export interface PolkadotPrimitivesV1AbridgedHrmpChannel extends Struct {41 export interface PolkadotPrimitivesV1AbridgedHrmpChannel extends Struct {
34 readonly maxCapacity: u32;42 readonly maxCapacity: u32;
35 readonly maxTotalSize: u32;43 readonly maxTotalSize: u32;
39 readonly mqcHead: Option<H256>;47 readonly mqcHead: Option<H256>;
40 }48 }
4149
42 /** @name PolkadotPrimitivesV1AbridgedHostConfiguration (17) */50 /** @name PolkadotPrimitivesV1AbridgedHostConfiguration (20) */
43 export interface PolkadotPrimitivesV1AbridgedHostConfiguration extends Struct {51 export interface PolkadotPrimitivesV1AbridgedHostConfiguration extends Struct {
44 readonly maxCodeSize: u32;52 readonly maxCodeSize: u32;
45 readonly maxHeadDataSize: u32;53 readonly maxHeadDataSize: u32;
52 readonly validationUpgradeDelay: u32;60 readonly validationUpgradeDelay: u32;
53 }61 }
5462
55 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (23) */63 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */
56 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {64 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
57 readonly recipient: u32;65 readonly recipient: u32;
58 readonly data: Bytes;66 readonly data: Bytes;
59 }67 }
6068
61 /** @name CumulusPalletParachainSystemCall (26) */69 /** @name CumulusPalletParachainSystemCall (28) */
62 export interface CumulusPalletParachainSystemCall extends Enum {70 export interface CumulusPalletParachainSystemCall extends Enum {
63 readonly isSetValidationData: boolean;71 readonly isSetValidationData: boolean;
64 readonly asSetValidationData: {72 readonly asSetValidationData: {
79 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';87 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
80 }88 }
8189
82 /** @name CumulusPrimitivesParachainInherentParachainInherentData (27) */90 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */
83 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {91 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
84 readonly validationData: PolkadotPrimitivesV1PersistedValidationData;92 readonly validationData: PolkadotPrimitivesV1PersistedValidationData;
85 readonly relayChainState: SpTrieStorageProof;93 readonly relayChainState: SpTrieStorageProof;
86 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;94 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
87 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;95 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
88 }96 }
89
90 /** @name SpTrieStorageProof (28) */
91 export interface SpTrieStorageProof extends Struct {
92 readonly trieNodes: Vec<Bytes>;
93 }
9497
95 /** @name PolkadotCorePrimitivesInboundDownwardMessage (30) */98 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */
96 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {99 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
97 readonly sentAt: u32;100 readonly sentAt: u32;
98 readonly msg: Bytes;101 readonly msg: Bytes;
99 }102 }
100103
101 /** @name PolkadotCorePrimitivesInboundHrmpMessage (33) */104 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */
102 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {105 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
103 readonly sentAt: u32;106 readonly sentAt: u32;
104 readonly data: Bytes;107 readonly data: Bytes;
105 }108 }
106109
107 /** @name CumulusPalletParachainSystemEvent (36) */110 /** @name CumulusPalletParachainSystemEvent (37) */
108 export interface CumulusPalletParachainSystemEvent extends Enum {111 export interface CumulusPalletParachainSystemEvent extends Enum {
109 readonly isValidationFunctionStored: boolean;112 readonly isValidationFunctionStored: boolean;
110 readonly isValidationFunctionApplied: boolean;113 readonly isValidationFunctionApplied: boolean;
119 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';122 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
120 }123 }
121124
122 /** @name CumulusPalletParachainSystemError (37) */125 /** @name CumulusPalletParachainSystemError (38) */
123 export interface CumulusPalletParachainSystemError extends Enum {126 export interface CumulusPalletParachainSystemError extends Enum {
124 readonly isOverlappingUpgrades: boolean;127 readonly isOverlappingUpgrades: boolean;
125 readonly isProhibitedByPolkadot: boolean;128 readonly isProhibitedByPolkadot: boolean;
132 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';135 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
133 }136 }
134137
135 /** @name PalletBalancesAccountData (40) */138 /** @name PalletBalancesAccountData (41) */
136 export interface PalletBalancesAccountData extends Struct {139 export interface PalletBalancesAccountData extends Struct {
137 readonly free: u128;140 readonly free: u128;
138 readonly reserved: u128;141 readonly reserved: u128;
139 readonly miscFrozen: u128;142 readonly miscFrozen: u128;
140 readonly feeFrozen: u128;143 readonly feeFrozen: u128;
141 }144 }
142145
143 /** @name PalletBalancesBalanceLock (42) */146 /** @name PalletBalancesBalanceLock (43) */
144 export interface PalletBalancesBalanceLock extends Struct {147 export interface PalletBalancesBalanceLock extends Struct {
145 readonly id: U8aFixed;148 readonly id: U8aFixed;
146 readonly amount: u128;149 readonly amount: u128;
147 readonly reasons: PalletBalancesReasons;150 readonly reasons: PalletBalancesReasons;
148 }151 }
149152
150 /** @name PalletBalancesReasons (44) */153 /** @name PalletBalancesReasons (45) */
151 export interface PalletBalancesReasons extends Enum {154 export interface PalletBalancesReasons extends Enum {
152 readonly isFee: boolean;155 readonly isFee: boolean;
153 readonly isMisc: boolean;156 readonly isMisc: boolean;
154 readonly isAll: boolean;157 readonly isAll: boolean;
155 readonly type: 'Fee' | 'Misc' | 'All';158 readonly type: 'Fee' | 'Misc' | 'All';
156 }159 }
157160
158 /** @name PalletBalancesReserveData (47) */161 /** @name PalletBalancesReserveData (48) */
159 export interface PalletBalancesReserveData extends Struct {162 export interface PalletBalancesReserveData extends Struct {
160 readonly id: U8aFixed;163 readonly id: U8aFixed;
161 readonly amount: u128;164 readonly amount: u128;
162 }165 }
163166
164 /** @name PalletBalancesReleases (49) */167 /** @name PalletBalancesReleases (50) */
165 export interface PalletBalancesReleases extends Enum {168 export interface PalletBalancesReleases extends Enum {
166 readonly isV100: boolean;169 readonly isV100: boolean;
167 readonly isV200: boolean;170 readonly isV200: boolean;
168 readonly type: 'V100' | 'V200';171 readonly type: 'V100' | 'V200';
169 }172 }
170173
171 /** @name PalletBalancesCall (50) */174 /** @name PalletBalancesCall (51) */
172 export interface PalletBalancesCall extends Enum {175 export interface PalletBalancesCall extends Enum {
173 readonly isTransfer: boolean;176 readonly isTransfer: boolean;
174 readonly asTransfer: {177 readonly asTransfer: {
205 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';208 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
206 }209 }
207210
208 /** @name PalletBalancesEvent (56) */211 /** @name PalletBalancesEvent (57) */
209 export interface PalletBalancesEvent extends Enum {212 export interface PalletBalancesEvent extends Enum {
210 readonly isEndowed: boolean;213 readonly isEndowed: boolean;
211 readonly asEndowed: {214 readonly asEndowed: {
264 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';267 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
265 }268 }
266269
267 /** @name FrameSupportTokensMiscBalanceStatus (57) */270 /** @name FrameSupportTokensMiscBalanceStatus (58) */
268 export interface FrameSupportTokensMiscBalanceStatus extends Enum {271 export interface FrameSupportTokensMiscBalanceStatus extends Enum {
269 readonly isFree: boolean;272 readonly isFree: boolean;
270 readonly isReserved: boolean;273 readonly isReserved: boolean;
271 readonly type: 'Free' | 'Reserved';274 readonly type: 'Free' | 'Reserved';
272 }275 }
273276
274 /** @name PalletBalancesError (58) */277 /** @name PalletBalancesError (59) */
275 export interface PalletBalancesError extends Enum {278 export interface PalletBalancesError extends Enum {
276 readonly isVestingBalance: boolean;279 readonly isVestingBalance: boolean;
277 readonly isLiquidityRestrictions: boolean;280 readonly isLiquidityRestrictions: boolean;
284 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';287 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
285 }288 }
286289
287 /** @name PalletTimestampCall (61) */290 /** @name PalletTimestampCall (62) */
288 export interface PalletTimestampCall extends Enum {291 export interface PalletTimestampCall extends Enum {
289 readonly isSet: boolean;292 readonly isSet: boolean;
290 readonly asSet: {293 readonly asSet: {
293 readonly type: 'Set';296 readonly type: 'Set';
294 }297 }
295298
296 /** @name PalletTransactionPaymentReleases (64) */299 /** @name PalletTransactionPaymentReleases (65) */
297 export interface PalletTransactionPaymentReleases extends Enum {300 export interface PalletTransactionPaymentReleases extends Enum {
298 readonly isV1Ancient: boolean;301 readonly isV1Ancient: boolean;
299 readonly isV2: boolean;302 readonly isV2: boolean;
300 readonly type: 'V1Ancient' | 'V2';303 readonly type: 'V1Ancient' | 'V2';
301 }304 }
302305
303 /** @name FrameSupportWeightsWeightToFeeCoefficient (66) */306 /** @name FrameSupportWeightsWeightToFeeCoefficient (67) */
304 export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {307 export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {
305 readonly coeffInteger: u128;308 readonly coeffInteger: u128;
306 readonly coeffFrac: Perbill;309 readonly coeffFrac: Perbill;
307 readonly negative: bool;310 readonly negative: bool;
308 readonly degree: u8;311 readonly degree: u8;
309 }312 }
310313
311 /** @name PalletTreasuryProposal (68) */314 /** @name PalletTreasuryProposal (69) */
312 export interface PalletTreasuryProposal extends Struct {315 export interface PalletTreasuryProposal extends Struct {
313 readonly proposer: AccountId32;316 readonly proposer: AccountId32;
314 readonly value: u128;317 readonly value: u128;
315 readonly beneficiary: AccountId32;318 readonly beneficiary: AccountId32;
316 readonly bond: u128;319 readonly bond: u128;
317 }320 }
318321
319 /** @name PalletTreasuryCall (71) */322 /** @name PalletTreasuryCall (72) */
320 export interface PalletTreasuryCall extends Enum {323 export interface PalletTreasuryCall extends Enum {
321 readonly isProposeSpend: boolean;324 readonly isProposeSpend: boolean;
322 readonly asProposeSpend: {325 readonly asProposeSpend: {
334 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';337 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';
335 }338 }
336339
337 /** @name PalletTreasuryEvent (73) */340 /** @name PalletTreasuryEvent (74) */
338 export interface PalletTreasuryEvent extends Enum {341 export interface PalletTreasuryEvent extends Enum {
339 readonly isProposed: boolean;342 readonly isProposed: boolean;
340 readonly asProposed: {343 readonly asProposed: {
370 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';373 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';
371 }374 }
372375
373 /** @name FrameSupportPalletId (76) */376 /** @name FrameSupportPalletId (77) */
374 export interface FrameSupportPalletId extends U8aFixed {}377 export interface FrameSupportPalletId extends U8aFixed {}
375378
376 /** @name PalletTreasuryError (77) */379 /** @name PalletTreasuryError (78) */
377 export interface PalletTreasuryError extends Enum {380 export interface PalletTreasuryError extends Enum {
378 readonly isInsufficientProposersBalance: boolean;381 readonly isInsufficientProposersBalance: boolean;
379 readonly isInvalidIndex: boolean;382 readonly isInvalidIndex: boolean;
380 readonly isTooManyApprovals: boolean;383 readonly isTooManyApprovals: boolean;
381 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';384 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
382 }385 }
383386
384 /** @name PalletSudoCall (78) */387 /** @name PalletSudoCall (79) */
385 export interface PalletSudoCall extends Enum {388 export interface PalletSudoCall extends Enum {
386 readonly isSudo: boolean;389 readonly isSudo: boolean;
387 readonly asSudo: {390 readonly asSudo: {
404 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';407 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
405 }408 }
406409
407 /** @name FrameSystemCall (80) */410 /** @name FrameSystemCall (81) */
408 export interface FrameSystemCall extends Enum {411 export interface FrameSystemCall extends Enum {
409 readonly isFillBlock: boolean;412 readonly isFillBlock: boolean;
410 readonly asFillBlock: {413 readonly asFillBlock: {
446 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';449 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
447 }450 }
448451
449 /** @name OrmlVestingModuleCall (83) */452 /** @name OrmlVestingModuleCall (84) */
450 export interface OrmlVestingModuleCall extends Enum {453 export interface OrmlVestingModuleCall extends Enum {
451 readonly isClaim: boolean;454 readonly isClaim: boolean;
452 readonly isVestedTransfer: boolean;455 readonly isVestedTransfer: boolean;
466 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';469 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
467 }470 }
468471
469 /** @name OrmlVestingVestingSchedule (84) */472 /** @name OrmlVestingVestingSchedule (85) */
470 export interface OrmlVestingVestingSchedule extends Struct {473 export interface OrmlVestingVestingSchedule extends Struct {
471 readonly start: u32;474 readonly start: u32;
472 readonly period: u32;475 readonly period: u32;
473 readonly periodCount: u32;476 readonly periodCount: u32;
474 readonly perPeriod: Compact<u128>;477 readonly perPeriod: Compact<u128>;
475 }478 }
476479
477 /** @name CumulusPalletXcmpQueueCall (86) */480 /** @name CumulusPalletXcmpQueueCall (87) */
478 export interface CumulusPalletXcmpQueueCall extends Enum {481 export interface CumulusPalletXcmpQueueCall extends Enum {
479 readonly isServiceOverweight: boolean;482 readonly isServiceOverweight: boolean;
480 readonly asServiceOverweight: {483 readonly asServiceOverweight: {
510 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';513 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
511 }514 }
512515
513 /** @name PalletXcmCall (87) */516 /** @name PalletXcmCall (88) */
514 export interface PalletXcmCall extends Enum {517 export interface PalletXcmCall extends Enum {
515 readonly isSend: boolean;518 readonly isSend: boolean;
516 readonly asSend: {519 readonly asSend: {
572 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';575 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
573 }576 }
574577
575 /** @name XcmVersionedMultiLocation (88) */578 /** @name XcmVersionedMultiLocation (89) */
576 export interface XcmVersionedMultiLocation extends Enum {579 export interface XcmVersionedMultiLocation extends Enum {
577 readonly isV0: boolean;580 readonly isV0: boolean;
578 readonly asV0: XcmV0MultiLocation;581 readonly asV0: XcmV0MultiLocation;
581 readonly type: 'V0' | 'V1';584 readonly type: 'V0' | 'V1';
582 }585 }
583586
584 /** @name XcmV0MultiLocation (89) */587 /** @name XcmV0MultiLocation (90) */
585 export interface XcmV0MultiLocation extends Enum {588 export interface XcmV0MultiLocation extends Enum {
586 readonly isNull: boolean;589 readonly isNull: boolean;
587 readonly isX1: boolean;590 readonly isX1: boolean;
603 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';606 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
604 }607 }
605608
606 /** @name XcmV0Junction (90) */609 /** @name XcmV0Junction (91) */
607 export interface XcmV0Junction extends Enum {610 export interface XcmV0Junction extends Enum {
608 readonly isParent: boolean;611 readonly isParent: boolean;
609 readonly isParachain: boolean;612 readonly isParachain: boolean;
638 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';641 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
639 }642 }
640643
641 /** @name XcmV0JunctionNetworkId (91) */644 /** @name XcmV0JunctionNetworkId (92) */
642 export interface XcmV0JunctionNetworkId extends Enum {645 export interface XcmV0JunctionNetworkId extends Enum {
643 readonly isAny: boolean;646 readonly isAny: boolean;
644 readonly isNamed: boolean;647 readonly isNamed: boolean;
648 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';651 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
649 }652 }
650653
651 /** @name XcmV0JunctionBodyId (92) */654 /** @name XcmV0JunctionBodyId (93) */
652 export interface XcmV0JunctionBodyId extends Enum {655 export interface XcmV0JunctionBodyId extends Enum {
653 readonly isUnit: boolean;656 readonly isUnit: boolean;
654 readonly isNamed: boolean;657 readonly isNamed: boolean;
662 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';665 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
663 }666 }
664667
665 /** @name XcmV0JunctionBodyPart (93) */668 /** @name XcmV0JunctionBodyPart (94) */
666 export interface XcmV0JunctionBodyPart extends Enum {669 export interface XcmV0JunctionBodyPart extends Enum {
667 readonly isVoice: boolean;670 readonly isVoice: boolean;
668 readonly isMembers: boolean;671 readonly isMembers: boolean;
687 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';690 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
688 }691 }
689692
690 /** @name XcmV1MultiLocation (94) */693 /** @name XcmV1MultiLocation (95) */
691 export interface XcmV1MultiLocation extends Struct {694 export interface XcmV1MultiLocation extends Struct {
692 readonly parents: u8;695 readonly parents: u8;
693 readonly interior: XcmV1MultilocationJunctions;696 readonly interior: XcmV1MultilocationJunctions;
694 }697 }
695698
696 /** @name XcmV1MultilocationJunctions (95) */699 /** @name XcmV1MultilocationJunctions (96) */
697 export interface XcmV1MultilocationJunctions extends Enum {700 export interface XcmV1MultilocationJunctions extends Enum {
698 readonly isHere: boolean;701 readonly isHere: boolean;
699 readonly isX1: boolean;702 readonly isX1: boolean;
715 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';718 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
716 }719 }
717720
718 /** @name XcmV1Junction (96) */721 /** @name XcmV1Junction (97) */
719 export interface XcmV1Junction extends Enum {722 export interface XcmV1Junction extends Enum {
720 readonly isParachain: boolean;723 readonly isParachain: boolean;
721 readonly asParachain: Compact<u32>;724 readonly asParachain: Compact<u32>;
749 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';752 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
750 }753 }
751754
752 /** @name XcmVersionedXcm (97) */755 /** @name XcmVersionedXcm (98) */
753 export interface XcmVersionedXcm extends Enum {756 export interface XcmVersionedXcm extends Enum {
754 readonly isV0: boolean;757 readonly isV0: boolean;
755 readonly asV0: XcmV0Xcm;758 readonly asV0: XcmV0Xcm;
760 readonly type: 'V0' | 'V1' | 'V2';763 readonly type: 'V0' | 'V1' | 'V2';
761 }764 }
762765
763 /** @name XcmV0Xcm (98) */766 /** @name XcmV0Xcm (99) */
764 export interface XcmV0Xcm extends Enum {767 export interface XcmV0Xcm extends Enum {
765 readonly isWithdrawAsset: boolean;768 readonly isWithdrawAsset: boolean;
766 readonly asWithdrawAsset: {769 readonly asWithdrawAsset: {
823 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';826 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
824 }827 }
825828
826 /** @name XcmV0MultiAsset (100) */829 /** @name XcmV0MultiAsset (101) */
827 export interface XcmV0MultiAsset extends Enum {830 export interface XcmV0MultiAsset extends Enum {
828 readonly isNone: boolean;831 readonly isNone: boolean;
829 readonly isAll: boolean;832 readonly isAll: boolean;
868 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';871 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
869 }872 }
870873
871 /** @name XcmV1MultiassetAssetInstance (101) */874 /** @name XcmV1MultiassetAssetInstance (102) */
872 export interface XcmV1MultiassetAssetInstance extends Enum {875 export interface XcmV1MultiassetAssetInstance extends Enum {
873 readonly isUndefined: boolean;876 readonly isUndefined: boolean;
874 readonly isIndex: boolean;877 readonly isIndex: boolean;
886 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';889 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
887 }890 }
888891
889 /** @name XcmV0Order (105) */892 /** @name XcmV0Order (106) */
890 export interface XcmV0Order extends Enum {893 export interface XcmV0Order extends Enum {
891 readonly isNull: boolean;894 readonly isNull: boolean;
892 readonly isDepositAsset: boolean;895 readonly isDepositAsset: boolean;
934 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';937 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
935 }938 }
936939
937 /** @name XcmV0Response (107) */940 /** @name XcmV0Response (108) */
938 export interface XcmV0Response extends Enum {941 export interface XcmV0Response extends Enum {
939 readonly isAssets: boolean;942 readonly isAssets: boolean;
940 readonly asAssets: Vec<XcmV0MultiAsset>;943 readonly asAssets: Vec<XcmV0MultiAsset>;
941 readonly type: 'Assets';944 readonly type: 'Assets';
942 }945 }
943946
944 /** @name XcmV0OriginKind (108) */947 /** @name XcmV0OriginKind (109) */
945 export interface XcmV0OriginKind extends Enum {948 export interface XcmV0OriginKind extends Enum {
946 readonly isNative: boolean;949 readonly isNative: boolean;
947 readonly isSovereignAccount: boolean;950 readonly isSovereignAccount: boolean;
950 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';953 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
951 }954 }
952955
953 /** @name XcmDoubleEncoded (109) */956 /** @name XcmDoubleEncoded (110) */
954 export interface XcmDoubleEncoded extends Struct {957 export interface XcmDoubleEncoded extends Struct {
955 readonly encoded: Bytes;958 readonly encoded: Bytes;
956 }959 }
957960
958 /** @name XcmV1Xcm (110) */961 /** @name XcmV1Xcm (111) */
959 export interface XcmV1Xcm extends Enum {962 export interface XcmV1Xcm extends Enum {
960 readonly isWithdrawAsset: boolean;963 readonly isWithdrawAsset: boolean;
961 readonly asWithdrawAsset: {964 readonly asWithdrawAsset: {
1024 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1027 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
1025 }1028 }
10261029
1027 /** @name XcmV1MultiassetMultiAssets (111) */1030 /** @name XcmV1MultiassetMultiAssets (112) */
1028 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}1031 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
10291032
1030 /** @name XcmV1MultiAsset (113) */1033 /** @name XcmV1MultiAsset (114) */
1031 export interface XcmV1MultiAsset extends Struct {1034 export interface XcmV1MultiAsset extends Struct {
1032 readonly id: XcmV1MultiassetAssetId;1035 readonly id: XcmV1MultiassetAssetId;
1033 readonly fun: XcmV1MultiassetFungibility;1036 readonly fun: XcmV1MultiassetFungibility;
1034 }1037 }
10351038
1036 /** @name XcmV1MultiassetAssetId (114) */1039 /** @name XcmV1MultiassetAssetId (115) */
1037 export interface XcmV1MultiassetAssetId extends Enum {1040 export interface XcmV1MultiassetAssetId extends Enum {
1038 readonly isConcrete: boolean;1041 readonly isConcrete: boolean;
1039 readonly asConcrete: XcmV1MultiLocation;1042 readonly asConcrete: XcmV1MultiLocation;
1042 readonly type: 'Concrete' | 'Abstract';1045 readonly type: 'Concrete' | 'Abstract';
1043 }1046 }
10441047
1045 /** @name XcmV1MultiassetFungibility (115) */1048 /** @name XcmV1MultiassetFungibility (116) */
1046 export interface XcmV1MultiassetFungibility extends Enum {1049 export interface XcmV1MultiassetFungibility extends Enum {
1047 readonly isFungible: boolean;1050 readonly isFungible: boolean;
1048 readonly asFungible: Compact<u128>;1051 readonly asFungible: Compact<u128>;
1051 readonly type: 'Fungible' | 'NonFungible';1054 readonly type: 'Fungible' | 'NonFungible';
1052 }1055 }
10531056
1054 /** @name XcmV1Order (117) */1057 /** @name XcmV1Order (118) */
1055 export interface XcmV1Order extends Enum {1058 export interface XcmV1Order extends Enum {
1056 readonly isNoop: boolean;1059 readonly isNoop: boolean;
1057 readonly isDepositAsset: boolean;1060 readonly isDepositAsset: boolean;
1101 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1104 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
1102 }1105 }
11031106
1104 /** @name XcmV1MultiassetMultiAssetFilter (118) */1107 /** @name XcmV1MultiassetMultiAssetFilter (119) */
1105 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1108 export interface XcmV1MultiassetMultiAssetFilter extends Enum {
1106 readonly isDefinite: boolean;1109 readonly isDefinite: boolean;
1107 readonly asDefinite: XcmV1MultiassetMultiAssets;1110 readonly asDefinite: XcmV1MultiassetMultiAssets;
1110 readonly type: 'Definite' | 'Wild';1113 readonly type: 'Definite' | 'Wild';
1111 }1114 }
11121115
1113 /** @name XcmV1MultiassetWildMultiAsset (119) */1116 /** @name XcmV1MultiassetWildMultiAsset (120) */
1114 export interface XcmV1MultiassetWildMultiAsset extends Enum {1117 export interface XcmV1MultiassetWildMultiAsset extends Enum {
1115 readonly isAll: boolean;1118 readonly isAll: boolean;
1116 readonly isAllOf: boolean;1119 readonly isAllOf: boolean;
1121 readonly type: 'All' | 'AllOf';1124 readonly type: 'All' | 'AllOf';
1122 }1125 }
11231126
1124 /** @name XcmV1MultiassetWildFungibility (120) */1127 /** @name XcmV1MultiassetWildFungibility (121) */
1125 export interface XcmV1MultiassetWildFungibility extends Enum {1128 export interface XcmV1MultiassetWildFungibility extends Enum {
1126 readonly isFungible: boolean;1129 readonly isFungible: boolean;
1127 readonly isNonFungible: boolean;1130 readonly isNonFungible: boolean;
1128 readonly type: 'Fungible' | 'NonFungible';1131 readonly type: 'Fungible' | 'NonFungible';
1129 }1132 }
11301133
1131 /** @name XcmV1Response (122) */1134 /** @name XcmV1Response (123) */
1132 export interface XcmV1Response extends Enum {1135 export interface XcmV1Response extends Enum {
1133 readonly isAssets: boolean;1136 readonly isAssets: boolean;
1134 readonly asAssets: XcmV1MultiassetMultiAssets;1137 readonly asAssets: XcmV1MultiassetMultiAssets;
1137 readonly type: 'Assets' | 'Version';1140 readonly type: 'Assets' | 'Version';
1138 }1141 }
11391142
1140 /** @name XcmV2Xcm (123) */1143 /** @name XcmV2Xcm (124) */
1141 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}1144 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
11421145
1143 /** @name XcmV2Instruction (125) */1146 /** @name XcmV2Instruction (126) */
1144 export interface XcmV2Instruction extends Enum {1147 export interface XcmV2Instruction extends Enum {
1145 readonly isWithdrawAsset: boolean;1148 readonly isWithdrawAsset: boolean;
1146 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1149 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
1260 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';1263 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';
1261 }1264 }
12621265
1263 /** @name XcmV2Response (126) */1266 /** @name XcmV2Response (127) */
1264 export interface XcmV2Response extends Enum {1267 export interface XcmV2Response extends Enum {
1265 readonly isNull: boolean;1268 readonly isNull: boolean;
1266 readonly isAssets: boolean;1269 readonly isAssets: boolean;
1272 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1275 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
1273 }1276 }
12741277
1275 /** @name XcmV2TraitsError (129) */1278 /** @name XcmV2TraitsError (130) */
1276 export interface XcmV2TraitsError extends Enum {1279 export interface XcmV2TraitsError extends Enum {
1277 readonly isOverflow: boolean;1280 readonly isOverflow: boolean;
1278 readonly isUnimplemented: boolean;1281 readonly isUnimplemented: boolean;
1305 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';1308 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';
1306 }1309 }
13071310
1308 /** @name XcmV2WeightLimit (130) */1311 /** @name XcmV2WeightLimit (131) */
1309 export interface XcmV2WeightLimit extends Enum {1312 export interface XcmV2WeightLimit extends Enum {
1310 readonly isUnlimited: boolean;1313 readonly isUnlimited: boolean;
1311 readonly isLimited: boolean;1314 readonly isLimited: boolean;
1312 readonly asLimited: Compact<u64>;1315 readonly asLimited: Compact<u64>;
1313 readonly type: 'Unlimited' | 'Limited';1316 readonly type: 'Unlimited' | 'Limited';
1314 }1317 }
13151318
1316 /** @name XcmVersionedMultiAssets (131) */1319 /** @name XcmVersionedMultiAssets (132) */
1317 export interface XcmVersionedMultiAssets extends Enum {1320 export interface XcmVersionedMultiAssets extends Enum {
1318 readonly isV0: boolean;1321 readonly isV0: boolean;
1319 readonly asV0: Vec<XcmV0MultiAsset>;1322 readonly asV0: Vec<XcmV0MultiAsset>;
1322 readonly type: 'V0' | 'V1';1325 readonly type: 'V0' | 'V1';
1323 }1326 }
13241327
1325 /** @name CumulusPalletXcmCall (146) */1328 /** @name CumulusPalletXcmCall (147) */
1326 export type CumulusPalletXcmCall = Null;1329 export type CumulusPalletXcmCall = Null;
13271330
1328 /** @name CumulusPalletDmpQueueCall (147) */1331 /** @name CumulusPalletDmpQueueCall (148) */
1329 export interface CumulusPalletDmpQueueCall extends Enum {1332 export interface CumulusPalletDmpQueueCall extends Enum {
1330 readonly isServiceOverweight: boolean;1333 readonly isServiceOverweight: boolean;
1331 readonly asServiceOverweight: {1334 readonly asServiceOverweight: {
1335 readonly type: 'ServiceOverweight';1338 readonly type: 'ServiceOverweight';
1336 }1339 }
13371340
1338 /** @name PalletInflationCall (148) */1341 /** @name PalletInflationCall (149) */
1339 export interface PalletInflationCall extends Enum {1342 export interface PalletInflationCall extends Enum {
1340 readonly isStartInflation: boolean;1343 readonly isStartInflation: boolean;
1341 readonly asStartInflation: {1344 readonly asStartInflation: {
1344 readonly type: 'StartInflation';1347 readonly type: 'StartInflation';
1345 }1348 }
13461349
1347 /** @name PalletUniqueCall (149) */1350 /** @name PalletUniqueCall (150) */
1348 export interface PalletUniqueCall extends Enum {1351 export interface PalletUniqueCall extends Enum {
1349 readonly isCreateCollection: boolean;1352 readonly isCreateCollection: boolean;
1350 readonly asCreateCollection: {1353 readonly asCreateCollection: {
1364 readonly isAddToAllowList: boolean;1367 readonly isAddToAllowList: boolean;
1365 readonly asAddToAllowList: {1368 readonly asAddToAllowList: {
1366 readonly collectionId: u32;1369 readonly collectionId: u32;
1367 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1370 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
1368 } & Struct;1371 } & Struct;
1369 readonly isRemoveFromAllowList: boolean;1372 readonly isRemoveFromAllowList: boolean;
1370 readonly asRemoveFromAllowList: {1373 readonly asRemoveFromAllowList: {
1371 readonly collectionId: u32;1374 readonly collectionId: u32;
1372 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1375 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
1373 } & Struct;1376 } & Struct;
1374 readonly isSetPublicAccessMode: boolean;1377 readonly isSetPublicAccessMode: boolean;
1375 readonly asSetPublicAccessMode: {1378 readonly asSetPublicAccessMode: {
1389 readonly isAddCollectionAdmin: boolean;1392 readonly isAddCollectionAdmin: boolean;
1390 readonly asAddCollectionAdmin: {1393 readonly asAddCollectionAdmin: {
1391 readonly collectionId: u32;1394 readonly collectionId: u32;
1392 readonly newAdminId: PalletCommonAccountBasicCrossAccountIdRepr;1395 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;
1393 } & Struct;1396 } & Struct;
1394 readonly isRemoveCollectionAdmin: boolean;1397 readonly isRemoveCollectionAdmin: boolean;
1395 readonly asRemoveCollectionAdmin: {1398 readonly asRemoveCollectionAdmin: {
1396 readonly collectionId: u32;1399 readonly collectionId: u32;
1397 readonly accountId: PalletCommonAccountBasicCrossAccountIdRepr;1400 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;
1398 } & Struct;1401 } & Struct;
1399 readonly isSetCollectionSponsor: boolean;1402 readonly isSetCollectionSponsor: boolean;
1400 readonly asSetCollectionSponsor: {1403 readonly asSetCollectionSponsor: {
1412 readonly isCreateItem: boolean;1415 readonly isCreateItem: boolean;
1413 readonly asCreateItem: {1416 readonly asCreateItem: {
1414 readonly collectionId: u32;1417 readonly collectionId: u32;
1415 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1418 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1416 readonly data: UpDataStructsCreateItemData;1419 readonly data: UpDataStructsCreateItemData;
1417 } & Struct;1420 } & Struct;
1418 readonly isCreateMultipleItems: boolean;1421 readonly isCreateMultipleItems: boolean;
1419 readonly asCreateMultipleItems: {1422 readonly asCreateMultipleItems: {
1420 readonly collectionId: u32;1423 readonly collectionId: u32;
1421 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1424 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1422 readonly itemsData: Vec<UpDataStructsCreateItemData>;1425 readonly itemsData: Vec<UpDataStructsCreateItemData>;
1423 } & Struct;1426 } & Struct;
1424 readonly isCreateMultipleItemsEx: boolean;1427 readonly isCreateMultipleItemsEx: boolean;
1440 readonly isBurnFrom: boolean;1443 readonly isBurnFrom: boolean;
1441 readonly asBurnFrom: {1444 readonly asBurnFrom: {
1442 readonly collectionId: u32;1445 readonly collectionId: u32;
1443 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1446 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
1444 readonly itemId: u32;1447 readonly itemId: u32;
1445 readonly value: u128;1448 readonly value: u128;
1446 } & Struct;1449 } & Struct;
1447 readonly isTransfer: boolean;1450 readonly isTransfer: boolean;
1448 readonly asTransfer: {1451 readonly asTransfer: {
1449 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1452 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
1450 readonly collectionId: u32;1453 readonly collectionId: u32;
1451 readonly itemId: u32;1454 readonly itemId: u32;
1452 readonly value: u128;1455 readonly value: u128;
1453 } & Struct;1456 } & Struct;
1454 readonly isApprove: boolean;1457 readonly isApprove: boolean;
1455 readonly asApprove: {1458 readonly asApprove: {
1456 readonly spender: PalletCommonAccountBasicCrossAccountIdRepr;1459 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;
1457 readonly collectionId: u32;1460 readonly collectionId: u32;
1458 readonly itemId: u32;1461 readonly itemId: u32;
1459 readonly amount: u128;1462 readonly amount: u128;
1460 } & Struct;1463 } & Struct;
1461 readonly isTransferFrom: boolean;1464 readonly isTransferFrom: boolean;
1462 readonly asTransferFrom: {1465 readonly asTransferFrom: {
1463 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1466 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
1464 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1467 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
1465 readonly collectionId: u32;1468 readonly collectionId: u32;
1466 readonly itemId: u32;1469 readonly itemId: u32;
1467 readonly value: u128;1470 readonly value: u128;
1505 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1508 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';
1506 }1509 }
15071510
1508 /** @name UpDataStructsCollectionMode (155) */1511 /** @name UpDataStructsCollectionMode (156) */
1509 export interface UpDataStructsCollectionMode extends Enum {1512 export interface UpDataStructsCollectionMode extends Enum {
1510 readonly isNft: boolean;1513 readonly isNft: boolean;
1511 readonly isFungible: boolean;1514 readonly isFungible: boolean;
1514 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1517 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
1515 }1518 }
15161519
1517 /** @name UpDataStructsCreateCollectionData (156) */1520 /** @name UpDataStructsCreateCollectionData (157) */
1518 export interface UpDataStructsCreateCollectionData extends Struct {1521 export interface UpDataStructsCreateCollectionData extends Struct {
1519 readonly mode: UpDataStructsCollectionMode;1522 readonly mode: UpDataStructsCollectionMode;
1520 readonly access: Option<UpDataStructsAccessMode>;1523 readonly access: Option<UpDataStructsAccessMode>;
1530 readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;1533 readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;
1531 }1534 }
15321535
1533 /** @name UpDataStructsAccessMode (158) */1536 /** @name UpDataStructsAccessMode (159) */
1534 export interface UpDataStructsAccessMode extends Enum {1537 export interface UpDataStructsAccessMode extends Enum {
1535 readonly isNormal: boolean;1538 readonly isNormal: boolean;
1536 readonly isAllowList: boolean;1539 readonly isAllowList: boolean;
1537 readonly type: 'Normal' | 'AllowList';1540 readonly type: 'Normal' | 'AllowList';
1538 }1541 }
15391542
1540 /** @name UpDataStructsSchemaVersion (161) */1543 /** @name UpDataStructsSchemaVersion (162) */
1541 export interface UpDataStructsSchemaVersion extends Enum {1544 export interface UpDataStructsSchemaVersion extends Enum {
1542 readonly isImageURL: boolean;1545 readonly isImageURL: boolean;
1543 readonly isUnique: boolean;1546 readonly isUnique: boolean;
1544 readonly type: 'ImageURL' | 'Unique';1547 readonly type: 'ImageURL' | 'Unique';
1545 }1548 }
15461549
1547 /** @name UpDataStructsCollectionLimits (164) */1550 /** @name UpDataStructsCollectionLimits (165) */
1548 export interface UpDataStructsCollectionLimits extends Struct {1551 export interface UpDataStructsCollectionLimits extends Struct {
1549 readonly accountTokenOwnershipLimit: Option<u32>;1552 readonly accountTokenOwnershipLimit: Option<u32>;
1550 readonly sponsoredDataSize: Option<u32>;1553 readonly sponsoredDataSize: Option<u32>;
1557 readonly transfersEnabled: Option<bool>;1560 readonly transfersEnabled: Option<bool>;
1558 }1561 }
15591562
1560 /** @name UpDataStructsSponsoringRateLimit (166) */1563 /** @name UpDataStructsSponsoringRateLimit (167) */
1561 export interface UpDataStructsSponsoringRateLimit extends Enum {1564 export interface UpDataStructsSponsoringRateLimit extends Enum {
1562 readonly isSponsoringDisabled: boolean;1565 readonly isSponsoringDisabled: boolean;
1563 readonly isBlocks: boolean;1566 readonly isBlocks: boolean;
1564 readonly asBlocks: u32;1567 readonly asBlocks: u32;
1565 readonly type: 'SponsoringDisabled' | 'Blocks';1568 readonly type: 'SponsoringDisabled' | 'Blocks';
1566 }1569 }
15671570
1568 /** @name UpDataStructsMetaUpdatePermission (170) */1571 /** @name UpDataStructsMetaUpdatePermission (171) */
1569 export interface UpDataStructsMetaUpdatePermission extends Enum {1572 export interface UpDataStructsMetaUpdatePermission extends Enum {
1570 readonly isItemOwner: boolean;1573 readonly isItemOwner: boolean;
1571 readonly isAdmin: boolean;1574 readonly isAdmin: boolean;
1572 readonly isNone: boolean;1575 readonly isNone: boolean;
1573 readonly type: 'ItemOwner' | 'Admin' | 'None';1576 readonly type: 'ItemOwner' | 'Admin' | 'None';
1574 }1577 }
15751578
1576 /** @name PalletCommonAccountBasicCrossAccountIdRepr (172) */1579 /** @name PalletEvmAccountBasicCrossAccountIdRepr (173) */
1577 export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {1580 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
1578 readonly isSubstrate: boolean;1581 readonly isSubstrate: boolean;
1579 readonly asSubstrate: AccountId32;1582 readonly asSubstrate: AccountId32;
1580 readonly isEthereum: boolean;1583 readonly isEthereum: boolean;
1581 readonly asEthereum: H160;1584 readonly asEthereum: H160;
1582 readonly type: 'Substrate' | 'Ethereum';1585 readonly type: 'Substrate' | 'Ethereum';
1583 }1586 }
15841587
1585 /** @name UpDataStructsCreateItemData (174) */1588 /** @name UpDataStructsCreateItemData (175) */
1586 export interface UpDataStructsCreateItemData extends Enum {1589 export interface UpDataStructsCreateItemData extends Enum {
1587 readonly isNft: boolean;1590 readonly isNft: boolean;
1588 readonly asNft: UpDataStructsCreateNftData;1591 readonly asNft: UpDataStructsCreateNftData;
1593 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1596 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
1594 }1597 }
15951598
1596 /** @name UpDataStructsCreateNftData (175) */1599 /** @name UpDataStructsCreateNftData (176) */
1597 export interface UpDataStructsCreateNftData extends Struct {1600 export interface UpDataStructsCreateNftData extends Struct {
1598 readonly constData: Bytes;1601 readonly constData: Bytes;
1599 readonly variableData: Bytes;1602 readonly variableData: Bytes;
1600 }1603 }
16011604
1602 /** @name UpDataStructsCreateFungibleData (177) */1605 /** @name UpDataStructsCreateFungibleData (178) */
1603 export interface UpDataStructsCreateFungibleData extends Struct {1606 export interface UpDataStructsCreateFungibleData extends Struct {
1604 readonly value: u128;1607 readonly value: u128;
1605 }1608 }
16061609
1607 /** @name UpDataStructsCreateReFungibleData (178) */1610 /** @name UpDataStructsCreateReFungibleData (179) */
1608 export interface UpDataStructsCreateReFungibleData extends Struct {1611 export interface UpDataStructsCreateReFungibleData extends Struct {
1609 readonly constData: Bytes;1612 readonly constData: Bytes;
1610 readonly variableData: Bytes;1613 readonly variableData: Bytes;
1611 readonly pieces: u128;1614 readonly pieces: u128;
1612 }1615 }
16131616
1614 /** @name UpDataStructsCreateItemExData (180) */1617 /** @name UpDataStructsCreateItemExData (181) */
1615 export interface UpDataStructsCreateItemExData extends Enum {1618 export interface UpDataStructsCreateItemExData extends Enum {
1616 readonly isNft: boolean;1619 readonly isNft: boolean;
1617 readonly asNft: Vec<UpDataStructsCreateNftExData>;1620 readonly asNft: Vec<UpDataStructsCreateNftExData>;
1618 readonly isFungible: boolean;1621 readonly isFungible: boolean;
1619 readonly asFungible: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1622 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
1620 readonly isRefungibleMultipleItems: boolean;1623 readonly isRefungibleMultipleItems: boolean;
1621 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1624 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;
1622 readonly isRefungibleMultipleOwners: boolean;1625 readonly isRefungibleMultipleOwners: boolean;
1623 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1626 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;
1624 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1627 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
1625 }1628 }
16261629
1627 /** @name UpDataStructsCreateNftExData (182) */1630 /** @name UpDataStructsCreateNftExData (183) */
1628 export interface UpDataStructsCreateNftExData extends Struct {1631 export interface UpDataStructsCreateNftExData extends Struct {
1629 readonly constData: Bytes;1632 readonly constData: Bytes;
1630 readonly variableData: Bytes;1633 readonly variableData: Bytes;
1631 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1634 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1632 }1635 }
16331636
1634 /** @name UpDataStructsCreateRefungibleExData (189) */1637 /** @name UpDataStructsCreateRefungibleExData (190) */
1635 export interface UpDataStructsCreateRefungibleExData extends Struct {1638 export interface UpDataStructsCreateRefungibleExData extends Struct {
1636 readonly constData: Bytes;1639 readonly constData: Bytes;
1637 readonly variableData: Bytes;1640 readonly variableData: Bytes;
1638 readonly users: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1641 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
1639 }1642 }
16401643
1641 /** @name PalletTemplateTransactionPaymentCall (192) */1644 /** @name PalletTemplateTransactionPaymentCall (193) */
1642 export type PalletTemplateTransactionPaymentCall = Null;1645 export type PalletTemplateTransactionPaymentCall = Null;
16431646
1644 /** @name PalletEvmCall (193) */1647 /** @name PalletEvmCall (194) */
1645 export interface PalletEvmCall extends Enum {1648 export interface PalletEvmCall extends Enum {
1646 readonly isWithdraw: boolean;1649 readonly isWithdraw: boolean;
1647 readonly asWithdraw: {1650 readonly asWithdraw: {
1686 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1689 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
1687 }1690 }
16881691
1689 /** @name PalletEthereumCall (199) */1692 /** @name PalletEthereumCall (200) */
1690 export interface PalletEthereumCall extends Enum {1693 export interface PalletEthereumCall extends Enum {
1691 readonly isTransact: boolean;1694 readonly isTransact: boolean;
1692 readonly asTransact: {1695 readonly asTransact: {
1695 readonly type: 'Transact';1698 readonly type: 'Transact';
1696 }1699 }
16971700
1698 /** @name EthereumTransactionTransactionV2 (200) */1701 /** @name EthereumTransactionTransactionV2 (201) */
1699 export interface EthereumTransactionTransactionV2 extends Enum {1702 export interface EthereumTransactionTransactionV2 extends Enum {
1700 readonly isLegacy: boolean;1703 readonly isLegacy: boolean;
1701 readonly asLegacy: EthereumTransactionLegacyTransaction;1704 readonly asLegacy: EthereumTransactionLegacyTransaction;
1706 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1709 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
1707 }1710 }
17081711
1709 /** @name EthereumTransactionLegacyTransaction (201) */1712 /** @name EthereumTransactionLegacyTransaction (202) */
1710 export interface EthereumTransactionLegacyTransaction extends Struct {1713 export interface EthereumTransactionLegacyTransaction extends Struct {
1711 readonly nonce: U256;1714 readonly nonce: U256;
1712 readonly gasPrice: U256;1715 readonly gasPrice: U256;
1717 readonly signature: EthereumTransactionTransactionSignature;1720 readonly signature: EthereumTransactionTransactionSignature;
1718 }1721 }
17191722
1720 /** @name EthereumTransactionTransactionAction (202) */1723 /** @name EthereumTransactionTransactionAction (203) */
1721 export interface EthereumTransactionTransactionAction extends Enum {1724 export interface EthereumTransactionTransactionAction extends Enum {
1722 readonly isCall: boolean;1725 readonly isCall: boolean;
1723 readonly asCall: H160;1726 readonly asCall: H160;
1724 readonly isCreate: boolean;1727 readonly isCreate: boolean;
1725 readonly type: 'Call' | 'Create';1728 readonly type: 'Call' | 'Create';
1726 }1729 }
17271730
1728 /** @name EthereumTransactionTransactionSignature (203) */1731 /** @name EthereumTransactionTransactionSignature (204) */
1729 export interface EthereumTransactionTransactionSignature extends Struct {1732 export interface EthereumTransactionTransactionSignature extends Struct {
1730 readonly v: u64;1733 readonly v: u64;
1731 readonly r: H256;1734 readonly r: H256;
1732 readonly s: H256;1735 readonly s: H256;
1733 }1736 }
17341737
1735 /** @name EthereumTransactionEip2930Transaction (205) */1738 /** @name EthereumTransactionEip2930Transaction (206) */
1736 export interface EthereumTransactionEip2930Transaction extends Struct {1739 export interface EthereumTransactionEip2930Transaction extends Struct {
1737 readonly chainId: u64;1740 readonly chainId: u64;
1738 readonly nonce: U256;1741 readonly nonce: U256;
1747 readonly s: H256;1750 readonly s: H256;
1748 }1751 }
17491752
1750 /** @name EthereumTransactionAccessListItem (207) */1753 /** @name EthereumTransactionAccessListItem (208) */
1751 export interface EthereumTransactionAccessListItem extends Struct {1754 export interface EthereumTransactionAccessListItem extends Struct {
1752 readonly address: H160;1755 readonly address: H160;
1753 readonly slots: Vec<H256>;1756 readonly storageKeys: Vec<H256>;
1754 }1757 }
17551758
1756 /** @name EthereumTransactionEip1559Transaction (208) */1759 /** @name EthereumTransactionEip1559Transaction (209) */
1757 export interface EthereumTransactionEip1559Transaction extends Struct {1760 export interface EthereumTransactionEip1559Transaction extends Struct {
1758 readonly chainId: u64;1761 readonly chainId: u64;
1759 readonly nonce: U256;1762 readonly nonce: U256;
1769 readonly s: H256;1772 readonly s: H256;
1770 }1773 }
17711774
1772 /** @name PalletEvmMigrationCall (209) */1775 /** @name PalletEvmMigrationCall (210) */
1773 export interface PalletEvmMigrationCall extends Enum {1776 export interface PalletEvmMigrationCall extends Enum {
1774 readonly isBegin: boolean;1777 readonly isBegin: boolean;
1775 readonly asBegin: {1778 readonly asBegin: {
1788 readonly type: 'Begin' | 'SetData' | 'Finish';1791 readonly type: 'Begin' | 'SetData' | 'Finish';
1789 }1792 }
17901793
1791 /** @name PalletSudoEvent (212) */1794 /** @name PalletSudoEvent (213) */
1792 export interface PalletSudoEvent extends Enum {1795 export interface PalletSudoEvent extends Enum {
1793 readonly isSudid: boolean;1796 readonly isSudid: boolean;
1794 readonly asSudid: {1797 readonly asSudid: {
1805 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1808 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
1806 }1809 }
18071810
1808 /** @name SpRuntimeDispatchError (214) */1811 /** @name SpRuntimeDispatchError (215) */
1809 export interface SpRuntimeDispatchError extends Enum {1812 export interface SpRuntimeDispatchError extends Enum {
1810 readonly isOther: boolean;1813 readonly isOther: boolean;
1811 readonly isCannotLookup: boolean;1814 readonly isCannotLookup: boolean;
1822 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';1825 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';
1823 }1826 }
18241827
1825 /** @name SpRuntimeModuleError (215) */1828 /** @name SpRuntimeModuleError (216) */
1826 export interface SpRuntimeModuleError extends Struct {1829 export interface SpRuntimeModuleError extends Struct {
1827 readonly index: u8;1830 readonly index: u8;
1828 readonly error: u8;1831 readonly error: u8;
1829 }1832 }
18301833
1831 /** @name SpRuntimeTokenError (216) */1834 /** @name SpRuntimeTokenError (217) */
1832 export interface SpRuntimeTokenError extends Enum {1835 export interface SpRuntimeTokenError extends Enum {
1833 readonly isNoFunds: boolean;1836 readonly isNoFunds: boolean;
1834 readonly isWouldDie: boolean;1837 readonly isWouldDie: boolean;
1840 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1843 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
1841 }1844 }
18421845
1843 /** @name SpRuntimeArithmeticError (217) */1846 /** @name SpRuntimeArithmeticError (218) */
1844 export interface SpRuntimeArithmeticError extends Enum {1847 export interface SpRuntimeArithmeticError extends Enum {
1845 readonly isUnderflow: boolean;1848 readonly isUnderflow: boolean;
1846 readonly isOverflow: boolean;1849 readonly isOverflow: boolean;
1847 readonly isDivisionByZero: boolean;1850 readonly isDivisionByZero: boolean;
1848 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1851 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
1849 }1852 }
18501853
1851 /** @name PalletSudoError (218) */1854 /** @name PalletSudoError (219) */
1852 export interface PalletSudoError extends Enum {1855 export interface PalletSudoError extends Enum {
1853 readonly isRequireSudo: boolean;1856 readonly isRequireSudo: boolean;
1854 readonly type: 'RequireSudo';1857 readonly type: 'RequireSudo';
1855 }1858 }
18561859
1857 /** @name FrameSystemAccountInfo (219) */1860 /** @name FrameSystemAccountInfo (220) */
1858 export interface FrameSystemAccountInfo extends Struct {1861 export interface FrameSystemAccountInfo extends Struct {
1859 readonly nonce: u32;1862 readonly nonce: u32;
1860 readonly consumers: u32;1863 readonly consumers: u32;
1863 readonly data: PalletBalancesAccountData;1866 readonly data: PalletBalancesAccountData;
1864 }1867 }
18651868
1866 /** @name FrameSupportWeightsPerDispatchClassU64 (220) */1869 /** @name FrameSupportWeightsPerDispatchClassU64 (221) */
1867 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {1870 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
1868 readonly normal: u64;1871 readonly normal: u64;
1869 readonly operational: u64;1872 readonly operational: u64;
1870 readonly mandatory: u64;1873 readonly mandatory: u64;
1871 }1874 }
18721875
1873 /** @name SpRuntimeDigest (221) */1876 /** @name SpRuntimeDigest (222) */
1874 export interface SpRuntimeDigest extends Struct {1877 export interface SpRuntimeDigest extends Struct {
1875 readonly logs: Vec<SpRuntimeDigestDigestItem>;1878 readonly logs: Vec<SpRuntimeDigestDigestItem>;
1876 }1879 }
18771880
1878 /** @name SpRuntimeDigestDigestItem (223) */1881 /** @name SpRuntimeDigestDigestItem (224) */
1879 export interface SpRuntimeDigestDigestItem extends Enum {1882 export interface SpRuntimeDigestDigestItem extends Enum {
1880 readonly isOther: boolean;1883 readonly isOther: boolean;
1881 readonly asOther: Bytes;1884 readonly asOther: Bytes;
1889 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1892 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
1890 }1893 }
18911894
1892 /** @name FrameSystemEventRecord (225) */1895 /** @name FrameSystemEventRecord (226) */
1893 export interface FrameSystemEventRecord extends Struct {1896 export interface FrameSystemEventRecord extends Struct {
1894 readonly phase: FrameSystemPhase;1897 readonly phase: FrameSystemPhase;
1895 readonly event: Event;1898 readonly event: Event;
1896 readonly topics: Vec<H256>;1899 readonly topics: Vec<H256>;
1897 }1900 }
18981901
1899 /** @name FrameSystemEvent (227) */1902 /** @name FrameSystemEvent (228) */
1900 export interface FrameSystemEvent extends Enum {1903 export interface FrameSystemEvent extends Enum {
1901 readonly isExtrinsicSuccess: boolean;1904 readonly isExtrinsicSuccess: boolean;
1902 readonly asExtrinsicSuccess: {1905 readonly asExtrinsicSuccess: {
1924 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';1927 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
1925 }1928 }
19261929
1927 /** @name FrameSupportWeightsDispatchInfo (228) */1930 /** @name FrameSupportWeightsDispatchInfo (229) */
1928 export interface FrameSupportWeightsDispatchInfo extends Struct {1931 export interface FrameSupportWeightsDispatchInfo extends Struct {
1929 readonly weight: u64;1932 readonly weight: u64;
1930 readonly class: FrameSupportWeightsDispatchClass;1933 readonly class: FrameSupportWeightsDispatchClass;
1931 readonly paysFee: FrameSupportWeightsPays;1934 readonly paysFee: FrameSupportWeightsPays;
1932 }1935 }
19331936
1934 /** @name FrameSupportWeightsDispatchClass (229) */1937 /** @name FrameSupportWeightsDispatchClass (230) */
1935 export interface FrameSupportWeightsDispatchClass extends Enum {1938 export interface FrameSupportWeightsDispatchClass extends Enum {
1936 readonly isNormal: boolean;1939 readonly isNormal: boolean;
1937 readonly isOperational: boolean;1940 readonly isOperational: boolean;
1938 readonly isMandatory: boolean;1941 readonly isMandatory: boolean;
1939 readonly type: 'Normal' | 'Operational' | 'Mandatory';1942 readonly type: 'Normal' | 'Operational' | 'Mandatory';
1940 }1943 }
19411944
1942 /** @name FrameSupportWeightsPays (230) */1945 /** @name FrameSupportWeightsPays (231) */
1943 export interface FrameSupportWeightsPays extends Enum {1946 export interface FrameSupportWeightsPays extends Enum {
1944 readonly isYes: boolean;1947 readonly isYes: boolean;
1945 readonly isNo: boolean;1948 readonly isNo: boolean;
1946 readonly type: 'Yes' | 'No';1949 readonly type: 'Yes' | 'No';
1947 }1950 }
19481951
1949 /** @name OrmlVestingModuleEvent (231) */1952 /** @name OrmlVestingModuleEvent (232) */
1950 export interface OrmlVestingModuleEvent extends Enum {1953 export interface OrmlVestingModuleEvent extends Enum {
1951 readonly isVestingScheduleAdded: boolean;1954 readonly isVestingScheduleAdded: boolean;
1952 readonly asVestingScheduleAdded: {1955 readonly asVestingScheduleAdded: {
1966 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';1969 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
1967 }1970 }
19681971
1969 /** @name CumulusPalletXcmpQueueEvent (232) */1972 /** @name CumulusPalletXcmpQueueEvent (233) */
1970 export interface CumulusPalletXcmpQueueEvent extends Enum {1973 export interface CumulusPalletXcmpQueueEvent extends Enum {
1971 readonly isSuccess: boolean;1974 readonly isSuccess: boolean;
1972 readonly asSuccess: Option<H256>;1975 readonly asSuccess: Option<H256>;
1987 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';1990 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
1988 }1991 }
19891992
1990 /** @name PalletXcmEvent (233) */1993 /** @name PalletXcmEvent (234) */
1991 export interface PalletXcmEvent extends Enum {1994 export interface PalletXcmEvent extends Enum {
1992 readonly isAttempted: boolean;1995 readonly isAttempted: boolean;
1993 readonly asAttempted: XcmV2TraitsOutcome;1996 readonly asAttempted: XcmV2TraitsOutcome;
2024 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2027 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
2025 }2028 }
20262029
2027 /** @name XcmV2TraitsOutcome (234) */2030 /** @name XcmV2TraitsOutcome (235) */
2028 export interface XcmV2TraitsOutcome extends Enum {2031 export interface XcmV2TraitsOutcome extends Enum {
2029 readonly isComplete: boolean;2032 readonly isComplete: boolean;
2030 readonly asComplete: u64;2033 readonly asComplete: u64;
2035 readonly type: 'Complete' | 'Incomplete' | 'Error';2038 readonly type: 'Complete' | 'Incomplete' | 'Error';
2036 }2039 }
20372040
2038 /** @name CumulusPalletXcmEvent (236) */2041 /** @name CumulusPalletXcmEvent (237) */
2039 export interface CumulusPalletXcmEvent extends Enum {2042 export interface CumulusPalletXcmEvent extends Enum {
2040 readonly isInvalidFormat: boolean;2043 readonly isInvalidFormat: boolean;
2041 readonly asInvalidFormat: U8aFixed;2044 readonly asInvalidFormat: U8aFixed;
2046 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2049 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
2047 }2050 }
20482051
2049 /** @name CumulusPalletDmpQueueEvent (237) */2052 /** @name CumulusPalletDmpQueueEvent (238) */
2050 export interface CumulusPalletDmpQueueEvent extends Enum {2053 export interface CumulusPalletDmpQueueEvent extends Enum {
2051 readonly isInvalidFormat: boolean;2054 readonly isInvalidFormat: boolean;
2052 readonly asInvalidFormat: U8aFixed;2055 readonly asInvalidFormat: U8aFixed;
2063 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2066 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
2064 }2067 }
20652068
2066 /** @name PalletUniqueRawEvent (238) */2069 /** @name PalletUniqueRawEvent (239) */
2067 export interface PalletUniqueRawEvent extends Enum {2070 export interface PalletUniqueRawEvent extends Enum {
2068 readonly isCollectionSponsorRemoved: boolean;2071 readonly isCollectionSponsorRemoved: boolean;
2069 readonly asCollectionSponsorRemoved: u32;2072 readonly asCollectionSponsorRemoved: u32;
2070 readonly isCollectionAdminAdded: boolean;2073 readonly isCollectionAdminAdded: boolean;
2071 readonly asCollectionAdminAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2074 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
2072 readonly isCollectionOwnedChanged: boolean;2075 readonly isCollectionOwnedChanged: boolean;
2073 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2076 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;
2074 readonly isCollectionSponsorSet: boolean;2077 readonly isCollectionSponsorSet: boolean;
2078 readonly isSponsorshipConfirmed: boolean;2081 readonly isSponsorshipConfirmed: boolean;
2079 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2082 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;
2080 readonly isCollectionAdminRemoved: boolean;2083 readonly isCollectionAdminRemoved: boolean;
2081 readonly asCollectionAdminRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2084 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
2082 readonly isAllowListAddressRemoved: boolean;2085 readonly isAllowListAddressRemoved: boolean;
2083 readonly asAllowListAddressRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2086 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
2084 readonly isAllowListAddressAdded: boolean;2087 readonly isAllowListAddressAdded: boolean;
2085 readonly asAllowListAddressAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2088 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
2086 readonly isCollectionLimitSet: boolean;2089 readonly isCollectionLimitSet: boolean;
2087 readonly asCollectionLimitSet: u32;2090 readonly asCollectionLimitSet: u32;
2088 readonly isMintPermissionSet: boolean;2091 readonly isMintPermissionSet: boolean;
2098 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';2101 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';
2099 }2102 }
21002103
2101 /** @name PalletCommonEvent (239) */2104 /** @name PalletCommonEvent (240) */
2102 export interface PalletCommonEvent extends Enum {2105 export interface PalletCommonEvent extends Enum {
2103 readonly isCollectionCreated: boolean;2106 readonly isCollectionCreated: boolean;
2104 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2107 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
2105 readonly isCollectionDestroyed: boolean;2108 readonly isCollectionDestroyed: boolean;
2106 readonly asCollectionDestroyed: u32;2109 readonly asCollectionDestroyed: u32;
2107 readonly isItemCreated: boolean;2110 readonly isItemCreated: boolean;
2108 readonly asItemCreated: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2111 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
2109 readonly isItemDestroyed: boolean;2112 readonly isItemDestroyed: boolean;
2110 readonly asItemDestroyed: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2113 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
2111 readonly isTransfer: boolean;2114 readonly isTransfer: boolean;
2112 readonly asTransfer: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2115 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
2113 readonly isApproved: boolean;2116 readonly isApproved: boolean;
2114 readonly asApproved: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2117 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
2115 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';2118 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';
2116 }2119 }
21172120
2118 /** @name PalletEvmEvent (240) */2121 /** @name PalletEvmEvent (241) */
2119 export interface PalletEvmEvent extends Enum {2122 export interface PalletEvmEvent extends Enum {
2120 readonly isLog: boolean;2123 readonly isLog: boolean;
2121 readonly asLog: EthereumLog;2124 readonly asLog: EthereumLog;
2134 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2137 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
2135 }2138 }
21362139
2137 /** @name EthereumLog (241) */2140 /** @name EthereumLog (242) */
2138 export interface EthereumLog extends Struct {2141 export interface EthereumLog extends Struct {
2139 readonly address: H160;2142 readonly address: H160;
2140 readonly topics: Vec<H256>;2143 readonly topics: Vec<H256>;
2141 readonly data: Bytes;2144 readonly data: Bytes;
2142 }2145 }
21432146
2144 /** @name PalletEthereumEvent (242) */2147 /** @name PalletEthereumEvent (243) */
2145 export interface PalletEthereumEvent extends Enum {2148 export interface PalletEthereumEvent extends Enum {
2146 readonly isExecuted: boolean;2149 readonly isExecuted: boolean;
2147 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2150 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
2148 readonly type: 'Executed';2151 readonly type: 'Executed';
2149 }2152 }
21502153
2151 /** @name EvmCoreErrorExitReason (243) */2154 /** @name EvmCoreErrorExitReason (244) */
2152 export interface EvmCoreErrorExitReason extends Enum {2155 export interface EvmCoreErrorExitReason extends Enum {
2153 readonly isSucceed: boolean;2156 readonly isSucceed: boolean;
2154 readonly asSucceed: EvmCoreErrorExitSucceed;2157 readonly asSucceed: EvmCoreErrorExitSucceed;
2161 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2164 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
2162 }2165 }
21632166
2164 /** @name EvmCoreErrorExitSucceed (244) */2167 /** @name EvmCoreErrorExitSucceed (245) */
2165 export interface EvmCoreErrorExitSucceed extends Enum {2168 export interface EvmCoreErrorExitSucceed extends Enum {
2166 readonly isStopped: boolean;2169 readonly isStopped: boolean;
2167 readonly isReturned: boolean;2170 readonly isReturned: boolean;
2168 readonly isSuicided: boolean;2171 readonly isSuicided: boolean;
2169 readonly type: 'Stopped' | 'Returned' | 'Suicided';2172 readonly type: 'Stopped' | 'Returned' | 'Suicided';
2170 }2173 }
21712174
2172 /** @name EvmCoreErrorExitError (245) */2175 /** @name EvmCoreErrorExitError (246) */
2173 export interface EvmCoreErrorExitError extends Enum {2176 export interface EvmCoreErrorExitError extends Enum {
2174 readonly isStackUnderflow: boolean;2177 readonly isStackUnderflow: boolean;
2175 readonly isStackOverflow: boolean;2178 readonly isStackOverflow: boolean;
2190 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other';2193 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other';
2191 }2194 }
21922195
2193 /** @name EvmCoreErrorExitRevert (248) */2196 /** @name EvmCoreErrorExitRevert (249) */
2194 export interface EvmCoreErrorExitRevert extends Enum {2197 export interface EvmCoreErrorExitRevert extends Enum {
2195 readonly isReverted: boolean;2198 readonly isReverted: boolean;
2196 readonly type: 'Reverted';2199 readonly type: 'Reverted';
2197 }2200 }
21982201
2199 /** @name EvmCoreErrorExitFatal (249) */2202 /** @name EvmCoreErrorExitFatal (250) */
2200 export interface EvmCoreErrorExitFatal extends Enum {2203 export interface EvmCoreErrorExitFatal extends Enum {
2201 readonly isNotSupported: boolean;2204 readonly isNotSupported: boolean;
2202 readonly isUnhandledInterrupt: boolean;2205 readonly isUnhandledInterrupt: boolean;
2207 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2210 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
2208 }2211 }
22092212
2210 /** @name FrameSystemPhase (250) */2213 /** @name FrameSystemPhase (251) */
2211 export interface FrameSystemPhase extends Enum {2214 export interface FrameSystemPhase extends Enum {
2212 readonly isApplyExtrinsic: boolean;2215 readonly isApplyExtrinsic: boolean;
2213 readonly asApplyExtrinsic: u32;2216 readonly asApplyExtrinsic: u32;
2216 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2219 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
2217 }2220 }
22182221
2219 /** @name FrameSystemLastRuntimeUpgradeInfo (252) */2222 /** @name FrameSystemLastRuntimeUpgradeInfo (253) */
2220 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2223 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
2221 readonly specVersion: Compact<u32>;2224 readonly specVersion: Compact<u32>;
2222 readonly specName: Text;2225 readonly specName: Text;
2223 }2226 }
22242227
2225 /** @name FrameSystemLimitsBlockWeights (253) */2228 /** @name FrameSystemLimitsBlockWeights (254) */
2226 export interface FrameSystemLimitsBlockWeights extends Struct {2229 export interface FrameSystemLimitsBlockWeights extends Struct {
2227 readonly baseBlock: u64;2230 readonly baseBlock: u64;
2228 readonly maxBlock: u64;2231 readonly maxBlock: u64;
2229 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2232 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
2230 }2233 }
22312234
2232 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (254) */2235 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (255) */
2233 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2236 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
2234 readonly normal: FrameSystemLimitsWeightsPerClass;2237 readonly normal: FrameSystemLimitsWeightsPerClass;
2235 readonly operational: FrameSystemLimitsWeightsPerClass;2238 readonly operational: FrameSystemLimitsWeightsPerClass;
2236 readonly mandatory: FrameSystemLimitsWeightsPerClass;2239 readonly mandatory: FrameSystemLimitsWeightsPerClass;
2237 }2240 }
22382241
2239 /** @name FrameSystemLimitsWeightsPerClass (255) */2242 /** @name FrameSystemLimitsWeightsPerClass (256) */
2240 export interface FrameSystemLimitsWeightsPerClass extends Struct {2243 export interface FrameSystemLimitsWeightsPerClass extends Struct {
2241 readonly baseExtrinsic: u64;2244 readonly baseExtrinsic: u64;
2242 readonly maxExtrinsic: Option<u64>;2245 readonly maxExtrinsic: Option<u64>;
2243 readonly maxTotal: Option<u64>;2246 readonly maxTotal: Option<u64>;
2244 readonly reserved: Option<u64>;2247 readonly reserved: Option<u64>;
2245 }2248 }
22462249
2247 /** @name FrameSystemLimitsBlockLength (257) */2250 /** @name FrameSystemLimitsBlockLength (258) */
2248 export interface FrameSystemLimitsBlockLength extends Struct {2251 export interface FrameSystemLimitsBlockLength extends Struct {
2249 readonly max: FrameSupportWeightsPerDispatchClassU32;2252 readonly max: FrameSupportWeightsPerDispatchClassU32;
2250 }2253 }
22512254
2252 /** @name FrameSupportWeightsPerDispatchClassU32 (258) */2255 /** @name FrameSupportWeightsPerDispatchClassU32 (259) */
2253 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2256 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
2254 readonly normal: u32;2257 readonly normal: u32;
2255 readonly operational: u32;2258 readonly operational: u32;
2256 readonly mandatory: u32;2259 readonly mandatory: u32;
2257 }2260 }
22582261
2259 /** @name FrameSupportWeightsRuntimeDbWeight (259) */2262 /** @name FrameSupportWeightsRuntimeDbWeight (260) */
2260 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2263 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
2261 readonly read: u64;2264 readonly read: u64;
2262 readonly write: u64;2265 readonly write: u64;
2263 }2266 }
22642267
2265 /** @name SpVersionRuntimeVersion (260) */2268 /** @name SpVersionRuntimeVersion (261) */
2266 export interface SpVersionRuntimeVersion extends Struct {2269 export interface SpVersionRuntimeVersion extends Struct {
2267 readonly specName: Text;2270 readonly specName: Text;
2268 readonly implName: Text;2271 readonly implName: Text;
2274 readonly stateVersion: u8;2277 readonly stateVersion: u8;
2275 }2278 }
22762279
2277 /** @name FrameSystemError (264) */2280 /** @name FrameSystemError (265) */
2278 export interface FrameSystemError extends Enum {2281 export interface FrameSystemError extends Enum {
2279 readonly isInvalidSpecName: boolean;2282 readonly isInvalidSpecName: boolean;
2280 readonly isSpecVersionNeedsToIncrease: boolean;2283 readonly isSpecVersionNeedsToIncrease: boolean;
2285 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2288 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
2286 }2289 }
22872290
2288 /** @name OrmlVestingModuleError (266) */2291 /** @name OrmlVestingModuleError (267) */
2289 export interface OrmlVestingModuleError extends Enum {2292 export interface OrmlVestingModuleError extends Enum {
2290 readonly isZeroVestingPeriod: boolean;2293 readonly isZeroVestingPeriod: boolean;
2291 readonly isZeroVestingPeriodCount: boolean;2294 readonly isZeroVestingPeriodCount: boolean;
2296 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2299 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
2297 }2300 }
22982301
2299 /** @name CumulusPalletXcmpQueueInboundChannelDetails (268) */2302 /** @name CumulusPalletXcmpQueueInboundChannelDetails (269) */
2300 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2303 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
2301 readonly sender: u32;2304 readonly sender: u32;
2302 readonly state: CumulusPalletXcmpQueueInboundState;2305 readonly state: CumulusPalletXcmpQueueInboundState;
2303 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2306 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
2304 }2307 }
23052308
2306 /** @name CumulusPalletXcmpQueueInboundState (269) */2309 /** @name CumulusPalletXcmpQueueInboundState (270) */
2307 export interface CumulusPalletXcmpQueueInboundState extends Enum {2310 export interface CumulusPalletXcmpQueueInboundState extends Enum {
2308 readonly isOk: boolean;2311 readonly isOk: boolean;
2309 readonly isSuspended: boolean;2312 readonly isSuspended: boolean;
2310 readonly type: 'Ok' | 'Suspended';2313 readonly type: 'Ok' | 'Suspended';
2311 }2314 }
23122315
2313 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (272) */2316 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (273) */
2314 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2317 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
2315 readonly isConcatenatedVersionedXcm: boolean;2318 readonly isConcatenatedVersionedXcm: boolean;
2316 readonly isConcatenatedEncodedBlob: boolean;2319 readonly isConcatenatedEncodedBlob: boolean;
2317 readonly isSignals: boolean;2320 readonly isSignals: boolean;
2318 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2321 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
2319 }2322 }
23202323
2321 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (275) */2324 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (276) */
2322 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2325 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
2323 readonly recipient: u32;2326 readonly recipient: u32;
2324 readonly state: CumulusPalletXcmpQueueOutboundState;2327 readonly state: CumulusPalletXcmpQueueOutboundState;
2327 readonly lastIndex: u16;2330 readonly lastIndex: u16;
2328 }2331 }
23292332
2330 /** @name CumulusPalletXcmpQueueOutboundState (276) */2333 /** @name CumulusPalletXcmpQueueOutboundState (277) */
2331 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2334 export interface CumulusPalletXcmpQueueOutboundState extends Enum {
2332 readonly isOk: boolean;2335 readonly isOk: boolean;
2333 readonly isSuspended: boolean;2336 readonly isSuspended: boolean;
2334 readonly type: 'Ok' | 'Suspended';2337 readonly type: 'Ok' | 'Suspended';
2335 }2338 }
23362339
2337 /** @name CumulusPalletXcmpQueueQueueConfigData (278) */2340 /** @name CumulusPalletXcmpQueueQueueConfigData (279) */
2338 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2341 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
2339 readonly suspendThreshold: u32;2342 readonly suspendThreshold: u32;
2340 readonly dropThreshold: u32;2343 readonly dropThreshold: u32;
2344 readonly xcmpMaxIndividualWeight: u64;2347 readonly xcmpMaxIndividualWeight: u64;
2345 }2348 }
23462349
2347 /** @name CumulusPalletXcmpQueueError (280) */2350 /** @name CumulusPalletXcmpQueueError (281) */
2348 export interface CumulusPalletXcmpQueueError extends Enum {2351 export interface CumulusPalletXcmpQueueError extends Enum {
2349 readonly isFailedToSend: boolean;2352 readonly isFailedToSend: boolean;
2350 readonly isBadXcmOrigin: boolean;2353 readonly isBadXcmOrigin: boolean;
2354 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2357 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
2355 }2358 }
23562359
2357 /** @name PalletXcmError (281) */2360 /** @name PalletXcmError (282) */
2358 export interface PalletXcmError extends Enum {2361 export interface PalletXcmError extends Enum {
2359 readonly isUnreachable: boolean;2362 readonly isUnreachable: boolean;
2360 readonly isSendFailure: boolean;2363 readonly isSendFailure: boolean;
2372 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2375 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
2373 }2376 }
23742377
2375 /** @name CumulusPalletXcmError (282) */2378 /** @name CumulusPalletXcmError (283) */
2376 export type CumulusPalletXcmError = Null;2379 export type CumulusPalletXcmError = Null;
23772380
2378 /** @name CumulusPalletDmpQueueConfigData (283) */2381 /** @name CumulusPalletDmpQueueConfigData (284) */
2379 export interface CumulusPalletDmpQueueConfigData extends Struct {2382 export interface CumulusPalletDmpQueueConfigData extends Struct {
2380 readonly maxIndividual: u64;2383 readonly maxIndividual: u64;
2381 }2384 }
23822385
2383 /** @name CumulusPalletDmpQueuePageIndexData (284) */2386 /** @name CumulusPalletDmpQueuePageIndexData (285) */
2384 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2387 export interface CumulusPalletDmpQueuePageIndexData extends Struct {
2385 readonly beginUsed: u32;2388 readonly beginUsed: u32;
2386 readonly endUsed: u32;2389 readonly endUsed: u32;
2387 readonly overweightCount: u64;2390 readonly overweightCount: u64;
2388 }2391 }
23892392
2390 /** @name CumulusPalletDmpQueueError (287) */2393 /** @name CumulusPalletDmpQueueError (288) */
2391 export interface CumulusPalletDmpQueueError extends Enum {2394 export interface CumulusPalletDmpQueueError extends Enum {
2392 readonly isUnknown: boolean;2395 readonly isUnknown: boolean;
2393 readonly isOverLimit: boolean;2396 readonly isOverLimit: boolean;
2394 readonly type: 'Unknown' | 'OverLimit';2397 readonly type: 'Unknown' | 'OverLimit';
2395 }2398 }
23962399
2397 /** @name PalletUniqueError (291) */2400 /** @name PalletUniqueError (292) */
2398 export interface PalletUniqueError extends Enum {2401 export interface PalletUniqueError extends Enum {
2399 readonly isCollectionDecimalPointLimitExceeded: boolean;2402 readonly isCollectionDecimalPointLimitExceeded: boolean;
2400 readonly isConfirmUnsetSponsorFail: boolean;2403 readonly isConfirmUnsetSponsorFail: boolean;
2401 readonly isEmptyArgument: boolean;2404 readonly isEmptyArgument: boolean;
2402 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2405 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
2403 }2406 }
24042407
2405 /** @name UpDataStructsCollection (292) */2408 /** @name UpDataStructsCollection (293) */
2406 export interface UpDataStructsCollection extends Struct {2409 export interface UpDataStructsCollection extends Struct {
2407 readonly owner: AccountId32;2410 readonly owner: AccountId32;
2408 readonly mode: UpDataStructsCollectionMode;2411 readonly mode: UpDataStructsCollectionMode;
2420 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;2423 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
2421 }2424 }
24222425
2423 /** @name UpDataStructsSponsorshipState (293) */2426 /** @name UpDataStructsSponsorshipState (294) */
2424 export interface UpDataStructsSponsorshipState extends Enum {2427 export interface UpDataStructsSponsorshipState extends Enum {
2425 readonly isDisabled: boolean;2428 readonly isDisabled: boolean;
2426 readonly isUnconfirmed: boolean;2429 readonly isUnconfirmed: boolean;
2430 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2433 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
2431 }2434 }
24322435
2433 /** @name UpDataStructsCollectionStats (296) */2436 /** @name UpDataStructsCollectionStats (297) */
2434 export interface UpDataStructsCollectionStats extends Struct {2437 export interface UpDataStructsCollectionStats extends Struct {
2435 readonly created: u32;2438 readonly created: u32;
2436 readonly destroyed: u32;2439 readonly destroyed: u32;
2437 readonly alive: u32;2440 readonly alive: u32;
2438 }2441 }
24392442
2440 /** @name PalletCommonError (297) */2443 /** @name PalletCommonError (298) */
2441 export interface PalletCommonError extends Enum {2444 export interface PalletCommonError extends Enum {
2442 readonly isCollectionNotFound: boolean;2445 readonly isCollectionNotFound: boolean;
2443 readonly isMustBeTokenOwner: boolean;2446 readonly isMustBeTokenOwner: boolean;
2462 readonly isCantApproveMoreThanOwned: boolean;2465 readonly isCantApproveMoreThanOwned: boolean;
2463 readonly isAddressIsZero: boolean;2466 readonly isAddressIsZero: boolean;
2464 readonly isUnsupportedOperation: boolean;2467 readonly isUnsupportedOperation: boolean;
2468 readonly isNotSufficientFounds: boolean;
2465 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';2469 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';
2466 }2470 }
24672471
2468 /** @name PalletFungibleError (299) */2472 /** @name PalletFungibleError (300) */
2469 export interface PalletFungibleError extends Enum {2473 export interface PalletFungibleError extends Enum {
2470 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2474 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
2471 readonly isFungibleItemsHaveNoId: boolean;2475 readonly isFungibleItemsHaveNoId: boolean;
2472 readonly isFungibleItemsDontHaveData: boolean;2476 readonly isFungibleItemsDontHaveData: boolean;
2473 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';2477 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';
2474 }2478 }
24752479
2476 /** @name PalletRefungibleItemData (300) */2480 /** @name PalletRefungibleItemData (301) */
2477 export interface PalletRefungibleItemData extends Struct {2481 export interface PalletRefungibleItemData extends Struct {
2478 readonly constData: Bytes;2482 readonly constData: Bytes;
2479 readonly variableData: Bytes;2483 readonly variableData: Bytes;
2480 }2484 }
24812485
2482 /** @name PalletRefungibleError (304) */2486 /** @name PalletRefungibleError (305) */
2483 export interface PalletRefungibleError extends Enum {2487 export interface PalletRefungibleError extends Enum {
2484 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2488 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
2485 readonly isWrongRefungiblePieces: boolean;2489 readonly isWrongRefungiblePieces: boolean;
2486 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';2490 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';
2487 }2491 }
24882492
2489 /** @name PalletNonfungibleItemData (305) */2493 /** @name PalletNonfungibleItemData (306) */
2490 export interface PalletNonfungibleItemData extends Struct {2494 export interface PalletNonfungibleItemData extends Struct {
2491 readonly constData: Bytes;2495 readonly constData: Bytes;
2492 readonly variableData: Bytes;2496 readonly variableData: Bytes;
2493 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;2497 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
2494 }2498 }
24952499
2496 /** @name PalletNonfungibleError (306) */2500 /** @name PalletNonfungibleError (307) */
2497 export interface PalletNonfungibleError extends Enum {2501 export interface PalletNonfungibleError extends Enum {
2498 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2502 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
2499 readonly isNonfungibleItemsHaveNoAmount: boolean;2503 readonly isNonfungibleItemsHaveNoAmount: boolean;
2500 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2504 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
2501 }2505 }
25022506
2503 /** @name PalletEvmError (308) */2507 /** @name PalletEvmError (309) */
2504 export interface PalletEvmError extends Enum {2508 export interface PalletEvmError extends Enum {
2505 readonly isBalanceLow: boolean;2509 readonly isBalanceLow: boolean;
2506 readonly isFeeOverflow: boolean;2510 readonly isFeeOverflow: boolean;
2511 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2515 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
2512 }2516 }
25132517
2514 /** @name FpRpcTransactionStatus (311) */2518 /** @name FpRpcTransactionStatus (312) */
2515 export interface FpRpcTransactionStatus extends Struct {2519 export interface FpRpcTransactionStatus extends Struct {
2516 readonly transactionHash: H256;2520 readonly transactionHash: H256;
2517 readonly transactionIndex: u32;2521 readonly transactionIndex: u32;
2522 readonly logsBloom: EthbloomBloom;2526 readonly logsBloom: EthbloomBloom;
2523 }2527 }
25242528
2525 /** @name EthbloomBloom (314) */2529 /** @name EthbloomBloom (315) */
2526 export interface EthbloomBloom extends U8aFixed {}2530 export interface EthbloomBloom extends U8aFixed {}
25272531
2528 /** @name EthereumReceiptReceiptV3 (316) */2532 /** @name EthereumReceiptReceiptV3 (317) */
2529 export interface EthereumReceiptReceiptV3 extends Enum {2533 export interface EthereumReceiptReceiptV3 extends Enum {
2530 readonly isLegacy: boolean;2534 readonly isLegacy: boolean;
2531 readonly asLegacy: EthereumReceiptEip658ReceiptData;2535 readonly asLegacy: EthereumReceiptEip658ReceiptData;
2536 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2540 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
2537 }2541 }
25382542
2539 /** @name EthereumReceiptEip658ReceiptData (317) */2543 /** @name EthereumReceiptEip658ReceiptData (318) */
2540 export interface EthereumReceiptEip658ReceiptData extends Struct {2544 export interface EthereumReceiptEip658ReceiptData extends Struct {
2541 readonly statusCode: u8;2545 readonly statusCode: u8;
2542 readonly usedGas: U256;2546 readonly usedGas: U256;
2543 readonly logsBloom: EthbloomBloom;2547 readonly logsBloom: EthbloomBloom;
2544 readonly logs: Vec<EthereumLog>;2548 readonly logs: Vec<EthereumLog>;
2545 }2549 }
25462550
2547 /** @name EthereumBlock (318) */2551 /** @name EthereumBlock (319) */
2548 export interface EthereumBlock extends Struct {2552 export interface EthereumBlock extends Struct {
2549 readonly header: EthereumHeader;2553 readonly header: EthereumHeader;
2550 readonly transactions: Vec<EthereumTransactionTransactionV2>;2554 readonly transactions: Vec<EthereumTransactionTransactionV2>;
2551 readonly ommers: Vec<EthereumHeader>;2555 readonly ommers: Vec<EthereumHeader>;
2552 }2556 }
25532557
2554 /** @name EthereumHeader (319) */2558 /** @name EthereumHeader (320) */
2555 export interface EthereumHeader extends Struct {2559 export interface EthereumHeader extends Struct {
2556 readonly parentHash: H256;2560 readonly parentHash: H256;
2557 readonly ommersHash: H256;2561 readonly ommersHash: H256;
2570 readonly nonce: EthereumTypesHashH64;2574 readonly nonce: EthereumTypesHashH64;
2571 }2575 }
25722576
2573 /** @name EthereumTypesHashH64 (320) */2577 /** @name EthereumTypesHashH64 (321) */
2574 export interface EthereumTypesHashH64 extends U8aFixed {}2578 export interface EthereumTypesHashH64 extends U8aFixed {}
25752579
2576 /** @name PalletEthereumError (325) */2580 /** @name PalletEthereumError (326) */
2577 export interface PalletEthereumError extends Enum {2581 export interface PalletEthereumError extends Enum {
2578 readonly isInvalidSignature: boolean;2582 readonly isInvalidSignature: boolean;
2579 readonly isPreLogExists: boolean;2583 readonly isPreLogExists: boolean;
2580 readonly type: 'InvalidSignature' | 'PreLogExists';2584 readonly type: 'InvalidSignature' | 'PreLogExists';
2581 }2585 }
25822586
2583 /** @name PalletEvmCoderSubstrateError (326) */2587 /** @name PalletEvmCoderSubstrateError (327) */
2584 export interface PalletEvmCoderSubstrateError extends Enum {2588 export interface PalletEvmCoderSubstrateError extends Enum {
2585 readonly isOutOfGas: boolean;2589 readonly isOutOfGas: boolean;
2586 readonly isOutOfFund: boolean;2590 readonly isOutOfFund: boolean;
2587 readonly type: 'OutOfGas' | 'OutOfFund';2591 readonly type: 'OutOfGas' | 'OutOfFund';
2588 }2592 }
25892593
2590 /** @name PalletEvmContractHelpersSponsoringModeT (327) */2594 /** @name PalletEvmContractHelpersSponsoringModeT (328) */
2591 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2595 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
2592 readonly isDisabled: boolean;2596 readonly isDisabled: boolean;
2593 readonly isAllowlisted: boolean;2597 readonly isAllowlisted: boolean;
2594 readonly isGenerous: boolean;2598 readonly isGenerous: boolean;
2595 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2599 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
2596 }2600 }
25972601
2598 /** @name PalletEvmContractHelpersError (329) */2602 /** @name PalletEvmContractHelpersError (330) */
2599 export interface PalletEvmContractHelpersError extends Enum {2603 export interface PalletEvmContractHelpersError extends Enum {
2600 readonly isNoPermission: boolean;2604 readonly isNoPermission: boolean;
2601 readonly type: 'NoPermission';2605 readonly type: 'NoPermission';
2602 }2606 }
26032607
2604 /** @name PalletEvmMigrationError (330) */2608 /** @name PalletEvmMigrationError (331) */
2605 export interface PalletEvmMigrationError extends Enum {2609 export interface PalletEvmMigrationError extends Enum {
2606 readonly isAccountNotEmpty: boolean;2610 readonly isAccountNotEmpty: boolean;
2607 readonly isAccountIsNotMigrating: boolean;2611 readonly isAccountIsNotMigrating: boolean;
2608 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2612 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
2609 }2613 }
26102614
2611 /** @name SpRuntimeMultiSignature (332) */2615 /** @name SpRuntimeMultiSignature (333) */
2612 export interface SpRuntimeMultiSignature extends Enum {2616 export interface SpRuntimeMultiSignature extends Enum {
2613 readonly isEd25519: boolean;2617 readonly isEd25519: boolean;
2614 readonly asEd25519: SpCoreEd25519Signature;2618 readonly asEd25519: SpCoreEd25519Signature;
2619 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2623 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
2620 }2624 }
26212625
2622 /** @name SpCoreEd25519Signature (333) */2626 /** @name SpCoreEd25519Signature (334) */
2623 export interface SpCoreEd25519Signature extends U8aFixed {}2627 export interface SpCoreEd25519Signature extends U8aFixed {}
26242628
2625 /** @name SpCoreSr25519Signature (335) */2629 /** @name SpCoreSr25519Signature (336) */
2626 export interface SpCoreSr25519Signature extends U8aFixed {}2630 export interface SpCoreSr25519Signature extends U8aFixed {}
26272631
2628 /** @name SpCoreEcdsaSignature (336) */2632 /** @name SpCoreEcdsaSignature (337) */
2629 export interface SpCoreEcdsaSignature extends U8aFixed {}2633 export interface SpCoreEcdsaSignature extends U8aFixed {}
26302634
2631 /** @name FrameSystemExtensionsCheckSpecVersion (339) */2635 /** @name FrameSystemExtensionsCheckSpecVersion (340) */
2632 export type FrameSystemExtensionsCheckSpecVersion = Null;2636 export type FrameSystemExtensionsCheckSpecVersion = Null;
26332637
2634 /** @name FrameSystemExtensionsCheckGenesis (340) */2638 /** @name FrameSystemExtensionsCheckGenesis (341) */
2635 export type FrameSystemExtensionsCheckGenesis = Null;2639 export type FrameSystemExtensionsCheckGenesis = Null;
26362640
2637 /** @name FrameSystemExtensionsCheckNonce (343) */2641 /** @name FrameSystemExtensionsCheckNonce (344) */
2638 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}2642 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
26392643
2640 /** @name FrameSystemExtensionsCheckWeight (344) */2644 /** @name FrameSystemExtensionsCheckWeight (345) */
2641 export type FrameSystemExtensionsCheckWeight = Null;2645 export type FrameSystemExtensionsCheckWeight = Null;
26422646
2643 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (345) */2647 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (346) */
2644 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}2648 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
26452649
2646 /** @name UniqueRuntimeRuntime (346) */2650 /** @name OpalRuntimeRuntime (347) */
2647 export type UniqueRuntimeRuntime = Null;2651 export type OpalRuntimeRuntime = Null;
26482652
2649} // declare module2653} // declare module
26502654
modifiedtests/src/interfaces/unique/definitions.tsdiffbeforeafterboth
22 isOptional?: true;22 isOptional?: true;
23};23};
2424
25const CROSS_ACCOUNT_ID_TYPE = 'PalletCommonAccountBasicCrossAccountIdRepr';25const CROSS_ACCOUNT_ID_TYPE = 'PalletEvmAccountBasicCrossAccountIdRepr';
2626
27const collectionParam = {name: 'collection', type: 'u32'};27const collectionParam = {name: 'collection', type: 'u32'};
28const tokenParam = {name: 'tokenId', type: 'u32'};28const tokenParam = {name: 'tokenId', type: 'u32'};
38export default {38export default {
39 types,39 types,
40 rpc: {40 rpc: {
41 adminlist: fun('Get admin list', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),41 adminlist: fun('Get admin list', [collectionParam], 'Vec<PalletEvmAccountBasicCrossAccountIdRepr>'),
42 allowlist: fun('Get allowlist', [collectionParam], 'Vec<PalletCommonAccountBasicCrossAccountIdRepr>'),42 allowlist: fun('Get allowlist', [collectionParam], 'Vec<PalletEvmAccountBasicCrossAccountIdRepr>'),
4343
44 accountTokens: fun('Get tokens owned by account', [collectionParam, crossAccountParam()], 'Vec<u32>'),44 accountTokens: fun('Get tokens owned by account', [collectionParam, crossAccountParam()], 'Vec<u32>'),
45 collectionTokens: fun('Get tokens contained in collection', [collectionParam], 'Vec<u32>'),45 collectionTokens: fun('Get tokens contained in collection', [collectionParam], 'Vec<u32>'),
55 collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsCollection>'),55 collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsCollection>'),
56 collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),56 collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),
57 allowed: fun('Check if user is allowed to use collection', [collectionParam, crossAccountParam()], 'bool'),57 allowed: fun('Check if user is allowed to use collection', [collectionParam, crossAccountParam()], 'bool'),
58 nextSponsored: fun('Get number of blocks when sponsored transaction is available', [collectionParam, crossAccountParam(), tokenParam], 'Option<u64>'),
59 effectiveCollectionLimits: fun('Get effective collection limits', [collectionParam], 'Option<UpDataStructsCollectionLimits>'),
58 },60 },
59};61};
6062
modifiedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
7import type { Event } from '@polkadot/types/interfaces/system';7import type { Event } from '@polkadot/types/interfaces/system';
8
9/** @name BTreeSet */
10export interface BTreeSet extends Vec<Bytes> {}
811
9/** @name CumulusPalletDmpQueueCall */12/** @name CumulusPalletDmpQueueCall */
10export interface CumulusPalletDmpQueueCall extends Enum {13export interface CumulusPalletDmpQueueCall extends Enum {
299/** @name EthereumTransactionAccessListItem */302/** @name EthereumTransactionAccessListItem */
300export interface EthereumTransactionAccessListItem extends Struct {303export interface EthereumTransactionAccessListItem extends Struct {
301 readonly address: H160;304 readonly address: H160;
302 readonly slots: Vec<H256>;305 readonly storageKeys: Vec<H256>;
303}306}
304307
305/** @name EthereumTransactionEip1559Transaction */308/** @name EthereumTransactionEip1559Transaction */
654 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';657 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
655}658}
659
660/** @name OpalRuntimeRuntime */
661export interface OpalRuntimeRuntime extends Null {}
656662
657/** @name OrmlVestingModuleCall */663/** @name OrmlVestingModuleCall */
658export interface OrmlVestingModuleCall extends Enum {664export interface OrmlVestingModuleCall extends Enum {
858 readonly amount: u128;864 readonly amount: u128;
859}865}
860
861/** @name PalletCommonAccountBasicCrossAccountIdRepr */
862export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {
863 readonly isSubstrate: boolean;
864 readonly asSubstrate: AccountId32;
865 readonly isEthereum: boolean;
866 readonly asEthereum: H160;
867 readonly type: 'Substrate' | 'Ethereum';
868}
869866
870/** @name PalletCommonError */867/** @name PalletCommonError */
871export interface PalletCommonError extends Enum {868export interface PalletCommonError extends Enum {
892 readonly isCantApproveMoreThanOwned: boolean;889 readonly isCantApproveMoreThanOwned: boolean;
893 readonly isAddressIsZero: boolean;890 readonly isAddressIsZero: boolean;
894 readonly isUnsupportedOperation: boolean;891 readonly isUnsupportedOperation: boolean;
892 readonly isNotSufficientFounds: boolean;
895 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';893 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';
896}894}
897895
898/** @name PalletCommonEvent */896/** @name PalletCommonEvent */
902 readonly isCollectionDestroyed: boolean;900 readonly isCollectionDestroyed: boolean;
903 readonly asCollectionDestroyed: u32;901 readonly asCollectionDestroyed: u32;
904 readonly isItemCreated: boolean;902 readonly isItemCreated: boolean;
905 readonly asItemCreated: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;903 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
906 readonly isItemDestroyed: boolean;904 readonly isItemDestroyed: boolean;
907 readonly asItemDestroyed: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;905 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
908 readonly isTransfer: boolean;906 readonly isTransfer: boolean;
909 readonly asTransfer: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;907 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
910 readonly isApproved: boolean;908 readonly isApproved: boolean;
911 readonly asApproved: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;909 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
912 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';910 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';
913}911}
914912
935 readonly type: 'Executed';933 readonly type: 'Executed';
936}934}
935
936/** @name PalletEvmAccountBasicCrossAccountIdRepr */
937export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
938 readonly isSubstrate: boolean;
939 readonly asSubstrate: AccountId32;
940 readonly isEthereum: boolean;
941 readonly asEthereum: H160;
942 readonly type: 'Substrate' | 'Ethereum';
943}
937944
938/** @name PalletEvmCall */945/** @name PalletEvmCall */
939export interface PalletEvmCall extends Enum {946export interface PalletEvmCall extends Enum {
1085export interface PalletNonfungibleItemData extends Struct {1092export interface PalletNonfungibleItemData extends Struct {
1086 readonly constData: Bytes;1093 readonly constData: Bytes;
1087 readonly variableData: Bytes;1094 readonly variableData: Bytes;
1088 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1095 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1089}1096}
10901097
1091/** @name PalletRefungibleError */1098/** @name PalletRefungibleError */
1259 readonly isAddToAllowList: boolean;1266 readonly isAddToAllowList: boolean;
1260 readonly asAddToAllowList: {1267 readonly asAddToAllowList: {
1261 readonly collectionId: u32;1268 readonly collectionId: u32;
1262 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1269 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
1263 } & Struct;1270 } & Struct;
1264 readonly isRemoveFromAllowList: boolean;1271 readonly isRemoveFromAllowList: boolean;
1265 readonly asRemoveFromAllowList: {1272 readonly asRemoveFromAllowList: {
1266 readonly collectionId: u32;1273 readonly collectionId: u32;
1267 readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1274 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
1268 } & Struct;1275 } & Struct;
1269 readonly isSetPublicAccessMode: boolean;1276 readonly isSetPublicAccessMode: boolean;
1270 readonly asSetPublicAccessMode: {1277 readonly asSetPublicAccessMode: {
1284 readonly isAddCollectionAdmin: boolean;1291 readonly isAddCollectionAdmin: boolean;
1285 readonly asAddCollectionAdmin: {1292 readonly asAddCollectionAdmin: {
1286 readonly collectionId: u32;1293 readonly collectionId: u32;
1287 readonly newAdminId: PalletCommonAccountBasicCrossAccountIdRepr;1294 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;
1288 } & Struct;1295 } & Struct;
1289 readonly isRemoveCollectionAdmin: boolean;1296 readonly isRemoveCollectionAdmin: boolean;
1290 readonly asRemoveCollectionAdmin: {1297 readonly asRemoveCollectionAdmin: {
1291 readonly collectionId: u32;1298 readonly collectionId: u32;
1292 readonly accountId: PalletCommonAccountBasicCrossAccountIdRepr;1299 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;
1293 } & Struct;1300 } & Struct;
1294 readonly isSetCollectionSponsor: boolean;1301 readonly isSetCollectionSponsor: boolean;
1295 readonly asSetCollectionSponsor: {1302 readonly asSetCollectionSponsor: {
1307 readonly isCreateItem: boolean;1314 readonly isCreateItem: boolean;
1308 readonly asCreateItem: {1315 readonly asCreateItem: {
1309 readonly collectionId: u32;1316 readonly collectionId: u32;
1310 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1317 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1311 readonly data: UpDataStructsCreateItemData;1318 readonly data: UpDataStructsCreateItemData;
1312 } & Struct;1319 } & Struct;
1313 readonly isCreateMultipleItems: boolean;1320 readonly isCreateMultipleItems: boolean;
1314 readonly asCreateMultipleItems: {1321 readonly asCreateMultipleItems: {
1315 readonly collectionId: u32;1322 readonly collectionId: u32;
1316 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1323 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1317 readonly itemsData: Vec<UpDataStructsCreateItemData>;1324 readonly itemsData: Vec<UpDataStructsCreateItemData>;
1318 } & Struct;1325 } & Struct;
1319 readonly isCreateMultipleItemsEx: boolean;1326 readonly isCreateMultipleItemsEx: boolean;
1335 readonly isBurnFrom: boolean;1342 readonly isBurnFrom: boolean;
1336 readonly asBurnFrom: {1343 readonly asBurnFrom: {
1337 readonly collectionId: u32;1344 readonly collectionId: u32;
1338 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1345 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
1339 readonly itemId: u32;1346 readonly itemId: u32;
1340 readonly value: u128;1347 readonly value: u128;
1341 } & Struct;1348 } & Struct;
1342 readonly isTransfer: boolean;1349 readonly isTransfer: boolean;
1343 readonly asTransfer: {1350 readonly asTransfer: {
1344 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1351 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
1345 readonly collectionId: u32;1352 readonly collectionId: u32;
1346 readonly itemId: u32;1353 readonly itemId: u32;
1347 readonly value: u128;1354 readonly value: u128;
1348 } & Struct;1355 } & Struct;
1349 readonly isApprove: boolean;1356 readonly isApprove: boolean;
1350 readonly asApprove: {1357 readonly asApprove: {
1351 readonly spender: PalletCommonAccountBasicCrossAccountIdRepr;1358 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;
1352 readonly collectionId: u32;1359 readonly collectionId: u32;
1353 readonly itemId: u32;1360 readonly itemId: u32;
1354 readonly amount: u128;1361 readonly amount: u128;
1355 } & Struct;1362 } & Struct;
1356 readonly isTransferFrom: boolean;1363 readonly isTransferFrom: boolean;
1357 readonly asTransferFrom: {1364 readonly asTransferFrom: {
1358 readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1365 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
1359 readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1366 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
1360 readonly collectionId: u32;1367 readonly collectionId: u32;
1361 readonly itemId: u32;1368 readonly itemId: u32;
1362 readonly value: u128;1369 readonly value: u128;
1413 readonly isCollectionSponsorRemoved: boolean;1420 readonly isCollectionSponsorRemoved: boolean;
1414 readonly asCollectionSponsorRemoved: u32;1421 readonly asCollectionSponsorRemoved: u32;
1415 readonly isCollectionAdminAdded: boolean;1422 readonly isCollectionAdminAdded: boolean;
1416 readonly asCollectionAdminAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1423 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
1417 readonly isCollectionOwnedChanged: boolean;1424 readonly isCollectionOwnedChanged: boolean;
1418 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1425 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;
1419 readonly isCollectionSponsorSet: boolean;1426 readonly isCollectionSponsorSet: boolean;
1423 readonly isSponsorshipConfirmed: boolean;1430 readonly isSponsorshipConfirmed: boolean;
1424 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1431 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;
1425 readonly isCollectionAdminRemoved: boolean;1432 readonly isCollectionAdminRemoved: boolean;
1426 readonly asCollectionAdminRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1433 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
1427 readonly isAllowListAddressRemoved: boolean;1434 readonly isAllowListAddressRemoved: boolean;
1428 readonly asAllowListAddressRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1435 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
1429 readonly isAllowListAddressAdded: boolean;1436 readonly isAllowListAddressAdded: boolean;
1430 readonly asAllowListAddressAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;1437 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
1431 readonly isCollectionLimitSet: boolean;1438 readonly isCollectionLimitSet: boolean;
1432 readonly asCollectionLimitSet: u32;1439 readonly asCollectionLimitSet: u32;
1433 readonly isMintPermissionSet: boolean;1440 readonly isMintPermissionSet: boolean;
17071714
1708/** @name SpTrieStorageProof */1715/** @name SpTrieStorageProof */
1709export interface SpTrieStorageProof extends Struct {1716export interface SpTrieStorageProof extends Struct {
1710 readonly trieNodes: Vec<Bytes>;1717 readonly trieNodes: BTreeSet;
1711}1718}
17121719
1713/** @name SpVersionRuntimeVersion */1720/** @name SpVersionRuntimeVersion */
1722 readonly stateVersion: u8;1729 readonly stateVersion: u8;
1723}1730}
1724
1725/** @name UniqueRuntimeRuntime */
1726export interface UniqueRuntimeRuntime extends Null {}
17271731
1728/** @name UpDataStructsAccessMode */1732/** @name UpDataStructsAccessMode */
1729export interface UpDataStructsAccessMode extends Enum {1733export interface UpDataStructsAccessMode extends Enum {
1816 readonly isNft: boolean;1820 readonly isNft: boolean;
1817 readonly asNft: Vec<UpDataStructsCreateNftExData>;1821 readonly asNft: Vec<UpDataStructsCreateNftExData>;
1818 readonly isFungible: boolean;1822 readonly isFungible: boolean;
1819 readonly asFungible: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr,u128>;1823 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;
1820 readonly isRefungibleMultipleItems: boolean;1824 readonly isRefungibleMultipleItems: boolean;
1821 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1825 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;
1822 readonly isRefungibleMultipleOwners: boolean;1826 readonly isRefungibleMultipleOwners: boolean;
1834export interface UpDataStructsCreateNftExData extends Struct {1838export interface UpDataStructsCreateNftExData extends Struct {
1835 readonly constData: Bytes;1839 readonly constData: Bytes;
1836 readonly variableData: Bytes;1840 readonly variableData: Bytes;
1837 readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1841 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1838}1842}
18391843
1840/** @name UpDataStructsCreateReFungibleData */1844/** @name UpDataStructsCreateReFungibleData */
1848export interface UpDataStructsCreateRefungibleExData extends Struct {1852export interface UpDataStructsCreateRefungibleExData extends Struct {
1849 readonly constData: Bytes;1853 readonly constData: Bytes;
1850 readonly variableData: Bytes;1854 readonly variableData: Bytes;
1851 readonly users: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1855 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
1852}1856}
18531857
1854/** @name UpDataStructsMetaUpdatePermission */1858/** @name UpDataStructsMetaUpdatePermission */
modifiedtests/src/limits.test.tsdiffbeforeafterboth
396 //expect(aliceBalanceAfterSponsoredTransaction1).to.be.lessThan(aliceBalanceBefore);396 //expect(aliceBalanceAfterSponsoredTransaction1).to.be.lessThan(aliceBalanceBefore);
397 });397 });
398
399 it('Effective collection limits', async () => {
400 await usingApi(async (api) => {
401 const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
402
403 { // Check that limits is undefined
404 const collection = await api.rpc.unique.collectionById(collectionId);
405 expect(collection.isSome).to.be.true;
406 const limits = collection.unwrap().limits;
407 expect(limits).to.be.any;
408
409 expect(limits.accountTokenOwnershipLimit.toHuman()).to.be.null;
410 expect(limits.sponsoredDataSize.toHuman()).to.be.null;
411 expect(limits.sponsoredDataRateLimit.toHuman()).to.be.null;
412 expect(limits.tokenLimit.toHuman()).to.be.null;
413 expect(limits.sponsorTransferTimeout.toHuman()).to.be.null;
414 expect(limits.sponsorApproveTimeout.toHuman()).to.be.null;
415 expect(limits.ownerCanTransfer.toHuman()).to.be.null;
416 expect(limits.ownerCanDestroy.toHuman()).to.be.null;
417 expect(limits.transfersEnabled.toHuman()).to.be.null;
418 }
419
420 { // Check that limits is undefined for non-existent collection
421 const limits = await api.rpc.unique.effectiveCollectionLimits(11111);
422 expect(limits.toHuman()).to.be.null;
423 }
424
425 { // Check that default values defined for collection limits
426 const limitsOpt = await api.rpc.unique.effectiveCollectionLimits(collectionId);
427 expect(limitsOpt.isNone).to.be.false;
428 const limits = limitsOpt.unwrap();
429
430 expect(limits.accountTokenOwnershipLimit.toHuman()).to.be.eq('100,000');
431 expect(limits.sponsoredDataSize.toHuman()).to.be.eq('2,048');
432 expect(limits.sponsoredDataRateLimit.toHuman()).to.be.eq('SponsoringDisabled');
433 expect(limits.tokenLimit.toHuman()).to.be.eq('4,294,967,295');
434 expect(limits.sponsorTransferTimeout.toHuman()).to.be.eq('5');
435 expect(limits.sponsorApproveTimeout.toHuman()).to.be.eq('5');
436 expect(limits.ownerCanTransfer.toHuman()).to.be.true;
437 expect(limits.ownerCanDestroy.toHuman()).to.be.true;
438 expect(limits.transfersEnabled.toHuman()).to.be.true;
439 }
440
441 { //Check the values for collection limits
442 await setCollectionLimitsExpectSuccess(alice, collectionId, {
443 accountTokenOwnershipLimit: 99_999,
444 sponsoredDataSize: 1024,
445 tokenLimit: 123,
446 transfersEnabled: false,
447 });
448
449 const limitsOpt = await api.rpc.unique.effectiveCollectionLimits(collectionId);
450 expect(limitsOpt.isNone).to.be.false;
451 const limits = limitsOpt.unwrap();
452
453 expect(limits.accountTokenOwnershipLimit.toHuman()).to.be.eq('99,999');
454 expect(limits.sponsoredDataSize.toHuman()).to.be.eq('1,024');
455 expect(limits.sponsoredDataRateLimit.toHuman()).to.be.eq('SponsoringDisabled');
456 expect(limits.tokenLimit.toHuman()).to.be.eq('123');
457 expect(limits.sponsorTransferTimeout.toHuman()).to.be.eq('5');
458 expect(limits.sponsorApproveTimeout.toHuman()).to.be.eq('5');
459 expect(limits.ownerCanTransfer.toHuman()).to.be.true;
460 expect(limits.ownerCanDestroy.toHuman()).to.be.true;
461 expect(limits.transfersEnabled.toHuman()).to.be.false;
462 }
463 });
464 });
398});465});
399466
467
addedtests/src/nextSponsoring.test.tsdiffbeforeafterboth

no changes

modifiedtests/src/util/helpers.tsdiffbeforeafterboth
352 // Run the CreateCollection transaction352 // Run the CreateCollection transaction
353 const alicePrivateKey = privateKey('//Alice');353 const alicePrivateKey = privateKey('//Alice');
354 const tx = api.tx.unique.createCollectionEx({name: strToUTF16(name), description: strToUTF16(description), tokenPrefix: strToUTF16(tokenPrefix), mode: modeprm as any});354 const tx = api.tx.unique.createCollectionEx({name: strToUTF16(name), description: strToUTF16(description), tokenPrefix: strToUTF16(tokenPrefix), mode: modeprm as any});
355 const events = await expect(submitTransactionExpectFailAsync(alicePrivateKey, tx)).to.be.rejected;355 await expect(submitTransactionExpectFailAsync(alicePrivateKey, tx)).to.be.rejected;
356 const result = getCreateCollectionResult(events);
357356
358 // Get number of collections after the transaction357 // Get number of collections after the transaction
359 const collectionCountAfter = await getCreatedCollectionCount(api);358 const collectionCountAfter = await getCreatedCollectionCount(api);
360359
361 // What to expect360 // What to expect
362 // tslint:disable-next-line:no-unused-expression
363 expect(result.success).to.be.false;
364 expect(collectionCountAfter).to.be.equal(collectionCountBefore, 'Error: Collection with incorrect data created.');361 expect(collectionCountAfter).to.be.equal(collectionCountBefore, 'Error: Collection with incorrect data created.');
365 });362 });
366}363}
619 });616 });
620}617}
618
619export async function getNextSponsored(
620 api: ApiPromise,
621 collectionId: number,
622 account: string | CrossAccountId,
623 tokenId: number,
624): Promise<number> {
625 return Number((await api.rpc.unique.nextSponsored(collectionId, account, tokenId)).unwrapOr(-1));
626}
621627
622export async function toggleContractAllowlistExpectSuccess(sender: IKeyringPair, contractAddress: AccountId | string, value = true) {628export async function toggleContractAllowlistExpectSuccess(sender: IKeyringPair, contractAddress: AccountId | string, value = true) {
623 await usingApi(async (api) => {629 await usingApi(async (api) => {
847 return balance;853 return balance;
848}854}
855
856export async function transferBalanceTo(api: ApiPromise, source: IKeyringPair, target: string, amount = 1000n * UNIQUE) {
857 const tx = api.tx.balances.transfer(target, amount);
858 const events = await submitTransactionAsync(source, tx);
859 const result = getGenericResult(events);
860 expect(result.success).to.be.true;
861}
849862
850export async function863export async function
851scheduleTransferExpectSuccess(864scheduleTransferExpectSuccess(