git.delta.rocks / unique-network / refs/commits / a2c419cb1c72

difftreelog

Merge pull request #324 from UniqueNetwork/feature/collator-selection

Yaroslav Bolyukin2022-12-29parents: #3c2e49b #f2a853a.patch.diff
in: master
Collator Selection

55 files changed

modifiedCargo.lockdiffbeforeafterboth
4026 "pallet-elections-phragmen",4026 "pallet-elections-phragmen",
4027 "pallet-fast-unstake",4027 "pallet-fast-unstake",
4028 "pallet-grandpa",4028 "pallet-grandpa",
4029 "pallet-identity",4029 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",
4030 "pallet-im-online",4030 "pallet-im-online",
4031 "pallet-indices",4031 "pallet-indices",
4032 "pallet-membership",4032 "pallet-membership",
5307 "orml-xtokens",5307 "orml-xtokens",
5308 "pallet-app-promotion",5308 "pallet-app-promotion",
5309 "pallet-aura",5309 "pallet-aura",
5310 "pallet-authorship",
5310 "pallet-balances",5311 "pallet-balances",
5311 "pallet-base-fee",5312 "pallet-base-fee",
5313 "pallet-collator-selection",
5312 "pallet-common",5314 "pallet-common",
5313 "pallet-configuration",5315 "pallet-configuration",
5314 "pallet-ethereum",5316 "pallet-ethereum",
5320 "pallet-evm-transaction-payment",5322 "pallet-evm-transaction-payment",
5321 "pallet-foreign-assets",5323 "pallet-foreign-assets",
5322 "pallet-fungible",5324 "pallet-fungible",
5325 "pallet-identity 4.0.0-dev",
5323 "pallet-inflation",5326 "pallet-inflation",
5324 "pallet-maintenance",5327 "pallet-maintenance",
5325 "pallet-nonfungible",5328 "pallet-nonfungible",
5326 "pallet-randomness-collective-flip",5329 "pallet-randomness-collective-flip",
5327 "pallet-refungible",5330 "pallet-refungible",
5328 "pallet-rmrk-core",5331 "pallet-rmrk-core",
5329 "pallet-rmrk-equip",5332 "pallet-rmrk-equip",
5333 "pallet-session",
5330 "pallet-structure",5334 "pallet-structure",
5331 "pallet-sudo",5335 "pallet-sudo",
5332 "pallet-template-transaction-payment",5336 "pallet-template-transaction-payment",
5771 "sp-std",5775 "sp-std",
5772]5776]
5777
5778[[package]]
5779name = "pallet-collator-selection"
5780version = "4.0.0"
5781dependencies = [
5782 "frame-benchmarking",
5783 "frame-support",
5784 "frame-system",
5785 "log",
5786 "pallet-aura",
5787 "pallet-authorship",
5788 "pallet-balances",
5789 "pallet-configuration",
5790 "pallet-session",
5791 "pallet-timestamp",
5792 "parity-scale-codec 3.2.1",
5793 "rand 0.8.5",
5794 "scale-info",
5795 "serde",
5796 "sp-consensus-aura",
5797 "sp-core",
5798 "sp-io",
5799 "sp-runtime",
5800 "sp-staking",
5801 "sp-std",
5802 "sp-tracing",
5803]
57735804
5774[[package]]5805[[package]]
5775name = "pallet-collective"5806name = "pallet-collective"
58125843
5813[[package]]5844[[package]]
5814name = "pallet-configuration"5845name = "pallet-configuration"
5815version = "0.1.2"5846version = "0.1.3"
5816dependencies = [5847dependencies = [
5817 "fp-evm",5848 "fp-evm",
5849 "frame-benchmarking",
5818 "frame-support",5850 "frame-support",
5819 "frame-system",5851 "frame-system",
5820 "parity-scale-codec 3.2.1",5852 "parity-scale-codec 3.2.1",
6150 "sp-std",6182 "sp-std",
6151]6183]
6184
6185[[package]]
6186name = "pallet-identity"
6187version = "4.0.0-dev"
6188dependencies = [
6189 "enumflags2",
6190 "frame-benchmarking",
6191 "frame-support",
6192 "frame-system",
6193 "pallet-balances",
6194 "parity-scale-codec 3.2.1",
6195 "scale-info",
6196 "sp-core",
6197 "sp-io",
6198 "sp-runtime",
6199 "sp-std",
6200]
61526201
6153[[package]]6202[[package]]
6154name = "pallet-identity"6203name = "pallet-identity"
8106 "pallet-elections-phragmen",8155 "pallet-elections-phragmen",
8107 "pallet-fast-unstake",8156 "pallet-fast-unstake",
8108 "pallet-grandpa",8157 "pallet-grandpa",
8109 "pallet-identity",8158 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",
8110 "pallet-im-online",8159 "pallet-im-online",
8111 "pallet-indices",8160 "pallet-indices",
8112 "pallet-membership",8161 "pallet-membership",
8866 "orml-xtokens",8915 "orml-xtokens",
8867 "pallet-app-promotion",8916 "pallet-app-promotion",
8868 "pallet-aura",8917 "pallet-aura",
8918 "pallet-authorship",
8869 "pallet-balances",8919 "pallet-balances",
8870 "pallet-base-fee",8920 "pallet-base-fee",
8921 "pallet-collator-selection",
8871 "pallet-common",8922 "pallet-common",
8872 "pallet-configuration",8923 "pallet-configuration",
8873 "pallet-ethereum",8924 "pallet-ethereum",
8879 "pallet-evm-transaction-payment",8930 "pallet-evm-transaction-payment",
8880 "pallet-foreign-assets",8931 "pallet-foreign-assets",
8881 "pallet-fungible",8932 "pallet-fungible",
8933 "pallet-identity 4.0.0-dev",
8882 "pallet-inflation",8934 "pallet-inflation",
8883 "pallet-maintenance",8935 "pallet-maintenance",
8884 "pallet-nonfungible",8936 "pallet-nonfungible",
8885 "pallet-randomness-collective-flip",8937 "pallet-randomness-collective-flip",
8886 "pallet-refungible",8938 "pallet-refungible",
8887 "pallet-rmrk-core",8939 "pallet-rmrk-core",
8888 "pallet-rmrk-equip",8940 "pallet-rmrk-equip",
8941 "pallet-session",
8889 "pallet-structure",8942 "pallet-structure",
8890 "pallet-sudo",8943 "pallet-sudo",
8891 "pallet-template-transaction-payment",8944 "pallet-template-transaction-payment",
9318 "pallet-democracy",9371 "pallet-democracy",
9319 "pallet-elections-phragmen",9372 "pallet-elections-phragmen",
9320 "pallet-grandpa",9373 "pallet-grandpa",
9321 "pallet-identity",9374 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",
9322 "pallet-im-online",9375 "pallet-im-online",
9323 "pallet-indices",9376 "pallet-indices",
9324 "pallet-membership",9377 "pallet-membership",
13094 "orml-xtokens",13147 "orml-xtokens",
13095 "pallet-app-promotion",13148 "pallet-app-promotion",
13096 "pallet-aura",13149 "pallet-aura",
13150 "pallet-authorship",
13097 "pallet-balances",13151 "pallet-balances",
13098 "pallet-base-fee",13152 "pallet-base-fee",
13153 "pallet-collator-selection",
13099 "pallet-common",13154 "pallet-common",
13100 "pallet-configuration",13155 "pallet-configuration",
13101 "pallet-ethereum",13156 "pallet-ethereum",
13107 "pallet-evm-transaction-payment",13162 "pallet-evm-transaction-payment",
13108 "pallet-foreign-assets",13163 "pallet-foreign-assets",
13109 "pallet-fungible",13164 "pallet-fungible",
13165 "pallet-identity 4.0.0-dev",
13110 "pallet-inflation",13166 "pallet-inflation",
13111 "pallet-maintenance",13167 "pallet-maintenance",
13112 "pallet-nonfungible",13168 "pallet-nonfungible",
13113 "pallet-randomness-collective-flip",13169 "pallet-randomness-collective-flip",
13114 "pallet-refungible",13170 "pallet-refungible",
13115 "pallet-rmrk-core",13171 "pallet-rmrk-core",
13116 "pallet-rmrk-equip",13172 "pallet-rmrk-equip",
13173 "pallet-session",
13117 "pallet-structure",13174 "pallet-structure",
13118 "pallet-sudo",13175 "pallet-sudo",
13119 "pallet-template-transaction-payment",13176 "pallet-template-transaction-payment",
13750 "pallet-elections-phragmen",13807 "pallet-elections-phragmen",
13751 "pallet-fast-unstake",13808 "pallet-fast-unstake",
13752 "pallet-grandpa",13809 "pallet-grandpa",
13753 "pallet-identity",13810 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",
13754 "pallet-im-online",13811 "pallet-im-online",
13755 "pallet-indices",13812 "pallet-indices",
13756 "pallet-membership",13813 "pallet-membership",
modifiedMakefilediffbeforeafterboth
89bench-evm-migration:89bench-evm-migration:
90 make _bench PALLET=evm-migration90 make _bench PALLET=evm-migration
91
92.PHONY: bench-configuration
93bench-configuration:
94 make _bench PALLET=configuration
9195
92.PHONY: bench-common96.PHONY: bench-common
93bench-common:97bench-common:
127131
128.PHONY: bench-foreign-assets132.PHONY: bench-foreign-assets
129bench-foreign-assets:133bench-foreign-assets:
130 make _bench PALLET=foreign-assets 134 make _bench PALLET=foreign-assets
135
136.PHONY: bench-collator-selection
137bench-collator-selection:
138 make _bench PALLET=collator-selection
139
140.PHONY: bench-identity
141bench-identity:
142 make _bench PALLET=identity
131143
132.PHONY: bench-app-promotion144.PHONY: bench-app-promotion
133bench-app-promotion:145bench-app-promotion:
134 make _bench PALLET=app-promotion PALLET_DIR=app-promotion146 make _bench PALLET=app-promotion PALLET_DIR=app-promotion
135 147
136.PHONY: bench148.PHONY: bench
137# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip149# Disabled: bench-scheduler, bench-collator-selection, bench-rmrk-core, bench-rmrk-equip
138bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets150bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-configuration bench-foreign-assets bench-identity
139151
modifiedlaunch-config.jsondiffbeforeafterboth
85 "parachains": [85 "parachains": [
86 {86 {
87 "bin": "../unique-chain/target/release/unique-collator",87 "bin": "../unique-chain/target/release/unique-collator",
88 "id": "1000",88 "id": 1000,
89 "balance": "1000000000000000000000000",89 "balance": "1000000000000000000000000",
90 "nodes": [90 "nodes": [
91 {91 {
111 "--unsafe-ws-external",111 "--unsafe-ws-external",
112 "-lxcm=trace"112 "-lxcm=trace"
113 ]113 ]
114 }114 },
115 {
116 "port": 31202,
117 "wsPort": 9946,
118 "rpcPort": 9935,
119 "name": "charlie",
120 "flags": [
121 "--rpc-cors=all",
122 "--unsafe-rpc-external",
123 "--unsafe-ws-external",
124 "-lxcm=trace"
125 ]
126 },
127 {
128 "port": 31203,
129 "wsPort": 9947,
130 "rpcPort": 9936,
131 "name": "dave",
132 "flags": [
133 "--rpc-cors=all",
134 "--unsafe-rpc-external",
135 "--unsafe-ws-external",
136 "-lxcm=trace"
137 ]
138 },
139 {
140 "port": 31204,
141 "wsPort": 9948,
142 "rpcPort": 9937,
143 "name": "eve",
144 "flags": [
145 "--rpc-cors=all",
146 "--unsafe-rpc-external",
147 "--unsafe-ws-external",
148 "-lxcm=trace"
149 ]
150 }
115 ]151 ]
116 }152 }
117 ],153 ],
modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
143 AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()143 AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()
144}144}
145145
146#[cfg(feature = "quartz-runtime")]
147macro_rules! testnet_genesis {
148 (
149 $runtime:path,
150 $root_key:expr,
151 $initial_invulnerables:expr,
152 $endowed_accounts:expr,
153 $id:expr
154 ) => {{
155 use $runtime::*;
156
157 GenesisConfig {
158 system: SystemConfig {
159 code: WASM_BINARY
160 .expect("WASM binary was not build, please build it!")
161 .to_vec(),
162 },
163 balances: BalancesConfig {
164 balances: $endowed_accounts
165 .iter()
166 .cloned()
167 // 1e13 UNQ
168 .map(|k| (k, 1 << 100))
169 .collect(),
170 },
171 treasury: Default::default(),
172 tokens: TokensConfig { balances: vec![] },
173 sudo: SudoConfig {
174 key: Some($root_key),
175 },
176 vesting: VestingConfig { vesting: vec![] },
177 parachain_info: ParachainInfoConfig {
178 parachain_id: $id.into(),
179 },
180 parachain_system: Default::default(),
181 collator_selection: CollatorSelectionConfig {
182 invulnerables: $initial_invulnerables
183 .iter()
184 .cloned()
185 .map(|(acc, _)| acc)
186 .collect(),
187 },
188 session: SessionConfig {
189 keys: $initial_invulnerables
190 .into_iter()
191 .map(|(acc, aura)| {
192 (
193 acc.clone(), // account id
194 acc, // validator id
195 SessionKeys { aura }, // session keys
196 )
197 })
198 .collect(),
199 },
200 aura: Default::default(),
201 aura_ext: Default::default(),
202 evm: EVMConfig {
203 accounts: BTreeMap::new(),
204 },
205 ethereum: EthereumConfig {},
206 }
207 }};
208}
209
210#[cfg(not(feature = "quartz-runtime"))]
146macro_rules! testnet_genesis {211macro_rules! testnet_genesis {
147 (212 (
148 $runtime:path,213 $runtime:path,
149 $root_key:expr,214 $root_key:expr,
150 $initial_authorities:expr,215 $initial_invulnerables:expr,
151 $endowed_accounts:expr,216 $endowed_accounts:expr,
152 $id:expr217 $id:expr
153 ) => {{218 ) => {{
178 },243 },
179 parachain_system: Default::default(),244 parachain_system: Default::default(),
180 aura: AuraConfig {245 aura: AuraConfig {
181 authorities: $initial_authorities,246 authorities: $initial_invulnerables
247 .into_iter()
248 .map(|(_, aura)| aura)
249 .collect(),
182 },250 },
183 aura_ext: Default::default(),251 aura_ext: Default::default(),
184 evm: EVMConfig {252 evm: EVMConfig {
219 // Sudo account287 // Sudo account
220 get_account_id_from_seed::<sr25519::Public>("Alice"),288 get_account_id_from_seed::<sr25519::Public>("Alice"),
221 vec![289 vec![
290 (
291 get_account_id_from_seed::<sr25519::Public>("Alice"),
222 get_from_seed::<AuraId>("Alice"),292 get_from_seed::<AuraId>("Alice"),
293 ),
294 (
295 get_account_id_from_seed::<sr25519::Public>("Bob"),
223 get_from_seed::<AuraId>("Bob"),296 get_from_seed::<AuraId>("Bob"),
297 ),
224 ],298 ],
225 // Pre-funded accounts299 // Pre-funded accounts
226 vec![300 vec![
287 // Sudo account361 // Sudo account
288 get_account_id_from_seed::<sr25519::Public>("Alice"),362 get_account_id_from_seed::<sr25519::Public>("Alice"),
289 vec![363 vec![
364 (
365 get_account_id_from_seed::<sr25519::Public>("Alice"),
290 get_from_seed::<AuraId>("Alice"),366 get_from_seed::<AuraId>("Alice"),
367 ),
368 (
369 get_account_id_from_seed::<sr25519::Public>("Bob"),
291 get_from_seed::<AuraId>("Bob"),370 get_from_seed::<AuraId>("Bob"),
371 ),
292 ],372 ],
293 // Pre-funded accounts373 // Pre-funded accounts
294 vec![374 vec![
modifiednode/cli/src/service.rsdiffbeforeafterboth
973 .import_notification_stream()973 .import_notification_stream()
974 .map(|_| EngineCommand::SealNewBlock {974 .map(|_| EngineCommand::SealNewBlock {
975 create_empty: true,975 create_empty: true,
976 finalize: false,976 finalize: false, // todo:collator finalize true
977 parent_hash: None,977 parent_hash: None,
978 sender: None,978 sender: None,
979 }),979 }),
984 dyn Stream<Item = EngineCommand<Hash>> + Send + Sync + Unpin,984 dyn Stream<Item = EngineCommand<Hash>> + Send + Sync + Unpin,
985 > = Box::new(autoseal_interval.map(|_| EngineCommand::SealNewBlock {985 > = Box::new(autoseal_interval.map(|_| EngineCommand::SealNewBlock {
986 create_empty: true,986 create_empty: true,
987 finalize: false,987 finalize: false, // todo:collator finalize true
988 parent_hash: None,988 parent_hash: None,
989 sender: None,989 sender: None,
990 }));990 }));
addedpallets/collator-selection/CHANGELOG.mddiffbeforeafterboth

no changes

addedpallets/collator-selection/Cargo.tomldiffbeforeafterboth

no changes

addedpallets/collator-selection/src/benchmarking.rsdiffbeforeafterboth

no changes

addedpallets/collator-selection/src/lib.rsdiffbeforeafterboth

no changes

addedpallets/collator-selection/src/mock.rsdiffbeforeafterboth

no changes

addedpallets/collator-selection/src/tests.rsdiffbeforeafterboth

no changes

addedpallets/collator-selection/src/weights.rsdiffbeforeafterboth

no changes

modifiedpallets/configuration/CHANGELOG.mddiffbeforeafterboth
1# Change Log
2
3All notable changes to this project will be documented in this file.
4
1<!-- bureaucrate goes here -->5<!-- bureaucrate goes here -->
6
7## [0.1.3] - 2022-12-29
8
9### Added
10
11- The ability to configure pallet `collator-selection` via the `configuration` pallet.
12
2## [0.1.2] - 2022-12-1313## [0.1.2] - 2022-12-13
314
4### Added15### Added
modifiedpallets/configuration/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-configuration"2name = "pallet-configuration"
3version = "0.1.2"3version = "0.1.3"
4edition = "2021"4edition = "2021"
55
6[dependencies]6[dependencies]
12] }12] }
13frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }13frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
14frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }14frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
15frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
15sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
16sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
17sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
2223
23[features]24[features]
24default = ["std"]25default = ["std"]
26runtime-benchmarks = ["frame-benchmarking"]
25std = [27std = [
26 "parity-scale-codec/std",28 "parity-scale-codec/std",
27 "frame-support/std",29 "frame-support/std",
28 "frame-system/std",30 "frame-system/std",
31 "frame-benchmarking/std",
29 "sp-runtime/std",32 "sp-runtime/std",
30 "sp-std/std",33 "sp-std/std",
31 "sp-core/std",34 "sp-core/std",
addedpallets/configuration/src/benchmarking.rsdiffbeforeafterboth

no changes

modifiedpallets/configuration/src/lib.rsdiffbeforeafterboth
34pub use pallet::*;34pub use pallet::*;
35use sp_core::U256;35use sp_core::U256;
36
37#[cfg(feature = "runtime-benchmarks")]
38mod benchmarking;
39pub mod weights;
3640
37#[pallet]41#[pallet]
38mod pallet {42mod pallet {
39 use super::*;43 use super::*;
40 use frame_support::{44 use frame_support::{
41 traits::Get,45 traits::{Get, ReservableCurrency, Currency},
42 pallet_prelude::{StorageValue, ValueQuery, DispatchResult, OptionQuery},46 pallet_prelude::{StorageValue, ValueQuery, DispatchResult, IsType, OptionQuery},
43 BoundedVec,47 BoundedVec, log,
44 };48 };
45 use frame_system::{pallet_prelude::OriginFor, ensure_root};49 use frame_system::{pallet_prelude::OriginFor, ensure_root, Config as SystemConfig};
46 use xcm::v1::MultiLocation;50 use xcm::v1::MultiLocation;
51
52 pub use crate::weights::WeightInfo;
53 pub type BalanceOf<T> =
54 <<T as Config>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance;
4755
48 #[pallet::config]56 #[pallet::config]
49 pub trait Config: frame_system::Config {57 pub trait Config: frame_system::Config {
58 /// Overarching event type.
59 type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
60
61 /// The currency mechanism.
62 type Currency: ReservableCurrency<Self::AccountId>;
63
50 #[pallet::constant]64 #[pallet::constant]
51 type DefaultWeightToFeeCoefficient: Get<u64>;65 type DefaultWeightToFeeCoefficient: Get<u64>;
59 #[pallet::constant]73 #[pallet::constant]
60 type DayRelayBlocks: Get<Self::BlockNumber>;74 type DayRelayBlocks: Get<Self::BlockNumber>;
75
76 #[pallet::constant]
77 type DefaultCollatorSelectionMaxCollators: Get<u32>;
78 #[pallet::constant]
79 type DefaultCollatorSelectionLicenseBond: Get<BalanceOf<Self>>;
80 #[pallet::constant]
81 type DefaultCollatorSelectionKickThreshold: Get<Self::BlockNumber>;
82
83 /// The weight information of this pallet.
84 type WeightInfo: WeightInfo;
61 }85 }
86
87 #[pallet::event]
88 #[pallet::generate_deposit(pub(super) fn deposit_event)]
89 pub enum Event<T: Config> {
90 NewDesiredCollators {
91 desired_collators: Option<u32>,
92 },
93 NewCollatorLicenseBond {
94 bond_cost: Option<BalanceOf<T>>,
95 },
96 NewCollatorKickThreshold {
97 length_in_blocks: Option<T::BlockNumber>,
98 },
99 }
62100
63 #[pallet::error]101 #[pallet::error]
64 pub enum Error<T> {102 pub enum Error<T> {
86 pub type AppPromomotionConfigurationOverride<T: Config> =124 pub type AppPromomotionConfigurationOverride<T: Config> =
87 StorageValue<Value = AppPromotionConfiguration<T::BlockNumber>, QueryKind = ValueQuery>;125 StorageValue<Value = AppPromotionConfiguration<T::BlockNumber>, QueryKind = ValueQuery>;
126
127 #[pallet::storage]
128 pub type CollatorSelectionDesiredCollatorsOverride<T: Config> = StorageValue<
129 Value = u32,
130 QueryKind = ValueQuery,
131 OnEmpty = T::DefaultCollatorSelectionMaxCollators,
132 >;
133
134 #[pallet::storage]
135 pub type CollatorSelectionLicenseBondOverride<T: Config> = StorageValue<
136 Value = BalanceOf<T>,
137 QueryKind = ValueQuery,
138 OnEmpty = T::DefaultCollatorSelectionLicenseBond,
139 >;
140
141 #[pallet::storage]
142 pub type CollatorSelectionKickThresholdOverride<T: Config> = StorageValue<
143 Value = T::BlockNumber,
144 QueryKind = ValueQuery,
145 OnEmpty = T::DefaultCollatorSelectionKickThreshold,
146 >;
88147
89 #[pallet::call]148 #[pallet::call]
90 impl<T: Config> Pallet<T> {149 impl<T: Config> Pallet<T> {
91 #[pallet::call_index(0)]150 #[pallet::call_index(0)]
92 #[pallet::weight(T::DbWeight::get().writes(1))]151 #[pallet::weight(T::WeightInfo::set_weight_to_fee_coefficient_override())]
93 pub fn set_weight_to_fee_coefficient_override(152 pub fn set_weight_to_fee_coefficient_override(
94 origin: OriginFor<T>,153 origin: OriginFor<T>,
95 coeff: Option<u64>,154 coeff: Option<u64>,
104 }163 }
105164
106 #[pallet::call_index(1)]165 #[pallet::call_index(1)]
107 #[pallet::weight(T::DbWeight::get().writes(1))]166 #[pallet::weight(T::WeightInfo::set_min_gas_price_override())]
108 pub fn set_min_gas_price_override(167 pub fn set_min_gas_price_override(
109 origin: OriginFor<T>,168 origin: OriginFor<T>,
110 coeff: Option<u64>,169 coeff: Option<u64>,
119 }178 }
120179
121 #[pallet::call_index(2)]180 #[pallet::call_index(2)]
122 #[pallet::weight(T::DbWeight::get().writes(1))]181 #[pallet::weight(T::WeightInfo::set_xcm_allowed_locations())]
123 pub fn set_xcm_allowed_locations(182 pub fn set_xcm_allowed_locations(
124 origin: OriginFor<T>,183 origin: OriginFor<T>,
125 locations: Option<BoundedVec<MultiLocation, T::MaxXcmAllowedLocations>>,184 locations: Option<BoundedVec<MultiLocation, T::MaxXcmAllowedLocations>>,
130 }189 }
131190
132 #[pallet::call_index(3)]191 #[pallet::call_index(3)]
133 #[pallet::weight(T::DbWeight::get().writes(1))]192 #[pallet::weight(T::WeightInfo::set_app_promotion_configuration_override())]
134 pub fn set_app_promotion_configuration_override(193 pub fn set_app_promotion_configuration_override(
135 origin: OriginFor<T>,194 origin: OriginFor<T>,
136 mut configuration: AppPromotionConfiguration<T::BlockNumber>,195 mut configuration: AppPromotionConfiguration<T::BlockNumber>,
150 Ok(())209 Ok(())
151 }210 }
211
212 #[pallet::call_index(4)]
213 #[pallet::weight(T::WeightInfo::set_collator_selection_desired_collators())]
214 pub fn set_collator_selection_desired_collators(
215 origin: OriginFor<T>,
216 max: Option<u32>,
217 ) -> DispatchResult {
218 ensure_root(origin)?;
219 if let Some(max) = max {
220 // we trust origin calls, this is just a for more accurate benchmarking
221 if max > T::DefaultCollatorSelectionMaxCollators::get() {
222 log::warn!("max > T::DefaultCollatorSelectionMaxCollators; you might need to run benchmarks again");
223 }
224 <CollatorSelectionDesiredCollatorsOverride<T>>::set(max);
225 } else {
226 <CollatorSelectionDesiredCollatorsOverride<T>>::kill();
227 }
228 Self::deposit_event(Event::NewDesiredCollators {
229 desired_collators: max,
230 });
231 Ok(())
232 }
233
234 #[pallet::call_index(5)]
235 #[pallet::weight(T::WeightInfo::set_collator_selection_license_bond())]
236 pub fn set_collator_selection_license_bond(
237 origin: OriginFor<T>,
238 amount: Option<BalanceOf<T>>,
239 ) -> DispatchResult {
240 ensure_root(origin)?;
241 if let Some(amount) = amount {
242 <CollatorSelectionLicenseBondOverride<T>>::set(amount);
243 } else {
244 <CollatorSelectionLicenseBondOverride<T>>::kill();
245 }
246 Self::deposit_event(Event::NewCollatorLicenseBond { bond_cost: amount });
247 Ok(())
248 }
249
250 #[pallet::call_index(6)]
251 #[pallet::weight(T::WeightInfo::set_collator_selection_kick_threshold())]
252 pub fn set_collator_selection_kick_threshold(
253 origin: OriginFor<T>,
254 threshold: Option<T::BlockNumber>,
255 ) -> DispatchResult {
256 ensure_root(origin)?;
257 if let Some(threshold) = threshold {
258 <CollatorSelectionKickThresholdOverride<T>>::set(threshold);
259 } else {
260 <CollatorSelectionKickThresholdOverride<T>>::kill();
261 }
262 Self::deposit_event(Event::NewCollatorKickThreshold {
263 length_in_blocks: threshold,
264 });
265 Ok(())
266 }
152 }267 }
153268
154 #[pallet::pallet]269 #[pallet::pallet]
addedpallets/configuration/src/weights.rsdiffbeforeafterboth

no changes

addedpallets/identity/Cargo.tomldiffbeforeafterboth

no changes

addedpallets/identity/README.mddiffbeforeafterboth

no changes

addedpallets/identity/src/benchmarking.rsdiffbeforeafterboth

no changes

addedpallets/identity/src/lib.rsdiffbeforeafterboth

no changes

addedpallets/identity/src/tests.rsdiffbeforeafterboth

no changes

addedpallets/identity/src/types.rsdiffbeforeafterboth

no changes

addedpallets/identity/src/weights.rsdiffbeforeafterboth

no changes

modifiedprimitives/common/src/constants.rsdiffbeforeafterboth
42pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;42pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;
43pub const UNIQUE: Balance = 100 * CENTIUNIQUE;43pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
44
45/// Minimum balance required to create or keep an account open.
46pub const EXISTENTIAL_DEPOSIT: u128 = 0;
47/// Amount of Balance reserved for candidate registration.
48pub const GENESIS_LICENSE_BOND: u128 = 1_000_000_000_000 * UNIQUE;
49/// Amount of maximum collators for Collator Selection.
50pub const MAX_COLLATORS: u32 = 10;
51/// How long a periodic session lasts in blocks.
52pub const SESSION_LENGTH: BlockNumber = HOURS;
4453
45// Targeting 0.1 UNQ per transfer54// Targeting 0.1 UNQ per transfer
46pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_071_069_464_131_590/*</weight2fee>*/;55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_071_069_464_131_590/*</weight2fee>*/;
addedruntime/common/config/pallets/collator_selection.rsdiffbeforeafterboth

no changes

modifiedruntime/common/config/pallets/mod.rsdiffbeforeafterboth
47#[cfg(feature = "app-promotion")]47#[cfg(feature = "app-promotion")]
48pub mod app_promotion;48pub mod app_promotion;
49
50#[cfg(feature = "collator-selection")]
51pub mod collator_selection;
4952
50parameter_types! {53parameter_types! {
51 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();54 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
101104
102parameter_types! {105parameter_types! {
103 pub AppPromotionDailyRate: Perbill = Perbill::from_rational(5u32, 10_000);106 pub AppPromotionDailyRate: Perbill = Perbill::from_rational(5u32, 10_000);
107 pub const MaxCollators: u32 = MAX_COLLATORS;
108 pub const LicenseBond: Balance = GENESIS_LICENSE_BOND;
109 pub const SessionPeriod: BlockNumber = SESSION_LENGTH;
104 pub const DayRelayBlocks: BlockNumber = RELAY_DAYS;110 pub const DayRelayBlocks: BlockNumber = RELAY_DAYS;
105}111}
112
106impl pallet_configuration::Config for Runtime {113impl pallet_configuration::Config for Runtime {
114 type RuntimeEvent = RuntimeEvent;
115 type Currency = Balances;
107 type DefaultWeightToFeeCoefficient = ConstU64<{ up_common::constants::WEIGHT_TO_FEE_COEFF }>;116 type DefaultWeightToFeeCoefficient = ConstU64<{ up_common::constants::WEIGHT_TO_FEE_COEFF }>;
108 type DefaultMinGasPrice = ConstU64<{ up_common::constants::MIN_GAS_PRICE }>;117 type DefaultMinGasPrice = ConstU64<{ up_common::constants::MIN_GAS_PRICE }>;
118 type DefaultCollatorSelectionMaxCollators = MaxCollators;
119 type DefaultCollatorSelectionKickThreshold = SessionPeriod;
120 type DefaultCollatorSelectionLicenseBond = LicenseBond;
109 type MaxXcmAllowedLocations = ConstU32<16>;121 type MaxXcmAllowedLocations = ConstU32<16>;
110 type AppPromotionDailyRate = AppPromotionDailyRate;122 type AppPromotionDailyRate = AppPromotionDailyRate;
111 type DayRelayBlocks = DayRelayBlocks;123 type DayRelayBlocks = DayRelayBlocks;
124 type WeightInfo = pallet_configuration::weights::SubstrateWeight<Self>;
112}125}
113126
114impl pallet_maintenance::Config for Runtime {127impl pallet_maintenance::Config for Runtime {
modifiedruntime/common/config/substrate.rsdiffbeforeafterboth
131131
132parameter_types! {132parameter_types! {
133 // pub const ExistentialDeposit: u128 = 500;133 // pub const ExistentialDeposit: u128 = 500;
134 pub const ExistentialDeposit: u128 = 0;134 pub const ExistentialDeposit: u128 = EXISTENTIAL_DEPOSIT;
135 pub const MaxLocks: u32 = 50;135 pub const MaxLocks: u32 = 50;
136 pub const MaxReserves: u32 = 50;136 pub const MaxReserves: u32 = 50;
137}137}
modifiedruntime/common/construct_runtime/mod.rsdiffbeforeafterboth
32 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,32 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,
33 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,33 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,
34
35 #[runtimes(quartz)]
36 Authorship: pallet_authorship::{Pallet, Call, Storage} = 22,
37
38 #[runtimes(quartz)]
39 CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 23,
40
41 #[runtimes(quartz)]
42 Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 24,
3443
35 Aura: pallet_aura::{Pallet, Config<T>} = 22,44 Aura: pallet_aura::{Pallet, Config<T>} = 25,
36 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,45 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 26,
3746
38 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,47 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,
39 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,48 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,
47 Tokens: orml_tokens = 39,56 Tokens: orml_tokens = 39,
48 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,57 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,
58
59 #[runtimes(quartz)]
60 Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 40,
4961
50 // XCM helpers.62 // XCM helpers.
51 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,63 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,
60 // #[runtimes(opal)]72 // #[runtimes(opal)]
61 // Scheduler: pallet_unique_scheduler_v2::{Pallet, Call, Storage, Event<T>} = 62,73 // Scheduler: pallet_unique_scheduler_v2::{Pallet, Call, Storage, Event<T>} = 62,
6274
63 Configuration: pallet_configuration::{Pallet, Call, Storage} = 63,75 Configuration: pallet_configuration::{Pallet, Call, Storage, Event<T>} = 63,
6476
65 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,77 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
66 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,78 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
addedruntime/common/identity.rsdiffbeforeafterboth

no changes

modifiedruntime/common/maintenance.rsdiffbeforeafterboth
85 Err(TransactionValidityError::Invalid(InvalidTransaction::Call))85 Err(TransactionValidityError::Invalid(InvalidTransaction::Call))
86 }86 }
87
88 #[cfg(feature = "collator-selection")]
89 RuntimeCall::CollatorSelection(_)
90 | RuntimeCall::Authorship(_)
91 | RuntimeCall::Session(_)
92 | RuntimeCall::Identity(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)),
8793
88 #[cfg(feature = "pallet-test-utils")]94 #[cfg(feature = "pallet-test-utils")]
89 RuntimeCall::TestUtils(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)),95 RuntimeCall::TestUtils(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)),
modifiedruntime/common/mod.rsdiffbeforeafterboth
18pub mod construct_runtime;18pub mod construct_runtime;
19pub mod dispatch;19pub mod dispatch;
20pub mod ethereum;20pub mod ethereum;
21pub mod identity;
21pub mod instance;22pub mod instance;
22pub mod maintenance;23pub mod maintenance;
23pub mod runtime_apis;24pub mod runtime_apis;
33pub mod tests;34pub mod tests;
3435
35use sp_core::H160;36use sp_core::H160;
36use frame_support::traits::{Currency, OnUnbalanced, Imbalance};37use frame_support::{
38 traits::{Currency, OnUnbalanced, Imbalance},
39 weights::Weight,
40};
37use sp_runtime::{41use sp_runtime::{
38 generic,42 generic,
39 traits::{BlakeTwo256, BlockNumberProvider},43 traits::{BlakeTwo256, BlockNumberProvider},
93 frame_system::CheckNonce<Runtime>,97 frame_system::CheckNonce<Runtime>,
94 frame_system::CheckWeight<Runtime>,98 frame_system::CheckWeight<Runtime>,
95 maintenance::CheckMaintenance,99 maintenance::CheckMaintenance,
100 identity::DisableIdentityCalls,
96 ChargeTransactionPayment,101 ChargeTransactionPayment,
97 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,102 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,
98 pallet_ethereum::FakeTransactionFinalizer<Runtime>,103 pallet_ethereum::FakeTransactionFinalizer<Runtime>,
113 frame_system::ChainContext<Runtime>,118 frame_system::ChainContext<Runtime>,
114 Runtime,119 Runtime,
115 AllPalletsWithSystem,120 AllPalletsWithSystem,
121 AuraToCollatorSelection,
116>;122>;
117123
118type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;124type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;
180 TransferToken(XAccountId, XBalance),186 TransferToken(XAccountId, XBalance),
181}187}
188
189pub struct AuraToCollatorSelection;
190impl frame_support::traits::OnRuntimeUpgrade for AuraToCollatorSelection {
191 fn on_runtime_upgrade() -> Weight {
192 #[cfg(feature = "collator-selection")]
193 {
194 use frame_support::{BoundedVec, storage::migration};
195 use sp_runtime::{traits::OpaqueKeys, RuntimeAppPublic};
196 use pallet_session::SessionManager;
197 use crate::config::pallets::MaxCollators;
198
199 let mut weight = <Runtime as frame_system::Config>::DbWeight::get().reads(1);
200
201 let version = migration::get_storage_value::<()>(
202 b"AuraToCollatorSelection",
203 b"StorageVersion",
204 &[],
205 );
206
207 let should_upgrade = match version {
208 None => true,
209 Some(_) => false,
210 };
211
212 if should_upgrade {
213 log::info!(
214 target: "runtime::aura_to_collator_selection",
215 "Running migration of Aura authorities to Collator Selection invulnerables"
216 );
217
218 let invulnerables = pallet_aura::Pallet::<Runtime>::authorities()
219 .iter()
220 .cloned()
221 .filter_map(|authority_id| {
222 weight.saturating_accrue(<Runtime as frame_system::Config>::DbWeight::get().reads_writes(1, 1));
223 let vec = authority_id.clone().to_raw_vec();
224 let slice = vec.as_slice();
225 let array: Option<[u8; 32]> = match slice.try_into() {
226 Ok(a) => Some(a),
227 Err(_) => {
228 log::error!("Failed to convert an Aura authority to a Collator Selection invulnerable: {:?}", authority_id);
229 None
230 },
231 };
232 array.map(|a| (AccountId::from(a), authority_id))
233 })
234 .collect::<Vec<_>>();
235
236 let bounded_invulnerables = BoundedVec::<_, MaxCollators>::try_from(
237 invulnerables
238 .iter()
239 .cloned()
240 .map(|(acc, _)| acc)
241 .collect::<Vec<_>>(),
242 )
243 .expect("Existing collators/invulnerables are more than MaxCollators");
244
245 <pallet_collator_selection::Invulnerables<Runtime>>::put(bounded_invulnerables);
246
247 let keys = invulnerables
248 .into_iter()
249 .map(|(acc, aura)| {
250 (
251 acc.clone(), // account id
252 acc, // validator id
253 SessionKeys { aura: aura.clone() }, // session keys
254 )
255 })
256 .collect::<Vec<_>>();
257
258 for (account, val, keys) in keys.iter().cloned() {
259 for id in <Runtime as pallet_session::Config>::Keys::key_ids() {
260 <pallet_session::KeyOwner<Runtime>>::insert((*id, keys.get_raw(*id)), &val)
261 }
262 <pallet_session::NextKeys<Runtime>>::insert(&val, &keys);
263 // todo exercise caution, the following is taken from genesis
264 if frame_system::Pallet::<Runtime>::inc_consumers_without_limit(&account)
265 .is_err()
266 {
267 log::warn!(
268 "We have entered an error with incrementing consumers without limit during the migration"
269 );
270 // This will leak a provider reference, however it only happens once (at
271 // genesis) so it's really not a big deal and we assume that the user wants to
272 // do this since it's the only way a non-endowed account can contain a session
273 // key.
274 frame_system::Pallet::<Runtime>::inc_providers(&account);
275 }
276 }
277
278 let initial_validators_0 =
279 <Runtime as pallet_session::Config>::SessionManager::new_session(0)
280 .unwrap_or_else(|| {
281 frame_support::print(
282 "No initial validator provided by `SessionManager`, use \
283 session config keys to generate initial validator set.",
284 );
285 keys.iter().map(|x| x.1.clone()).collect()
286 });
287 /*assert!(
288 !initial_validators_0.is_empty(),
289 "Empty validator set for session 0 in (pseudo) genesis block!"
290 );*/
291
292 let initial_validators_1 =
293 <Runtime as pallet_session::Config>::SessionManager::new_session(1)
294 .unwrap_or_else(|| initial_validators_0.clone());
295 /*assert!(
296 !initial_validators_1.is_empty(),
297 "Empty validator set for session 1 in (pseudo) genesis block!"
298 );*/
299
300 let queued_keys: Vec<_> = initial_validators_1
301 .iter()
302 .cloned()
303 .map(|v| {
304 (
305 v.clone(),
306 <pallet_session::NextKeys<Runtime>>::get(&v)
307 .expect("Validator in session 1 missing keys!"),
308 )
309 })
310 .collect();
311
312 // Tell everyone about the genesis session keys -- Aura must've already initialized it
313 //<Runtime as pallet_session::Config>::SessionHandler::on_genesis_session::<<Runtime as pallet_session::Config>::Keys>(&queued_keys);
314
315 <pallet_session::Validators<Runtime>>::put(initial_validators_0);
316 <pallet_session::QueuedKeys<Runtime>>::put(queued_keys);
317
318 <Runtime as pallet_session::Config>::SessionManager::start_session(0);
319
320 log::info!(
321 target: "runtime::aura_to_collator_selection",
322 "Migration of Aura authorities to Collator Selection invulnerables is complete."
323 );
324
325 migration::put_storage_value::<()>(
326 b"AuraToCollatorSelection",
327 b"StorageVersion",
328 &[],
329 (),
330 );
331
332 weight += <Runtime as frame_system::Config>::DbWeight::get().writes(1)
333 } else {
334 log::info!(
335 target: "runtime::aura_to_collator_selection",
336 "The storage migration has already been flagged as complete. No migration needs to be done.",
337 );
338 }
339
340 weight
341 }
342
343 #[cfg(not(feature = "collator-selection"))]
344 {
345 Weight::zero()
346 }
347 }
348}
182349
modifiedruntime/common/runtime_apis.rsdiffbeforeafterboth
686 list_benchmark!(list, extra, pallet_unique, Unique);686 list_benchmark!(list, extra, pallet_unique, Unique);
687 list_benchmark!(list, extra, pallet_structure, Structure);687 list_benchmark!(list, extra, pallet_structure, Structure);
688 list_benchmark!(list, extra, pallet_inflation, Inflation);688 list_benchmark!(list, extra, pallet_inflation, Inflation);
689 list_benchmark!(list, extra, pallet_configuration, Configuration);
689690
690 #[cfg(feature = "app-promotion")]691 #[cfg(feature = "app-promotion")]
691 list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);692 list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);
705 #[cfg(feature = "rmrk")]706 #[cfg(feature = "rmrk")]
706 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);707 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);
708
709 #[cfg(feature = "collator-selection")]
710 list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection);
711
712 #[cfg(feature = "collator-selection")]
713 list_benchmark!(list, extra, pallet_identity, Identity);
707714
708 #[cfg(feature = "foreign-assets")]715 #[cfg(feature = "foreign-assets")]
709 list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);716 list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);
749 add_benchmark!(params, batches, pallet_unique, Unique);756 add_benchmark!(params, batches, pallet_unique, Unique);
750 add_benchmark!(params, batches, pallet_structure, Structure);757 add_benchmark!(params, batches, pallet_structure, Structure);
751 add_benchmark!(params, batches, pallet_inflation, Inflation);758 add_benchmark!(params, batches, pallet_inflation, Inflation);
759 add_benchmark!(params, batches, pallet_configuration, Configuration);
752760
753 #[cfg(feature = "app-promotion")]761 #[cfg(feature = "app-promotion")]
754 add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);762 add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);
768 #[cfg(feature = "rmrk")]776 #[cfg(feature = "rmrk")]
769 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);777 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);
778
779 #[cfg(feature = "collator-selection")]
780 add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection);
781
782 #[cfg(feature = "collator-selection")]
783 add_benchmark!(params, batches, pallet_identity, Identity);
770784
771 #[cfg(feature = "foreign-assets")]785 #[cfg(feature = "foreign-assets")]
772 add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);786 add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);
modifiedruntime/common/tests/mod.rsdiffbeforeafterboth
18use sp_core::{Public, Pair};18use sp_core::{Public, Pair};
19use sp_std::vec;19use sp_std::vec;
20use up_common::types::AuraId;20use up_common::types::AuraId;
21use crate::{GenesisConfig, ParachainInfoConfig, AuraConfig};21use crate::{GenesisConfig, ParachainInfoConfig};
2222
23pub mod xcm;23pub mod xcm;
2424
28 .public()28 .public()
29}29}
3030
31#[cfg(feature = "collator-selection")]
32fn new_test_ext(para_id: u32) -> sp_io::TestExternalities {
33 use sp_core::{sr25519};
34 use sp_runtime::traits::{IdentifyAccount, Verify};
35 use crate::{AccountId, Signature, SessionKeys, CollatorSelectionConfig, SessionConfig};
36
37 type AccountPublic = <Signature as Verify>::Signer;
38
39 fn get_account_id_from_seed<TPublic: Public>(seed: &str) -> AccountId
40 where
41 AccountPublic: From<<TPublic::Pair as Pair>::Public>,
42 {
43 AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()
44 }
45
46 let accounts = vec!["Alice", "Bob"];
47 let keys = accounts
48 .iter()
49 .map(|&acc| {
50 let account_id = get_account_id_from_seed::<sr25519::Public>(acc);
51 (
52 account_id.clone(),
53 account_id,
54 SessionKeys {
55 aura: get_from_seed::<AuraId>(acc),
56 },
57 )
58 })
59 .collect::<Vec<_>>();
60 let invulnerables = accounts
61 .iter()
62 .map(|acc| get_account_id_from_seed::<sr25519::Public>(acc))
63 .collect::<Vec<_>>();
64
65 let cfg = GenesisConfig {
66 collator_selection: CollatorSelectionConfig { invulnerables },
67 session: SessionConfig { keys },
68 parachain_info: ParachainInfoConfig {
69 parachain_id: para_id.into(),
70 },
71 ..GenesisConfig::default()
72 };
73
74 cfg.build_storage().unwrap().into()
75}
76
77#[cfg(not(feature = "collator-selection"))]
31fn new_test_ext(para_id: u32) -> sp_io::TestExternalities {78fn new_test_ext(para_id: u32) -> sp_io::TestExternalities {
79 use crate::AuraConfig;
80
32 let cfg = GenesisConfig {81 let cfg = GenesisConfig {
33 aura: AuraConfig {82 aura: AuraConfig {
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
28 'pallet-evm-coder-substrate/runtime-benchmarks',28 'pallet-evm-coder-substrate/runtime-benchmarks',
29 'pallet-balances/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',
30 'pallet-timestamp/runtime-benchmarks',30 'pallet-timestamp/runtime-benchmarks',
31 'pallet-configuration/runtime-benchmarks',
31 'pallet-common/runtime-benchmarks',32 'pallet-common/runtime-benchmarks',
32 'pallet-structure/runtime-benchmarks',33 'pallet-structure/runtime-benchmarks',
33 'pallet-fungible/runtime-benchmarks',34 'pallet-fungible/runtime-benchmarks',
39 'pallet-unique/runtime-benchmarks',40 'pallet-unique/runtime-benchmarks',
40 'pallet-inflation/runtime-benchmarks',41 'pallet-inflation/runtime-benchmarks',
41 'pallet-app-promotion/runtime-benchmarks',42 'pallet-app-promotion/runtime-benchmarks',
43 'pallet-collator-selection/runtime-benchmarks',
44 'pallet-identity/runtime-benchmarks',
42 'pallet-unique-scheduler-v2/runtime-benchmarks',45 'pallet-unique-scheduler-v2/runtime-benchmarks',
43 'pallet-xcm/runtime-benchmarks',46 'pallet-xcm/runtime-benchmarks',
44 'sp-runtime/runtime-benchmarks',47 'sp-runtime/runtime-benchmarks',
69 'pallet-xcm/try-runtime',72 'pallet-xcm/try-runtime',
70 'cumulus-pallet-xcm/try-runtime',73 'cumulus-pallet-xcm/try-runtime',
71 'cumulus-pallet-dmp-queue/try-runtime',74 'cumulus-pallet-dmp-queue/try-runtime',
75 "pallet-authorship/try-runtime",
76 "pallet-collator-selection/try-runtime",
77 "pallet-session/try-runtime",
78 "pallet-identity/try-runtime",
72 'pallet-inflation/try-runtime',79 'pallet-inflation/try-runtime',
73 'pallet-unique/try-runtime',80 'pallet-unique/try-runtime',
74 'pallet-configuration/try-runtime',81 'pallet-configuration/try-runtime',
113 # 'pallet-contracts-primitives/std',120 # 'pallet-contracts-primitives/std',
114 # 'pallet-contracts-rpc-runtime-api/std',121 # 'pallet-contracts-rpc-runtime-api/std',
115 # 'pallet-contract-helpers/std',122 # 'pallet-contract-helpers/std',
123 "pallet-authorship/std",
124 'pallet-collator-selection/std',
125 "pallet-session/std",
126 'pallet-identity/std',
116 'pallet-randomness-collective-flip/std',127 'pallet-randomness-collective-flip/std',
117 'pallet-sudo/std',128 'pallet-sudo/std',
118 'pallet-timestamp/std',129 'pallet-timestamp/std',
193rmrk = []204rmrk = []
194foreign-assets = []205foreign-assets = []
195app-promotion = []206app-promotion = []
207collator-selection = []
196208
197################################################################################209################################################################################
198# Substrate Dependencies210# Substrate Dependencies
256git = "https://github.com/paritytech/substrate"268git = "https://github.com/paritytech/substrate"
257branch = "polkadot-v0.9.36"269branch = "polkadot-v0.9.36"
270
271[dependencies.pallet-authorship]
272default-features = false
273git = 'https://github.com/paritytech/substrate'
274branch = 'polkadot-v0.9.36'
275
276[dependencies.pallet-session]
277default-features = false
278git = 'https://github.com/paritytech/substrate'
279branch = 'polkadot-v0.9.36'
258280
259[dependencies.pallet-balances]281[dependencies.pallet-balances]
260default-features = false282default-features = false
479pallet-inflation = { path = '../../pallets/inflation', default-features = false }501pallet-inflation = { path = '../../pallets/inflation', default-features = false }
480pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }502pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }
481up-data-structs = { path = '../../primitives/data-structs', default-features = false }503up-data-structs = { path = '../../primitives/data-structs', default-features = false }
504pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }
505pallet-identity = { default-features = false, path = "../../pallets/identity" }
482pallet-configuration = { default-features = false, path = "../../pallets/configuration" }506pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
483pallet-common = { default-features = false, path = "../../pallets/common" }507pallet-common = { default-features = false, path = "../../pallets/common" }
484pallet-structure = { default-features = false, path = "../../pallets/structure" }508pallet-structure = { default-features = false, path = "../../pallets/structure" }
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
28 'pallet-evm-coder-substrate/runtime-benchmarks',28 'pallet-evm-coder-substrate/runtime-benchmarks',
29 'pallet-balances/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',
30 'pallet-timestamp/runtime-benchmarks',30 'pallet-timestamp/runtime-benchmarks',
31 'pallet-configuration/runtime-benchmarks',
31 'pallet-common/runtime-benchmarks',32 'pallet-common/runtime-benchmarks',
32 'pallet-structure/runtime-benchmarks',33 'pallet-structure/runtime-benchmarks',
33 'pallet-fungible/runtime-benchmarks',34 'pallet-fungible/runtime-benchmarks',
38 'pallet-unique/runtime-benchmarks',39 'pallet-unique/runtime-benchmarks',
39 'pallet-foreign-assets/runtime-benchmarks',40 'pallet-foreign-assets/runtime-benchmarks',
40 'pallet-inflation/runtime-benchmarks',41 'pallet-inflation/runtime-benchmarks',
42 'pallet-collator-selection/runtime-benchmarks',
43 'pallet-identity/runtime-benchmarks',
41 'pallet-app-promotion/runtime-benchmarks',44 'pallet-app-promotion/runtime-benchmarks',
42 'pallet-xcm/runtime-benchmarks',45 'pallet-xcm/runtime-benchmarks',
43 'sp-runtime/runtime-benchmarks',46 'sp-runtime/runtime-benchmarks',
67 'pallet-xcm/try-runtime',70 'pallet-xcm/try-runtime',
68 'cumulus-pallet-xcm/try-runtime',71 'cumulus-pallet-xcm/try-runtime',
69 'cumulus-pallet-dmp-queue/try-runtime',72 'cumulus-pallet-dmp-queue/try-runtime',
73 "pallet-authorship/try-runtime",
74 "pallet-collator-selection/try-runtime",
75 "pallet-session/try-runtime",
76 "pallet-identity/try-runtime",
70 'pallet-inflation/try-runtime',77 'pallet-inflation/try-runtime',
71 'pallet-unique/try-runtime',78 'pallet-unique/try-runtime',
72 'pallet-configuration/try-runtime',79 'pallet-configuration/try-runtime',
108 # 'pallet-contracts-primitives/std',115 # 'pallet-contracts-primitives/std',
109 # 'pallet-contracts-rpc-runtime-api/std',116 # 'pallet-contracts-rpc-runtime-api/std',
110 # 'pallet-contract-helpers/std',117 # 'pallet-contract-helpers/std',
118 "pallet-authorship/std",
119 'pallet-collator-selection/std',
120 "pallet-session/std",
121 "pallet-identity/std",
111 'pallet-randomness-collective-flip/std',122 'pallet-randomness-collective-flip/std',
112 'pallet-sudo/std',123 'pallet-sudo/std',
113 'pallet-timestamp/std',124 'pallet-timestamp/std',
170 "pallet-maintenance/std",181 "pallet-maintenance/std",
171]182]
172limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']183limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
173quartz-runtime = ['refungible', 'app-promotion', 'foreign-assets']184quartz-runtime = ['refungible', 'app-promotion', 'collator-selection', 'foreign-assets']
174pov-estimate = []185pov-estimate = []
175186
176refungible = []187refungible = []
177scheduler = []188scheduler = []
178rmrk = []189rmrk = []
179foreign-assets = []190foreign-assets = []
191collator-selection = []
180app-promotion = []192app-promotion = []
181193
182################################################################################194################################################################################
241git = "https://github.com/paritytech/substrate"253git = "https://github.com/paritytech/substrate"
242branch = "polkadot-v0.9.36"254branch = "polkadot-v0.9.36"
255
256[dependencies.pallet-authorship]
257default-features = false
258git = 'https://github.com/paritytech/substrate'
259branch = 'polkadot-v0.9.36'
260
261[dependencies.pallet-session]
262default-features = false
263git = 'https://github.com/paritytech/substrate'
264branch = 'polkadot-v0.9.36'
243265
244[dependencies.pallet-balances]266[dependencies.pallet-balances]
245default-features = false267default-features = false
471pallet-inflation = { path = '../../pallets/inflation', default-features = false }493pallet-inflation = { path = '../../pallets/inflation', default-features = false }
472pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }494pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }
473up-data-structs = { path = '../../primitives/data-structs', default-features = false }495up-data-structs = { path = '../../primitives/data-structs', default-features = false }
496pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }
497pallet-identity = { default-features = false, path = "../../pallets/identity" }
474pallet-configuration = { default-features = false, path = "../../pallets/configuration" }498pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
475pallet-common = { default-features = false, path = "../../pallets/common" }499pallet-common = { default-features = false, path = "../../pallets/common" }
476pallet-structure = { default-features = false, path = "../../pallets/structure" }500pallet-structure = { default-features = false, path = "../../pallets/structure" }
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
28 'pallet-evm-coder-substrate/runtime-benchmarks',28 'pallet-evm-coder-substrate/runtime-benchmarks',
29 'pallet-balances/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',
30 'pallet-timestamp/runtime-benchmarks',30 'pallet-timestamp/runtime-benchmarks',
31 'pallet-configuration/runtime-benchmarks',
31 'pallet-common/runtime-benchmarks',32 'pallet-common/runtime-benchmarks',
32 'pallet-structure/runtime-benchmarks',33 'pallet-structure/runtime-benchmarks',
33 'pallet-fungible/runtime-benchmarks',34 'pallet-fungible/runtime-benchmarks',
38 'pallet-unique/runtime-benchmarks',39 'pallet-unique/runtime-benchmarks',
39 'pallet-foreign-assets/runtime-benchmarks',40 'pallet-foreign-assets/runtime-benchmarks',
40 'pallet-inflation/runtime-benchmarks',41 'pallet-inflation/runtime-benchmarks',
42 'pallet-collator-selection/runtime-benchmarks',
43 'pallet-identity/runtime-benchmarks',
41 'pallet-app-promotion/runtime-benchmarks',44 'pallet-app-promotion/runtime-benchmarks',
42 'pallet-xcm/runtime-benchmarks',45 'pallet-xcm/runtime-benchmarks',
43 'sp-runtime/runtime-benchmarks',46 'sp-runtime/runtime-benchmarks',
67 'pallet-xcm/try-runtime',70 'pallet-xcm/try-runtime',
68 'cumulus-pallet-xcm/try-runtime',71 'cumulus-pallet-xcm/try-runtime',
69 'cumulus-pallet-dmp-queue/try-runtime',72 'cumulus-pallet-dmp-queue/try-runtime',
73 "pallet-authorship/try-runtime",
74 "pallet-collator-selection/try-runtime",
75 "pallet-session/try-runtime",
76 "pallet-identity/try-runtime",
70 'pallet-inflation/try-runtime',77 'pallet-inflation/try-runtime',
71 'pallet-unique/try-runtime',78 'pallet-unique/try-runtime',
72 'pallet-configuration/try-runtime',79 'pallet-configuration/try-runtime',
108 # 'pallet-contracts-primitives/std',115 # 'pallet-contracts-primitives/std',
109 # 'pallet-contracts-rpc-runtime-api/std',116 # 'pallet-contracts-rpc-runtime-api/std',
110 # 'pallet-contract-helpers/std',117 # 'pallet-contract-helpers/std',
118 "pallet-authorship/std",
119 'pallet-collator-selection/std',
120 "pallet-session/std",
121 "pallet-identity/std",
111 'pallet-randomness-collective-flip/std',122 'pallet-randomness-collective-flip/std',
112 'pallet-sudo/std',123 'pallet-sudo/std',
113 'pallet-timestamp/std',124 'pallet-timestamp/std',
178scheduler = []189scheduler = []
179rmrk = []190rmrk = []
180foreign-assets = []191foreign-assets = []
192collator-selection = []
181193
182################################################################################194################################################################################
183# Substrate Dependencies195# Substrate Dependencies
241git = "https://github.com/paritytech/substrate"253git = "https://github.com/paritytech/substrate"
242branch = "polkadot-v0.9.36"254branch = "polkadot-v0.9.36"
255
256[dependencies.pallet-authorship]
257default-features = false
258git = 'https://github.com/paritytech/substrate'
259branch = 'polkadot-v0.9.36'
260
261[dependencies.pallet-session]
262default-features = false
263git = 'https://github.com/paritytech/substrate'
264branch = 'polkadot-v0.9.36'
243265
244[dependencies.pallet-balances]266[dependencies.pallet-balances]
245default-features = false267default-features = false
462pallet-inflation = { path = '../../pallets/inflation', default-features = false }484pallet-inflation = { path = '../../pallets/inflation', default-features = false }
463pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }485pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }
464up-data-structs = { path = '../../primitives/data-structs', default-features = false }486up-data-structs = { path = '../../primitives/data-structs', default-features = false }
487pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }
488pallet-identity = { default-features = false, path = "../../pallets/identity" }
465pallet-configuration = { default-features = false, path = "../../pallets/configuration" }489pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
466pallet-common = { default-features = false, path = "../../pallets/common" }490pallet-common = { default-features = false, path = "../../pallets/common" }
467pallet-structure = { default-features = false, path = "../../pallets/structure" }491pallet-structure = { default-features = false, path = "../../pallets/structure" }
modifiedtests/package.jsondiffbeforeafterboth
31 "lint": "eslint --ext .ts,.js src/",31 "lint": "eslint --ext .ts,.js src/",
32 "fix": "eslint --ext .ts,.js src/ --fix",32 "fix": "eslint --ext .ts,.js src/ --fix",
33 "setup": "ts-node ./src/util/globalSetup.ts",33 "setup": "ts-node ./src/util/globalSetup.ts",
34 "setIdentities": "ts-node ./src/util/identitySetter.ts",
34 "test": "yarn setup && mocha --timeout 9999999 -r ts-node/register './src/**/*.*test.ts'",35 "test": "yarn setup && mocha --timeout 9999999 -r ts-node/register './src/**/*.*test.ts'",
35 "testParallelFull": "yarn testParallel && yarn testSequential",36 "testParallelFull": "yarn testParallel && yarn testSequential",
36 "testParallel": "yarn setup && mocha --parallel --timeout 9999999 -r ts-node/register './src/**/*.test.ts'",37 "testParallel": "yarn setup && mocha --parallel --timeout 9999999 -r ts-node/register './src/**/*.test.ts'",
87 "testSchedulingEVM": "mocha --timeout 9999999 -r ts-node/register ./**/eth/scheduling.test.ts",88 "testSchedulingEVM": "mocha --timeout 9999999 -r ts-node/register ./**/eth/scheduling.test.ts",
88 "testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts",89 "testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts",
89 "testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts",90 "testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts",
91 "testCollatorSelection": "mocha --timeout 9999999 -r ts-node/register ./**/collatorSelection.*test.ts",
92 "testIdentity": "mocha --timeout 9999999 -r ts-node/register ./**/identity.*test.ts",
90 "testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts",93 "testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts",
91 "testLimits": "mocha --timeout 9999999 -r ts-node/register ./**/limits.test.ts",94 "testLimits": "mocha --timeout 9999999 -r ts-node/register ./**/limits.test.ts",
92 "testEthCreateNFTCollection": "mocha --timeout 9999999 -r ts-node/register ./**/eth/createNFTCollection.test.ts",95 "testEthCreateNFTCollection": "mocha --timeout 9999999 -r ts-node/register ./**/eth/createNFTCollection.test.ts",
modifiedtests/src/.outdated/substrate/substrate-api.tsdiffbeforeafterboth
41 extrinsic: {},41 extrinsic: {},
42 payload: {},42 payload: {},
43 },43 },
44 DisableIdentityCalls: {
45 extrinsic: {},
46 payload: {},
47 },
44 FakeTransactionFinalizer: {48 FakeTransactionFinalizer: {
45 extrinsic: {},49 extrinsic: {},
46 payload: {},50 payload: {},
addedtests/src/collatorSelection.seqtest.tsdiffbeforeafterboth

no changes

addedtests/src/identity.seqtest.tsdiffbeforeafterboth

no changes

modifiedtests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth
81 configuration: {81 configuration: {
82 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;82 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;
83 dayRelayBlocks: u32 & AugmentedConst<ApiType>;83 dayRelayBlocks: u32 & AugmentedConst<ApiType>;
84 defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;
85 defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;
86 defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;
84 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;87 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;
85 defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;88 defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;
86 maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;89 maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
194 **/194 **/
195 [key: string]: AugmentedEvent<ApiType>;195 [key: string]: AugmentedEvent<ApiType>;
196 };196 };
197 configuration: {
198 NewCollatorKickThreshold: AugmentedEvent<ApiType, [lengthInBlocks: Option<u32>], { lengthInBlocks: Option<u32> }>;
199 NewCollatorLicenseBond: AugmentedEvent<ApiType, [bondCost: Option<u128>], { bondCost: Option<u128> }>;
200 NewDesiredCollators: AugmentedEvent<ApiType, [desiredCollators: Option<u32>], { desiredCollators: Option<u32> }>;
201 /**
202 * Generic event
203 **/
204 [key: string]: AugmentedEvent<ApiType>;
205 };
197 cumulusXcm: {206 cumulusXcm: {
198 /**207 /**
199 * Downward message executed with the given outcome.208 * Downward message executed with the given outcome.
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
159 };159 };
160 configuration: {160 configuration: {
161 appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;161 appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
162 collatorSelectionDesiredCollatorsOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
163 collatorSelectionKickThresholdOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
164 collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
162 minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;165 minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
163 weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;166 weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
164 xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;167 xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
216 };216 };
217 configuration: {217 configuration: {
218 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;218 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;
219 setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
220 setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
221 setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;
219 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;222 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
220 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;223 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
221 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;224 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions
6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';
77
8import 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, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';8import 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, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
9import type { Data, StorageKey } from '@polkadot/types';9import type { Data, StorageKey } from '@polkadot/types';
10import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';10import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
772 Offender: Offender;772 Offender: Offender;
773 OldV1SessionInfo: OldV1SessionInfo;773 OldV1SessionInfo: OldV1SessionInfo;
774 OpalRuntimeRuntime: OpalRuntimeRuntime;774 OpalRuntimeRuntime: OpalRuntimeRuntime;
775 OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls;
775 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;776 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
776 OpaqueCall: OpaqueCall;777 OpaqueCall: OpaqueCall;
777 OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;778 OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;
831 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;832 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
832 PalletConfigurationCall: PalletConfigurationCall;833 PalletConfigurationCall: PalletConfigurationCall;
833 PalletConfigurationError: PalletConfigurationError;834 PalletConfigurationError: PalletConfigurationError;
835 PalletConfigurationEvent: PalletConfigurationEvent;
834 PalletConstantMetadataLatest: PalletConstantMetadataLatest;836 PalletConstantMetadataLatest: PalletConstantMetadataLatest;
835 PalletConstantMetadataV14: PalletConstantMetadataV14;837 PalletConstantMetadataV14: PalletConstantMetadataV14;
836 PalletErrorMetadataLatest: PalletErrorMetadataLatest;838 PalletErrorMetadataLatest: PalletErrorMetadataLatest;
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
692/** @name OpalRuntimeRuntime */692/** @name OpalRuntimeRuntime */
693export interface OpalRuntimeRuntime extends Null {}693export interface OpalRuntimeRuntime extends Null {}
694
695/** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls */
696export interface OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls extends Null {}
694697
695/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */698/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
696export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}699export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
1306 readonly asSetAppPromotionConfigurationOverride: {1309 readonly asSetAppPromotionConfigurationOverride: {
1307 readonly configuration: PalletConfigurationAppPromotionConfiguration;1310 readonly configuration: PalletConfigurationAppPromotionConfiguration;
1308 } & Struct;1311 } & Struct;
1312 readonly isSetCollatorSelectionDesiredCollators: boolean;
1313 readonly asSetCollatorSelectionDesiredCollators: {
1314 readonly max: Option<u32>;
1315 } & Struct;
1316 readonly isSetCollatorSelectionLicenseBond: boolean;
1317 readonly asSetCollatorSelectionLicenseBond: {
1318 readonly amount: Option<u128>;
1319 } & Struct;
1320 readonly isSetCollatorSelectionKickThreshold: boolean;
1321 readonly asSetCollatorSelectionKickThreshold: {
1322 readonly threshold: Option<u32>;
1323 } & Struct;
1309 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';1324 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
1310}1325}
13111326
1312/** @name PalletConfigurationError */1327/** @name PalletConfigurationError */
1315 readonly type: 'InconsistentConfiguration';1330 readonly type: 'InconsistentConfiguration';
1316}1331}
1332
1333/** @name PalletConfigurationEvent */
1334export interface PalletConfigurationEvent extends Enum {
1335 readonly isNewDesiredCollators: boolean;
1336 readonly asNewDesiredCollators: {
1337 readonly desiredCollators: Option<u32>;
1338 } & Struct;
1339 readonly isNewCollatorLicenseBond: boolean;
1340 readonly asNewCollatorLicenseBond: {
1341 readonly bondCost: Option<u128>;
1342 } & Struct;
1343 readonly isNewCollatorKickThreshold: boolean;
1344 readonly asNewCollatorKickThreshold: {
1345 readonly lengthInBlocks: Option<u32>;
1346 } & Struct;
1347 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
1348}
13171349
1318/** @name PalletEthereumCall */1350/** @name PalletEthereumCall */
1319export interface PalletEthereumCall extends Enum {1351export interface PalletEthereumCall extends Enum {
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
988 }988 }
989 }989 }
990 },990 },
991 /**
992 * Lookup89: pallet_configuration::pallet::Event<T>
993 **/
994 PalletConfigurationEvent: {
995 _enum: {
996 NewDesiredCollators: {
997 desiredCollators: 'Option<u32>',
998 },
999 NewCollatorLicenseBond: {
1000 bondCost: 'Option<u128>',
1001 },
1002 NewCollatorKickThreshold: {
1003 lengthInBlocks: 'Option<u32>'
1004 }
1005 }
1006 },
991 /**1007 /**
992 * Lookup89: pallet_common::pallet::Event<T>1008 * Lookup92: pallet_common::pallet::Event<T>
993 **/1009 **/
994 PalletCommonEvent: {1010 PalletCommonEvent: {
995 _enum: {1011 _enum: {
996 CollectionCreated: '(u32,u8,AccountId32)',1012 CollectionCreated: '(u32,u8,AccountId32)',
1017 CollectionSponsorRemoved: 'u32'1033 CollectionSponsorRemoved: 'u32'
1018 }1034 }
1019 },1035 },
1020 /**1036 /**
1021 * Lookup92: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1037 * Lookup95: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
1022 **/1038 **/
1023 PalletEvmAccountBasicCrossAccountIdRepr: {1039 PalletEvmAccountBasicCrossAccountIdRepr: {
1024 _enum: {1040 _enum: {
1025 Substrate: 'AccountId32',1041 Substrate: 'AccountId32',
1026 Ethereum: 'H160'1042 Ethereum: 'H160'
1027 }1043 }
1028 },1044 },
1029 /**1045 /**
1030 * Lookup96: pallet_structure::pallet::Event<T>1046 * Lookup99: pallet_structure::pallet::Event<T>
1031 **/1047 **/
1032 PalletStructureEvent: {1048 PalletStructureEvent: {
1033 _enum: {1049 _enum: {
1034 Executed: 'Result<Null, SpRuntimeDispatchError>'1050 Executed: 'Result<Null, SpRuntimeDispatchError>'
1035 }1051 }
1036 },1052 },
1037 /**1053 /**
1038 * Lookup97: pallet_rmrk_core::pallet::Event<T>1054 * Lookup100: pallet_rmrk_core::pallet::Event<T>
1039 **/1055 **/
1040 PalletRmrkCoreEvent: {1056 PalletRmrkCoreEvent: {
1041 _enum: {1057 _enum: {
1042 CollectionCreated: {1058 CollectionCreated: {
1111 }1127 }
1112 }1128 }
1113 },1129 },
1114 /**1130 /**
1115 * Lookup98: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1131 * Lookup101: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
1116 **/1132 **/
1117 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1133 RmrkTraitsNftAccountIdOrCollectionNftTuple: {
1118 _enum: {1134 _enum: {
1119 AccountId: 'AccountId32',1135 AccountId: 'AccountId32',
1120 CollectionAndNftTuple: '(u32,u32)'1136 CollectionAndNftTuple: '(u32,u32)'
1121 }1137 }
1122 },1138 },
1123 /**1139 /**
1124 * Lookup102: pallet_rmrk_equip::pallet::Event<T>1140 * Lookup104: pallet_rmrk_equip::pallet::Event<T>
1125 **/1141 **/
1126 PalletRmrkEquipEvent: {1142 PalletRmrkEquipEvent: {
1127 _enum: {1143 _enum: {
1128 BaseCreated: {1144 BaseCreated: {
1135 }1151 }
1136 }1152 }
1137 },1153 },
1138 /**1154 /**
1139 * Lookup103: pallet_app_promotion::pallet::Event<T>1155 * Lookup105: pallet_app_promotion::pallet::Event<T>
1140 **/1156 **/
1141 PalletAppPromotionEvent: {1157 PalletAppPromotionEvent: {
1142 _enum: {1158 _enum: {
1143 StakingRecalculation: '(AccountId32,u128,u128)',1159 StakingRecalculation: '(AccountId32,u128,u128)',
1146 SetAdmin: 'AccountId32'1162 SetAdmin: 'AccountId32'
1147 }1163 }
1148 },1164 },
1149 /**1165 /**
1150 * Lookup104: pallet_foreign_assets::module::Event<T>1166 * Lookup106: pallet_foreign_assets::module::Event<T>
1151 **/1167 **/
1152 PalletForeignAssetsModuleEvent: {1168 PalletForeignAssetsModuleEvent: {
1153 _enum: {1169 _enum: {
1154 ForeignAssetRegistered: {1170 ForeignAssetRegistered: {
1171 }1187 }
1172 }1188 }
1173 },1189 },
1174 /**1190 /**
1175 * Lookup105: pallet_foreign_assets::module::AssetMetadata<Balance>1191 * Lookup107: pallet_foreign_assets::module::AssetMetadata<Balance>
1176 **/1192 **/
1177 PalletForeignAssetsModuleAssetMetadata: {1193 PalletForeignAssetsModuleAssetMetadata: {
1178 name: 'Bytes',1194 name: 'Bytes',
1179 symbol: 'Bytes',1195 symbol: 'Bytes',
1180 decimals: 'u8',1196 decimals: 'u8',
1181 minimalBalance: 'u128'1197 minimalBalance: 'u128'
1182 },1198 },
1183 /**1199 /**
1184 * Lookup106: pallet_evm::pallet::Event<T>1200 * Lookup108: pallet_evm::pallet::Event<T>
1185 **/1201 **/
1186 PalletEvmEvent: {1202 PalletEvmEvent: {
1187 _enum: {1203 _enum: {
1188 Log: {1204 Log: {
1202 }1218 }
1203 }1219 }
1204 },1220 },
1205 /**1221 /**
1206 * Lookup107: ethereum::log::Log1222 * Lookup109: ethereum::log::Log
1207 **/1223 **/
1208 EthereumLog: {1224 EthereumLog: {
1209 address: 'H160',1225 address: 'H160',
1210 topics: 'Vec<H256>',1226 topics: 'Vec<H256>',
1211 data: 'Bytes'1227 data: 'Bytes'
1212 },1228 },
1213 /**1229 /**
1214 * Lookup109: pallet_ethereum::pallet::Event1230 * Lookup111: pallet_ethereum::pallet::Event
1215 **/1231 **/
1216 PalletEthereumEvent: {1232 PalletEthereumEvent: {
1217 _enum: {1233 _enum: {
1218 Executed: {1234 Executed: {
1223 }1239 }
1224 }1240 }
1225 },1241 },
1226 /**1242 /**
1227 * Lookup110: evm_core::error::ExitReason1243 * Lookup112: evm_core::error::ExitReason
1228 **/1244 **/
1229 EvmCoreErrorExitReason: {1245 EvmCoreErrorExitReason: {
1230 _enum: {1246 _enum: {
1231 Succeed: 'EvmCoreErrorExitSucceed',1247 Succeed: 'EvmCoreErrorExitSucceed',
1234 Fatal: 'EvmCoreErrorExitFatal'1250 Fatal: 'EvmCoreErrorExitFatal'
1235 }1251 }
1236 },1252 },
1237 /**1253 /**
1238 * Lookup111: evm_core::error::ExitSucceed1254 * Lookup113: evm_core::error::ExitSucceed
1239 **/1255 **/
1240 EvmCoreErrorExitSucceed: {1256 EvmCoreErrorExitSucceed: {
1241 _enum: ['Stopped', 'Returned', 'Suicided']1257 _enum: ['Stopped', 'Returned', 'Suicided']
1242 },1258 },
1243 /**1259 /**
1244 * Lookup112: evm_core::error::ExitError1260 * Lookup114: evm_core::error::ExitError
1245 **/1261 **/
1246 EvmCoreErrorExitError: {1262 EvmCoreErrorExitError: {
1247 _enum: {1263 _enum: {
1248 StackUnderflow: 'Null',1264 StackUnderflow: 'Null',
1262 InvalidCode: 'Null'1278 InvalidCode: 'Null'
1263 }1279 }
1264 },1280 },
1265 /**1281 /**
1266 * Lookup115: evm_core::error::ExitRevert1282 * Lookup117: evm_core::error::ExitRevert
1267 **/1283 **/
1268 EvmCoreErrorExitRevert: {1284 EvmCoreErrorExitRevert: {
1269 _enum: ['Reverted']1285 _enum: ['Reverted']
1270 },1286 },
1271 /**1287 /**
1272 * Lookup116: evm_core::error::ExitFatal1288 * Lookup118: evm_core::error::ExitFatal
1273 **/1289 **/
1274 EvmCoreErrorExitFatal: {1290 EvmCoreErrorExitFatal: {
1275 _enum: {1291 _enum: {
1276 NotSupported: 'Null',1292 NotSupported: 'Null',
1279 Other: 'Text'1295 Other: 'Text'
1280 }1296 }
1281 },1297 },
1282 /**1298 /**
1283 * Lookup117: pallet_evm_contract_helpers::pallet::Event<T>1299 * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>
1284 **/1300 **/
1285 PalletEvmContractHelpersEvent: {1301 PalletEvmContractHelpersEvent: {
1286 _enum: {1302 _enum: {
1287 ContractSponsorSet: '(H160,AccountId32)',1303 ContractSponsorSet: '(H160,AccountId32)',
1288 ContractSponsorshipConfirmed: '(H160,AccountId32)',1304 ContractSponsorshipConfirmed: '(H160,AccountId32)',
1289 ContractSponsorRemoved: 'H160'1305 ContractSponsorRemoved: 'H160'
1290 }1306 }
1291 },1307 },
1292 /**1308 /**
1293 * Lookup118: pallet_evm_migration::pallet::Event<T>1309 * Lookup120: pallet_evm_migration::pallet::Event<T>
1294 **/1310 **/
1295 PalletEvmMigrationEvent: {1311 PalletEvmMigrationEvent: {
1296 _enum: ['TestEvent']1312 _enum: ['TestEvent']
1297 },1313 },
1298 /**1314 /**
1299 * Lookup119: pallet_maintenance::pallet::Event<T>1315 * Lookup121: pallet_maintenance::pallet::Event<T>
1300 **/1316 **/
1301 PalletMaintenanceEvent: {1317 PalletMaintenanceEvent: {
1302 _enum: ['MaintenanceEnabled', 'MaintenanceDisabled']1318 _enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
1303 },1319 },
1304 /**1320 /**
1305 * Lookup120: pallet_test_utils::pallet::Event<T>1321 * Lookup122: pallet_test_utils::pallet::Event<T>
1306 **/1322 **/
1307 PalletTestUtilsEvent: {1323 PalletTestUtilsEvent: {
1308 _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']1324 _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']
1309 },1325 },
1310 /**1326 /**
1311 * Lookup121: frame_system::Phase1327 * Lookup123: frame_system::Phase
1312 **/1328 **/
1313 FrameSystemPhase: {1329 FrameSystemPhase: {
1314 _enum: {1330 _enum: {
1315 ApplyExtrinsic: 'u32',1331 ApplyExtrinsic: 'u32',
1316 Finalization: 'Null',1332 Finalization: 'Null',
1317 Initialization: 'Null'1333 Initialization: 'Null'
1318 }1334 }
1319 },1335 },
1320 /**1336 /**
1321 * Lookup124: frame_system::LastRuntimeUpgradeInfo1337 * Lookup126: frame_system::LastRuntimeUpgradeInfo
1322 **/1338 **/
1323 FrameSystemLastRuntimeUpgradeInfo: {1339 FrameSystemLastRuntimeUpgradeInfo: {
1324 specVersion: 'Compact<u32>',1340 specVersion: 'Compact<u32>',
1325 specName: 'Text'1341 specName: 'Text'
1326 },1342 },
1327 /**1343 /**
1328 * Lookup125: frame_system::pallet::Call<T>1344 * Lookup127: frame_system::pallet::Call<T>
1329 **/1345 **/
1330 FrameSystemCall: {1346 FrameSystemCall: {
1331 _enum: {1347 _enum: {
1332 remark: {1348 remark: {
1359 }1375 }
1360 }1376 }
1361 },1377 },
1362 /**1378 /**
1363 * Lookup129: frame_system::limits::BlockWeights1379 * Lookup131: frame_system::limits::BlockWeights
1364 **/1380 **/
1365 FrameSystemLimitsBlockWeights: {1381 FrameSystemLimitsBlockWeights: {
1366 baseBlock: 'SpWeightsWeightV2Weight',1382 baseBlock: 'SpWeightsWeightV2Weight',
1367 maxBlock: 'SpWeightsWeightV2Weight',1383 maxBlock: 'SpWeightsWeightV2Weight',
1368 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'1384 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
1369 },1385 },
1370 /**1386 /**
1371 * Lookup130: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>1387 * Lookup132: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
1372 **/1388 **/
1373 FrameSupportDispatchPerDispatchClassWeightsPerClass: {1389 FrameSupportDispatchPerDispatchClassWeightsPerClass: {
1374 normal: 'FrameSystemLimitsWeightsPerClass',1390 normal: 'FrameSystemLimitsWeightsPerClass',
1375 operational: 'FrameSystemLimitsWeightsPerClass',1391 operational: 'FrameSystemLimitsWeightsPerClass',
1376 mandatory: 'FrameSystemLimitsWeightsPerClass'1392 mandatory: 'FrameSystemLimitsWeightsPerClass'
1377 },1393 },
1378 /**1394 /**
1379 * Lookup131: frame_system::limits::WeightsPerClass1395 * Lookup133: frame_system::limits::WeightsPerClass
1380 **/1396 **/
1381 FrameSystemLimitsWeightsPerClass: {1397 FrameSystemLimitsWeightsPerClass: {
1382 baseExtrinsic: 'SpWeightsWeightV2Weight',1398 baseExtrinsic: 'SpWeightsWeightV2Weight',
1383 maxExtrinsic: 'Option<SpWeightsWeightV2Weight>',1399 maxExtrinsic: 'Option<SpWeightsWeightV2Weight>',
1384 maxTotal: 'Option<SpWeightsWeightV2Weight>',1400 maxTotal: 'Option<SpWeightsWeightV2Weight>',
1385 reserved: 'Option<SpWeightsWeightV2Weight>'1401 reserved: 'Option<SpWeightsWeightV2Weight>'
1386 },1402 },
1387 /**1403 /**
1388 * Lookup133: frame_system::limits::BlockLength1404 * Lookup135: frame_system::limits::BlockLength
1389 **/1405 **/
1390 FrameSystemLimitsBlockLength: {1406 FrameSystemLimitsBlockLength: {
1391 max: 'FrameSupportDispatchPerDispatchClassU32'1407 max: 'FrameSupportDispatchPerDispatchClassU32'
1392 },1408 },
1393 /**1409 /**
1394 * Lookup134: frame_support::dispatch::PerDispatchClass<T>1410 * Lookup136: frame_support::dispatch::PerDispatchClass<T>
1395 **/1411 **/
1396 FrameSupportDispatchPerDispatchClassU32: {1412 FrameSupportDispatchPerDispatchClassU32: {
1397 normal: 'u32',1413 normal: 'u32',
1398 operational: 'u32',1414 operational: 'u32',
1399 mandatory: 'u32'1415 mandatory: 'u32'
1400 },1416 },
1401 /**1417 /**
1402 * Lookup135: sp_weights::RuntimeDbWeight1418 * Lookup137: sp_weights::RuntimeDbWeight
1403 **/1419 **/
1404 SpWeightsRuntimeDbWeight: {1420 SpWeightsRuntimeDbWeight: {
1405 read: 'u64',1421 read: 'u64',
1406 write: 'u64'1422 write: 'u64'
1407 },1423 },
1408 /**1424 /**
1409 * Lookup136: sp_version::RuntimeVersion1425 * Lookup138: sp_version::RuntimeVersion
1410 **/1426 **/
1411 SpVersionRuntimeVersion: {1427 SpVersionRuntimeVersion: {
1412 specName: 'Text',1428 specName: 'Text',
1413 implName: 'Text',1429 implName: 'Text',
1418 transactionVersion: 'u32',1434 transactionVersion: 'u32',
1419 stateVersion: 'u8'1435 stateVersion: 'u8'
1420 },1436 },
1421 /**1437 /**
1422 * Lookup141: frame_system::pallet::Error<T>1438 * Lookup143: frame_system::pallet::Error<T>
1423 **/1439 **/
1424 FrameSystemError: {1440 FrameSystemError: {
1425 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1441 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
1426 },1442 },
1427 /**1443 /**
1428 * Lookup142: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1444 * Lookup144: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
1429 **/1445 **/
1430 PolkadotPrimitivesV2PersistedValidationData: {1446 PolkadotPrimitivesV2PersistedValidationData: {
1431 parentHead: 'Bytes',1447 parentHead: 'Bytes',
1432 relayParentNumber: 'u32',1448 relayParentNumber: 'u32',
1433 relayParentStorageRoot: 'H256',1449 relayParentStorageRoot: 'H256',
1434 maxPovSize: 'u32'1450 maxPovSize: 'u32'
1435 },1451 },
1436 /**1452 /**
1437 * Lookup145: polkadot_primitives::v2::UpgradeRestriction1453 * Lookup147: polkadot_primitives::v2::UpgradeRestriction
1438 **/1454 **/
1439 PolkadotPrimitivesV2UpgradeRestriction: {1455 PolkadotPrimitivesV2UpgradeRestriction: {
1440 _enum: ['Present']1456 _enum: ['Present']
1441 },1457 },
1442 /**1458 /**
1443 * Lookup146: sp_trie::storage_proof::StorageProof1459 * Lookup148: sp_trie::storage_proof::StorageProof
1444 **/1460 **/
1445 SpTrieStorageProof: {1461 SpTrieStorageProof: {
1446 trieNodes: 'BTreeSet<Bytes>'1462 trieNodes: 'BTreeSet<Bytes>'
1447 },1463 },
1448 /**1464 /**
1449 * Lookup148: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1465 * Lookup150: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
1450 **/1466 **/
1451 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1467 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
1452 dmqMqcHead: 'H256',1468 dmqMqcHead: 'H256',
1453 relayDispatchQueueSize: '(u32,u32)',1469 relayDispatchQueueSize: '(u32,u32)',
1454 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1470 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',
1455 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1471 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
1456 },1472 },
1457 /**1473 /**
1458 * Lookup151: polkadot_primitives::v2::AbridgedHrmpChannel1474 * Lookup153: polkadot_primitives::v2::AbridgedHrmpChannel
1459 **/1475 **/
1460 PolkadotPrimitivesV2AbridgedHrmpChannel: {1476 PolkadotPrimitivesV2AbridgedHrmpChannel: {
1461 maxCapacity: 'u32',1477 maxCapacity: 'u32',
1462 maxTotalSize: 'u32',1478 maxTotalSize: 'u32',
1465 totalSize: 'u32',1481 totalSize: 'u32',
1466 mqcHead: 'Option<H256>'1482 mqcHead: 'Option<H256>'
1467 },1483 },
1468 /**1484 /**
1469 * Lookup152: polkadot_primitives::v2::AbridgedHostConfiguration1485 * Lookup154: polkadot_primitives::v2::AbridgedHostConfiguration
1470 **/1486 **/
1471 PolkadotPrimitivesV2AbridgedHostConfiguration: {1487 PolkadotPrimitivesV2AbridgedHostConfiguration: {
1472 maxCodeSize: 'u32',1488 maxCodeSize: 'u32',
1473 maxHeadDataSize: 'u32',1489 maxHeadDataSize: 'u32',
1479 validationUpgradeCooldown: 'u32',1495 validationUpgradeCooldown: 'u32',
1480 validationUpgradeDelay: 'u32'1496 validationUpgradeDelay: 'u32'
1481 },1497 },
1482 /**1498 /**
1483 * Lookup158: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1499 * Lookup160: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
1484 **/1500 **/
1485 PolkadotCorePrimitivesOutboundHrmpMessage: {1501 PolkadotCorePrimitivesOutboundHrmpMessage: {
1486 recipient: 'u32',1502 recipient: 'u32',
1487 data: 'Bytes'1503 data: 'Bytes'
1488 },1504 },
1489 /**1505 /**
1490 * Lookup159: cumulus_pallet_parachain_system::pallet::Call<T>1506 * Lookup161: cumulus_pallet_parachain_system::pallet::Call<T>
1491 **/1507 **/
1492 CumulusPalletParachainSystemCall: {1508 CumulusPalletParachainSystemCall: {
1493 _enum: {1509 _enum: {
1494 set_validation_data: {1510 set_validation_data: {
1505 }1521 }
1506 }1522 }
1507 },1523 },
1508 /**1524 /**
1509 * Lookup160: cumulus_primitives_parachain_inherent::ParachainInherentData1525 * Lookup162: cumulus_primitives_parachain_inherent::ParachainInherentData
1510 **/1526 **/
1511 CumulusPrimitivesParachainInherentParachainInherentData: {1527 CumulusPrimitivesParachainInherentParachainInherentData: {
1512 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1528 validationData: 'PolkadotPrimitivesV2PersistedValidationData',
1513 relayChainState: 'SpTrieStorageProof',1529 relayChainState: 'SpTrieStorageProof',
1514 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1530 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',
1515 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1531 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
1516 },1532 },
1517 /**1533 /**
1518 * Lookup162: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1534 * Lookup164: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
1519 **/1535 **/
1520 PolkadotCorePrimitivesInboundDownwardMessage: {1536 PolkadotCorePrimitivesInboundDownwardMessage: {
1521 sentAt: 'u32',1537 sentAt: 'u32',
1522 msg: 'Bytes'1538 msg: 'Bytes'
1523 },1539 },
1524 /**1540 /**
1525 * Lookup165: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1541 * Lookup167: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
1526 **/1542 **/
1527 PolkadotCorePrimitivesInboundHrmpMessage: {1543 PolkadotCorePrimitivesInboundHrmpMessage: {
1528 sentAt: 'u32',1544 sentAt: 'u32',
1529 data: 'Bytes'1545 data: 'Bytes'
1530 },1546 },
1531 /**1547 /**
1532 * Lookup168: cumulus_pallet_parachain_system::pallet::Error<T>1548 * Lookup170: cumulus_pallet_parachain_system::pallet::Error<T>
1533 **/1549 **/
1534 CumulusPalletParachainSystemError: {1550 CumulusPalletParachainSystemError: {
1535 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1551 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
1536 },1552 },
1537 /**1553 /**
1538 * Lookup170: pallet_balances::BalanceLock<Balance>1554 * Lookup172: pallet_balances::BalanceLock<Balance>
1539 **/1555 **/
1540 PalletBalancesBalanceLock: {1556 PalletBalancesBalanceLock: {
1541 id: '[u8;8]',1557 id: '[u8;8]',
1542 amount: 'u128',1558 amount: 'u128',
1543 reasons: 'PalletBalancesReasons'1559 reasons: 'PalletBalancesReasons'
1544 },1560 },
1545 /**1561 /**
1546 * Lookup171: pallet_balances::Reasons1562 * Lookup173: pallet_balances::Reasons
1547 **/1563 **/
1548 PalletBalancesReasons: {1564 PalletBalancesReasons: {
1549 _enum: ['Fee', 'Misc', 'All']1565 _enum: ['Fee', 'Misc', 'All']
1550 },1566 },
1551 /**1567 /**
1552 * Lookup174: pallet_balances::ReserveData<ReserveIdentifier, Balance>1568 * Lookup176: pallet_balances::ReserveData<ReserveIdentifier, Balance>
1553 **/1569 **/
1554 PalletBalancesReserveData: {1570 PalletBalancesReserveData: {
1555 id: '[u8;16]',1571 id: '[u8;16]',
1556 amount: 'u128'1572 amount: 'u128'
1557 },1573 },
1558 /**1574 /**
1559 * Lookup176: pallet_balances::pallet::Call<T, I>1575 * Lookup178: pallet_balances::pallet::Call<T, I>
1560 **/1576 **/
1561 PalletBalancesCall: {1577 PalletBalancesCall: {
1562 _enum: {1578 _enum: {
1563 transfer: {1579 transfer: {
1588 }1604 }
1589 }1605 }
1590 },1606 },
1591 /**1607 /**
1592 * Lookup179: pallet_balances::pallet::Error<T, I>1608 * Lookup181: pallet_balances::pallet::Error<T, I>
1593 **/1609 **/
1594 PalletBalancesError: {1610 PalletBalancesError: {
1595 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1611 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
1596 },1612 },
1597 /**1613 /**
1598 * Lookup181: pallet_timestamp::pallet::Call<T>1614 * Lookup183: pallet_timestamp::pallet::Call<T>
1599 **/1615 **/
1600 PalletTimestampCall: {1616 PalletTimestampCall: {
1601 _enum: {1617 _enum: {
1602 set: {1618 set: {
1603 now: 'Compact<u64>'1619 now: 'Compact<u64>'
1604 }1620 }
1605 }1621 }
1606 },1622 },
1607 /**1623 /**
1608 * Lookup183: pallet_transaction_payment::Releases1624 * Lookup185: pallet_transaction_payment::Releases
1609 **/1625 **/
1610 PalletTransactionPaymentReleases: {1626 PalletTransactionPaymentReleases: {
1611 _enum: ['V1Ancient', 'V2']1627 _enum: ['V1Ancient', 'V2']
1612 },1628 },
1613 /**1629 /**
1614 * Lookup184: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1630 * Lookup186: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
1615 **/1631 **/
1616 PalletTreasuryProposal: {1632 PalletTreasuryProposal: {
1617 proposer: 'AccountId32',1633 proposer: 'AccountId32',
1618 value: 'u128',1634 value: 'u128',
1619 beneficiary: 'AccountId32',1635 beneficiary: 'AccountId32',
1620 bond: 'u128'1636 bond: 'u128'
1621 },1637 },
1622 /**1638 /**
1623 * Lookup187: pallet_treasury::pallet::Call<T, I>1639 * Lookup189: pallet_treasury::pallet::Call<T, I>
1624 **/1640 **/
1625 PalletTreasuryCall: {1641 PalletTreasuryCall: {
1626 _enum: {1642 _enum: {
1627 propose_spend: {1643 propose_spend: {
1643 }1659 }
1644 }1660 }
1645 },1661 },
1646 /**1662 /**
1647 * Lookup190: frame_support::PalletId1663 * Lookup191: frame_support::PalletId
1648 **/1664 **/
1649 FrameSupportPalletId: '[u8;8]',1665 FrameSupportPalletId: '[u8;8]',
1650 /**1666 /**
1651 * Lookup191: pallet_treasury::pallet::Error<T, I>1667 * Lookup192: pallet_treasury::pallet::Error<T, I>
1652 **/1668 **/
1653 PalletTreasuryError: {1669 PalletTreasuryError: {
1654 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1670 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
1655 },1671 },
1656 /**1672 /**
1657 * Lookup192: pallet_sudo::pallet::Call<T>1673 * Lookup193: pallet_sudo::pallet::Call<T>
1658 **/1674 **/
1659 PalletSudoCall: {1675 PalletSudoCall: {
1660 _enum: {1676 _enum: {
1661 sudo: {1677 sudo: {
1677 }1693 }
1678 }1694 }
1679 },1695 },
1680 /**1696 /**
1681 * Lookup194: orml_vesting::module::Call<T>1697 * Lookup195: orml_vesting::module::Call<T>
1682 **/1698 **/
1683 OrmlVestingModuleCall: {1699 OrmlVestingModuleCall: {
1684 _enum: {1700 _enum: {
1685 claim: 'Null',1701 claim: 'Null',
1696 }1712 }
1697 }1713 }
1698 },1714 },
1699 /**1715 /**
1700 * Lookup196: orml_xtokens::module::Call<T>1716 * Lookup197: orml_xtokens::module::Call<T>
1701 **/1717 **/
1702 OrmlXtokensModuleCall: {1718 OrmlXtokensModuleCall: {
1703 _enum: {1719 _enum: {
1704 transfer: {1720 transfer: {
1739 }1755 }
1740 }1756 }
1741 },1757 },
1742 /**1758 /**
1743 * Lookup197: xcm::VersionedMultiAsset1759 * Lookup198: xcm::VersionedMultiAsset
1744 **/1760 **/
1745 XcmVersionedMultiAsset: {1761 XcmVersionedMultiAsset: {
1746 _enum: {1762 _enum: {
1747 V0: 'XcmV0MultiAsset',1763 V0: 'XcmV0MultiAsset',
1748 V1: 'XcmV1MultiAsset'1764 V1: 'XcmV1MultiAsset'
1749 }1765 }
1750 },1766 },
1751 /**1767 /**
1752 * Lookup200: orml_tokens::module::Call<T>1768 * Lookup201: orml_tokens::module::Call<T>
1753 **/1769 **/
1754 OrmlTokensModuleCall: {1770 OrmlTokensModuleCall: {
1755 _enum: {1771 _enum: {
1756 transfer: {1772 transfer: {
1782 }1798 }
1783 }1799 }
1784 },1800 },
1785 /**1801 /**
1786 * Lookup201: cumulus_pallet_xcmp_queue::pallet::Call<T>1802 * Lookup202: cumulus_pallet_xcmp_queue::pallet::Call<T>
1787 **/1803 **/
1788 CumulusPalletXcmpQueueCall: {1804 CumulusPalletXcmpQueueCall: {
1789 _enum: {1805 _enum: {
1790 service_overweight: {1806 service_overweight: {
1831 }1847 }
1832 }1848 }
1833 },1849 },
1834 /**1850 /**
1835 * Lookup202: pallet_xcm::pallet::Call<T>1851 * Lookup203: pallet_xcm::pallet::Call<T>
1836 **/1852 **/
1837 PalletXcmCall: {1853 PalletXcmCall: {
1838 _enum: {1854 _enum: {
1839 send: {1855 send: {
1885 }1901 }
1886 }1902 }
1887 },1903 },
1888 /**1904 /**
1889 * Lookup203: xcm::VersionedXcm<RuntimeCall>1905 * Lookup204: xcm::VersionedXcm<RuntimeCall>
1890 **/1906 **/
1891 XcmVersionedXcm: {1907 XcmVersionedXcm: {
1892 _enum: {1908 _enum: {
1893 V0: 'XcmV0Xcm',1909 V0: 'XcmV0Xcm',
1894 V1: 'XcmV1Xcm',1910 V1: 'XcmV1Xcm',
1895 V2: 'XcmV2Xcm'1911 V2: 'XcmV2Xcm'
1896 }1912 }
1897 },1913 },
1898 /**1914 /**
1899 * Lookup204: xcm::v0::Xcm<RuntimeCall>1915 * Lookup205: xcm::v0::Xcm<RuntimeCall>
1900 **/1916 **/
1901 XcmV0Xcm: {1917 XcmV0Xcm: {
1902 _enum: {1918 _enum: {
1903 WithdrawAsset: {1919 WithdrawAsset: {
1949 }1965 }
1950 }1966 }
1951 },1967 },
1952 /**1968 /**
1953 * Lookup206: xcm::v0::order::Order<RuntimeCall>1969 * Lookup207: xcm::v0::order::Order<RuntimeCall>
1954 **/1970 **/
1955 XcmV0Order: {1971 XcmV0Order: {
1956 _enum: {1972 _enum: {
1957 Null: 'Null',1973 Null: 'Null',
1992 }2008 }
1993 }2009 }
1994 },2010 },
1995 /**2011 /**
1996 * Lookup208: xcm::v0::Response2012 * Lookup209: xcm::v0::Response
1997 **/2013 **/
1998 XcmV0Response: {2014 XcmV0Response: {
1999 _enum: {2015 _enum: {
2000 Assets: 'Vec<XcmV0MultiAsset>'2016 Assets: 'Vec<XcmV0MultiAsset>'
2001 }2017 }
2002 },2018 },
2003 /**2019 /**
2004 * Lookup209: xcm::v1::Xcm<RuntimeCall>2020 * Lookup210: xcm::v1::Xcm<RuntimeCall>
2005 **/2021 **/
2006 XcmV1Xcm: {2022 XcmV1Xcm: {
2007 _enum: {2023 _enum: {
2008 WithdrawAsset: {2024 WithdrawAsset: {
2059 UnsubscribeVersion: 'Null'2075 UnsubscribeVersion: 'Null'
2060 }2076 }
2061 },2077 },
2062 /**2078 /**
2063 * Lookup211: xcm::v1::order::Order<RuntimeCall>2079 * Lookup212: xcm::v1::order::Order<RuntimeCall>
2064 **/2080 **/
2065 XcmV1Order: {2081 XcmV1Order: {
2066 _enum: {2082 _enum: {
2067 Noop: 'Null',2083 Noop: 'Null',
2104 }2120 }
2105 }2121 }
2106 },2122 },
2107 /**2123 /**
2108 * Lookup213: xcm::v1::Response2124 * Lookup214: xcm::v1::Response
2109 **/2125 **/
2110 XcmV1Response: {2126 XcmV1Response: {
2111 _enum: {2127 _enum: {
2112 Assets: 'XcmV1MultiassetMultiAssets',2128 Assets: 'XcmV1MultiassetMultiAssets',
2113 Version: 'u32'2129 Version: 'u32'
2114 }2130 }
2115 },2131 },
2116 /**2132 /**
2117 * Lookup227: cumulus_pallet_xcm::pallet::Call<T>2133 * Lookup228: cumulus_pallet_xcm::pallet::Call<T>
2118 **/2134 **/
2119 CumulusPalletXcmCall: 'Null',2135 CumulusPalletXcmCall: 'Null',
2120 /**2136 /**
2121 * Lookup228: cumulus_pallet_dmp_queue::pallet::Call<T>2137 * Lookup229: cumulus_pallet_dmp_queue::pallet::Call<T>
2122 **/2138 **/
2123 CumulusPalletDmpQueueCall: {2139 CumulusPalletDmpQueueCall: {
2124 _enum: {2140 _enum: {
2125 service_overweight: {2141 service_overweight: {
2128 }2144 }
2129 }2145 }
2130 },2146 },
2131 /**2147 /**
2132 * Lookup229: pallet_inflation::pallet::Call<T>2148 * Lookup230: pallet_inflation::pallet::Call<T>
2133 **/2149 **/
2134 PalletInflationCall: {2150 PalletInflationCall: {
2135 _enum: {2151 _enum: {
2136 start_inflation: {2152 start_inflation: {
2137 inflationStartRelayBlock: 'u32'2153 inflationStartRelayBlock: 'u32'
2138 }2154 }
2139 }2155 }
2140 },2156 },
2141 /**2157 /**
2142 * Lookup230: pallet_unique::Call<T>2158 * Lookup231: pallet_unique::Call<T>
2143 **/2159 **/
2144 PalletUniqueCall: {2160 PalletUniqueCall: {
2145 _enum: {2161 _enum: {
2146 create_collection: {2162 create_collection: {
2282 }2298 }
2283 }2299 }
2284 },2300 },
2285 /**2301 /**
2286 * Lookup235: up_data_structs::CollectionMode2302 * Lookup236: up_data_structs::CollectionMode
2287 **/2303 **/
2288 UpDataStructsCollectionMode: {2304 UpDataStructsCollectionMode: {
2289 _enum: {2305 _enum: {
2290 NFT: 'Null',2306 NFT: 'Null',
2291 Fungible: 'u8',2307 Fungible: 'u8',
2292 ReFungible: 'Null'2308 ReFungible: 'Null'
2293 }2309 }
2294 },2310 },
2295 /**2311 /**
2296 * Lookup236: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2312 * Lookup237: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
2297 **/2313 **/
2298 UpDataStructsCreateCollectionData: {2314 UpDataStructsCreateCollectionData: {
2299 mode: 'UpDataStructsCollectionMode',2315 mode: 'UpDataStructsCollectionMode',
2300 access: 'Option<UpDataStructsAccessMode>',2316 access: 'Option<UpDataStructsAccessMode>',
2307 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2323 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
2308 properties: 'Vec<UpDataStructsProperty>'2324 properties: 'Vec<UpDataStructsProperty>'
2309 },2325 },
2310 /**2326 /**
2311 * Lookup238: up_data_structs::AccessMode2327 * Lookup239: up_data_structs::AccessMode
2312 **/2328 **/
2313 UpDataStructsAccessMode: {2329 UpDataStructsAccessMode: {
2314 _enum: ['Normal', 'AllowList']2330 _enum: ['Normal', 'AllowList']
2315 },2331 },
2316 /**2332 /**
2317 * Lookup240: up_data_structs::CollectionLimits2333 * Lookup241: up_data_structs::CollectionLimits
2318 **/2334 **/
2319 UpDataStructsCollectionLimits: {2335 UpDataStructsCollectionLimits: {
2320 accountTokenOwnershipLimit: 'Option<u32>',2336 accountTokenOwnershipLimit: 'Option<u32>',
2321 sponsoredDataSize: 'Option<u32>',2337 sponsoredDataSize: 'Option<u32>',
2327 ownerCanDestroy: 'Option<bool>',2343 ownerCanDestroy: 'Option<bool>',
2328 transfersEnabled: 'Option<bool>'2344 transfersEnabled: 'Option<bool>'
2329 },2345 },
2330 /**2346 /**
2331 * Lookup242: up_data_structs::SponsoringRateLimit2347 * Lookup243: up_data_structs::SponsoringRateLimit
2332 **/2348 **/
2333 UpDataStructsSponsoringRateLimit: {2349 UpDataStructsSponsoringRateLimit: {
2334 _enum: {2350 _enum: {
2335 SponsoringDisabled: 'Null',2351 SponsoringDisabled: 'Null',
2336 Blocks: 'u32'2352 Blocks: 'u32'
2337 }2353 }
2338 },2354 },
2339 /**2355 /**
2340 * Lookup245: up_data_structs::CollectionPermissions2356 * Lookup246: up_data_structs::CollectionPermissions
2341 **/2357 **/
2342 UpDataStructsCollectionPermissions: {2358 UpDataStructsCollectionPermissions: {
2343 access: 'Option<UpDataStructsAccessMode>',2359 access: 'Option<UpDataStructsAccessMode>',
2344 mintMode: 'Option<bool>',2360 mintMode: 'Option<bool>',
2345 nesting: 'Option<UpDataStructsNestingPermissions>'2361 nesting: 'Option<UpDataStructsNestingPermissions>'
2346 },2362 },
2347 /**2363 /**
2348 * Lookup247: up_data_structs::NestingPermissions2364 * Lookup248: up_data_structs::NestingPermissions
2349 **/2365 **/
2350 UpDataStructsNestingPermissions: {2366 UpDataStructsNestingPermissions: {
2351 tokenOwner: 'bool',2367 tokenOwner: 'bool',
2352 collectionAdmin: 'bool',2368 collectionAdmin: 'bool',
2353 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2369 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
2354 },2370 },
2355 /**2371 /**
2356 * Lookup249: up_data_structs::OwnerRestrictedSet2372 * Lookup250: up_data_structs::OwnerRestrictedSet
2357 **/2373 **/
2358 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2374 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
2359 /**2375 /**
2360 * Lookup254: up_data_structs::PropertyKeyPermission2376 * Lookup255: up_data_structs::PropertyKeyPermission
2361 **/2377 **/
2362 UpDataStructsPropertyKeyPermission: {2378 UpDataStructsPropertyKeyPermission: {
2363 key: 'Bytes',2379 key: 'Bytes',
2364 permission: 'UpDataStructsPropertyPermission'2380 permission: 'UpDataStructsPropertyPermission'
2365 },2381 },
2366 /**2382 /**
2367 * Lookup255: up_data_structs::PropertyPermission2383 * Lookup256: up_data_structs::PropertyPermission
2368 **/2384 **/
2369 UpDataStructsPropertyPermission: {2385 UpDataStructsPropertyPermission: {
2370 mutable: 'bool',2386 mutable: 'bool',
2371 collectionAdmin: 'bool',2387 collectionAdmin: 'bool',
2372 tokenOwner: 'bool'2388 tokenOwner: 'bool'
2373 },2389 },
2374 /**2390 /**
2375 * Lookup258: up_data_structs::Property2391 * Lookup259: up_data_structs::Property
2376 **/2392 **/
2377 UpDataStructsProperty: {2393 UpDataStructsProperty: {
2378 key: 'Bytes',2394 key: 'Bytes',
2379 value: 'Bytes'2395 value: 'Bytes'
2380 },2396 },
2381 /**2397 /**
2382 * Lookup261: up_data_structs::CreateItemData2398 * Lookup262: up_data_structs::CreateItemData
2383 **/2399 **/
2384 UpDataStructsCreateItemData: {2400 UpDataStructsCreateItemData: {
2385 _enum: {2401 _enum: {
2386 NFT: 'UpDataStructsCreateNftData',2402 NFT: 'UpDataStructsCreateNftData',
2387 Fungible: 'UpDataStructsCreateFungibleData',2403 Fungible: 'UpDataStructsCreateFungibleData',
2388 ReFungible: 'UpDataStructsCreateReFungibleData'2404 ReFungible: 'UpDataStructsCreateReFungibleData'
2389 }2405 }
2390 },2406 },
2391 /**2407 /**
2392 * Lookup262: up_data_structs::CreateNftData2408 * Lookup263: up_data_structs::CreateNftData
2393 **/2409 **/
2394 UpDataStructsCreateNftData: {2410 UpDataStructsCreateNftData: {
2395 properties: 'Vec<UpDataStructsProperty>'2411 properties: 'Vec<UpDataStructsProperty>'
2396 },2412 },
2397 /**2413 /**
2398 * Lookup263: up_data_structs::CreateFungibleData2414 * Lookup264: up_data_structs::CreateFungibleData
2399 **/2415 **/
2400 UpDataStructsCreateFungibleData: {2416 UpDataStructsCreateFungibleData: {
2401 value: 'u128'2417 value: 'u128'
2402 },2418 },
2403 /**2419 /**
2404 * Lookup264: up_data_structs::CreateReFungibleData2420 * Lookup265: up_data_structs::CreateReFungibleData
2405 **/2421 **/
2406 UpDataStructsCreateReFungibleData: {2422 UpDataStructsCreateReFungibleData: {
2407 pieces: 'u128',2423 pieces: 'u128',
2408 properties: 'Vec<UpDataStructsProperty>'2424 properties: 'Vec<UpDataStructsProperty>'
2409 },2425 },
2410 /**2426 /**
2411 * Lookup267: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2427 * Lookup268: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2412 **/2428 **/
2413 UpDataStructsCreateItemExData: {2429 UpDataStructsCreateItemExData: {
2414 _enum: {2430 _enum: {
2415 NFT: 'Vec<UpDataStructsCreateNftExData>',2431 NFT: 'Vec<UpDataStructsCreateNftExData>',
2418 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2434 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'
2419 }2435 }
2420 },2436 },
2421 /**2437 /**
2422 * Lookup269: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2438 * Lookup270: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2423 **/2439 **/
2424 UpDataStructsCreateNftExData: {2440 UpDataStructsCreateNftExData: {
2425 properties: 'Vec<UpDataStructsProperty>',2441 properties: 'Vec<UpDataStructsProperty>',
2426 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2442 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
2427 },2443 },
2428 /**2444 /**
2429 * Lookup276: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2445 * Lookup277: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2430 **/2446 **/
2431 UpDataStructsCreateRefungibleExSingleOwner: {2447 UpDataStructsCreateRefungibleExSingleOwner: {
2432 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2448 user: 'PalletEvmAccountBasicCrossAccountIdRepr',
2433 pieces: 'u128',2449 pieces: 'u128',
2434 properties: 'Vec<UpDataStructsProperty>'2450 properties: 'Vec<UpDataStructsProperty>'
2435 },2451 },
2436 /**2452 /**
2437 * Lookup278: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2453 * Lookup279: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2438 **/2454 **/
2439 UpDataStructsCreateRefungibleExMultipleOwners: {2455 UpDataStructsCreateRefungibleExMultipleOwners: {
2440 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2456 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
2441 properties: 'Vec<UpDataStructsProperty>'2457 properties: 'Vec<UpDataStructsProperty>'
2442 },2458 },
2443 /**2459 /**
2444 * Lookup279: pallet_configuration::pallet::Call<T>2460 * Lookup280: pallet_configuration::pallet::Call<T>
2445 **/2461 **/
2446 PalletConfigurationCall: {2462 PalletConfigurationCall: {
2447 _enum: {2463 _enum: {
2448 set_weight_to_fee_coefficient_override: {2464 set_weight_to_fee_coefficient_override: {
2456 },2472 },
2457 set_app_promotion_configuration_override: {2473 set_app_promotion_configuration_override: {
2458 configuration: 'PalletConfigurationAppPromotionConfiguration'2474 configuration: 'PalletConfigurationAppPromotionConfiguration',
2459 }2475 },
2476 set_collator_selection_desired_collators: {
2477 max: 'Option<u32>',
2478 },
2479 set_collator_selection_license_bond: {
2480 amount: 'Option<u128>',
2481 },
2482 set_collator_selection_kick_threshold: {
2483 threshold: 'Option<u32>'
2484 }
2460 }2485 }
2461 },2486 },
2462 /**2487 /**
2463 * Lookup284: pallet_configuration::AppPromotionConfiguration<BlockNumber>2488 * Lookup285: pallet_configuration::AppPromotionConfiguration<BlockNumber>
2464 **/2489 **/
2465 PalletConfigurationAppPromotionConfiguration: {2490 PalletConfigurationAppPromotionConfiguration: {
2466 recalculationInterval: 'Option<u32>',2491 recalculationInterval: 'Option<u32>',
2467 pendingInterval: 'Option<u32>',2492 pendingInterval: 'Option<u32>',
2468 intervalIncome: 'Option<Perbill>',2493 intervalIncome: 'Option<Perbill>',
2469 maxStakersPerCalculation: 'Option<u8>'2494 maxStakersPerCalculation: 'Option<u8>'
2470 },2495 },
2471 /**2496 /**
2472 * Lookup288: pallet_template_transaction_payment::Call<T>2497 * Lookup289: pallet_template_transaction_payment::Call<T>
2473 **/2498 **/
2474 PalletTemplateTransactionPaymentCall: 'Null',2499 PalletTemplateTransactionPaymentCall: 'Null',
2475 /**2500 /**
2476 * Lookup289: pallet_structure::pallet::Call<T>2501 * Lookup290: pallet_structure::pallet::Call<T>
2477 **/2502 **/
2478 PalletStructureCall: 'Null',2503 PalletStructureCall: 'Null',
2479 /**2504 /**
2480 * Lookup290: pallet_rmrk_core::pallet::Call<T>2505 * Lookup291: pallet_rmrk_core::pallet::Call<T>
2481 **/2506 **/
2482 PalletRmrkCoreCall: {2507 PalletRmrkCoreCall: {
2483 _enum: {2508 _enum: {
2484 create_collection: {2509 create_collection: {
2567 }2592 }
2568 }2593 }
2569 },2594 },
2570 /**2595 /**
2571 * Lookup296: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2596 * Lookup297: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2572 **/2597 **/
2573 RmrkTraitsResourceResourceTypes: {2598 RmrkTraitsResourceResourceTypes: {
2574 _enum: {2599 _enum: {
2575 Basic: 'RmrkTraitsResourceBasicResource',2600 Basic: 'RmrkTraitsResourceBasicResource',
2576 Composable: 'RmrkTraitsResourceComposableResource',2601 Composable: 'RmrkTraitsResourceComposableResource',
2577 Slot: 'RmrkTraitsResourceSlotResource'2602 Slot: 'RmrkTraitsResourceSlotResource'
2578 }2603 }
2579 },2604 },
2580 /**2605 /**
2581 * Lookup298: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2606 * Lookup299: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2582 **/2607 **/
2583 RmrkTraitsResourceBasicResource: {2608 RmrkTraitsResourceBasicResource: {
2584 src: 'Option<Bytes>',2609 src: 'Option<Bytes>',
2585 metadata: 'Option<Bytes>',2610 metadata: 'Option<Bytes>',
2586 license: 'Option<Bytes>',2611 license: 'Option<Bytes>',
2587 thumb: 'Option<Bytes>'2612 thumb: 'Option<Bytes>'
2588 },2613 },
2589 /**2614 /**
2590 * Lookup300: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2615 * Lookup301: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2591 **/2616 **/
2592 RmrkTraitsResourceComposableResource: {2617 RmrkTraitsResourceComposableResource: {
2593 parts: 'Vec<u32>',2618 parts: 'Vec<u32>',
2594 base: 'u32',2619 base: 'u32',
2597 license: 'Option<Bytes>',2622 license: 'Option<Bytes>',
2598 thumb: 'Option<Bytes>'2623 thumb: 'Option<Bytes>'
2599 },2624 },
2600 /**2625 /**
2601 * Lookup301: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2626 * Lookup302: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2602 **/2627 **/
2603 RmrkTraitsResourceSlotResource: {2628 RmrkTraitsResourceSlotResource: {
2604 base: 'u32',2629 base: 'u32',
2605 src: 'Option<Bytes>',2630 src: 'Option<Bytes>',
2608 license: 'Option<Bytes>',2633 license: 'Option<Bytes>',
2609 thumb: 'Option<Bytes>'2634 thumb: 'Option<Bytes>'
2610 },2635 },
2611 /**2636 /**
2612 * Lookup304: pallet_rmrk_equip::pallet::Call<T>2637 * Lookup305: pallet_rmrk_equip::pallet::Call<T>
2613 **/2638 **/
2614 PalletRmrkEquipCall: {2639 PalletRmrkEquipCall: {
2615 _enum: {2640 _enum: {
2616 create_base: {2641 create_base: {
2629 }2654 }
2630 }2655 }
2631 },2656 },
2632 /**2657 /**
2633 * Lookup307: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2658 * Lookup308: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2634 **/2659 **/
2635 RmrkTraitsPartPartType: {2660 RmrkTraitsPartPartType: {
2636 _enum: {2661 _enum: {
2637 FixedPart: 'RmrkTraitsPartFixedPart',2662 FixedPart: 'RmrkTraitsPartFixedPart',
2638 SlotPart: 'RmrkTraitsPartSlotPart'2663 SlotPart: 'RmrkTraitsPartSlotPart'
2639 }2664 }
2640 },2665 },
2641 /**2666 /**
2642 * Lookup309: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2667 * Lookup310: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2643 **/2668 **/
2644 RmrkTraitsPartFixedPart: {2669 RmrkTraitsPartFixedPart: {
2645 id: 'u32',2670 id: 'u32',
2646 z: 'u32',2671 z: 'u32',
2647 src: 'Bytes'2672 src: 'Bytes'
2648 },2673 },
2649 /**2674 /**
2650 * Lookup310: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2675 * Lookup311: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2651 **/2676 **/
2652 RmrkTraitsPartSlotPart: {2677 RmrkTraitsPartSlotPart: {
2653 id: 'u32',2678 id: 'u32',
2654 equippable: 'RmrkTraitsPartEquippableList',2679 equippable: 'RmrkTraitsPartEquippableList',
2655 src: 'Bytes',2680 src: 'Bytes',
2656 z: 'u32'2681 z: 'u32'
2657 },2682 },
2658 /**2683 /**
2659 * Lookup311: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2684 * Lookup312: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2660 **/2685 **/
2661 RmrkTraitsPartEquippableList: {2686 RmrkTraitsPartEquippableList: {
2662 _enum: {2687 _enum: {
2663 All: 'Null',2688 All: 'Null',
2664 Empty: 'Null',2689 Empty: 'Null',
2665 Custom: 'Vec<u32>'2690 Custom: 'Vec<u32>'
2666 }2691 }
2667 },2692 },
2668 /**2693 /**
2669 * Lookup313: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>2694 * Lookup314: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
2670 **/2695 **/
2671 RmrkTraitsTheme: {2696 RmrkTraitsTheme: {
2672 name: 'Bytes',2697 name: 'Bytes',
2673 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2698 properties: 'Vec<RmrkTraitsThemeThemeProperty>',
2674 inherit: 'bool'2699 inherit: 'bool'
2675 },2700 },
2676 /**2701 /**
2677 * Lookup315: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2702 * Lookup316: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2678 **/2703 **/
2679 RmrkTraitsThemeThemeProperty: {2704 RmrkTraitsThemeThemeProperty: {
2680 key: 'Bytes',2705 key: 'Bytes',
2681 value: 'Bytes'2706 value: 'Bytes'
2682 },2707 },
2683 /**2708 /**
2684 * Lookup317: pallet_app_promotion::pallet::Call<T>2709 * Lookup318: pallet_app_promotion::pallet::Call<T>
2685 **/2710 **/
2686 PalletAppPromotionCall: {2711 PalletAppPromotionCall: {
2687 _enum: {2712 _enum: {
2688 set_admin_address: {2713 set_admin_address: {
2709 }2734 }
2710 }2735 }
2711 },2736 },
2712 /**2737 /**
2713 * Lookup318: pallet_foreign_assets::module::Call<T>2738 * Lookup319: pallet_foreign_assets::module::Call<T>
2714 **/2739 **/
2715 PalletForeignAssetsModuleCall: {2740 PalletForeignAssetsModuleCall: {
2716 _enum: {2741 _enum: {
2717 register_foreign_asset: {2742 register_foreign_asset: {
2726 }2751 }
2727 }2752 }
2728 },2753 },
2729 /**2754 /**
2730 * Lookup319: pallet_evm::pallet::Call<T>2755 * Lookup320: pallet_evm::pallet::Call<T>
2731 **/2756 **/
2732 PalletEvmCall: {2757 PalletEvmCall: {
2733 _enum: {2758 _enum: {
2734 withdraw: {2759 withdraw: {
2769 }2794 }
2770 }2795 }
2771 },2796 },
2772 /**2797 /**
2773 * Lookup325: pallet_ethereum::pallet::Call<T>2798 * Lookup326: pallet_ethereum::pallet::Call<T>
2774 **/2799 **/
2775 PalletEthereumCall: {2800 PalletEthereumCall: {
2776 _enum: {2801 _enum: {
2777 transact: {2802 transact: {
2778 transaction: 'EthereumTransactionTransactionV2'2803 transaction: 'EthereumTransactionTransactionV2'
2779 }2804 }
2780 }2805 }
2781 },2806 },
2782 /**2807 /**
2783 * Lookup326: ethereum::transaction::TransactionV22808 * Lookup327: ethereum::transaction::TransactionV2
2784 **/2809 **/
2785 EthereumTransactionTransactionV2: {2810 EthereumTransactionTransactionV2: {
2786 _enum: {2811 _enum: {
2787 Legacy: 'EthereumTransactionLegacyTransaction',2812 Legacy: 'EthereumTransactionLegacyTransaction',
2788 EIP2930: 'EthereumTransactionEip2930Transaction',2813 EIP2930: 'EthereumTransactionEip2930Transaction',
2789 EIP1559: 'EthereumTransactionEip1559Transaction'2814 EIP1559: 'EthereumTransactionEip1559Transaction'
2790 }2815 }
2791 },2816 },
2792 /**2817 /**
2793 * Lookup327: ethereum::transaction::LegacyTransaction2818 * Lookup328: ethereum::transaction::LegacyTransaction
2794 **/2819 **/
2795 EthereumTransactionLegacyTransaction: {2820 EthereumTransactionLegacyTransaction: {
2796 nonce: 'U256',2821 nonce: 'U256',
2797 gasPrice: 'U256',2822 gasPrice: 'U256',
2801 input: 'Bytes',2826 input: 'Bytes',
2802 signature: 'EthereumTransactionTransactionSignature'2827 signature: 'EthereumTransactionTransactionSignature'
2803 },2828 },
2804 /**2829 /**
2805 * Lookup328: ethereum::transaction::TransactionAction2830 * Lookup329: ethereum::transaction::TransactionAction
2806 **/2831 **/
2807 EthereumTransactionTransactionAction: {2832 EthereumTransactionTransactionAction: {
2808 _enum: {2833 _enum: {
2809 Call: 'H160',2834 Call: 'H160',
2810 Create: 'Null'2835 Create: 'Null'
2811 }2836 }
2812 },2837 },
2813 /**2838 /**
2814 * Lookup329: ethereum::transaction::TransactionSignature2839 * Lookup330: ethereum::transaction::TransactionSignature
2815 **/2840 **/
2816 EthereumTransactionTransactionSignature: {2841 EthereumTransactionTransactionSignature: {
2817 v: 'u64',2842 v: 'u64',
2818 r: 'H256',2843 r: 'H256',
2819 s: 'H256'2844 s: 'H256'
2820 },2845 },
2821 /**2846 /**
2822 * Lookup331: ethereum::transaction::EIP2930Transaction2847 * Lookup332: ethereum::transaction::EIP2930Transaction
2823 **/2848 **/
2824 EthereumTransactionEip2930Transaction: {2849 EthereumTransactionEip2930Transaction: {
2825 chainId: 'u64',2850 chainId: 'u64',
2826 nonce: 'U256',2851 nonce: 'U256',
2834 r: 'H256',2859 r: 'H256',
2835 s: 'H256'2860 s: 'H256'
2836 },2861 },
2837 /**2862 /**
2838 * Lookup333: ethereum::transaction::AccessListItem2863 * Lookup334: ethereum::transaction::AccessListItem
2839 **/2864 **/
2840 EthereumTransactionAccessListItem: {2865 EthereumTransactionAccessListItem: {
2841 address: 'H160',2866 address: 'H160',
2842 storageKeys: 'Vec<H256>'2867 storageKeys: 'Vec<H256>'
2843 },2868 },
2844 /**2869 /**
2845 * Lookup334: ethereum::transaction::EIP1559Transaction2870 * Lookup335: ethereum::transaction::EIP1559Transaction
2846 **/2871 **/
2847 EthereumTransactionEip1559Transaction: {2872 EthereumTransactionEip1559Transaction: {
2848 chainId: 'u64',2873 chainId: 'u64',
2849 nonce: 'U256',2874 nonce: 'U256',
2858 r: 'H256',2883 r: 'H256',
2859 s: 'H256'2884 s: 'H256'
2860 },2885 },
2861 /**2886 /**
2862 * Lookup335: pallet_evm_migration::pallet::Call<T>2887 * Lookup336: pallet_evm_migration::pallet::Call<T>
2863 **/2888 **/
2864 PalletEvmMigrationCall: {2889 PalletEvmMigrationCall: {
2865 _enum: {2890 _enum: {
2866 begin: {2891 begin: {
2882 }2907 }
2883 }2908 }
2884 },2909 },
2885 /**2910 /**
2886 * Lookup339: pallet_maintenance::pallet::Call<T>2911 * Lookup340: pallet_maintenance::pallet::Call<T>
2887 **/2912 **/
2888 PalletMaintenanceCall: {2913 PalletMaintenanceCall: {
2889 _enum: ['enable', 'disable']2914 _enum: ['enable', 'disable']
2890 },2915 },
2891 /**2916 /**
2892 * Lookup340: pallet_test_utils::pallet::Call<T>2917 * Lookup341: pallet_test_utils::pallet::Call<T>
2893 **/2918 **/
2894 PalletTestUtilsCall: {2919 PalletTestUtilsCall: {
2895 _enum: {2920 _enum: {
2896 enable: 'Null',2921 enable: 'Null',
2907 }2932 }
2908 }2933 }
2909 },2934 },
2910 /**2935 /**
2911 * Lookup342: pallet_sudo::pallet::Error<T>2936 * Lookup343: pallet_sudo::pallet::Error<T>
2912 **/2937 **/
2913 PalletSudoError: {2938 PalletSudoError: {
2914 _enum: ['RequireSudo']2939 _enum: ['RequireSudo']
2915 },2940 },
2916 /**2941 /**
2917 * Lookup344: orml_vesting::module::Error<T>2942 * Lookup345: orml_vesting::module::Error<T>
2918 **/2943 **/
2919 OrmlVestingModuleError: {2944 OrmlVestingModuleError: {
2920 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2945 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
2921 },2946 },
2922 /**2947 /**
2923 * Lookup345: orml_xtokens::module::Error<T>2948 * Lookup346: orml_xtokens::module::Error<T>
2924 **/2949 **/
2925 OrmlXtokensModuleError: {2950 OrmlXtokensModuleError: {
2926 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']2951 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
2927 },2952 },
2928 /**2953 /**
2929 * Lookup348: orml_tokens::BalanceLock<Balance>2954 * Lookup349: orml_tokens::BalanceLock<Balance>
2930 **/2955 **/
2931 OrmlTokensBalanceLock: {2956 OrmlTokensBalanceLock: {
2932 id: '[u8;8]',2957 id: '[u8;8]',
2933 amount: 'u128'2958 amount: 'u128'
2934 },2959 },
2935 /**2960 /**
2936 * Lookup350: orml_tokens::AccountData<Balance>2961 * Lookup351: orml_tokens::AccountData<Balance>
2937 **/2962 **/
2938 OrmlTokensAccountData: {2963 OrmlTokensAccountData: {
2939 free: 'u128',2964 free: 'u128',
2940 reserved: 'u128',2965 reserved: 'u128',
2941 frozen: 'u128'2966 frozen: 'u128'
2942 },2967 },
2943 /**2968 /**
2944 * Lookup352: orml_tokens::ReserveData<ReserveIdentifier, Balance>2969 * Lookup353: orml_tokens::ReserveData<ReserveIdentifier, Balance>
2945 **/2970 **/
2946 OrmlTokensReserveData: {2971 OrmlTokensReserveData: {
2947 id: 'Null',2972 id: 'Null',
2948 amount: 'u128'2973 amount: 'u128'
2949 },2974 },
2950 /**2975 /**
2951 * Lookup354: orml_tokens::module::Error<T>2976 * Lookup355: orml_tokens::module::Error<T>
2952 **/2977 **/
2953 OrmlTokensModuleError: {2978 OrmlTokensModuleError: {
2954 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']2979 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
2955 },2980 },
2956 /**2981 /**
2957 * Lookup356: cumulus_pallet_xcmp_queue::InboundChannelDetails2982 * Lookup357: cumulus_pallet_xcmp_queue::InboundChannelDetails
2958 **/2983 **/
2959 CumulusPalletXcmpQueueInboundChannelDetails: {2984 CumulusPalletXcmpQueueInboundChannelDetails: {
2960 sender: 'u32',2985 sender: 'u32',
2961 state: 'CumulusPalletXcmpQueueInboundState',2986 state: 'CumulusPalletXcmpQueueInboundState',
2962 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2987 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
2963 },2988 },
2964 /**2989 /**
2965 * Lookup357: cumulus_pallet_xcmp_queue::InboundState2990 * Lookup358: cumulus_pallet_xcmp_queue::InboundState
2966 **/2991 **/
2967 CumulusPalletXcmpQueueInboundState: {2992 CumulusPalletXcmpQueueInboundState: {
2968 _enum: ['Ok', 'Suspended']2993 _enum: ['Ok', 'Suspended']
2969 },2994 },
2970 /**2995 /**
2971 * Lookup360: polkadot_parachain::primitives::XcmpMessageFormat2996 * Lookup361: polkadot_parachain::primitives::XcmpMessageFormat
2972 **/2997 **/
2973 PolkadotParachainPrimitivesXcmpMessageFormat: {2998 PolkadotParachainPrimitivesXcmpMessageFormat: {
2974 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2999 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
2975 },3000 },
2976 /**3001 /**
2977 * Lookup363: cumulus_pallet_xcmp_queue::OutboundChannelDetails3002 * Lookup364: cumulus_pallet_xcmp_queue::OutboundChannelDetails
2978 **/3003 **/
2979 CumulusPalletXcmpQueueOutboundChannelDetails: {3004 CumulusPalletXcmpQueueOutboundChannelDetails: {
2980 recipient: 'u32',3005 recipient: 'u32',
2981 state: 'CumulusPalletXcmpQueueOutboundState',3006 state: 'CumulusPalletXcmpQueueOutboundState',
2982 signalsExist: 'bool',3007 signalsExist: 'bool',
2983 firstIndex: 'u16',3008 firstIndex: 'u16',
2984 lastIndex: 'u16'3009 lastIndex: 'u16'
2985 },3010 },
2986 /**3011 /**
2987 * Lookup364: cumulus_pallet_xcmp_queue::OutboundState3012 * Lookup365: cumulus_pallet_xcmp_queue::OutboundState
2988 **/3013 **/
2989 CumulusPalletXcmpQueueOutboundState: {3014 CumulusPalletXcmpQueueOutboundState: {
2990 _enum: ['Ok', 'Suspended']3015 _enum: ['Ok', 'Suspended']
2991 },3016 },
2992 /**3017 /**
2993 * Lookup366: cumulus_pallet_xcmp_queue::QueueConfigData3018 * Lookup367: cumulus_pallet_xcmp_queue::QueueConfigData
2994 **/3019 **/
2995 CumulusPalletXcmpQueueQueueConfigData: {3020 CumulusPalletXcmpQueueQueueConfigData: {
2996 suspendThreshold: 'u32',3021 suspendThreshold: 'u32',
2997 dropThreshold: 'u32',3022 dropThreshold: 'u32',
3000 weightRestrictDecay: 'SpWeightsWeightV2Weight',3025 weightRestrictDecay: 'SpWeightsWeightV2Weight',
3001 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'3026 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
3002 },3027 },
3003 /**3028 /**
3004 * Lookup368: cumulus_pallet_xcmp_queue::pallet::Error<T>3029 * Lookup369: cumulus_pallet_xcmp_queue::pallet::Error<T>
3005 **/3030 **/
3006 CumulusPalletXcmpQueueError: {3031 CumulusPalletXcmpQueueError: {
3007 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']3032 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
3008 },3033 },
3009 /**3034 /**
3010 * Lookup369: pallet_xcm::pallet::Error<T>3035 * Lookup370: pallet_xcm::pallet::Error<T>
3011 **/3036 **/
3012 PalletXcmError: {3037 PalletXcmError: {
3013 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']3038 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
3014 },3039 },
3015 /**3040 /**
3016 * Lookup370: cumulus_pallet_xcm::pallet::Error<T>3041 * Lookup371: cumulus_pallet_xcm::pallet::Error<T>
3017 **/3042 **/
3018 CumulusPalletXcmError: 'Null',3043 CumulusPalletXcmError: 'Null',
3019 /**3044 /**
3020 * Lookup371: cumulus_pallet_dmp_queue::ConfigData3045 * Lookup372: cumulus_pallet_dmp_queue::ConfigData
3021 **/3046 **/
3022 CumulusPalletDmpQueueConfigData: {3047 CumulusPalletDmpQueueConfigData: {
3023 maxIndividual: 'SpWeightsWeightV2Weight'3048 maxIndividual: 'SpWeightsWeightV2Weight'
3024 },3049 },
3025 /**3050 /**
3026 * Lookup372: cumulus_pallet_dmp_queue::PageIndexData3051 * Lookup373: cumulus_pallet_dmp_queue::PageIndexData
3027 **/3052 **/
3028 CumulusPalletDmpQueuePageIndexData: {3053 CumulusPalletDmpQueuePageIndexData: {
3029 beginUsed: 'u32',3054 beginUsed: 'u32',
3030 endUsed: 'u32',3055 endUsed: 'u32',
3031 overweightCount: 'u64'3056 overweightCount: 'u64'
3032 },3057 },
3033 /**3058 /**
3034 * Lookup375: cumulus_pallet_dmp_queue::pallet::Error<T>3059 * Lookup376: cumulus_pallet_dmp_queue::pallet::Error<T>
3035 **/3060 **/
3036 CumulusPalletDmpQueueError: {3061 CumulusPalletDmpQueueError: {
3037 _enum: ['Unknown', 'OverLimit']3062 _enum: ['Unknown', 'OverLimit']
3038 },3063 },
3039 /**3064 /**
3040 * Lookup379: pallet_unique::Error<T>3065 * Lookup380: pallet_unique::Error<T>
3041 **/3066 **/
3042 PalletUniqueError: {3067 PalletUniqueError: {
3043 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']3068 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
3044 },3069 },
3045 /**3070 /**
3046 * Lookup380: pallet_configuration::pallet::Error<T>3071 * Lookup381: pallet_configuration::pallet::Error<T>
3047 **/3072 **/
3048 PalletConfigurationError: {3073 PalletConfigurationError: {
3049 _enum: ['InconsistentConfiguration']3074 _enum: ['InconsistentConfiguration']
3050 },3075 },
3051 /**3076 /**
3052 * Lookup381: up_data_structs::Collection<sp_core::crypto::AccountId32>3077 * Lookup382: up_data_structs::Collection<sp_core::crypto::AccountId32>
3053 **/3078 **/
3054 UpDataStructsCollection: {3079 UpDataStructsCollection: {
3055 owner: 'AccountId32',3080 owner: 'AccountId32',
3056 mode: 'UpDataStructsCollectionMode',3081 mode: 'UpDataStructsCollectionMode',
3062 permissions: 'UpDataStructsCollectionPermissions',3087 permissions: 'UpDataStructsCollectionPermissions',
3063 flags: '[u8;1]'3088 flags: '[u8;1]'
3064 },3089 },
3065 /**3090 /**
3066 * Lookup382: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>3091 * Lookup383: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
3067 **/3092 **/
3068 UpDataStructsSponsorshipStateAccountId32: {3093 UpDataStructsSponsorshipStateAccountId32: {
3069 _enum: {3094 _enum: {
3070 Disabled: 'Null',3095 Disabled: 'Null',
3071 Unconfirmed: 'AccountId32',3096 Unconfirmed: 'AccountId32',
3072 Confirmed: 'AccountId32'3097 Confirmed: 'AccountId32'
3073 }3098 }
3074 },3099 },
3075 /**3100 /**
3076 * Lookup384: up_data_structs::Properties3101 * Lookup385: up_data_structs::Properties
3077 **/3102 **/
3078 UpDataStructsProperties: {3103 UpDataStructsProperties: {
3079 map: 'UpDataStructsPropertiesMapBoundedVec',3104 map: 'UpDataStructsPropertiesMapBoundedVec',
3080 consumedSpace: 'u32',3105 consumedSpace: 'u32',
3081 spaceLimit: 'u32'3106 spaceLimit: 'u32'
3082 },3107 },
3083 /**3108 /**
3084 * Lookup385: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3109 * Lookup386: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3085 **/3110 **/
3086 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',3111 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
3087 /**3112 /**
3088 * Lookup390: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>3113 * Lookup391: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
3089 **/3114 **/
3090 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',3115 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
3091 /**3116 /**
3092 * Lookup397: up_data_structs::CollectionStats3117 * Lookup398: up_data_structs::CollectionStats
3093 **/3118 **/
3094 UpDataStructsCollectionStats: {3119 UpDataStructsCollectionStats: {
3095 created: 'u32',3120 created: 'u32',
3096 destroyed: 'u32',3121 destroyed: 'u32',
3097 alive: 'u32'3122 alive: 'u32'
3098 },3123 },
3099 /**3124 /**
3100 * Lookup398: up_data_structs::TokenChild3125 * Lookup399: up_data_structs::TokenChild
3101 **/3126 **/
3102 UpDataStructsTokenChild: {3127 UpDataStructsTokenChild: {
3103 token: 'u32',3128 token: 'u32',
3104 collection: 'u32'3129 collection: 'u32'
3105 },3130 },
3106 /**3131 /**
3107 * Lookup399: PhantomType::up_data_structs<T>3132 * Lookup400: PhantomType::up_data_structs<T>
3108 **/3133 **/
3109 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]',3134 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]',
3110 /**3135 /**
3111 * Lookup401: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3136 * Lookup402: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3112 **/3137 **/
3113 UpDataStructsTokenData: {3138 UpDataStructsTokenData: {
3114 properties: 'Vec<UpDataStructsProperty>',3139 properties: 'Vec<UpDataStructsProperty>',
3115 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',3140 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',
3116 pieces: 'u128'3141 pieces: 'u128'
3117 },3142 },
3118 /**3143 /**
3119 * Lookup403: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>3144 * Lookup404: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
3120 **/3145 **/
3121 UpDataStructsRpcCollection: {3146 UpDataStructsRpcCollection: {
3122 owner: 'AccountId32',3147 owner: 'AccountId32',
3123 mode: 'UpDataStructsCollectionMode',3148 mode: 'UpDataStructsCollectionMode',
3132 readOnly: 'bool',3157 readOnly: 'bool',
3133 flags: 'UpDataStructsRpcCollectionFlags'3158 flags: 'UpDataStructsRpcCollectionFlags'
3134 },3159 },
3135 /**3160 /**
3136 * Lookup404: up_data_structs::RpcCollectionFlags3161 * Lookup405: up_data_structs::RpcCollectionFlags
3137 **/3162 **/
3138 UpDataStructsRpcCollectionFlags: {3163 UpDataStructsRpcCollectionFlags: {
3139 foreign: 'bool',3164 foreign: 'bool',
3140 erc721metadata: 'bool'3165 erc721metadata: 'bool'
3141 },3166 },
3142 /**3167 /**
3143 * Lookup405: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>3168 * Lookup406: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
3144 **/3169 **/
3145 RmrkTraitsCollectionCollectionInfo: {3170 RmrkTraitsCollectionCollectionInfo: {
3146 issuer: 'AccountId32',3171 issuer: 'AccountId32',
3147 metadata: 'Bytes',3172 metadata: 'Bytes',
3148 max: 'Option<u32>',3173 max: 'Option<u32>',
3149 symbol: 'Bytes',3174 symbol: 'Bytes',
3150 nftsCount: 'u32'3175 nftsCount: 'u32'
3151 },3176 },
3152 /**3177 /**
3153 * Lookup406: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3178 * Lookup407: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3154 **/3179 **/
3155 RmrkTraitsNftNftInfo: {3180 RmrkTraitsNftNftInfo: {
3156 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',3181 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
3157 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',3182 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',
3158 metadata: 'Bytes',3183 metadata: 'Bytes',
3159 equipped: 'bool',3184 equipped: 'bool',
3160 pending: 'bool'3185 pending: 'bool'
3161 },3186 },
3162 /**3187 /**
3163 * Lookup408: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3188 * Lookup409: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
3164 **/3189 **/
3165 RmrkTraitsNftRoyaltyInfo: {3190 RmrkTraitsNftRoyaltyInfo: {
3166 recipient: 'AccountId32',3191 recipient: 'AccountId32',
3167 amount: 'Permill'3192 amount: 'Permill'
3168 },3193 },
3169 /**3194 /**
3170 * Lookup409: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3195 * Lookup410: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3171 **/3196 **/
3172 RmrkTraitsResourceResourceInfo: {3197 RmrkTraitsResourceResourceInfo: {
3173 id: 'u32',3198 id: 'u32',
3174 resource: 'RmrkTraitsResourceResourceTypes',3199 resource: 'RmrkTraitsResourceResourceTypes',
3175 pending: 'bool',3200 pending: 'bool',
3176 pendingRemoval: 'bool'3201 pendingRemoval: 'bool'
3177 },3202 },
3178 /**3203 /**
3179 * Lookup410: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3204 * Lookup411: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3180 **/3205 **/
3181 RmrkTraitsPropertyPropertyInfo: {3206 RmrkTraitsPropertyPropertyInfo: {
3182 key: 'Bytes',3207 key: 'Bytes',
3183 value: 'Bytes'3208 value: 'Bytes'
3184 },3209 },
3185 /**3210 /**
3186 * Lookup411: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3211 * Lookup412: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3187 **/3212 **/
3188 RmrkTraitsBaseBaseInfo: {3213 RmrkTraitsBaseBaseInfo: {
3189 issuer: 'AccountId32',3214 issuer: 'AccountId32',
3190 baseType: 'Bytes',3215 baseType: 'Bytes',
3191 symbol: 'Bytes'3216 symbol: 'Bytes'
3192 },3217 },
3193 /**3218 /**
3194 * Lookup412: rmrk_traits::nft::NftChild3219 * Lookup413: rmrk_traits::nft::NftChild
3195 **/3220 **/
3196 RmrkTraitsNftNftChild: {3221 RmrkTraitsNftNftChild: {
3197 collectionId: 'u32',3222 collectionId: 'u32',
3198 nftId: 'u32'3223 nftId: 'u32'
3199 },3224 },
3200 /**3225 /**
3201 * Lookup413: up_pov_estimate_rpc::PovInfo3226 * Lookup414: up_pov_estimate_rpc::PovInfo
3202 **/3227 **/
3203 UpPovEstimateRpcPovInfo: {3228 UpPovEstimateRpcPovInfo: {
3204 proofSize: 'u64',3229 proofSize: 'u64',
3205 compactProofSize: 'u64',3230 compactProofSize: 'u64',
3206 compressedProofSize: 'u64',3231 compressedProofSize: 'u64',
3207 results: 'Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>',3232 results: 'Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>',
3208 keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'3233 keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'
3209 },3234 },
3210 /**3235 /**
3211 * Lookup416: sp_runtime::transaction_validity::TransactionValidityError3236 * Lookup417: sp_runtime::transaction_validity::TransactionValidityError
3212 **/3237 **/
3213 SpRuntimeTransactionValidityTransactionValidityError: {3238 SpRuntimeTransactionValidityTransactionValidityError: {
3214 _enum: {3239 _enum: {
3215 Invalid: 'SpRuntimeTransactionValidityInvalidTransaction',3240 Invalid: 'SpRuntimeTransactionValidityInvalidTransaction',
3216 Unknown: 'SpRuntimeTransactionValidityUnknownTransaction'3241 Unknown: 'SpRuntimeTransactionValidityUnknownTransaction'
3217 }3242 }
3218 },3243 },
3219 /**3244 /**
3220 * Lookup417: sp_runtime::transaction_validity::InvalidTransaction3245 * Lookup418: sp_runtime::transaction_validity::InvalidTransaction
3221 **/3246 **/
3222 SpRuntimeTransactionValidityInvalidTransaction: {3247 SpRuntimeTransactionValidityInvalidTransaction: {
3223 _enum: {3248 _enum: {
3224 Call: 'Null',3249 Call: 'Null',
3234 BadSigner: 'Null'3259 BadSigner: 'Null'
3235 }3260 }
3236 },3261 },
3237 /**3262 /**
3238 * Lookup418: sp_runtime::transaction_validity::UnknownTransaction3263 * Lookup419: sp_runtime::transaction_validity::UnknownTransaction
3239 **/3264 **/
3240 SpRuntimeTransactionValidityUnknownTransaction: {3265 SpRuntimeTransactionValidityUnknownTransaction: {
3241 _enum: {3266 _enum: {
3242 CannotLookup: 'Null',3267 CannotLookup: 'Null',
3243 NoUnsignedValidator: 'Null',3268 NoUnsignedValidator: 'Null',
3244 Custom: 'u8'3269 Custom: 'u8'
3245 }3270 }
3246 },3271 },
3247 /**3272 /**
3248 * Lookup420: up_pov_estimate_rpc::TrieKeyValue3273 * Lookup421: up_pov_estimate_rpc::TrieKeyValue
3249 **/3274 **/
3250 UpPovEstimateRpcTrieKeyValue: {3275 UpPovEstimateRpcTrieKeyValue: {
3251 key: 'Bytes',3276 key: 'Bytes',
3252 value: 'Bytes'3277 value: 'Bytes'
3253 },3278 },
3254 /**3279 /**
3255 * Lookup422: pallet_common::pallet::Error<T>3280 * Lookup423: pallet_common::pallet::Error<T>
3256 **/3281 **/
3257 PalletCommonError: {3282 PalletCommonError: {
3258 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']3283 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
3259 },3284 },
3260 /**3285 /**
3261 * Lookup424: pallet_fungible::pallet::Error<T>3286 * Lookup425: pallet_fungible::pallet::Error<T>
3262 **/3287 **/
3263 PalletFungibleError: {3288 PalletFungibleError: {
3264 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']3289 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
3265 },3290 },
3266 /**3291 /**
3267 * Lookup428: pallet_refungible::pallet::Error<T>3292 * Lookup429: pallet_refungible::pallet::Error<T>
3268 **/3293 **/
3269 PalletRefungibleError: {3294 PalletRefungibleError: {
3270 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3295 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
3271 },3296 },
3272 /**3297 /**
3273 * Lookup429: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3298 * Lookup430: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3274 **/3299 **/
3275 PalletNonfungibleItemData: {3300 PalletNonfungibleItemData: {
3276 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3301 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
3277 },3302 },
3278 /**3303 /**
3279 * Lookup431: up_data_structs::PropertyScope3304 * Lookup432: up_data_structs::PropertyScope
3280 **/3305 **/
3281 UpDataStructsPropertyScope: {3306 UpDataStructsPropertyScope: {
3282 _enum: ['None', 'Rmrk']3307 _enum: ['None', 'Rmrk']
3283 },3308 },
3284 /**3309 /**
3285 * Lookup434: pallet_nonfungible::pallet::Error<T>3310 * Lookup435: pallet_nonfungible::pallet::Error<T>
3286 **/3311 **/
3287 PalletNonfungibleError: {3312 PalletNonfungibleError: {
3288 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3313 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
3289 },3314 },
3290 /**3315 /**
3291 * Lookup435: pallet_structure::pallet::Error<T>3316 * Lookup436: pallet_structure::pallet::Error<T>
3292 **/3317 **/
3293 PalletStructureError: {3318 PalletStructureError: {
3294 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3319 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
3295 },3320 },
3296 /**3321 /**
3297 * Lookup436: pallet_rmrk_core::pallet::Error<T>3322 * Lookup437: pallet_rmrk_core::pallet::Error<T>
3298 **/3323 **/
3299 PalletRmrkCoreError: {3324 PalletRmrkCoreError: {
3300 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3325 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
3301 },3326 },
3302 /**3327 /**
3303 * Lookup438: pallet_rmrk_equip::pallet::Error<T>3328 * Lookup439: pallet_rmrk_equip::pallet::Error<T>
3304 **/3329 **/
3305 PalletRmrkEquipError: {3330 PalletRmrkEquipError: {
3306 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3331 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
3307 },3332 },
3308 /**3333 /**
3309 * Lookup444: pallet_app_promotion::pallet::Error<T>3334 * Lookup445: pallet_app_promotion::pallet::Error<T>
3310 **/3335 **/
3311 PalletAppPromotionError: {3336 PalletAppPromotionError: {
3312 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']3337 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
3313 },3338 },
3314 /**3339 /**
3315 * Lookup445: pallet_foreign_assets::module::Error<T>3340 * Lookup446: pallet_foreign_assets::module::Error<T>
3316 **/3341 **/
3317 PalletForeignAssetsModuleError: {3342 PalletForeignAssetsModuleError: {
3318 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']3343 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
3319 },3344 },
3320 /**3345 /**
3321 * Lookup447: pallet_evm::pallet::Error<T>3346 * Lookup448: pallet_evm::pallet::Error<T>
3322 **/3347 **/
3323 PalletEvmError: {3348 PalletEvmError: {
3324 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']3349 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
3325 },3350 },
3326 /**3351 /**
3327 * Lookup450: fp_rpc::TransactionStatus3352 * Lookup451: fp_rpc::TransactionStatus
3328 **/3353 **/
3329 FpRpcTransactionStatus: {3354 FpRpcTransactionStatus: {
3330 transactionHash: 'H256',3355 transactionHash: 'H256',
3331 transactionIndex: 'u32',3356 transactionIndex: 'u32',
3335 logs: 'Vec<EthereumLog>',3360 logs: 'Vec<EthereumLog>',
3336 logsBloom: 'EthbloomBloom'3361 logsBloom: 'EthbloomBloom'
3337 },3362 },
3338 /**3363 /**
3339 * Lookup452: ethbloom::Bloom3364 * Lookup453: ethbloom::Bloom
3340 **/3365 **/
3341 EthbloomBloom: '[u8;256]',3366 EthbloomBloom: '[u8;256]',
3342 /**3367 /**
3343 * Lookup454: ethereum::receipt::ReceiptV33368 * Lookup455: ethereum::receipt::ReceiptV3
3344 **/3369 **/
3345 EthereumReceiptReceiptV3: {3370 EthereumReceiptReceiptV3: {
3346 _enum: {3371 _enum: {
3347 Legacy: 'EthereumReceiptEip658ReceiptData',3372 Legacy: 'EthereumReceiptEip658ReceiptData',
3348 EIP2930: 'EthereumReceiptEip658ReceiptData',3373 EIP2930: 'EthereumReceiptEip658ReceiptData',
3349 EIP1559: 'EthereumReceiptEip658ReceiptData'3374 EIP1559: 'EthereumReceiptEip658ReceiptData'
3350 }3375 }
3351 },3376 },
3352 /**3377 /**
3353 * Lookup455: ethereum::receipt::EIP658ReceiptData3378 * Lookup456: ethereum::receipt::EIP658ReceiptData
3354 **/3379 **/
3355 EthereumReceiptEip658ReceiptData: {3380 EthereumReceiptEip658ReceiptData: {
3356 statusCode: 'u8',3381 statusCode: 'u8',
3357 usedGas: 'U256',3382 usedGas: 'U256',
3358 logsBloom: 'EthbloomBloom',3383 logsBloom: 'EthbloomBloom',
3359 logs: 'Vec<EthereumLog>'3384 logs: 'Vec<EthereumLog>'
3360 },3385 },
3361 /**3386 /**
3362 * Lookup456: ethereum::block::Block<ethereum::transaction::TransactionV2>3387 * Lookup457: ethereum::block::Block<ethereum::transaction::TransactionV2>
3363 **/3388 **/
3364 EthereumBlock: {3389 EthereumBlock: {
3365 header: 'EthereumHeader',3390 header: 'EthereumHeader',
3366 transactions: 'Vec<EthereumTransactionTransactionV2>',3391 transactions: 'Vec<EthereumTransactionTransactionV2>',
3367 ommers: 'Vec<EthereumHeader>'3392 ommers: 'Vec<EthereumHeader>'
3368 },3393 },
3369 /**3394 /**
3370 * Lookup457: ethereum::header::Header3395 * Lookup458: ethereum::header::Header
3371 **/3396 **/
3372 EthereumHeader: {3397 EthereumHeader: {
3373 parentHash: 'H256',3398 parentHash: 'H256',
3374 ommersHash: 'H256',3399 ommersHash: 'H256',
3386 mixHash: 'H256',3411 mixHash: 'H256',
3387 nonce: 'EthereumTypesHashH64'3412 nonce: 'EthereumTypesHashH64'
3388 },3413 },
3389 /**3414 /**
3390 * Lookup458: ethereum_types::hash::H643415 * Lookup459: ethereum_types::hash::H64
3391 **/3416 **/
3392 EthereumTypesHashH64: '[u8;8]',3417 EthereumTypesHashH64: '[u8;8]',
3393 /**3418 /**
3394 * Lookup463: pallet_ethereum::pallet::Error<T>3419 * Lookup464: pallet_ethereum::pallet::Error<T>
3395 **/3420 **/
3396 PalletEthereumError: {3421 PalletEthereumError: {
3397 _enum: ['InvalidSignature', 'PreLogExists']3422 _enum: ['InvalidSignature', 'PreLogExists']
3398 },3423 },
3399 /**3424 /**
3400 * Lookup464: pallet_evm_coder_substrate::pallet::Error<T>3425 * Lookup465: pallet_evm_coder_substrate::pallet::Error<T>
3401 **/3426 **/
3402 PalletEvmCoderSubstrateError: {3427 PalletEvmCoderSubstrateError: {
3403 _enum: ['OutOfGas', 'OutOfFund']3428 _enum: ['OutOfGas', 'OutOfFund']
3404 },3429 },
3405 /**3430 /**
3406 * Lookup465: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3431 * Lookup466: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3407 **/3432 **/
3408 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3433 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
3409 _enum: {3434 _enum: {
3410 Disabled: 'Null',3435 Disabled: 'Null',
3411 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3436 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',
3412 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3437 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'
3413 }3438 }
3414 },3439 },
3415 /**3440 /**
3416 * Lookup466: pallet_evm_contract_helpers::SponsoringModeT3441 * Lookup467: pallet_evm_contract_helpers::SponsoringModeT
3417 **/3442 **/
3418 PalletEvmContractHelpersSponsoringModeT: {3443 PalletEvmContractHelpersSponsoringModeT: {
3419 _enum: ['Disabled', 'Allowlisted', 'Generous']3444 _enum: ['Disabled', 'Allowlisted', 'Generous']
3420 },3445 },
3421 /**3446 /**
3422 * Lookup472: pallet_evm_contract_helpers::pallet::Error<T>3447 * Lookup473: pallet_evm_contract_helpers::pallet::Error<T>
3423 **/3448 **/
3424 PalletEvmContractHelpersError: {3449 PalletEvmContractHelpersError: {
3425 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']3450 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
3426 },3451 },
3427 /**3452 /**
3428 * Lookup473: pallet_evm_migration::pallet::Error<T>3453 * Lookup474: pallet_evm_migration::pallet::Error<T>
3429 **/3454 **/
3430 PalletEvmMigrationError: {3455 PalletEvmMigrationError: {
3431 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']3456 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
3432 },3457 },
3433 /**3458 /**
3434 * Lookup474: pallet_maintenance::pallet::Error<T>3459 * Lookup475: pallet_maintenance::pallet::Error<T>
3435 **/3460 **/
3436 PalletMaintenanceError: 'Null',3461 PalletMaintenanceError: 'Null',
3437 /**3462 /**
3438 * Lookup475: pallet_test_utils::pallet::Error<T>3463 * Lookup476: pallet_test_utils::pallet::Error<T>
3439 **/3464 **/
3440 PalletTestUtilsError: {3465 PalletTestUtilsError: {
3441 _enum: ['TestPalletDisabled', 'TriggerRollback']3466 _enum: ['TestPalletDisabled', 'TriggerRollback']
3442 },3467 },
3443 /**3468 /**
3444 * Lookup477: sp_runtime::MultiSignature3469 * Lookup478: sp_runtime::MultiSignature
3445 **/3470 **/
3446 SpRuntimeMultiSignature: {3471 SpRuntimeMultiSignature: {
3447 _enum: {3472 _enum: {
3448 Ed25519: 'SpCoreEd25519Signature',3473 Ed25519: 'SpCoreEd25519Signature',
3449 Sr25519: 'SpCoreSr25519Signature',3474 Sr25519: 'SpCoreSr25519Signature',
3450 Ecdsa: 'SpCoreEcdsaSignature'3475 Ecdsa: 'SpCoreEcdsaSignature'
3451 }3476 }
3452 },3477 },
3453 /**3478 /**
3454 * Lookup478: sp_core::ed25519::Signature3479 * Lookup479: sp_core::ed25519::Signature
3455 **/3480 **/
3456 SpCoreEd25519Signature: '[u8;64]',3481 SpCoreEd25519Signature: '[u8;64]',
3457 /**3482 /**
3458 * Lookup480: sp_core::sr25519::Signature3483 * Lookup481: sp_core::sr25519::Signature
3459 **/3484 **/
3460 SpCoreSr25519Signature: '[u8;64]',3485 SpCoreSr25519Signature: '[u8;64]',
3461 /**3486 /**
3462 * Lookup481: sp_core::ecdsa::Signature3487 * Lookup482: sp_core::ecdsa::Signature
3463 **/3488 **/
3464 SpCoreEcdsaSignature: '[u8;65]',3489 SpCoreEcdsaSignature: '[u8;65]',
3465 /**3490 /**
3466 * Lookup484: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3491 * Lookup485: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
3467 **/3492 **/
3468 FrameSystemExtensionsCheckSpecVersion: 'Null',3493 FrameSystemExtensionsCheckSpecVersion: 'Null',
3469 /**3494 /**
3470 * Lookup485: frame_system::extensions::check_tx_version::CheckTxVersion<T>3495 * Lookup486: frame_system::extensions::check_tx_version::CheckTxVersion<T>
3471 **/3496 **/
3472 FrameSystemExtensionsCheckTxVersion: 'Null',3497 FrameSystemExtensionsCheckTxVersion: 'Null',
3473 /**3498 /**
3474 * Lookup486: frame_system::extensions::check_genesis::CheckGenesis<T>3499 * Lookup487: frame_system::extensions::check_genesis::CheckGenesis<T>
3475 **/3500 **/
3476 FrameSystemExtensionsCheckGenesis: 'Null',3501 FrameSystemExtensionsCheckGenesis: 'Null',
3477 /**3502 /**
3478 * Lookup489: frame_system::extensions::check_nonce::CheckNonce<T>3503 * Lookup490: frame_system::extensions::check_nonce::CheckNonce<T>
3479 **/3504 **/
3480 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3505 FrameSystemExtensionsCheckNonce: 'Compact<u32>',
3481 /**3506 /**
3482 * Lookup490: frame_system::extensions::check_weight::CheckWeight<T>3507 * Lookup491: frame_system::extensions::check_weight::CheckWeight<T>
3483 **/3508 **/
3484 FrameSystemExtensionsCheckWeight: 'Null',3509 FrameSystemExtensionsCheckWeight: 'Null',
3485 /**3510 /**
3486 * Lookup491: opal_runtime::runtime_common::maintenance::CheckMaintenance3511 * Lookup492: opal_runtime::runtime_common::maintenance::CheckMaintenance
3487 **/3512 **/
3488 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',3513 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
3514 /**
3515 * Lookup493: opal_runtime::runtime_common::identity::DisableIdentityCalls
3516 **/
3517 OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',
3489 /**3518 /**
3490 * Lookup492: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3519 * Lookup494: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
3491 **/3520 **/
3492 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3521 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
3493 /**3522 /**
3494 * Lookup493: opal_runtime::Runtime3523 * Lookup495: opal_runtime::Runtime
3495 **/3524 **/
3496 OpalRuntimeRuntime: 'Null',3525 OpalRuntimeRuntime: 'Null',
3497 /**3526 /**
3498 * Lookup494: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3527 * Lookup496: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
3499 **/3528 **/
3500 PalletEthereumFakeTransactionFinalizer: 'Null'3529 PalletEthereumFakeTransactionFinalizer: 'Null'
3501};3530};
35023531
modifiedtests/src/interfaces/registry.tsdiffbeforeafterboth
5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions
6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';
77
8import 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, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import 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, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
99
10declare module '@polkadot/types/types/registry' {10declare module '@polkadot/types/types/registry' {
11 interface InterfaceTypes {11 interface InterfaceTypes {
74 FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;74 FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;
75 FrameSystemPhase: FrameSystemPhase;75 FrameSystemPhase: FrameSystemPhase;
76 OpalRuntimeRuntime: OpalRuntimeRuntime;76 OpalRuntimeRuntime: OpalRuntimeRuntime;
77 OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls;
77 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;78 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
78 OrmlTokensAccountData: OrmlTokensAccountData;79 OrmlTokensAccountData: OrmlTokensAccountData;
79 OrmlTokensBalanceLock: OrmlTokensBalanceLock;80 OrmlTokensBalanceLock: OrmlTokensBalanceLock;
103 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;104 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
104 PalletConfigurationCall: PalletConfigurationCall;105 PalletConfigurationCall: PalletConfigurationCall;
105 PalletConfigurationError: PalletConfigurationError;106 PalletConfigurationError: PalletConfigurationError;
107 PalletConfigurationEvent: PalletConfigurationEvent;
106 PalletEthereumCall: PalletEthereumCall;108 PalletEthereumCall: PalletEthereumCall;
107 PalletEthereumError: PalletEthereumError;109 PalletEthereumError: PalletEthereumError;
108 PalletEthereumEvent: PalletEthereumEvent;110 PalletEthereumEvent: PalletEthereumEvent;
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
1109 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1109 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
1110 }1110 }
1111
1112 /** @name PalletConfigurationEvent (89) */
1113 interface PalletConfigurationEvent extends Enum {
1114 readonly isNewDesiredCollators: boolean;
1115 readonly asNewDesiredCollators: {
1116 readonly desiredCollators: Option<u32>;
1117 } & Struct;
1118 readonly isNewCollatorLicenseBond: boolean;
1119 readonly asNewCollatorLicenseBond: {
1120 readonly bondCost: Option<u128>;
1121 } & Struct;
1122 readonly isNewCollatorKickThreshold: boolean;
1123 readonly asNewCollatorKickThreshold: {
1124 readonly lengthInBlocks: Option<u32>;
1125 } & Struct;
1126 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
1127 }
11111128
1112 /** @name PalletCommonEvent (89) */1129 /** @name PalletCommonEvent (92) */
1113 interface PalletCommonEvent extends Enum {1130 interface PalletCommonEvent extends Enum {
1114 readonly isCollectionCreated: boolean;1131 readonly isCollectionCreated: boolean;
1115 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1132 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
1158 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1175 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';
1159 }1176 }
11601177
1161 /** @name PalletEvmAccountBasicCrossAccountIdRepr (92) */1178 /** @name PalletEvmAccountBasicCrossAccountIdRepr (95) */
1162 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1179 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
1163 readonly isSubstrate: boolean;1180 readonly isSubstrate: boolean;
1164 readonly asSubstrate: AccountId32;1181 readonly asSubstrate: AccountId32;
1167 readonly type: 'Substrate' | 'Ethereum';1184 readonly type: 'Substrate' | 'Ethereum';
1168 }1185 }
11691186
1170 /** @name PalletStructureEvent (96) */1187 /** @name PalletStructureEvent (99) */
1171 interface PalletStructureEvent extends Enum {1188 interface PalletStructureEvent extends Enum {
1172 readonly isExecuted: boolean;1189 readonly isExecuted: boolean;
1173 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1190 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
1174 readonly type: 'Executed';1191 readonly type: 'Executed';
1175 }1192 }
11761193
1177 /** @name PalletRmrkCoreEvent (97) */1194 /** @name PalletRmrkCoreEvent (100) */
1178 interface PalletRmrkCoreEvent extends Enum {1195 interface PalletRmrkCoreEvent extends Enum {
1179 readonly isCollectionCreated: boolean;1196 readonly isCollectionCreated: boolean;
1180 readonly asCollectionCreated: {1197 readonly asCollectionCreated: {
1264 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1281 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
1265 }1282 }
12661283
1267 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (98) */1284 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (101) */
1268 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1285 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
1269 readonly isAccountId: boolean;1286 readonly isAccountId: boolean;
1270 readonly asAccountId: AccountId32;1287 readonly asAccountId: AccountId32;
1273 readonly type: 'AccountId' | 'CollectionAndNftTuple';1290 readonly type: 'AccountId' | 'CollectionAndNftTuple';
1274 }1291 }
12751292
1276 /** @name PalletRmrkEquipEvent (102) */1293 /** @name PalletRmrkEquipEvent (104) */
1277 interface PalletRmrkEquipEvent extends Enum {1294 interface PalletRmrkEquipEvent extends Enum {
1278 readonly isBaseCreated: boolean;1295 readonly isBaseCreated: boolean;
1279 readonly asBaseCreated: {1296 readonly asBaseCreated: {
1288 readonly type: 'BaseCreated' | 'EquippablesUpdated';1305 readonly type: 'BaseCreated' | 'EquippablesUpdated';
1289 }1306 }
12901307
1291 /** @name PalletAppPromotionEvent (103) */1308 /** @name PalletAppPromotionEvent (105) */
1292 interface PalletAppPromotionEvent extends Enum {1309 interface PalletAppPromotionEvent extends Enum {
1293 readonly isStakingRecalculation: boolean;1310 readonly isStakingRecalculation: boolean;
1294 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1311 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
1301 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1318 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
1302 }1319 }
13031320
1304 /** @name PalletForeignAssetsModuleEvent (104) */1321 /** @name PalletForeignAssetsModuleEvent (106) */
1305 interface PalletForeignAssetsModuleEvent extends Enum {1322 interface PalletForeignAssetsModuleEvent extends Enum {
1306 readonly isForeignAssetRegistered: boolean;1323 readonly isForeignAssetRegistered: boolean;
1307 readonly asForeignAssetRegistered: {1324 readonly asForeignAssetRegistered: {
1328 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1345 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';
1329 }1346 }
13301347
1331 /** @name PalletForeignAssetsModuleAssetMetadata (105) */1348 /** @name PalletForeignAssetsModuleAssetMetadata (107) */
1332 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1349 interface PalletForeignAssetsModuleAssetMetadata extends Struct {
1333 readonly name: Bytes;1350 readonly name: Bytes;
1334 readonly symbol: Bytes;1351 readonly symbol: Bytes;
1335 readonly decimals: u8;1352 readonly decimals: u8;
1336 readonly minimalBalance: u128;1353 readonly minimalBalance: u128;
1337 }1354 }
13381355
1339 /** @name PalletEvmEvent (106) */1356 /** @name PalletEvmEvent (108) */
1340 interface PalletEvmEvent extends Enum {1357 interface PalletEvmEvent extends Enum {
1341 readonly isLog: boolean;1358 readonly isLog: boolean;
1342 readonly asLog: {1359 readonly asLog: {
1361 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1378 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
1362 }1379 }
13631380
1364 /** @name EthereumLog (107) */1381 /** @name EthereumLog (109) */
1365 interface EthereumLog extends Struct {1382 interface EthereumLog extends Struct {
1366 readonly address: H160;1383 readonly address: H160;
1367 readonly topics: Vec<H256>;1384 readonly topics: Vec<H256>;
1368 readonly data: Bytes;1385 readonly data: Bytes;
1369 }1386 }
13701387
1371 /** @name PalletEthereumEvent (109) */1388 /** @name PalletEthereumEvent (111) */
1372 interface PalletEthereumEvent extends Enum {1389 interface PalletEthereumEvent extends Enum {
1373 readonly isExecuted: boolean;1390 readonly isExecuted: boolean;
1374 readonly asExecuted: {1391 readonly asExecuted: {
1380 readonly type: 'Executed';1397 readonly type: 'Executed';
1381 }1398 }
13821399
1383 /** @name EvmCoreErrorExitReason (110) */1400 /** @name EvmCoreErrorExitReason (112) */
1384 interface EvmCoreErrorExitReason extends Enum {1401 interface EvmCoreErrorExitReason extends Enum {
1385 readonly isSucceed: boolean;1402 readonly isSucceed: boolean;
1386 readonly asSucceed: EvmCoreErrorExitSucceed;1403 readonly asSucceed: EvmCoreErrorExitSucceed;
1393 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1410 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
1394 }1411 }
13951412
1396 /** @name EvmCoreErrorExitSucceed (111) */1413 /** @name EvmCoreErrorExitSucceed (113) */
1397 interface EvmCoreErrorExitSucceed extends Enum {1414 interface EvmCoreErrorExitSucceed extends Enum {
1398 readonly isStopped: boolean;1415 readonly isStopped: boolean;
1399 readonly isReturned: boolean;1416 readonly isReturned: boolean;
1400 readonly isSuicided: boolean;1417 readonly isSuicided: boolean;
1401 readonly type: 'Stopped' | 'Returned' | 'Suicided';1418 readonly type: 'Stopped' | 'Returned' | 'Suicided';
1402 }1419 }
14031420
1404 /** @name EvmCoreErrorExitError (112) */1421 /** @name EvmCoreErrorExitError (114) */
1405 interface EvmCoreErrorExitError extends Enum {1422 interface EvmCoreErrorExitError extends Enum {
1406 readonly isStackUnderflow: boolean;1423 readonly isStackUnderflow: boolean;
1407 readonly isStackOverflow: boolean;1424 readonly isStackOverflow: boolean;
1422 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1439 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
1423 }1440 }
14241441
1425 /** @name EvmCoreErrorExitRevert (115) */1442 /** @name EvmCoreErrorExitRevert (117) */
1426 interface EvmCoreErrorExitRevert extends Enum {1443 interface EvmCoreErrorExitRevert extends Enum {
1427 readonly isReverted: boolean;1444 readonly isReverted: boolean;
1428 readonly type: 'Reverted';1445 readonly type: 'Reverted';
1429 }1446 }
14301447
1431 /** @name EvmCoreErrorExitFatal (116) */1448 /** @name EvmCoreErrorExitFatal (118) */
1432 interface EvmCoreErrorExitFatal extends Enum {1449 interface EvmCoreErrorExitFatal extends Enum {
1433 readonly isNotSupported: boolean;1450 readonly isNotSupported: boolean;
1434 readonly isUnhandledInterrupt: boolean;1451 readonly isUnhandledInterrupt: boolean;
1439 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1456 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
1440 }1457 }
14411458
1442 /** @name PalletEvmContractHelpersEvent (117) */1459 /** @name PalletEvmContractHelpersEvent (119) */
1443 interface PalletEvmContractHelpersEvent extends Enum {1460 interface PalletEvmContractHelpersEvent extends Enum {
1444 readonly isContractSponsorSet: boolean;1461 readonly isContractSponsorSet: boolean;
1445 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1462 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;
1450 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1467 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';
1451 }1468 }
14521469
1453 /** @name PalletEvmMigrationEvent (118) */1470 /** @name PalletEvmMigrationEvent (120) */
1454 interface PalletEvmMigrationEvent extends Enum {1471 interface PalletEvmMigrationEvent extends Enum {
1455 readonly isTestEvent: boolean;1472 readonly isTestEvent: boolean;
1456 readonly type: 'TestEvent';1473 readonly type: 'TestEvent';
1457 }1474 }
14581475
1459 /** @name PalletMaintenanceEvent (119) */1476 /** @name PalletMaintenanceEvent (121) */
1460 interface PalletMaintenanceEvent extends Enum {1477 interface PalletMaintenanceEvent extends Enum {
1461 readonly isMaintenanceEnabled: boolean;1478 readonly isMaintenanceEnabled: boolean;
1462 readonly isMaintenanceDisabled: boolean;1479 readonly isMaintenanceDisabled: boolean;
1463 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1480 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';
1464 }1481 }
14651482
1466 /** @name PalletTestUtilsEvent (120) */1483 /** @name PalletTestUtilsEvent (122) */
1467 interface PalletTestUtilsEvent extends Enum {1484 interface PalletTestUtilsEvent extends Enum {
1468 readonly isValueIsSet: boolean;1485 readonly isValueIsSet: boolean;
1469 readonly isShouldRollback: boolean;1486 readonly isShouldRollback: boolean;
1470 readonly isBatchCompleted: boolean;1487 readonly isBatchCompleted: boolean;
1471 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1488 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';
1472 }1489 }
14731490
1474 /** @name FrameSystemPhase (121) */1491 /** @name FrameSystemPhase (123) */
1475 interface FrameSystemPhase extends Enum {1492 interface FrameSystemPhase extends Enum {
1476 readonly isApplyExtrinsic: boolean;1493 readonly isApplyExtrinsic: boolean;
1477 readonly asApplyExtrinsic: u32;1494 readonly asApplyExtrinsic: u32;
1480 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1497 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
1481 }1498 }
14821499
1483 /** @name FrameSystemLastRuntimeUpgradeInfo (124) */1500 /** @name FrameSystemLastRuntimeUpgradeInfo (126) */
1484 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1501 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
1485 readonly specVersion: Compact<u32>;1502 readonly specVersion: Compact<u32>;
1486 readonly specName: Text;1503 readonly specName: Text;
1487 }1504 }
14881505
1489 /** @name FrameSystemCall (125) */1506 /** @name FrameSystemCall (127) */
1490 interface FrameSystemCall extends Enum {1507 interface FrameSystemCall extends Enum {
1491 readonly isRemark: boolean;1508 readonly isRemark: boolean;
1492 readonly asRemark: {1509 readonly asRemark: {
1524 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1541 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
1525 }1542 }
15261543
1527 /** @name FrameSystemLimitsBlockWeights (129) */1544 /** @name FrameSystemLimitsBlockWeights (131) */
1528 interface FrameSystemLimitsBlockWeights extends Struct {1545 interface FrameSystemLimitsBlockWeights extends Struct {
1529 readonly baseBlock: SpWeightsWeightV2Weight;1546 readonly baseBlock: SpWeightsWeightV2Weight;
1530 readonly maxBlock: SpWeightsWeightV2Weight;1547 readonly maxBlock: SpWeightsWeightV2Weight;
1531 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1548 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
1532 }1549 }
15331550
1534 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (130) */1551 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (132) */
1535 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1552 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
1536 readonly normal: FrameSystemLimitsWeightsPerClass;1553 readonly normal: FrameSystemLimitsWeightsPerClass;
1537 readonly operational: FrameSystemLimitsWeightsPerClass;1554 readonly operational: FrameSystemLimitsWeightsPerClass;
1538 readonly mandatory: FrameSystemLimitsWeightsPerClass;1555 readonly mandatory: FrameSystemLimitsWeightsPerClass;
1539 }1556 }
15401557
1541 /** @name FrameSystemLimitsWeightsPerClass (131) */1558 /** @name FrameSystemLimitsWeightsPerClass (133) */
1542 interface FrameSystemLimitsWeightsPerClass extends Struct {1559 interface FrameSystemLimitsWeightsPerClass extends Struct {
1543 readonly baseExtrinsic: SpWeightsWeightV2Weight;1560 readonly baseExtrinsic: SpWeightsWeightV2Weight;
1544 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1561 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
1545 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1562 readonly maxTotal: Option<SpWeightsWeightV2Weight>;
1546 readonly reserved: Option<SpWeightsWeightV2Weight>;1563 readonly reserved: Option<SpWeightsWeightV2Weight>;
1547 }1564 }
15481565
1549 /** @name FrameSystemLimitsBlockLength (133) */1566 /** @name FrameSystemLimitsBlockLength (135) */
1550 interface FrameSystemLimitsBlockLength extends Struct {1567 interface FrameSystemLimitsBlockLength extends Struct {
1551 readonly max: FrameSupportDispatchPerDispatchClassU32;1568 readonly max: FrameSupportDispatchPerDispatchClassU32;
1552 }1569 }
15531570
1554 /** @name FrameSupportDispatchPerDispatchClassU32 (134) */1571 /** @name FrameSupportDispatchPerDispatchClassU32 (136) */
1555 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1572 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
1556 readonly normal: u32;1573 readonly normal: u32;
1557 readonly operational: u32;1574 readonly operational: u32;
1558 readonly mandatory: u32;1575 readonly mandatory: u32;
1559 }1576 }
15601577
1561 /** @name SpWeightsRuntimeDbWeight (135) */1578 /** @name SpWeightsRuntimeDbWeight (137) */
1562 interface SpWeightsRuntimeDbWeight extends Struct {1579 interface SpWeightsRuntimeDbWeight extends Struct {
1563 readonly read: u64;1580 readonly read: u64;
1564 readonly write: u64;1581 readonly write: u64;
1565 }1582 }
15661583
1567 /** @name SpVersionRuntimeVersion (136) */1584 /** @name SpVersionRuntimeVersion (138) */
1568 interface SpVersionRuntimeVersion extends Struct {1585 interface SpVersionRuntimeVersion extends Struct {
1569 readonly specName: Text;1586 readonly specName: Text;
1570 readonly implName: Text;1587 readonly implName: Text;
1576 readonly stateVersion: u8;1593 readonly stateVersion: u8;
1577 }1594 }
15781595
1579 /** @name FrameSystemError (141) */1596 /** @name FrameSystemError (143) */
1580 interface FrameSystemError extends Enum {1597 interface FrameSystemError extends Enum {
1581 readonly isInvalidSpecName: boolean;1598 readonly isInvalidSpecName: boolean;
1582 readonly isSpecVersionNeedsToIncrease: boolean;1599 readonly isSpecVersionNeedsToIncrease: boolean;
1587 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1604 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
1588 }1605 }
15891606
1590 /** @name PolkadotPrimitivesV2PersistedValidationData (142) */1607 /** @name PolkadotPrimitivesV2PersistedValidationData (144) */
1591 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1608 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
1592 readonly parentHead: Bytes;1609 readonly parentHead: Bytes;
1593 readonly relayParentNumber: u32;1610 readonly relayParentNumber: u32;
1594 readonly relayParentStorageRoot: H256;1611 readonly relayParentStorageRoot: H256;
1595 readonly maxPovSize: u32;1612 readonly maxPovSize: u32;
1596 }1613 }
15971614
1598 /** @name PolkadotPrimitivesV2UpgradeRestriction (145) */1615 /** @name PolkadotPrimitivesV2UpgradeRestriction (147) */
1599 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1616 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
1600 readonly isPresent: boolean;1617 readonly isPresent: boolean;
1601 readonly type: 'Present';1618 readonly type: 'Present';
1602 }1619 }
16031620
1604 /** @name SpTrieStorageProof (146) */1621 /** @name SpTrieStorageProof (148) */
1605 interface SpTrieStorageProof extends Struct {1622 interface SpTrieStorageProof extends Struct {
1606 readonly trieNodes: BTreeSet<Bytes>;1623 readonly trieNodes: BTreeSet<Bytes>;
1607 }1624 }
16081625
1609 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (148) */1626 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (150) */
1610 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1627 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
1611 readonly dmqMqcHead: H256;1628 readonly dmqMqcHead: H256;
1612 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1629 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
1613 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1630 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
1614 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1631 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
1615 }1632 }
16161633
1617 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (151) */1634 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (153) */
1618 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1635 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
1619 readonly maxCapacity: u32;1636 readonly maxCapacity: u32;
1620 readonly maxTotalSize: u32;1637 readonly maxTotalSize: u32;
1624 readonly mqcHead: Option<H256>;1641 readonly mqcHead: Option<H256>;
1625 }1642 }
16261643
1627 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (152) */1644 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (154) */
1628 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1645 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
1629 readonly maxCodeSize: u32;1646 readonly maxCodeSize: u32;
1630 readonly maxHeadDataSize: u32;1647 readonly maxHeadDataSize: u32;
1637 readonly validationUpgradeDelay: u32;1654 readonly validationUpgradeDelay: u32;
1638 }1655 }
16391656
1640 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (158) */1657 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (160) */
1641 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1658 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
1642 readonly recipient: u32;1659 readonly recipient: u32;
1643 readonly data: Bytes;1660 readonly data: Bytes;
1644 }1661 }
16451662
1646 /** @name CumulusPalletParachainSystemCall (159) */1663 /** @name CumulusPalletParachainSystemCall (161) */
1647 interface CumulusPalletParachainSystemCall extends Enum {1664 interface CumulusPalletParachainSystemCall extends Enum {
1648 readonly isSetValidationData: boolean;1665 readonly isSetValidationData: boolean;
1649 readonly asSetValidationData: {1666 readonly asSetValidationData: {
1664 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1681 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
1665 }1682 }
16661683
1667 /** @name CumulusPrimitivesParachainInherentParachainInherentData (160) */1684 /** @name CumulusPrimitivesParachainInherentParachainInherentData (162) */
1668 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1685 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
1669 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1686 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
1670 readonly relayChainState: SpTrieStorageProof;1687 readonly relayChainState: SpTrieStorageProof;
1671 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1688 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
1672 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1689 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
1673 }1690 }
16741691
1675 /** @name PolkadotCorePrimitivesInboundDownwardMessage (162) */1692 /** @name PolkadotCorePrimitivesInboundDownwardMessage (164) */
1676 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1693 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
1677 readonly sentAt: u32;1694 readonly sentAt: u32;
1678 readonly msg: Bytes;1695 readonly msg: Bytes;
1679 }1696 }
16801697
1681 /** @name PolkadotCorePrimitivesInboundHrmpMessage (165) */1698 /** @name PolkadotCorePrimitivesInboundHrmpMessage (167) */
1682 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1699 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
1683 readonly sentAt: u32;1700 readonly sentAt: u32;
1684 readonly data: Bytes;1701 readonly data: Bytes;
1685 }1702 }
16861703
1687 /** @name CumulusPalletParachainSystemError (168) */1704 /** @name CumulusPalletParachainSystemError (170) */
1688 interface CumulusPalletParachainSystemError extends Enum {1705 interface CumulusPalletParachainSystemError extends Enum {
1689 readonly isOverlappingUpgrades: boolean;1706 readonly isOverlappingUpgrades: boolean;
1690 readonly isProhibitedByPolkadot: boolean;1707 readonly isProhibitedByPolkadot: boolean;
1697 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1714 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
1698 }1715 }
16991716
1700 /** @name PalletBalancesBalanceLock (170) */1717 /** @name PalletBalancesBalanceLock (172) */
1701 interface PalletBalancesBalanceLock extends Struct {1718 interface PalletBalancesBalanceLock extends Struct {
1702 readonly id: U8aFixed;1719 readonly id: U8aFixed;
1703 readonly amount: u128;1720 readonly amount: u128;
1704 readonly reasons: PalletBalancesReasons;1721 readonly reasons: PalletBalancesReasons;
1705 }1722 }
17061723
1707 /** @name PalletBalancesReasons (171) */1724 /** @name PalletBalancesReasons (173) */
1708 interface PalletBalancesReasons extends Enum {1725 interface PalletBalancesReasons extends Enum {
1709 readonly isFee: boolean;1726 readonly isFee: boolean;
1710 readonly isMisc: boolean;1727 readonly isMisc: boolean;
1711 readonly isAll: boolean;1728 readonly isAll: boolean;
1712 readonly type: 'Fee' | 'Misc' | 'All';1729 readonly type: 'Fee' | 'Misc' | 'All';
1713 }1730 }
17141731
1715 /** @name PalletBalancesReserveData (174) */1732 /** @name PalletBalancesReserveData (176) */
1716 interface PalletBalancesReserveData extends Struct {1733 interface PalletBalancesReserveData extends Struct {
1717 readonly id: U8aFixed;1734 readonly id: U8aFixed;
1718 readonly amount: u128;1735 readonly amount: u128;
1719 }1736 }
17201737
1721 /** @name PalletBalancesCall (176) */1738 /** @name PalletBalancesCall (178) */
1722 interface PalletBalancesCall extends Enum {1739 interface PalletBalancesCall extends Enum {
1723 readonly isTransfer: boolean;1740 readonly isTransfer: boolean;
1724 readonly asTransfer: {1741 readonly asTransfer: {
1755 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1772 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
1756 }1773 }
17571774
1758 /** @name PalletBalancesError (179) */1775 /** @name PalletBalancesError (181) */
1759 interface PalletBalancesError extends Enum {1776 interface PalletBalancesError extends Enum {
1760 readonly isVestingBalance: boolean;1777 readonly isVestingBalance: boolean;
1761 readonly isLiquidityRestrictions: boolean;1778 readonly isLiquidityRestrictions: boolean;
1768 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1785 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
1769 }1786 }
17701787
1771 /** @name PalletTimestampCall (181) */1788 /** @name PalletTimestampCall (183) */
1772 interface PalletTimestampCall extends Enum {1789 interface PalletTimestampCall extends Enum {
1773 readonly isSet: boolean;1790 readonly isSet: boolean;
1774 readonly asSet: {1791 readonly asSet: {
1777 readonly type: 'Set';1794 readonly type: 'Set';
1778 }1795 }
17791796
1780 /** @name PalletTransactionPaymentReleases (183) */1797 /** @name PalletTransactionPaymentReleases (185) */
1781 interface PalletTransactionPaymentReleases extends Enum {1798 interface PalletTransactionPaymentReleases extends Enum {
1782 readonly isV1Ancient: boolean;1799 readonly isV1Ancient: boolean;
1783 readonly isV2: boolean;1800 readonly isV2: boolean;
1784 readonly type: 'V1Ancient' | 'V2';1801 readonly type: 'V1Ancient' | 'V2';
1785 }1802 }
17861803
1787 /** @name PalletTreasuryProposal (184) */1804 /** @name PalletTreasuryProposal (186) */
1788 interface PalletTreasuryProposal extends Struct {1805 interface PalletTreasuryProposal extends Struct {
1789 readonly proposer: AccountId32;1806 readonly proposer: AccountId32;
1790 readonly value: u128;1807 readonly value: u128;
1791 readonly beneficiary: AccountId32;1808 readonly beneficiary: AccountId32;
1792 readonly bond: u128;1809 readonly bond: u128;
1793 }1810 }
17941811
1795 /** @name PalletTreasuryCall (187) */1812 /** @name PalletTreasuryCall (189) */
1796 interface PalletTreasuryCall extends Enum {1813 interface PalletTreasuryCall extends Enum {
1797 readonly isProposeSpend: boolean;1814 readonly isProposeSpend: boolean;
1798 readonly asProposeSpend: {1815 readonly asProposeSpend: {
1819 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1836 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
1820 }1837 }
18211838
1822 /** @name FrameSupportPalletId (190) */1839 /** @name FrameSupportPalletId (191) */
1823 interface FrameSupportPalletId extends U8aFixed {}1840 interface FrameSupportPalletId extends U8aFixed {}
18241841
1825 /** @name PalletTreasuryError (191) */1842 /** @name PalletTreasuryError (192) */
1826 interface PalletTreasuryError extends Enum {1843 interface PalletTreasuryError extends Enum {
1827 readonly isInsufficientProposersBalance: boolean;1844 readonly isInsufficientProposersBalance: boolean;
1828 readonly isInvalidIndex: boolean;1845 readonly isInvalidIndex: boolean;
1832 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1849 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
1833 }1850 }
18341851
1835 /** @name PalletSudoCall (192) */1852 /** @name PalletSudoCall (193) */
1836 interface PalletSudoCall extends Enum {1853 interface PalletSudoCall extends Enum {
1837 readonly isSudo: boolean;1854 readonly isSudo: boolean;
1838 readonly asSudo: {1855 readonly asSudo: {
1855 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1872 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
1856 }1873 }
18571874
1858 /** @name OrmlVestingModuleCall (194) */1875 /** @name OrmlVestingModuleCall (195) */
1859 interface OrmlVestingModuleCall extends Enum {1876 interface OrmlVestingModuleCall extends Enum {
1860 readonly isClaim: boolean;1877 readonly isClaim: boolean;
1861 readonly isVestedTransfer: boolean;1878 readonly isVestedTransfer: boolean;
1875 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1892 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
1876 }1893 }
18771894
1878 /** @name OrmlXtokensModuleCall (196) */1895 /** @name OrmlXtokensModuleCall (197) */
1879 interface OrmlXtokensModuleCall extends Enum {1896 interface OrmlXtokensModuleCall extends Enum {
1880 readonly isTransfer: boolean;1897 readonly isTransfer: boolean;
1881 readonly asTransfer: {1898 readonly asTransfer: {
1922 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1939 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
1923 }1940 }
19241941
1925 /** @name XcmVersionedMultiAsset (197) */1942 /** @name XcmVersionedMultiAsset (198) */
1926 interface XcmVersionedMultiAsset extends Enum {1943 interface XcmVersionedMultiAsset extends Enum {
1927 readonly isV0: boolean;1944 readonly isV0: boolean;
1928 readonly asV0: XcmV0MultiAsset;1945 readonly asV0: XcmV0MultiAsset;
1931 readonly type: 'V0' | 'V1';1948 readonly type: 'V0' | 'V1';
1932 }1949 }
19331950
1934 /** @name OrmlTokensModuleCall (200) */1951 /** @name OrmlTokensModuleCall (201) */
1935 interface OrmlTokensModuleCall extends Enum {1952 interface OrmlTokensModuleCall extends Enum {
1936 readonly isTransfer: boolean;1953 readonly isTransfer: boolean;
1937 readonly asTransfer: {1954 readonly asTransfer: {
1968 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';1985 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
1969 }1986 }
19701987
1971 /** @name CumulusPalletXcmpQueueCall (201) */1988 /** @name CumulusPalletXcmpQueueCall (202) */
1972 interface CumulusPalletXcmpQueueCall extends Enum {1989 interface CumulusPalletXcmpQueueCall extends Enum {
1973 readonly isServiceOverweight: boolean;1990 readonly isServiceOverweight: boolean;
1974 readonly asServiceOverweight: {1991 readonly asServiceOverweight: {
2004 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2021 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
2005 }2022 }
20062023
2007 /** @name PalletXcmCall (202) */2024 /** @name PalletXcmCall (203) */
2008 interface PalletXcmCall extends Enum {2025 interface PalletXcmCall extends Enum {
2009 readonly isSend: boolean;2026 readonly isSend: boolean;
2010 readonly asSend: {2027 readonly asSend: {
2066 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2083 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
2067 }2084 }
20682085
2069 /** @name XcmVersionedXcm (203) */2086 /** @name XcmVersionedXcm (204) */
2070 interface XcmVersionedXcm extends Enum {2087 interface XcmVersionedXcm extends Enum {
2071 readonly isV0: boolean;2088 readonly isV0: boolean;
2072 readonly asV0: XcmV0Xcm;2089 readonly asV0: XcmV0Xcm;
2077 readonly type: 'V0' | 'V1' | 'V2';2094 readonly type: 'V0' | 'V1' | 'V2';
2078 }2095 }
20792096
2080 /** @name XcmV0Xcm (204) */2097 /** @name XcmV0Xcm (205) */
2081 interface XcmV0Xcm extends Enum {2098 interface XcmV0Xcm extends Enum {
2082 readonly isWithdrawAsset: boolean;2099 readonly isWithdrawAsset: boolean;
2083 readonly asWithdrawAsset: {2100 readonly asWithdrawAsset: {
2140 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2157 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
2141 }2158 }
21422159
2143 /** @name XcmV0Order (206) */2160 /** @name XcmV0Order (207) */
2144 interface XcmV0Order extends Enum {2161 interface XcmV0Order extends Enum {
2145 readonly isNull: boolean;2162 readonly isNull: boolean;
2146 readonly isDepositAsset: boolean;2163 readonly isDepositAsset: boolean;
2188 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2205 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2189 }2206 }
21902207
2191 /** @name XcmV0Response (208) */2208 /** @name XcmV0Response (209) */
2192 interface XcmV0Response extends Enum {2209 interface XcmV0Response extends Enum {
2193 readonly isAssets: boolean;2210 readonly isAssets: boolean;
2194 readonly asAssets: Vec<XcmV0MultiAsset>;2211 readonly asAssets: Vec<XcmV0MultiAsset>;
2195 readonly type: 'Assets';2212 readonly type: 'Assets';
2196 }2213 }
21972214
2198 /** @name XcmV1Xcm (209) */2215 /** @name XcmV1Xcm (210) */
2199 interface XcmV1Xcm extends Enum {2216 interface XcmV1Xcm extends Enum {
2200 readonly isWithdrawAsset: boolean;2217 readonly isWithdrawAsset: boolean;
2201 readonly asWithdrawAsset: {2218 readonly asWithdrawAsset: {
2264 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2281 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
2265 }2282 }
22662283
2267 /** @name XcmV1Order (211) */2284 /** @name XcmV1Order (212) */
2268 interface XcmV1Order extends Enum {2285 interface XcmV1Order extends Enum {
2269 readonly isNoop: boolean;2286 readonly isNoop: boolean;
2270 readonly isDepositAsset: boolean;2287 readonly isDepositAsset: boolean;
2314 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2331 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2315 }2332 }
23162333
2317 /** @name XcmV1Response (213) */2334 /** @name XcmV1Response (214) */
2318 interface XcmV1Response extends Enum {2335 interface XcmV1Response extends Enum {
2319 readonly isAssets: boolean;2336 readonly isAssets: boolean;
2320 readonly asAssets: XcmV1MultiassetMultiAssets;2337 readonly asAssets: XcmV1MultiassetMultiAssets;
2323 readonly type: 'Assets' | 'Version';2340 readonly type: 'Assets' | 'Version';
2324 }2341 }
23252342
2326 /** @name CumulusPalletXcmCall (227) */2343 /** @name CumulusPalletXcmCall (228) */
2327 type CumulusPalletXcmCall = Null;2344 type CumulusPalletXcmCall = Null;
23282345
2329 /** @name CumulusPalletDmpQueueCall (228) */2346 /** @name CumulusPalletDmpQueueCall (229) */
2330 interface CumulusPalletDmpQueueCall extends Enum {2347 interface CumulusPalletDmpQueueCall extends Enum {
2331 readonly isServiceOverweight: boolean;2348 readonly isServiceOverweight: boolean;
2332 readonly asServiceOverweight: {2349 readonly asServiceOverweight: {
2336 readonly type: 'ServiceOverweight';2353 readonly type: 'ServiceOverweight';
2337 }2354 }
23382355
2339 /** @name PalletInflationCall (229) */2356 /** @name PalletInflationCall (230) */
2340 interface PalletInflationCall extends Enum {2357 interface PalletInflationCall extends Enum {
2341 readonly isStartInflation: boolean;2358 readonly isStartInflation: boolean;
2342 readonly asStartInflation: {2359 readonly asStartInflation: {
2345 readonly type: 'StartInflation';2362 readonly type: 'StartInflation';
2346 }2363 }
23472364
2348 /** @name PalletUniqueCall (230) */2365 /** @name PalletUniqueCall (231) */
2349 interface PalletUniqueCall extends Enum {2366 interface PalletUniqueCall extends Enum {
2350 readonly isCreateCollection: boolean;2367 readonly isCreateCollection: boolean;
2351 readonly asCreateCollection: {2368 readonly asCreateCollection: {
2518 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2535 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
2519 }2536 }
25202537
2521 /** @name UpDataStructsCollectionMode (235) */2538 /** @name UpDataStructsCollectionMode (236) */
2522 interface UpDataStructsCollectionMode extends Enum {2539 interface UpDataStructsCollectionMode extends Enum {
2523 readonly isNft: boolean;2540 readonly isNft: boolean;
2524 readonly isFungible: boolean;2541 readonly isFungible: boolean;
2527 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2544 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
2528 }2545 }
25292546
2530 /** @name UpDataStructsCreateCollectionData (236) */2547 /** @name UpDataStructsCreateCollectionData (237) */
2531 interface UpDataStructsCreateCollectionData extends Struct {2548 interface UpDataStructsCreateCollectionData extends Struct {
2532 readonly mode: UpDataStructsCollectionMode;2549 readonly mode: UpDataStructsCollectionMode;
2533 readonly access: Option<UpDataStructsAccessMode>;2550 readonly access: Option<UpDataStructsAccessMode>;
2541 readonly properties: Vec<UpDataStructsProperty>;2558 readonly properties: Vec<UpDataStructsProperty>;
2542 }2559 }
25432560
2544 /** @name UpDataStructsAccessMode (238) */2561 /** @name UpDataStructsAccessMode (239) */
2545 interface UpDataStructsAccessMode extends Enum {2562 interface UpDataStructsAccessMode extends Enum {
2546 readonly isNormal: boolean;2563 readonly isNormal: boolean;
2547 readonly isAllowList: boolean;2564 readonly isAllowList: boolean;
2548 readonly type: 'Normal' | 'AllowList';2565 readonly type: 'Normal' | 'AllowList';
2549 }2566 }
25502567
2551 /** @name UpDataStructsCollectionLimits (240) */2568 /** @name UpDataStructsCollectionLimits (241) */
2552 interface UpDataStructsCollectionLimits extends Struct {2569 interface UpDataStructsCollectionLimits extends Struct {
2553 readonly accountTokenOwnershipLimit: Option<u32>;2570 readonly accountTokenOwnershipLimit: Option<u32>;
2554 readonly sponsoredDataSize: Option<u32>;2571 readonly sponsoredDataSize: Option<u32>;
2561 readonly transfersEnabled: Option<bool>;2578 readonly transfersEnabled: Option<bool>;
2562 }2579 }
25632580
2564 /** @name UpDataStructsSponsoringRateLimit (242) */2581 /** @name UpDataStructsSponsoringRateLimit (243) */
2565 interface UpDataStructsSponsoringRateLimit extends Enum {2582 interface UpDataStructsSponsoringRateLimit extends Enum {
2566 readonly isSponsoringDisabled: boolean;2583 readonly isSponsoringDisabled: boolean;
2567 readonly isBlocks: boolean;2584 readonly isBlocks: boolean;
2568 readonly asBlocks: u32;2585 readonly asBlocks: u32;
2569 readonly type: 'SponsoringDisabled' | 'Blocks';2586 readonly type: 'SponsoringDisabled' | 'Blocks';
2570 }2587 }
25712588
2572 /** @name UpDataStructsCollectionPermissions (245) */2589 /** @name UpDataStructsCollectionPermissions (246) */
2573 interface UpDataStructsCollectionPermissions extends Struct {2590 interface UpDataStructsCollectionPermissions extends Struct {
2574 readonly access: Option<UpDataStructsAccessMode>;2591 readonly access: Option<UpDataStructsAccessMode>;
2575 readonly mintMode: Option<bool>;2592 readonly mintMode: Option<bool>;
2576 readonly nesting: Option<UpDataStructsNestingPermissions>;2593 readonly nesting: Option<UpDataStructsNestingPermissions>;
2577 }2594 }
25782595
2579 /** @name UpDataStructsNestingPermissions (247) */2596 /** @name UpDataStructsNestingPermissions (248) */
2580 interface UpDataStructsNestingPermissions extends Struct {2597 interface UpDataStructsNestingPermissions extends Struct {
2581 readonly tokenOwner: bool;2598 readonly tokenOwner: bool;
2582 readonly collectionAdmin: bool;2599 readonly collectionAdmin: bool;
2583 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2600 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
2584 }2601 }
25852602
2586 /** @name UpDataStructsOwnerRestrictedSet (249) */2603 /** @name UpDataStructsOwnerRestrictedSet (250) */
2587 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2604 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
25882605
2589 /** @name UpDataStructsPropertyKeyPermission (254) */2606 /** @name UpDataStructsPropertyKeyPermission (255) */
2590 interface UpDataStructsPropertyKeyPermission extends Struct {2607 interface UpDataStructsPropertyKeyPermission extends Struct {
2591 readonly key: Bytes;2608 readonly key: Bytes;
2592 readonly permission: UpDataStructsPropertyPermission;2609 readonly permission: UpDataStructsPropertyPermission;
2593 }2610 }
25942611
2595 /** @name UpDataStructsPropertyPermission (255) */2612 /** @name UpDataStructsPropertyPermission (256) */
2596 interface UpDataStructsPropertyPermission extends Struct {2613 interface UpDataStructsPropertyPermission extends Struct {
2597 readonly mutable: bool;2614 readonly mutable: bool;
2598 readonly collectionAdmin: bool;2615 readonly collectionAdmin: bool;
2599 readonly tokenOwner: bool;2616 readonly tokenOwner: bool;
2600 }2617 }
26012618
2602 /** @name UpDataStructsProperty (258) */2619 /** @name UpDataStructsProperty (259) */
2603 interface UpDataStructsProperty extends Struct {2620 interface UpDataStructsProperty extends Struct {
2604 readonly key: Bytes;2621 readonly key: Bytes;
2605 readonly value: Bytes;2622 readonly value: Bytes;
2606 }2623 }
26072624
2608 /** @name UpDataStructsCreateItemData (261) */2625 /** @name UpDataStructsCreateItemData (262) */
2609 interface UpDataStructsCreateItemData extends Enum {2626 interface UpDataStructsCreateItemData extends Enum {
2610 readonly isNft: boolean;2627 readonly isNft: boolean;
2611 readonly asNft: UpDataStructsCreateNftData;2628 readonly asNft: UpDataStructsCreateNftData;
2616 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2633 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
2617 }2634 }
26182635
2619 /** @name UpDataStructsCreateNftData (262) */2636 /** @name UpDataStructsCreateNftData (263) */
2620 interface UpDataStructsCreateNftData extends Struct {2637 interface UpDataStructsCreateNftData extends Struct {
2621 readonly properties: Vec<UpDataStructsProperty>;2638 readonly properties: Vec<UpDataStructsProperty>;
2622 }2639 }
26232640
2624 /** @name UpDataStructsCreateFungibleData (263) */2641 /** @name UpDataStructsCreateFungibleData (264) */
2625 interface UpDataStructsCreateFungibleData extends Struct {2642 interface UpDataStructsCreateFungibleData extends Struct {
2626 readonly value: u128;2643 readonly value: u128;
2627 }2644 }
26282645
2629 /** @name UpDataStructsCreateReFungibleData (264) */2646 /** @name UpDataStructsCreateReFungibleData (265) */
2630 interface UpDataStructsCreateReFungibleData extends Struct {2647 interface UpDataStructsCreateReFungibleData extends Struct {
2631 readonly pieces: u128;2648 readonly pieces: u128;
2632 readonly properties: Vec<UpDataStructsProperty>;2649 readonly properties: Vec<UpDataStructsProperty>;
2633 }2650 }
26342651
2635 /** @name UpDataStructsCreateItemExData (267) */2652 /** @name UpDataStructsCreateItemExData (268) */
2636 interface UpDataStructsCreateItemExData extends Enum {2653 interface UpDataStructsCreateItemExData extends Enum {
2637 readonly isNft: boolean;2654 readonly isNft: boolean;
2638 readonly asNft: Vec<UpDataStructsCreateNftExData>;2655 readonly asNft: Vec<UpDataStructsCreateNftExData>;
2645 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2662 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
2646 }2663 }
26472664
2648 /** @name UpDataStructsCreateNftExData (269) */2665 /** @name UpDataStructsCreateNftExData (270) */
2649 interface UpDataStructsCreateNftExData extends Struct {2666 interface UpDataStructsCreateNftExData extends Struct {
2650 readonly properties: Vec<UpDataStructsProperty>;2667 readonly properties: Vec<UpDataStructsProperty>;
2651 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2668 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
2652 }2669 }
26532670
2654 /** @name UpDataStructsCreateRefungibleExSingleOwner (276) */2671 /** @name UpDataStructsCreateRefungibleExSingleOwner (277) */
2655 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2672 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
2656 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2673 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
2657 readonly pieces: u128;2674 readonly pieces: u128;
2658 readonly properties: Vec<UpDataStructsProperty>;2675 readonly properties: Vec<UpDataStructsProperty>;
2659 }2676 }
26602677
2661 /** @name UpDataStructsCreateRefungibleExMultipleOwners (278) */2678 /** @name UpDataStructsCreateRefungibleExMultipleOwners (279) */
2662 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2679 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
2663 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2680 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
2664 readonly properties: Vec<UpDataStructsProperty>;2681 readonly properties: Vec<UpDataStructsProperty>;
2665 }2682 }
26662683
2667 /** @name PalletConfigurationCall (279) */2684 /** @name PalletConfigurationCall (280) */
2668 interface PalletConfigurationCall extends Enum {2685 interface PalletConfigurationCall extends Enum {
2669 readonly isSetWeightToFeeCoefficientOverride: boolean;2686 readonly isSetWeightToFeeCoefficientOverride: boolean;
2670 readonly asSetWeightToFeeCoefficientOverride: {2687 readonly asSetWeightToFeeCoefficientOverride: {
2682 readonly asSetAppPromotionConfigurationOverride: {2699 readonly asSetAppPromotionConfigurationOverride: {
2683 readonly configuration: PalletConfigurationAppPromotionConfiguration;2700 readonly configuration: PalletConfigurationAppPromotionConfiguration;
2684 } & Struct;2701 } & Struct;
2702 readonly isSetCollatorSelectionDesiredCollators: boolean;
2703 readonly asSetCollatorSelectionDesiredCollators: {
2704 readonly max: Option<u32>;
2705 } & Struct;
2706 readonly isSetCollatorSelectionLicenseBond: boolean;
2707 readonly asSetCollatorSelectionLicenseBond: {
2708 readonly amount: Option<u128>;
2709 } & Struct;
2710 readonly isSetCollatorSelectionKickThreshold: boolean;
2711 readonly asSetCollatorSelectionKickThreshold: {
2712 readonly threshold: Option<u32>;
2713 } & Struct;
2685 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';2714 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
2686 }2715 }
26872716
2688 /** @name PalletConfigurationAppPromotionConfiguration (284) */2717 /** @name PalletConfigurationAppPromotionConfiguration (285) */
2689 interface PalletConfigurationAppPromotionConfiguration extends Struct {2718 interface PalletConfigurationAppPromotionConfiguration extends Struct {
2690 readonly recalculationInterval: Option<u32>;2719 readonly recalculationInterval: Option<u32>;
2691 readonly pendingInterval: Option<u32>;2720 readonly pendingInterval: Option<u32>;
2692 readonly intervalIncome: Option<Perbill>;2721 readonly intervalIncome: Option<Perbill>;
2693 readonly maxStakersPerCalculation: Option<u8>;2722 readonly maxStakersPerCalculation: Option<u8>;
2694 }2723 }
26952724
2696 /** @name PalletTemplateTransactionPaymentCall (288) */2725 /** @name PalletTemplateTransactionPaymentCall (289) */
2697 type PalletTemplateTransactionPaymentCall = Null;2726 type PalletTemplateTransactionPaymentCall = Null;
26982727
2699 /** @name PalletStructureCall (289) */2728 /** @name PalletStructureCall (290) */
2700 type PalletStructureCall = Null;2729 type PalletStructureCall = Null;
27012730
2702 /** @name PalletRmrkCoreCall (290) */2731 /** @name PalletRmrkCoreCall (291) */
2703 interface PalletRmrkCoreCall extends Enum {2732 interface PalletRmrkCoreCall extends Enum {
2704 readonly isCreateCollection: boolean;2733 readonly isCreateCollection: boolean;
2705 readonly asCreateCollection: {2734 readonly asCreateCollection: {
2805 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2834 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
2806 }2835 }
28072836
2808 /** @name RmrkTraitsResourceResourceTypes (296) */2837 /** @name RmrkTraitsResourceResourceTypes (297) */
2809 interface RmrkTraitsResourceResourceTypes extends Enum {2838 interface RmrkTraitsResourceResourceTypes extends Enum {
2810 readonly isBasic: boolean;2839 readonly isBasic: boolean;
2811 readonly asBasic: RmrkTraitsResourceBasicResource;2840 readonly asBasic: RmrkTraitsResourceBasicResource;
2816 readonly type: 'Basic' | 'Composable' | 'Slot';2845 readonly type: 'Basic' | 'Composable' | 'Slot';
2817 }2846 }
28182847
2819 /** @name RmrkTraitsResourceBasicResource (298) */2848 /** @name RmrkTraitsResourceBasicResource (299) */
2820 interface RmrkTraitsResourceBasicResource extends Struct {2849 interface RmrkTraitsResourceBasicResource extends Struct {
2821 readonly src: Option<Bytes>;2850 readonly src: Option<Bytes>;
2822 readonly metadata: Option<Bytes>;2851 readonly metadata: Option<Bytes>;
2823 readonly license: Option<Bytes>;2852 readonly license: Option<Bytes>;
2824 readonly thumb: Option<Bytes>;2853 readonly thumb: Option<Bytes>;
2825 }2854 }
28262855
2827 /** @name RmrkTraitsResourceComposableResource (300) */2856 /** @name RmrkTraitsResourceComposableResource (301) */
2828 interface RmrkTraitsResourceComposableResource extends Struct {2857 interface RmrkTraitsResourceComposableResource extends Struct {
2829 readonly parts: Vec<u32>;2858 readonly parts: Vec<u32>;
2830 readonly base: u32;2859 readonly base: u32;
2834 readonly thumb: Option<Bytes>;2863 readonly thumb: Option<Bytes>;
2835 }2864 }
28362865
2837 /** @name RmrkTraitsResourceSlotResource (301) */2866 /** @name RmrkTraitsResourceSlotResource (302) */
2838 interface RmrkTraitsResourceSlotResource extends Struct {2867 interface RmrkTraitsResourceSlotResource extends Struct {
2839 readonly base: u32;2868 readonly base: u32;
2840 readonly src: Option<Bytes>;2869 readonly src: Option<Bytes>;
2844 readonly thumb: Option<Bytes>;2873 readonly thumb: Option<Bytes>;
2845 }2874 }
28462875
2847 /** @name PalletRmrkEquipCall (304) */2876 /** @name PalletRmrkEquipCall (305) */
2848 interface PalletRmrkEquipCall extends Enum {2877 interface PalletRmrkEquipCall extends Enum {
2849 readonly isCreateBase: boolean;2878 readonly isCreateBase: boolean;
2850 readonly asCreateBase: {2879 readonly asCreateBase: {
2866 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2895 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
2867 }2896 }
28682897
2869 /** @name RmrkTraitsPartPartType (307) */2898 /** @name RmrkTraitsPartPartType (308) */
2870 interface RmrkTraitsPartPartType extends Enum {2899 interface RmrkTraitsPartPartType extends Enum {
2871 readonly isFixedPart: boolean;2900 readonly isFixedPart: boolean;
2872 readonly asFixedPart: RmrkTraitsPartFixedPart;2901 readonly asFixedPart: RmrkTraitsPartFixedPart;
2875 readonly type: 'FixedPart' | 'SlotPart';2904 readonly type: 'FixedPart' | 'SlotPart';
2876 }2905 }
28772906
2878 /** @name RmrkTraitsPartFixedPart (309) */2907 /** @name RmrkTraitsPartFixedPart (310) */
2879 interface RmrkTraitsPartFixedPart extends Struct {2908 interface RmrkTraitsPartFixedPart extends Struct {
2880 readonly id: u32;2909 readonly id: u32;
2881 readonly z: u32;2910 readonly z: u32;
2882 readonly src: Bytes;2911 readonly src: Bytes;
2883 }2912 }
28842913
2885 /** @name RmrkTraitsPartSlotPart (310) */2914 /** @name RmrkTraitsPartSlotPart (311) */
2886 interface RmrkTraitsPartSlotPart extends Struct {2915 interface RmrkTraitsPartSlotPart extends Struct {
2887 readonly id: u32;2916 readonly id: u32;
2888 readonly equippable: RmrkTraitsPartEquippableList;2917 readonly equippable: RmrkTraitsPartEquippableList;
2889 readonly src: Bytes;2918 readonly src: Bytes;
2890 readonly z: u32;2919 readonly z: u32;
2891 }2920 }
28922921
2893 /** @name RmrkTraitsPartEquippableList (311) */2922 /** @name RmrkTraitsPartEquippableList (312) */
2894 interface RmrkTraitsPartEquippableList extends Enum {2923 interface RmrkTraitsPartEquippableList extends Enum {
2895 readonly isAll: boolean;2924 readonly isAll: boolean;
2896 readonly isEmpty: boolean;2925 readonly isEmpty: boolean;
2899 readonly type: 'All' | 'Empty' | 'Custom';2928 readonly type: 'All' | 'Empty' | 'Custom';
2900 }2929 }
29012930
2902 /** @name RmrkTraitsTheme (313) */2931 /** @name RmrkTraitsTheme (314) */
2903 interface RmrkTraitsTheme extends Struct {2932 interface RmrkTraitsTheme extends Struct {
2904 readonly name: Bytes;2933 readonly name: Bytes;
2905 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2934 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
2906 readonly inherit: bool;2935 readonly inherit: bool;
2907 }2936 }
29082937
2909 /** @name RmrkTraitsThemeThemeProperty (315) */2938 /** @name RmrkTraitsThemeThemeProperty (316) */
2910 interface RmrkTraitsThemeThemeProperty extends Struct {2939 interface RmrkTraitsThemeThemeProperty extends Struct {
2911 readonly key: Bytes;2940 readonly key: Bytes;
2912 readonly value: Bytes;2941 readonly value: Bytes;
2913 }2942 }
29142943
2915 /** @name PalletAppPromotionCall (317) */2944 /** @name PalletAppPromotionCall (318) */
2916 interface PalletAppPromotionCall extends Enum {2945 interface PalletAppPromotionCall extends Enum {
2917 readonly isSetAdminAddress: boolean;2946 readonly isSetAdminAddress: boolean;
2918 readonly asSetAdminAddress: {2947 readonly asSetAdminAddress: {
2946 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';2975 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
2947 }2976 }
29482977
2949 /** @name PalletForeignAssetsModuleCall (318) */2978 /** @name PalletForeignAssetsModuleCall (319) */
2950 interface PalletForeignAssetsModuleCall extends Enum {2979 interface PalletForeignAssetsModuleCall extends Enum {
2951 readonly isRegisterForeignAsset: boolean;2980 readonly isRegisterForeignAsset: boolean;
2952 readonly asRegisterForeignAsset: {2981 readonly asRegisterForeignAsset: {
2963 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';2992 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
2964 }2993 }
29652994
2966 /** @name PalletEvmCall (319) */2995 /** @name PalletEvmCall (320) */
2967 interface PalletEvmCall extends Enum {2996 interface PalletEvmCall extends Enum {
2968 readonly isWithdraw: boolean;2997 readonly isWithdraw: boolean;
2969 readonly asWithdraw: {2998 readonly asWithdraw: {
3008 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3037 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
3009 }3038 }
30103039
3011 /** @name PalletEthereumCall (325) */3040 /** @name PalletEthereumCall (326) */
3012 interface PalletEthereumCall extends Enum {3041 interface PalletEthereumCall extends Enum {
3013 readonly isTransact: boolean;3042 readonly isTransact: boolean;
3014 readonly asTransact: {3043 readonly asTransact: {
3017 readonly type: 'Transact';3046 readonly type: 'Transact';
3018 }3047 }
30193048
3020 /** @name EthereumTransactionTransactionV2 (326) */3049 /** @name EthereumTransactionTransactionV2 (327) */
3021 interface EthereumTransactionTransactionV2 extends Enum {3050 interface EthereumTransactionTransactionV2 extends Enum {
3022 readonly isLegacy: boolean;3051 readonly isLegacy: boolean;
3023 readonly asLegacy: EthereumTransactionLegacyTransaction;3052 readonly asLegacy: EthereumTransactionLegacyTransaction;
3028 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3057 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3029 }3058 }
30303059
3031 /** @name EthereumTransactionLegacyTransaction (327) */3060 /** @name EthereumTransactionLegacyTransaction (328) */
3032 interface EthereumTransactionLegacyTransaction extends Struct {3061 interface EthereumTransactionLegacyTransaction extends Struct {
3033 readonly nonce: U256;3062 readonly nonce: U256;
3034 readonly gasPrice: U256;3063 readonly gasPrice: U256;
3039 readonly signature: EthereumTransactionTransactionSignature;3068 readonly signature: EthereumTransactionTransactionSignature;
3040 }3069 }
30413070
3042 /** @name EthereumTransactionTransactionAction (328) */3071 /** @name EthereumTransactionTransactionAction (329) */
3043 interface EthereumTransactionTransactionAction extends Enum {3072 interface EthereumTransactionTransactionAction extends Enum {
3044 readonly isCall: boolean;3073 readonly isCall: boolean;
3045 readonly asCall: H160;3074 readonly asCall: H160;
3046 readonly isCreate: boolean;3075 readonly isCreate: boolean;
3047 readonly type: 'Call' | 'Create';3076 readonly type: 'Call' | 'Create';
3048 }3077 }
30493078
3050 /** @name EthereumTransactionTransactionSignature (329) */3079 /** @name EthereumTransactionTransactionSignature (330) */
3051 interface EthereumTransactionTransactionSignature extends Struct {3080 interface EthereumTransactionTransactionSignature extends Struct {
3052 readonly v: u64;3081 readonly v: u64;
3053 readonly r: H256;3082 readonly r: H256;
3054 readonly s: H256;3083 readonly s: H256;
3055 }3084 }
30563085
3057 /** @name EthereumTransactionEip2930Transaction (331) */3086 /** @name EthereumTransactionEip2930Transaction (332) */
3058 interface EthereumTransactionEip2930Transaction extends Struct {3087 interface EthereumTransactionEip2930Transaction extends Struct {
3059 readonly chainId: u64;3088 readonly chainId: u64;
3060 readonly nonce: U256;3089 readonly nonce: U256;
3069 readonly s: H256;3098 readonly s: H256;
3070 }3099 }
30713100
3072 /** @name EthereumTransactionAccessListItem (333) */3101 /** @name EthereumTransactionAccessListItem (334) */
3073 interface EthereumTransactionAccessListItem extends Struct {3102 interface EthereumTransactionAccessListItem extends Struct {
3074 readonly address: H160;3103 readonly address: H160;
3075 readonly storageKeys: Vec<H256>;3104 readonly storageKeys: Vec<H256>;
3076 }3105 }
30773106
3078 /** @name EthereumTransactionEip1559Transaction (334) */3107 /** @name EthereumTransactionEip1559Transaction (335) */
3079 interface EthereumTransactionEip1559Transaction extends Struct {3108 interface EthereumTransactionEip1559Transaction extends Struct {
3080 readonly chainId: u64;3109 readonly chainId: u64;
3081 readonly nonce: U256;3110 readonly nonce: U256;
3091 readonly s: H256;3120 readonly s: H256;
3092 }3121 }
30933122
3094 /** @name PalletEvmMigrationCall (335) */3123 /** @name PalletEvmMigrationCall (336) */
3095 interface PalletEvmMigrationCall extends Enum {3124 interface PalletEvmMigrationCall extends Enum {
3096 readonly isBegin: boolean;3125 readonly isBegin: boolean;
3097 readonly asBegin: {3126 readonly asBegin: {
3118 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3147 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
3119 }3148 }
31203149
3121 /** @name PalletMaintenanceCall (339) */3150 /** @name PalletMaintenanceCall (340) */
3122 interface PalletMaintenanceCall extends Enum {3151 interface PalletMaintenanceCall extends Enum {
3123 readonly isEnable: boolean;3152 readonly isEnable: boolean;
3124 readonly isDisable: boolean;3153 readonly isDisable: boolean;
3125 readonly type: 'Enable' | 'Disable';3154 readonly type: 'Enable' | 'Disable';
3126 }3155 }
31273156
3128 /** @name PalletTestUtilsCall (340) */3157 /** @name PalletTestUtilsCall (341) */
3129 interface PalletTestUtilsCall extends Enum {3158 interface PalletTestUtilsCall extends Enum {
3130 readonly isEnable: boolean;3159 readonly isEnable: boolean;
3131 readonly isSetTestValue: boolean;3160 readonly isSetTestValue: boolean;
3145 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3174 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
3146 }3175 }
31473176
3148 /** @name PalletSudoError (342) */3177 /** @name PalletSudoError (343) */
3149 interface PalletSudoError extends Enum {3178 interface PalletSudoError extends Enum {
3150 readonly isRequireSudo: boolean;3179 readonly isRequireSudo: boolean;
3151 readonly type: 'RequireSudo';3180 readonly type: 'RequireSudo';
3152 }3181 }
31533182
3154 /** @name OrmlVestingModuleError (344) */3183 /** @name OrmlVestingModuleError (345) */
3155 interface OrmlVestingModuleError extends Enum {3184 interface OrmlVestingModuleError extends Enum {
3156 readonly isZeroVestingPeriod: boolean;3185 readonly isZeroVestingPeriod: boolean;
3157 readonly isZeroVestingPeriodCount: boolean;3186 readonly isZeroVestingPeriodCount: boolean;
3162 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3191 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
3163 }3192 }
31643193
3165 /** @name OrmlXtokensModuleError (345) */3194 /** @name OrmlXtokensModuleError (346) */
3166 interface OrmlXtokensModuleError extends Enum {3195 interface OrmlXtokensModuleError extends Enum {
3167 readonly isAssetHasNoReserve: boolean;3196 readonly isAssetHasNoReserve: boolean;
3168 readonly isNotCrossChainTransfer: boolean;3197 readonly isNotCrossChainTransfer: boolean;
3186 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3215 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
3187 }3216 }
31883217
3189 /** @name OrmlTokensBalanceLock (348) */3218 /** @name OrmlTokensBalanceLock (349) */
3190 interface OrmlTokensBalanceLock extends Struct {3219 interface OrmlTokensBalanceLock extends Struct {
3191 readonly id: U8aFixed;3220 readonly id: U8aFixed;
3192 readonly amount: u128;3221 readonly amount: u128;
3193 }3222 }
31943223
3195 /** @name OrmlTokensAccountData (350) */3224 /** @name OrmlTokensAccountData (351) */
3196 interface OrmlTokensAccountData extends Struct {3225 interface OrmlTokensAccountData extends Struct {
3197 readonly free: u128;3226 readonly free: u128;
3198 readonly reserved: u128;3227 readonly reserved: u128;
3199 readonly frozen: u128;3228 readonly frozen: u128;
3200 }3229 }
32013230
3202 /** @name OrmlTokensReserveData (352) */3231 /** @name OrmlTokensReserveData (353) */
3203 interface OrmlTokensReserveData extends Struct {3232 interface OrmlTokensReserveData extends Struct {
3204 readonly id: Null;3233 readonly id: Null;
3205 readonly amount: u128;3234 readonly amount: u128;
3206 }3235 }
32073236
3208 /** @name OrmlTokensModuleError (354) */3237 /** @name OrmlTokensModuleError (355) */
3209 interface OrmlTokensModuleError extends Enum {3238 interface OrmlTokensModuleError extends Enum {
3210 readonly isBalanceTooLow: boolean;3239 readonly isBalanceTooLow: boolean;
3211 readonly isAmountIntoBalanceFailed: boolean;3240 readonly isAmountIntoBalanceFailed: boolean;
3218 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3247 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
3219 }3248 }
32203249
3221 /** @name CumulusPalletXcmpQueueInboundChannelDetails (356) */3250 /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */
3222 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3251 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
3223 readonly sender: u32;3252 readonly sender: u32;
3224 readonly state: CumulusPalletXcmpQueueInboundState;3253 readonly state: CumulusPalletXcmpQueueInboundState;
3225 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3254 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
3226 }3255 }
32273256
3228 /** @name CumulusPalletXcmpQueueInboundState (357) */3257 /** @name CumulusPalletXcmpQueueInboundState (358) */
3229 interface CumulusPalletXcmpQueueInboundState extends Enum {3258 interface CumulusPalletXcmpQueueInboundState extends Enum {
3230 readonly isOk: boolean;3259 readonly isOk: boolean;
3231 readonly isSuspended: boolean;3260 readonly isSuspended: boolean;
3232 readonly type: 'Ok' | 'Suspended';3261 readonly type: 'Ok' | 'Suspended';
3233 }3262 }
32343263
3235 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (360) */3264 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */
3236 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3265 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
3237 readonly isConcatenatedVersionedXcm: boolean;3266 readonly isConcatenatedVersionedXcm: boolean;
3238 readonly isConcatenatedEncodedBlob: boolean;3267 readonly isConcatenatedEncodedBlob: boolean;
3239 readonly isSignals: boolean;3268 readonly isSignals: boolean;
3240 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3269 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
3241 }3270 }
32423271
3243 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (363) */3272 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */
3244 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3273 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
3245 readonly recipient: u32;3274 readonly recipient: u32;
3246 readonly state: CumulusPalletXcmpQueueOutboundState;3275 readonly state: CumulusPalletXcmpQueueOutboundState;
3249 readonly lastIndex: u16;3278 readonly lastIndex: u16;
3250 }3279 }
32513280
3252 /** @name CumulusPalletXcmpQueueOutboundState (364) */3281 /** @name CumulusPalletXcmpQueueOutboundState (365) */
3253 interface CumulusPalletXcmpQueueOutboundState extends Enum {3282 interface CumulusPalletXcmpQueueOutboundState extends Enum {
3254 readonly isOk: boolean;3283 readonly isOk: boolean;
3255 readonly isSuspended: boolean;3284 readonly isSuspended: boolean;
3256 readonly type: 'Ok' | 'Suspended';3285 readonly type: 'Ok' | 'Suspended';
3257 }3286 }
32583287
3259 /** @name CumulusPalletXcmpQueueQueueConfigData (366) */3288 /** @name CumulusPalletXcmpQueueQueueConfigData (367) */
3260 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3289 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
3261 readonly suspendThreshold: u32;3290 readonly suspendThreshold: u32;
3262 readonly dropThreshold: u32;3291 readonly dropThreshold: u32;
3266 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3295 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
3267 }3296 }
32683297
3269 /** @name CumulusPalletXcmpQueueError (368) */3298 /** @name CumulusPalletXcmpQueueError (369) */
3270 interface CumulusPalletXcmpQueueError extends Enum {3299 interface CumulusPalletXcmpQueueError extends Enum {
3271 readonly isFailedToSend: boolean;3300 readonly isFailedToSend: boolean;
3272 readonly isBadXcmOrigin: boolean;3301 readonly isBadXcmOrigin: boolean;
3276 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3305 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
3277 }3306 }
32783307
3279 /** @name PalletXcmError (369) */3308 /** @name PalletXcmError (370) */
3280 interface PalletXcmError extends Enum {3309 interface PalletXcmError extends Enum {
3281 readonly isUnreachable: boolean;3310 readonly isUnreachable: boolean;
3282 readonly isSendFailure: boolean;3311 readonly isSendFailure: boolean;
3294 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3323 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
3295 }3324 }
32963325
3297 /** @name CumulusPalletXcmError (370) */3326 /** @name CumulusPalletXcmError (371) */
3298 type CumulusPalletXcmError = Null;3327 type CumulusPalletXcmError = Null;
32993328
3300 /** @name CumulusPalletDmpQueueConfigData (371) */3329 /** @name CumulusPalletDmpQueueConfigData (372) */
3301 interface CumulusPalletDmpQueueConfigData extends Struct {3330 interface CumulusPalletDmpQueueConfigData extends Struct {
3302 readonly maxIndividual: SpWeightsWeightV2Weight;3331 readonly maxIndividual: SpWeightsWeightV2Weight;
3303 }3332 }
33043333
3305 /** @name CumulusPalletDmpQueuePageIndexData (372) */3334 /** @name CumulusPalletDmpQueuePageIndexData (373) */
3306 interface CumulusPalletDmpQueuePageIndexData extends Struct {3335 interface CumulusPalletDmpQueuePageIndexData extends Struct {
3307 readonly beginUsed: u32;3336 readonly beginUsed: u32;
3308 readonly endUsed: u32;3337 readonly endUsed: u32;
3309 readonly overweightCount: u64;3338 readonly overweightCount: u64;
3310 }3339 }
33113340
3312 /** @name CumulusPalletDmpQueueError (375) */3341 /** @name CumulusPalletDmpQueueError (376) */
3313 interface CumulusPalletDmpQueueError extends Enum {3342 interface CumulusPalletDmpQueueError extends Enum {
3314 readonly isUnknown: boolean;3343 readonly isUnknown: boolean;
3315 readonly isOverLimit: boolean;3344 readonly isOverLimit: boolean;
3316 readonly type: 'Unknown' | 'OverLimit';3345 readonly type: 'Unknown' | 'OverLimit';
3317 }3346 }
33183347
3319 /** @name PalletUniqueError (379) */3348 /** @name PalletUniqueError (380) */
3320 interface PalletUniqueError extends Enum {3349 interface PalletUniqueError extends Enum {
3321 readonly isCollectionDecimalPointLimitExceeded: boolean;3350 readonly isCollectionDecimalPointLimitExceeded: boolean;
3322 readonly isEmptyArgument: boolean;3351 readonly isEmptyArgument: boolean;
3323 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3352 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;
3324 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3353 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
3325 }3354 }
33263355
3327 /** @name PalletConfigurationError (380) */3356 /** @name PalletConfigurationError (381) */
3328 interface PalletConfigurationError extends Enum {3357 interface PalletConfigurationError extends Enum {
3329 readonly isInconsistentConfiguration: boolean;3358 readonly isInconsistentConfiguration: boolean;
3330 readonly type: 'InconsistentConfiguration';3359 readonly type: 'InconsistentConfiguration';
3331 }3360 }
33323361
3333 /** @name UpDataStructsCollection (381) */3362 /** @name UpDataStructsCollection (382) */
3334 interface UpDataStructsCollection extends Struct {3363 interface UpDataStructsCollection extends Struct {
3335 readonly owner: AccountId32;3364 readonly owner: AccountId32;
3336 readonly mode: UpDataStructsCollectionMode;3365 readonly mode: UpDataStructsCollectionMode;
3343 readonly flags: U8aFixed;3372 readonly flags: U8aFixed;
3344 }3373 }
33453374
3346 /** @name UpDataStructsSponsorshipStateAccountId32 (382) */3375 /** @name UpDataStructsSponsorshipStateAccountId32 (383) */
3347 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3376 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
3348 readonly isDisabled: boolean;3377 readonly isDisabled: boolean;
3349 readonly isUnconfirmed: boolean;3378 readonly isUnconfirmed: boolean;
3353 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3382 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
3354 }3383 }
33553384
3356 /** @name UpDataStructsProperties (384) */3385 /** @name UpDataStructsProperties (385) */
3357 interface UpDataStructsProperties extends Struct {3386 interface UpDataStructsProperties extends Struct {
3358 readonly map: UpDataStructsPropertiesMapBoundedVec;3387 readonly map: UpDataStructsPropertiesMapBoundedVec;
3359 readonly consumedSpace: u32;3388 readonly consumedSpace: u32;
3360 readonly spaceLimit: u32;3389 readonly spaceLimit: u32;
3361 }3390 }
33623391
3363 /** @name UpDataStructsPropertiesMapBoundedVec (385) */3392 /** @name UpDataStructsPropertiesMapBoundedVec (386) */
3364 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3393 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
33653394
3366 /** @name UpDataStructsPropertiesMapPropertyPermission (390) */3395 /** @name UpDataStructsPropertiesMapPropertyPermission (391) */
3367 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3396 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
33683397
3369 /** @name UpDataStructsCollectionStats (397) */3398 /** @name UpDataStructsCollectionStats (398) */
3370 interface UpDataStructsCollectionStats extends Struct {3399 interface UpDataStructsCollectionStats extends Struct {
3371 readonly created: u32;3400 readonly created: u32;
3372 readonly destroyed: u32;3401 readonly destroyed: u32;
3373 readonly alive: u32;3402 readonly alive: u32;
3374 }3403 }
33753404
3376 /** @name UpDataStructsTokenChild (398) */3405 /** @name UpDataStructsTokenChild (399) */
3377 interface UpDataStructsTokenChild extends Struct {3406 interface UpDataStructsTokenChild extends Struct {
3378 readonly token: u32;3407 readonly token: u32;
3379 readonly collection: u32;3408 readonly collection: u32;
3380 }3409 }
33813410
3382 /** @name PhantomTypeUpDataStructs (399) */3411 /** @name PhantomTypeUpDataStructs (400) */
3383 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}3412 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}
33843413
3385 /** @name UpDataStructsTokenData (401) */3414 /** @name UpDataStructsTokenData (402) */
3386 interface UpDataStructsTokenData extends Struct {3415 interface UpDataStructsTokenData extends Struct {
3387 readonly properties: Vec<UpDataStructsProperty>;3416 readonly properties: Vec<UpDataStructsProperty>;
3388 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3417 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
3389 readonly pieces: u128;3418 readonly pieces: u128;
3390 }3419 }
33913420
3392 /** @name UpDataStructsRpcCollection (403) */3421 /** @name UpDataStructsRpcCollection (404) */
3393 interface UpDataStructsRpcCollection extends Struct {3422 interface UpDataStructsRpcCollection extends Struct {
3394 readonly owner: AccountId32;3423 readonly owner: AccountId32;
3395 readonly mode: UpDataStructsCollectionMode;3424 readonly mode: UpDataStructsCollectionMode;
3405 readonly flags: UpDataStructsRpcCollectionFlags;3434 readonly flags: UpDataStructsRpcCollectionFlags;
3406 }3435 }
34073436
3408 /** @name UpDataStructsRpcCollectionFlags (404) */3437 /** @name UpDataStructsRpcCollectionFlags (405) */
3409 interface UpDataStructsRpcCollectionFlags extends Struct {3438 interface UpDataStructsRpcCollectionFlags extends Struct {
3410 readonly foreign: bool;3439 readonly foreign: bool;
3411 readonly erc721metadata: bool;3440 readonly erc721metadata: bool;
3412 }3441 }
34133442
3414 /** @name RmrkTraitsCollectionCollectionInfo (405) */3443 /** @name RmrkTraitsCollectionCollectionInfo (406) */
3415 interface RmrkTraitsCollectionCollectionInfo extends Struct {3444 interface RmrkTraitsCollectionCollectionInfo extends Struct {
3416 readonly issuer: AccountId32;3445 readonly issuer: AccountId32;
3417 readonly metadata: Bytes;3446 readonly metadata: Bytes;
3420 readonly nftsCount: u32;3449 readonly nftsCount: u32;
3421 }3450 }
34223451
3423 /** @name RmrkTraitsNftNftInfo (406) */3452 /** @name RmrkTraitsNftNftInfo (407) */
3424 interface RmrkTraitsNftNftInfo extends Struct {3453 interface RmrkTraitsNftNftInfo extends Struct {
3425 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3454 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
3426 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3455 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
3429 readonly pending: bool;3458 readonly pending: bool;
3430 }3459 }
34313460
3432 /** @name RmrkTraitsNftRoyaltyInfo (408) */3461 /** @name RmrkTraitsNftRoyaltyInfo (409) */
3433 interface RmrkTraitsNftRoyaltyInfo extends Struct {3462 interface RmrkTraitsNftRoyaltyInfo extends Struct {
3434 readonly recipient: AccountId32;3463 readonly recipient: AccountId32;
3435 readonly amount: Permill;3464 readonly amount: Permill;
3436 }3465 }
34373466
3438 /** @name RmrkTraitsResourceResourceInfo (409) */3467 /** @name RmrkTraitsResourceResourceInfo (410) */
3439 interface RmrkTraitsResourceResourceInfo extends Struct {3468 interface RmrkTraitsResourceResourceInfo extends Struct {
3440 readonly id: u32;3469 readonly id: u32;
3441 readonly resource: RmrkTraitsResourceResourceTypes;3470 readonly resource: RmrkTraitsResourceResourceTypes;
3442 readonly pending: bool;3471 readonly pending: bool;
3443 readonly pendingRemoval: bool;3472 readonly pendingRemoval: bool;
3444 }3473 }
34453474
3446 /** @name RmrkTraitsPropertyPropertyInfo (410) */3475 /** @name RmrkTraitsPropertyPropertyInfo (411) */
3447 interface RmrkTraitsPropertyPropertyInfo extends Struct {3476 interface RmrkTraitsPropertyPropertyInfo extends Struct {
3448 readonly key: Bytes;3477 readonly key: Bytes;
3449 readonly value: Bytes;3478 readonly value: Bytes;
3450 }3479 }
34513480
3452 /** @name RmrkTraitsBaseBaseInfo (411) */3481 /** @name RmrkTraitsBaseBaseInfo (412) */
3453 interface RmrkTraitsBaseBaseInfo extends Struct {3482 interface RmrkTraitsBaseBaseInfo extends Struct {
3454 readonly issuer: AccountId32;3483 readonly issuer: AccountId32;
3455 readonly baseType: Bytes;3484 readonly baseType: Bytes;
3456 readonly symbol: Bytes;3485 readonly symbol: Bytes;
3457 }3486 }
34583487
3459 /** @name RmrkTraitsNftNftChild (412) */3488 /** @name RmrkTraitsNftNftChild (413) */
3460 interface RmrkTraitsNftNftChild extends Struct {3489 interface RmrkTraitsNftNftChild extends Struct {
3461 readonly collectionId: u32;3490 readonly collectionId: u32;
3462 readonly nftId: u32;3491 readonly nftId: u32;
3463 }3492 }
34643493
3465 /** @name UpPovEstimateRpcPovInfo (413) */3494 /** @name UpPovEstimateRpcPovInfo (414) */
3466 interface UpPovEstimateRpcPovInfo extends Struct {3495 interface UpPovEstimateRpcPovInfo extends Struct {
3467 readonly proofSize: u64;3496 readonly proofSize: u64;
3468 readonly compactProofSize: u64;3497 readonly compactProofSize: u64;
3471 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3500 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;
3472 }3501 }
34733502
3474 /** @name SpRuntimeTransactionValidityTransactionValidityError (416) */3503 /** @name SpRuntimeTransactionValidityTransactionValidityError (417) */
3475 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3504 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {
3476 readonly isInvalid: boolean;3505 readonly isInvalid: boolean;
3477 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3506 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;
3480 readonly type: 'Invalid' | 'Unknown';3509 readonly type: 'Invalid' | 'Unknown';
3481 }3510 }
34823511
3483 /** @name SpRuntimeTransactionValidityInvalidTransaction (417) */3512 /** @name SpRuntimeTransactionValidityInvalidTransaction (418) */
3484 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3513 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {
3485 readonly isCall: boolean;3514 readonly isCall: boolean;
3486 readonly isPayment: boolean;3515 readonly isPayment: boolean;
3497 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3526 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';
3498 }3527 }
34993528
3500 /** @name SpRuntimeTransactionValidityUnknownTransaction (418) */3529 /** @name SpRuntimeTransactionValidityUnknownTransaction (419) */
3501 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3530 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {
3502 readonly isCannotLookup: boolean;3531 readonly isCannotLookup: boolean;
3503 readonly isNoUnsignedValidator: boolean;3532 readonly isNoUnsignedValidator: boolean;
3506 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3535 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';
3507 }3536 }
35083537
3509 /** @name UpPovEstimateRpcTrieKeyValue (420) */3538 /** @name UpPovEstimateRpcTrieKeyValue (421) */
3510 interface UpPovEstimateRpcTrieKeyValue extends Struct {3539 interface UpPovEstimateRpcTrieKeyValue extends Struct {
3511 readonly key: Bytes;3540 readonly key: Bytes;
3512 readonly value: Bytes;3541 readonly value: Bytes;
3513 }3542 }
35143543
3515 /** @name PalletCommonError (422) */3544 /** @name PalletCommonError (423) */
3516 interface PalletCommonError extends Enum {3545 interface PalletCommonError extends Enum {
3517 readonly isCollectionNotFound: boolean;3546 readonly isCollectionNotFound: boolean;
3518 readonly isMustBeTokenOwner: boolean;3547 readonly isMustBeTokenOwner: boolean;
3553 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3582 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
3554 }3583 }
35553584
3556 /** @name PalletFungibleError (424) */3585 /** @name PalletFungibleError (425) */
3557 interface PalletFungibleError extends Enum {3586 interface PalletFungibleError extends Enum {
3558 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3587 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
3559 readonly isFungibleItemsHaveNoId: boolean;3588 readonly isFungibleItemsHaveNoId: boolean;
3565 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3594 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
3566 }3595 }
35673596
3568 /** @name PalletRefungibleError (428) */3597 /** @name PalletRefungibleError (429) */
3569 interface PalletRefungibleError extends Enum {3598 interface PalletRefungibleError extends Enum {
3570 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3599 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
3571 readonly isWrongRefungiblePieces: boolean;3600 readonly isWrongRefungiblePieces: boolean;
3575 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3604 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
3576 }3605 }
35773606
3578 /** @name PalletNonfungibleItemData (429) */3607 /** @name PalletNonfungibleItemData (430) */
3579 interface PalletNonfungibleItemData extends Struct {3608 interface PalletNonfungibleItemData extends Struct {
3580 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3609 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
3581 }3610 }
35823611
3583 /** @name UpDataStructsPropertyScope (431) */3612 /** @name UpDataStructsPropertyScope (432) */
3584 interface UpDataStructsPropertyScope extends Enum {3613 interface UpDataStructsPropertyScope extends Enum {
3585 readonly isNone: boolean;3614 readonly isNone: boolean;
3586 readonly isRmrk: boolean;3615 readonly isRmrk: boolean;
3587 readonly type: 'None' | 'Rmrk';3616 readonly type: 'None' | 'Rmrk';
3588 }3617 }
35893618
3590 /** @name PalletNonfungibleError (434) */3619 /** @name PalletNonfungibleError (435) */
3591 interface PalletNonfungibleError extends Enum {3620 interface PalletNonfungibleError extends Enum {
3592 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3621 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
3593 readonly isNonfungibleItemsHaveNoAmount: boolean;3622 readonly isNonfungibleItemsHaveNoAmount: boolean;
3594 readonly isCantBurnNftWithChildren: boolean;3623 readonly isCantBurnNftWithChildren: boolean;
3595 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3624 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
3596 }3625 }
35973626
3598 /** @name PalletStructureError (435) */3627 /** @name PalletStructureError (436) */
3599 interface PalletStructureError extends Enum {3628 interface PalletStructureError extends Enum {
3600 readonly isOuroborosDetected: boolean;3629 readonly isOuroborosDetected: boolean;
3601 readonly isDepthLimit: boolean;3630 readonly isDepthLimit: boolean;
3604 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3633 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
3605 }3634 }
36063635
3607 /** @name PalletRmrkCoreError (436) */3636 /** @name PalletRmrkCoreError (437) */
3608 interface PalletRmrkCoreError extends Enum {3637 interface PalletRmrkCoreError extends Enum {
3609 readonly isCorruptedCollectionType: boolean;3638 readonly isCorruptedCollectionType: boolean;
3610 readonly isRmrkPropertyKeyIsTooLong: boolean;3639 readonly isRmrkPropertyKeyIsTooLong: boolean;
3628 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3657 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
3629 }3658 }
36303659
3631 /** @name PalletRmrkEquipError (438) */3660 /** @name PalletRmrkEquipError (439) */
3632 interface PalletRmrkEquipError extends Enum {3661 interface PalletRmrkEquipError extends Enum {
3633 readonly isPermissionError: boolean;3662 readonly isPermissionError: boolean;
3634 readonly isNoAvailableBaseId: boolean;3663 readonly isNoAvailableBaseId: boolean;
3640 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3669 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
3641 }3670 }
36423671
3643 /** @name PalletAppPromotionError (444) */3672 /** @name PalletAppPromotionError (445) */
3644 interface PalletAppPromotionError extends Enum {3673 interface PalletAppPromotionError extends Enum {
3645 readonly isAdminNotSet: boolean;3674 readonly isAdminNotSet: boolean;
3646 readonly isNoPermission: boolean;3675 readonly isNoPermission: boolean;
3651 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3680 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
3652 }3681 }
36533682
3654 /** @name PalletForeignAssetsModuleError (445) */3683 /** @name PalletForeignAssetsModuleError (446) */
3655 interface PalletForeignAssetsModuleError extends Enum {3684 interface PalletForeignAssetsModuleError extends Enum {
3656 readonly isBadLocation: boolean;3685 readonly isBadLocation: boolean;
3657 readonly isMultiLocationExisted: boolean;3686 readonly isMultiLocationExisted: boolean;
3660 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3689 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
3661 }3690 }
36623691
3663 /** @name PalletEvmError (447) */3692 /** @name PalletEvmError (448) */
3664 interface PalletEvmError extends Enum {3693 interface PalletEvmError extends Enum {
3665 readonly isBalanceLow: boolean;3694 readonly isBalanceLow: boolean;
3666 readonly isFeeOverflow: boolean;3695 readonly isFeeOverflow: boolean;
3676 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';3705 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
3677 }3706 }
36783707
3679 /** @name FpRpcTransactionStatus (450) */3708 /** @name FpRpcTransactionStatus (451) */
3680 interface FpRpcTransactionStatus extends Struct {3709 interface FpRpcTransactionStatus extends Struct {
3681 readonly transactionHash: H256;3710 readonly transactionHash: H256;
3682 readonly transactionIndex: u32;3711 readonly transactionIndex: u32;
3687 readonly logsBloom: EthbloomBloom;3716 readonly logsBloom: EthbloomBloom;
3688 }3717 }
36893718
3690 /** @name EthbloomBloom (452) */3719 /** @name EthbloomBloom (453) */
3691 interface EthbloomBloom extends U8aFixed {}3720 interface EthbloomBloom extends U8aFixed {}
36923721
3693 /** @name EthereumReceiptReceiptV3 (454) */3722 /** @name EthereumReceiptReceiptV3 (455) */
3694 interface EthereumReceiptReceiptV3 extends Enum {3723 interface EthereumReceiptReceiptV3 extends Enum {
3695 readonly isLegacy: boolean;3724 readonly isLegacy: boolean;
3696 readonly asLegacy: EthereumReceiptEip658ReceiptData;3725 readonly asLegacy: EthereumReceiptEip658ReceiptData;
3701 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3730 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3702 }3731 }
37033732
3704 /** @name EthereumReceiptEip658ReceiptData (455) */3733 /** @name EthereumReceiptEip658ReceiptData (456) */
3705 interface EthereumReceiptEip658ReceiptData extends Struct {3734 interface EthereumReceiptEip658ReceiptData extends Struct {
3706 readonly statusCode: u8;3735 readonly statusCode: u8;
3707 readonly usedGas: U256;3736 readonly usedGas: U256;
3708 readonly logsBloom: EthbloomBloom;3737 readonly logsBloom: EthbloomBloom;
3709 readonly logs: Vec<EthereumLog>;3738 readonly logs: Vec<EthereumLog>;
3710 }3739 }
37113740
3712 /** @name EthereumBlock (456) */3741 /** @name EthereumBlock (457) */
3713 interface EthereumBlock extends Struct {3742 interface EthereumBlock extends Struct {
3714 readonly header: EthereumHeader;3743 readonly header: EthereumHeader;
3715 readonly transactions: Vec<EthereumTransactionTransactionV2>;3744 readonly transactions: Vec<EthereumTransactionTransactionV2>;
3716 readonly ommers: Vec<EthereumHeader>;3745 readonly ommers: Vec<EthereumHeader>;
3717 }3746 }
37183747
3719 /** @name EthereumHeader (457) */3748 /** @name EthereumHeader (458) */
3720 interface EthereumHeader extends Struct {3749 interface EthereumHeader extends Struct {
3721 readonly parentHash: H256;3750 readonly parentHash: H256;
3722 readonly ommersHash: H256;3751 readonly ommersHash: H256;
3735 readonly nonce: EthereumTypesHashH64;3764 readonly nonce: EthereumTypesHashH64;
3736 }3765 }
37373766
3738 /** @name EthereumTypesHashH64 (458) */3767 /** @name EthereumTypesHashH64 (459) */
3739 interface EthereumTypesHashH64 extends U8aFixed {}3768 interface EthereumTypesHashH64 extends U8aFixed {}
37403769
3741 /** @name PalletEthereumError (463) */3770 /** @name PalletEthereumError (464) */
3742 interface PalletEthereumError extends Enum {3771 interface PalletEthereumError extends Enum {
3743 readonly isInvalidSignature: boolean;3772 readonly isInvalidSignature: boolean;
3744 readonly isPreLogExists: boolean;3773 readonly isPreLogExists: boolean;
3745 readonly type: 'InvalidSignature' | 'PreLogExists';3774 readonly type: 'InvalidSignature' | 'PreLogExists';
3746 }3775 }
37473776
3748 /** @name PalletEvmCoderSubstrateError (464) */3777 /** @name PalletEvmCoderSubstrateError (465) */
3749 interface PalletEvmCoderSubstrateError extends Enum {3778 interface PalletEvmCoderSubstrateError extends Enum {
3750 readonly isOutOfGas: boolean;3779 readonly isOutOfGas: boolean;
3751 readonly isOutOfFund: boolean;3780 readonly isOutOfFund: boolean;
3752 readonly type: 'OutOfGas' | 'OutOfFund';3781 readonly type: 'OutOfGas' | 'OutOfFund';
3753 }3782 }
37543783
3755 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (465) */3784 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (466) */
3756 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3785 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
3757 readonly isDisabled: boolean;3786 readonly isDisabled: boolean;
3758 readonly isUnconfirmed: boolean;3787 readonly isUnconfirmed: boolean;
3762 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3791 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
3763 }3792 }
37643793
3765 /** @name PalletEvmContractHelpersSponsoringModeT (466) */3794 /** @name PalletEvmContractHelpersSponsoringModeT (467) */
3766 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3795 interface PalletEvmContractHelpersSponsoringModeT extends Enum {
3767 readonly isDisabled: boolean;3796 readonly isDisabled: boolean;
3768 readonly isAllowlisted: boolean;3797 readonly isAllowlisted: boolean;
3769 readonly isGenerous: boolean;3798 readonly isGenerous: boolean;
3770 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3799 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
3771 }3800 }
37723801
3773 /** @name PalletEvmContractHelpersError (472) */3802 /** @name PalletEvmContractHelpersError (473) */
3774 interface PalletEvmContractHelpersError extends Enum {3803 interface PalletEvmContractHelpersError extends Enum {
3775 readonly isNoPermission: boolean;3804 readonly isNoPermission: boolean;
3776 readonly isNoPendingSponsor: boolean;3805 readonly isNoPendingSponsor: boolean;
3777 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3806 readonly isTooManyMethodsHaveSponsoredLimit: boolean;
3778 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3807 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
3779 }3808 }
37803809
3781 /** @name PalletEvmMigrationError (473) */3810 /** @name PalletEvmMigrationError (474) */
3782 interface PalletEvmMigrationError extends Enum {3811 interface PalletEvmMigrationError extends Enum {
3783 readonly isAccountNotEmpty: boolean;3812 readonly isAccountNotEmpty: boolean;
3784 readonly isAccountIsNotMigrating: boolean;3813 readonly isAccountIsNotMigrating: boolean;
3785 readonly isBadEvent: boolean;3814 readonly isBadEvent: boolean;
3786 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3815 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
3787 }3816 }
37883817
3789 /** @name PalletMaintenanceError (474) */3818 /** @name PalletMaintenanceError (475) */
3790 type PalletMaintenanceError = Null;3819 type PalletMaintenanceError = Null;
37913820
3792 /** @name PalletTestUtilsError (475) */3821 /** @name PalletTestUtilsError (476) */
3793 interface PalletTestUtilsError extends Enum {3822 interface PalletTestUtilsError extends Enum {
3794 readonly isTestPalletDisabled: boolean;3823 readonly isTestPalletDisabled: boolean;
3795 readonly isTriggerRollback: boolean;3824 readonly isTriggerRollback: boolean;
3796 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3825 readonly type: 'TestPalletDisabled' | 'TriggerRollback';
3797 }3826 }
37983827
3799 /** @name SpRuntimeMultiSignature (477) */3828 /** @name SpRuntimeMultiSignature (478) */
3800 interface SpRuntimeMultiSignature extends Enum {3829 interface SpRuntimeMultiSignature extends Enum {
3801 readonly isEd25519: boolean;3830 readonly isEd25519: boolean;
3802 readonly asEd25519: SpCoreEd25519Signature;3831 readonly asEd25519: SpCoreEd25519Signature;
3807 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3836 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
3808 }3837 }
38093838
3810 /** @name SpCoreEd25519Signature (478) */3839 /** @name SpCoreEd25519Signature (479) */
3811 interface SpCoreEd25519Signature extends U8aFixed {}3840 interface SpCoreEd25519Signature extends U8aFixed {}
38123841
3813 /** @name SpCoreSr25519Signature (480) */3842 /** @name SpCoreSr25519Signature (481) */
3814 interface SpCoreSr25519Signature extends U8aFixed {}3843 interface SpCoreSr25519Signature extends U8aFixed {}
38153844
3816 /** @name SpCoreEcdsaSignature (481) */3845 /** @name SpCoreEcdsaSignature (482) */
3817 interface SpCoreEcdsaSignature extends U8aFixed {}3846 interface SpCoreEcdsaSignature extends U8aFixed {}
38183847
3819 /** @name FrameSystemExtensionsCheckSpecVersion (484) */3848 /** @name FrameSystemExtensionsCheckSpecVersion (485) */
3820 type FrameSystemExtensionsCheckSpecVersion = Null;3849 type FrameSystemExtensionsCheckSpecVersion = Null;
38213850
3822 /** @name FrameSystemExtensionsCheckTxVersion (485) */3851 /** @name FrameSystemExtensionsCheckTxVersion (486) */
3823 type FrameSystemExtensionsCheckTxVersion = Null;3852 type FrameSystemExtensionsCheckTxVersion = Null;
38243853
3825 /** @name FrameSystemExtensionsCheckGenesis (486) */3854 /** @name FrameSystemExtensionsCheckGenesis (487) */
3826 type FrameSystemExtensionsCheckGenesis = Null;3855 type FrameSystemExtensionsCheckGenesis = Null;
38273856
3828 /** @name FrameSystemExtensionsCheckNonce (489) */3857 /** @name FrameSystemExtensionsCheckNonce (490) */
3829 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3858 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
38303859
3831 /** @name FrameSystemExtensionsCheckWeight (490) */3860 /** @name FrameSystemExtensionsCheckWeight (491) */
3832 type FrameSystemExtensionsCheckWeight = Null;3861 type FrameSystemExtensionsCheckWeight = Null;
38333862
3834 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (491) */3863 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (492) */
3835 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;3864 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
3865
3866 /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (493) */
3867 type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null;
38363868
3837 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (492) */3869 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (494) */
3838 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3870 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
38393871
3840 /** @name OpalRuntimeRuntime (493) */3872 /** @name OpalRuntimeRuntime (495) */
3841 type OpalRuntimeRuntime = Null;3873 type OpalRuntimeRuntime = Null;
38423874
3843 /** @name PalletEthereumFakeTransactionFinalizer (494) */3875 /** @name PalletEthereumFakeTransactionFinalizer (496) */
3844 type PalletEthereumFakeTransactionFinalizer = Null;3876 type PalletEthereumFakeTransactionFinalizer = Null;
38453877
3846} // declare module3878} // declare module
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
66 const foreignAssets = 'foreignassets';66 const foreignAssets = 'foreignassets';
67 const rmrkPallets = ['rmrkcore', 'rmrkequip'];67 const rmrkPallets = ['rmrkcore', 'rmrkequip'];
68 const appPromotion = 'apppromotion';68 const appPromotion = 'apppromotion';
69 const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];
69 const testUtils = 'testutils';70 const testUtils = 'testutils';
7071
71 if (chain.eq('OPAL by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {72 if (chain.eq('OPAL by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {
81 refungible,82 refungible,
82 appPromotion,83 appPromotion,
83 foreignAssets,84 foreignAssets,
85 ...collatorSelection,
84 );86 );
85 } else if (chain.eq('UNIQUE')) {87 } else if (chain.eq('UNIQUE')) {
86 // Insert Unique additional pallets here88 // Insert Unique additional pallets here
addedtests/src/util/identitySetter.tsdiffbeforeafterboth

no changes

modifiedtests/src/util/index.tsdiffbeforeafterboth
110 NFT = 'nonfungible',110 NFT = 'nonfungible',
111 Scheduler = 'scheduler',111 Scheduler = 'scheduler',
112 AppPromotion = 'apppromotion',112 AppPromotion = 'apppromotion',
113 CollatorSelection = 'collatorselection',
114 Session = 'session',
115 Identity = 'identity',
113 TestUtils = 'testutils',116 TestUtils = 'testutils',
114}117}
115118
modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
66 arrange: ArrangeGroup;66 arrange: ArrangeGroup;
67 wait: WaitGroup;67 wait: WaitGroup;
68 admin: AdminGroup;68 admin: AdminGroup;
69 session: SessionGroup;
69 testUtils: TestUtilGroup;70 testUtils: TestUtilGroup;
7071
71 constructor(logger: { log: (msg: any, level: any) => void, level: any }, options: {[key: string]: any} = {}) {72 constructor(logger: { log: (msg: any, level: any) => void, level: any }, options: {[key: string]: any} = {}) {
76 this.wait = new WaitGroup(this);77 this.wait = new WaitGroup(this);
77 this.admin = new AdminGroup(this);78 this.admin = new AdminGroup(this);
78 this.testUtils = new TestUtilGroup(this);79 this.testUtils = new TestUtilGroup(this);
80 this.session = new SessionGroup(this);
79 }81 }
8082
81 async connect(wsEndpoint: string, _listeners?: any): Promise<void> {83 async connect(wsEndpoint: string, _listeners?: any): Promise<void> {
91 extrinsic: {},93 extrinsic: {},
92 payload: {},94 payload: {},
93 },95 },
96 DisableIdentityCalls: {
97 extrinsic: {},
98 payload: {},
99 },
94 FakeTransactionFinalizer: {100 FakeTransactionFinalizer: {
95 extrinsic: {},101 extrinsic: {},
96 payload: {},102 payload: {},
251 const accounts: IKeyringPair[] = [];257 const accounts: IKeyringPair[] = [];
252 let nonce = await this.helper.chain.getNonce(donor.address);258 let nonce = await this.helper.chain.getNonce(donor.address);
253 const tokenNominal = this.helper.balance.getOneTokenNominal();259 const tokenNominal = this.helper.balance.getOneTokenNominal();
260 const ss58Format = this.helper.chain.getChainProperties().ss58Format;
254 for (let i = 0; i < accountsToCreate; i++) {261 for (let i = 0; i < accountsToCreate; i++) {
255 if (i === 500) { // if there are too many accounts to create262 if (i === 500) { // if there are too many accounts to create
256 await Promise.allSettled(transactions); // wait while first 500 (should be 100 for devnode) tx will be settled263 await Promise.allSettled(transactions); // wait while first 500 (should be 100 for devnode) tx will be settled
257 transactions = []; //264 transactions = []; //
258 nonce = await this.helper.chain.getNonce(donor.address); // update nonce265 nonce = await this.helper.chain.getNonce(donor.address); // update nonce
259 }266 }
260 const recepient = this.helper.util.fromSeed(mnemonicGenerate());267 const recipient = this.helper.util.fromSeed(mnemonicGenerate(), ss58Format);
261 accounts.push(recepient);268 accounts.push(recipient);
262 if (withBalance !== 0n) {269 if (withBalance !== 0n) {
263 const tx = this.helper.constructApiCall('api.tx.balances.transfer', [{Id: recepient.address}, withBalance * tokenNominal]);270 const tx = this.helper.constructApiCall('api.tx.balances.transfer', [{Id: recipient.address}, withBalance * tokenNominal]);
264 transactions.push(this.helper.signTransaction(donor, tx, {nonce}, 'account generation'));271 transactions.push(this.helper.signTransaction(donor, tx, {nonce}, 'account generation'));
265 nonce++;272 nonce++;
266 }273 }
456 return promise;463 return promise;
457 }464 }
465
466 /**
467 * Launch some async operation, or throw an error after some time. Note that it will still continue executing after the timeout.
468 * @param promise async operation to race against the timeout
469 * @param timeoutMS time after which to time out
470 * @param timeoutError error message to throw
471 * @returns promise of the same type the operation had
472 */
473 withTimeout<T>(
474 promise: Promise<T>,
475 timeoutMS = 30000,
476 timeoutError = 'The operation has timed out!',
477 ): Promise<T> {
478 const timeout = new Promise<never>((_, reject) => {
479 setTimeout(() => {
480 reject(new Error(timeoutError));
481 }, timeoutMS);
482 });
483
484 return Promise.race<T>([promise, timeout]).catch(e => {throw new Error(e);});
485 }
458486
459 /**487 /**
460 * Wait for specified number of blocks488 * Wait for specified number of blocks
478 return promise;506 return promise;
479 }507 }
508
509 /**
510 * Wait for the specified number of sessions to pass.
511 * Only applicable if the Session pallet is turned on.
512 * @param sessionCount number of sessions to wait
513 * @param blockTimeout time in ms until panicking that the chain has stopped producing blocks
514 * @returns
515 */
516 async newSessions(sessionCount = 1, blockTimeout = 60000): Promise<void> {
517 console.log(`Waiting for ${sessionCount} new session${sessionCount > 1 ? 's' : ''}.`
518 + ' This might take a while -- check SessionPeriod in pallet_session::Config for session time.');
519
520 const expectedSessionIndex = await (this.helper as DevUniqueHelper).session.getIndex() + sessionCount;
521 let currentSessionIndex = -1;
522
523 while (currentSessionIndex < expectedSessionIndex) {
524 // eslint-disable-next-line no-async-promise-executor
525 currentSessionIndex = await this.withTimeout(new Promise(async (resolve) => {
526 await this.newBlocks(1);
527 const res = await (this.helper as DevUniqueHelper).session.getIndex();
528 resolve(res);
529 }), blockTimeout, 'The chain has stopped producing blocks!');
530 }
531 }
480532
481 async forParachainBlockNumber(blockNumber: bigint | number, timeout?: number) {533 async forParachainBlockNumber(blockNumber: bigint | number, timeout?: number) {
482 timeout = timeout ?? 30 * 60 * 1000;534 timeout = timeout ?? 30 * 60 * 1000;
561 }613 }
562}614}
615
616class SessionGroup {
617 helper: ChainHelperBase;
618
619 constructor(helper: ChainHelperBase) {
620 this.helper = helper;
621 }
622
623 //todo:collator documentation
624 async getIndex(): Promise<number> {
625 return (await this.helper.callRpc('api.query.session.currentIndex')).toNumber();
626 }
627
628 newSessions(sessionCount = 1, blockTimeout = 24000): Promise<void> {
629 return (this.helper as DevUniqueHelper).wait.newSessions(sessionCount, blockTimeout);
630 }
631
632 setOwnKeys(signer: TSigner, key: string) {
633 return this.helper.executeExtrinsic(
634 signer,
635 'api.tx.session.setKeys',
636 [key, '0x0'],
637 true,
638 );
639 }
640
641 setOwnKeysFromAddress(signer: TSigner) {
642 return this.setOwnKeys(signer, '0x' + Buffer.from(signer.addressRaw).toString('hex'));
643 }
644}
563645
564class TestUtilGroup {646class TestUtilGroup {
565 helper: DevUniqueHelper;647 helper: DevUniqueHelper;
modifiedtests/src/util/playgrounds/unique.tsdiffbeforeafterboth
2733 }2733 }
2734}2734}
2735
2736class CollatorSelectionGroup extends HelperGroup<UniqueHelper> {
2737 //todo:collator documentation
2738 addInvulnerable(signer: TSigner, address: string) {
2739 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.addInvulnerable', [address]);
2740 }
2741
2742 removeInvulnerable(signer: TSigner, address: string) {
2743 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.removeInvulnerable', [address]);
2744 }
2745
2746 async getInvulnerables(): Promise<string[]> {
2747 return (await this.helper.callRpc('api.query.collatorSelection.invulnerables')).map((x: any) => x.toHuman());
2748 }
2749
2750 /** and also total max invulnerables */
2751 maxCollators(): number {
2752 return (this.helper.getApi().consts.configuration.defaultCollatorSelectionMaxCollators.toJSON() as number);
2753 }
2754
2755 async getDesiredCollators(): Promise<number> {
2756 return (await this.helper.callRpc('api.query.configuration.collatorSelectionDesiredCollatorsOverride')).toNumber();
2757 }
2758
2759 setLicenseBond(signer: TSigner, amount: bigint) {
2760 return this.helper.executeExtrinsic(signer, 'api.tx.configuration.setCollatorSelectionLicenseBond', [amount]);
2761 }
2762
2763 async getLicenseBond(): Promise<bigint> {
2764 return (await this.helper.callRpc('api.query.configuration.collatorSelectionLicenseBondOverride')).toBigInt();
2765 }
2766
2767 obtainLicense(signer: TSigner) {
2768 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.getLicense', []);
2769 }
2770
2771 releaseLicense(signer: TSigner) {
2772 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.releaseLicense', []);
2773 }
2774
2775 forceReleaseLicense(signer: TSigner, released: string) {
2776 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.forceReleaseLicense', [released]);
2777 }
2778
2779 async hasLicense(address: string): Promise<bigint> {
2780 return (await this.helper.callRpc('api.query.collatorSelection.licenseDepositOf', [address])).toBigInt();
2781 }
2782
2783 onboard(signer: TSigner) {
2784 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.onboard', []);
2785 }
2786
2787 offboard(signer: TSigner) {
2788 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.offboard', []);
2789 }
2790
2791 async getCandidates(): Promise<string[]> {
2792 return (await this.helper.callRpc('api.query.collatorSelection.candidates')).map((x: any) => x.toHuman());
2793 }
2794}
27352795
2736class ForeignAssetsGroup extends HelperGroup<UniqueHelper> {2796class ForeignAssetsGroup extends HelperGroup<UniqueHelper> {
2737 async register(signer: TSigner, ownerAddress: TSubstrateAccount, location: any, metadata: IForeignAssetMetadata) {2797 async register(signer: TSigner, ownerAddress: TSubstrateAccount, location: any, metadata: IForeignAssetMetadata) {
2957 ft: FTGroup;3017 ft: FTGroup;
2958 staking: StakingGroup;3018 staking: StakingGroup;
2959 scheduler: SchedulerGroup;3019 scheduler: SchedulerGroup;
3020 collatorSelection: CollatorSelectionGroup;
2960 foreignAssets: ForeignAssetsGroup;3021 foreignAssets: ForeignAssetsGroup;
2961 xcm: XcmGroup<UniqueHelper>;3022 xcm: XcmGroup<UniqueHelper>;
2962 xTokens: XTokensGroup<UniqueHelper>;3023 xTokens: XTokensGroup<UniqueHelper>;
2972 this.ft = new FTGroup(this);3033 this.ft = new FTGroup(this);
2973 this.staking = new StakingGroup(this);3034 this.staking = new StakingGroup(this);
2974 this.scheduler = new SchedulerGroup(this);3035 this.scheduler = new SchedulerGroup(this);
3036 this.collatorSelection = new CollatorSelectionGroup(this);
2975 this.foreignAssets = new ForeignAssetsGroup(this);3037 this.foreignAssets = new ForeignAssetsGroup(this);
2976 this.xcm = new XcmGroup(this, 'polkadotXcm');3038 this.xcm = new XcmGroup(this, 'polkadotXcm');
2977 this.xTokens = new XTokensGroup(this);3039 this.xTokens = new XTokensGroup(this);
3139 super(...args);3201 super(...args);
3140 }3202 }
31413203
3142 executeExtrinsic (3204 async executeExtrinsic(
3143 sender: IKeyringPair,3205 sender: IKeyringPair,
3144 extrinsic: string,3206 extrinsic: string,
3145 params: any[],3207 params: any[],
3146 expectSuccess?: boolean,3208 expectSuccess?: boolean,
3209 options: Partial<SignerOptions>|null = null,
3147 ): Promise<ITransactionResult> {3210 ): Promise<ITransactionResult> {
3148 const call = this.constructApiCall(extrinsic, params);3211 const call = this.constructApiCall(extrinsic, params);
3149 return super.executeExtrinsic(3212 const result = await super.executeExtrinsic(
3150 sender,3213 sender,
3151 'api.tx.sudo.sudo',3214 'api.tx.sudo.sudo',
3152 [call],3215 [call],
3153 expectSuccess,3216 expectSuccess,
3217 options,
3154 );3218 );
3219
3220 if (result.status === 'Fail') return result;
3221
3222 const data = (result.result.events.find(x => x.event.section == 'sudo' && x.event.method == 'Sudid')?.event.data as any).sudoResult;
3223 if (data.isErr) {
3224 if (data.asErr.isModule) {
3225 const error = (result.result.events[1].event.data as any).sudoResult.asErr.asModule;
3226 const metaError = super.getApi()?.registry.findMetaError(error);
3227 throw new Error(`${metaError.section}.${metaError.name}`);
3228 } else {
3229 throw new Error(data.asErr.toHuman());
3230 }
3231 }
3232 return result;
3155 }3233 }
3156 };3234 };
3157}3235}