difftreelog
Merge pull request #516 from UniqueNetwork/feature/app-staking
in: master
Feature/app staking
67 files changed
Cargo.lockdiffbeforeafterboth112source = "registry+https://github.com/rust-lang/crates.io-index"112source = "registry+https://github.com/rust-lang/crates.io-index"113checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8"113checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8"114115[[package]]116name = "app-promotion-rpc"117version = "0.1.0"118dependencies = [119 "pallet-common",120 "pallet-evm",121 "parity-scale-codec 3.1.5",122 "sp-api",123 "sp-core",124 "sp-runtime",125 "sp-std",126 "up-data-structs",127]114128115[[package]]129[[package]]116name = "approx"130name = "approx"5127name = "opal-runtime"5141name = "opal-runtime"5128version = "0.9.27"5142version = "0.9.27"5129dependencies = [5143dependencies = [5144 "app-promotion-rpc",5130 "cumulus-pallet-aura-ext",5145 "cumulus-pallet-aura-ext",5131 "cumulus-pallet-dmp-queue",5146 "cumulus-pallet-dmp-queue",5132 "cumulus-pallet-parachain-system",5147 "cumulus-pallet-parachain-system",5150 "hex-literal",5165 "hex-literal",5151 "log",5166 "log",5152 "orml-vesting",5167 "orml-vesting",5168 "pallet-app-promotion",5153 "pallet-aura",5169 "pallet-aura",5154 "pallet-balances",5170 "pallet-balances",5155 "pallet-base-fee",5171 "pallet-base-fee",5295 "stable_deref_trait",5311 "stable_deref_trait",5296]5312]53135314[[package]]5315name = "pallet-app-promotion"5316version = "0.1.0"5317dependencies = [5318 "frame-benchmarking",5319 "frame-support",5320 "frame-system",5321 "pallet-balances",5322 "pallet-common",5323 "pallet-evm",5324 "pallet-evm-contract-helpers",5325 "pallet-evm-migration",5326 "pallet-randomness-collective-flip",5327 "pallet-timestamp",5328 "pallet-unique",5329 "parity-scale-codec 3.1.5",5330 "scale-info",5331 "serde",5332 "sp-core",5333 "sp-io",5334 "sp-runtime",5335 "sp-std",5336 "up-data-structs",5337]529753385298[[package]]5339[[package]]5299name = "pallet-aura"5340name = "pallet-aura"5694name = "pallet-evm-contract-helpers"5735name = "pallet-evm-contract-helpers"5695version = "0.2.0"5736version = "0.2.0"5696dependencies = [5737dependencies = [5738 "ethereum",5697 "evm-coder",5739 "evm-coder",5698 "fp-evm-mapping",5740 "fp-evm-mapping",5699 "frame-support",5741 "frame-support",643264746433[[package]]6475[[package]]6434name = "pallet-unique"6476name = "pallet-unique"6435version = "0.1.3"6477version = "0.1.4"6436dependencies = [6478dependencies = [6437 "ethereum",6479 "ethereum",6438 "evm-coder",6480 "evm-coder",8332name = "quartz-runtime"8374name = "quartz-runtime"8333version = "0.9.27"8375version = "0.9.27"8334dependencies = [8376dependencies = [8377 "app-promotion-rpc",8335 "cumulus-pallet-aura-ext",8378 "cumulus-pallet-aura-ext",8336 "cumulus-pallet-dmp-queue",8379 "cumulus-pallet-dmp-queue",8337 "cumulus-pallet-parachain-system",8380 "cumulus-pallet-parachain-system",8355 "hex-literal",8398 "hex-literal",8356 "log",8399 "log",8357 "orml-vesting",8400 "orml-vesting",8401 "pallet-app-promotion",8358 "pallet-aura",8402 "pallet-aura",8359 "pallet-balances",8403 "pallet-balances",8360 "pallet-base-fee",8404 "pallet-base-fee",121031214712104[[package]]12148[[package]]12105name = "uc-rpc"12149name = "uc-rpc"12106version = "0.1.3"12150version = "0.1.4"12107dependencies = [12151dependencies = [12108 "anyhow",12152 "anyhow",12153 "app-promotion-rpc",12109 "jsonrpsee",12154 "jsonrpsee",12110 "pallet-common",12155 "pallet-common",12111 "pallet-evm",12156 "pallet-evm",12184name = "unique-node"12229name = "unique-node"12185version = "0.9.27"12230version = "0.9.27"12186dependencies = [12231dependencies = [12232 "app-promotion-rpc",12187 "clap",12233 "clap",12188 "cumulus-client-cli",12234 "cumulus-client-cli",12189 "cumulus-client-collator",12235 "cumulus-client-collator",12272name = "unique-rpc"12318name = "unique-rpc"12273version = "0.1.1"12319version = "0.1.1"12274dependencies = [12320dependencies = [12321 "app-promotion-rpc",12275 "fc-db",12322 "fc-db",12276 "fc-mapping-sync",12323 "fc-mapping-sync",12277 "fc-rpc",12324 "fc-rpc",12321name = "unique-runtime"12368name = "unique-runtime"12322version = "0.9.27"12369version = "0.9.27"12323dependencies = [12370dependencies = [12371 "app-promotion-rpc",12324 "cumulus-pallet-aura-ext",12372 "cumulus-pallet-aura-ext",12325 "cumulus-pallet-dmp-queue",12373 "cumulus-pallet-dmp-queue",12326 "cumulus-pallet-parachain-system",12374 "cumulus-pallet-parachain-system",12344 "hex-literal",12392 "hex-literal",12345 "log",12393 "log",12346 "orml-vesting",12394 "orml-vesting",12395 "pallet-app-promotion",12347 "pallet-aura",12396 "pallet-aura",12348 "pallet-balances",12397 "pallet-balances",12349 "pallet-base-fee",12398 "pallet-base-fee",Makefilediffbeforeafterboth128bench-rmrk-equip:128bench-rmrk-equip:129 make _bench PALLET=proxy-rmrk-equip129 make _bench PALLET=proxy-rmrk-equip130130131.PHONY: bench-app-promotion132bench-app-promotion:133 make _bench PALLET=app-promotion PALLET_DIR=app-promotion134 131.PHONY: bench135.PHONY: bench132bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip136bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip133137client/rpc/CHANGELOG.mddiffbeforeafterboth3All notable changes to this project will be documented in this file.3All notable changes to this project will be documented in this file.445<!-- bureaucrate goes here -->5<!-- bureaucrate goes here -->67## [v0.1.4] 2022-09-0889### Added10- Support RPC for `AppPromotion` pallet. 116## [v0.1.3] 2022-08-1612## [v0.1.3] 2022-08-167138### Other changes14### Other changes91510- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a16- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a111712- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf818- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf8131914- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b20- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b152116## [0.1.2] - 2022-08-1222## [0.1.2] - 2022-08-121723client/rpc/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "uc-rpc"2name = "uc-rpc"3version = "0.1.3"3version = "0.1.4"4license = "GPLv3"4license = "GPLv3"5edition = "2021"5edition = "2021"667[dependencies]7[dependencies]8pallet-common = { default-features = false, path = '../../pallets/common' }8pallet-common = { default-features = false, path = '../../pallets/common' }9up-data-structs = { default-features = false, path = '../../primitives/data-structs' }9up-data-structs = { default-features = false, path = '../../primitives/data-structs' }10up-rpc = { path = "../../primitives/rpc" }10up-rpc = { path = "../../primitives/rpc" }11app-promotion-rpc = { path = "../../primitives/app_promotion_rpc"}11rmrk-rpc = { path = "../../primitives/rmrk-rpc" }12rmrk-rpc = { path = "../../primitives/rmrk-rpc" }12codec = { package = "parity-scale-codec", version = "3.1.2" }13codec = { package = "parity-scale-codec", version = "3.1.2" }13jsonrpsee = { version = "0.14.0", features = ["server", "macros"] }14jsonrpsee = { version = "0.14.0", features = ["server", "macros"] }client/rpc/src/lib.rsdiffbeforeafterboth23 proc_macros::rpc,23 proc_macros::rpc,24};24};25use anyhow::anyhow;25use anyhow::anyhow;26use sp_runtime::traits::{AtLeast32BitUnsigned, Member};26use up_data_structs::{27use up_data_structs::{27 RpcCollection, CollectionId, CollectionStats, CollectionLimits, TokenId, Property,28 RpcCollection, CollectionId, CollectionStats, CollectionLimits, TokenId, Property,28 PropertyKeyPermission, TokenData, TokenChild,29 PropertyKeyPermission, TokenData, TokenChild,29};30};30use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};31use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};31use sp_blockchain::HeaderBackend;32use sp_blockchain::HeaderBackend;32use up_rpc::UniqueApi as UniqueRuntimeApi;33use up_rpc::UniqueApi as UniqueRuntimeApi;34use app_promotion_rpc::AppPromotionApi as AppPromotionRuntimeApi;333534// RMRK36// RMRK35use rmrk_rpc::RmrkApi as RmrkRuntimeApi;37use rmrk_rpc::RmrkApi as RmrkRuntimeApi;36use up_data_structs::{38use up_data_structs::{37 RmrkCollectionId, RmrkNftId, RmrkBaseId, RmrkNftChild, RmrkThemeName, RmrkResourceId,39 RmrkCollectionId, RmrkNftId, RmrkBaseId, RmrkNftChild, RmrkThemeName, RmrkResourceId,38};40};394142pub use app_promotion_unique_rpc::AppPromotionApiServer;40pub use rmrk_unique_rpc::RmrkApiServer;43pub use rmrk_unique_rpc::RmrkApiServer;414442#[rpc(server)]45#[rpc(server)]245 ) -> Result<Option<String>>;248 ) -> Result<Option<String>>;246}249}250251mod app_promotion_unique_rpc {252 use super::*;253254 #[rpc(server)]255 #[async_trait]256 pub trait AppPromotionApi<BlockHash, BlockNumber, CrossAccountId, AccountId> {257 /// Returns the total amount of staked tokens.258 #[method(name = "appPromotion_totalStaked")]259 fn total_staked(260 &self,261 staker: Option<CrossAccountId>,262 at: Option<BlockHash>,263 ) -> Result<String>;264265 ///Returns the total amount of staked tokens per block when staked.266 #[method(name = "appPromotion_totalStakedPerBlock")]267 fn total_staked_per_block(268 &self,269 staker: CrossAccountId,270 at: Option<BlockHash>,271 ) -> Result<Vec<(BlockNumber, String)>>;272273 /// Returns the total amount of tokens pending withdrawal from staking.274 #[method(name = "appPromotion_pendingUnstake")]275 fn pending_unstake(276 &self,277 staker: Option<CrossAccountId>,278 at: Option<BlockHash>,279 ) -> Result<String>;280281 /// Returns the total amount of tokens pending withdrawal from staking per block.282 #[method(name = "appPromotion_pendingUnstakePerBlock")]283 fn pending_unstake_per_block(284 &self,285 staker: CrossAccountId,286 at: Option<BlockHash>,287 ) -> Result<Vec<(BlockNumber, String)>>;288 }289}247290248mod rmrk_unique_rpc {291mod rmrk_unique_rpc {249 use super::*;292 use super::*;367 }410 }368}411}369412370pub struct Unique<C, P> {413macro_rules! define_struct_for_server_api {371 client: Arc<C>,414 ($name:ident) => {372 _marker: std::marker::PhantomData<P>,415 pub struct $name<C, P> {373}416 client: Arc<C>,417 _marker: std::marker::PhantomData<P>,418 }374419375impl<C, P> Unique<C, P> {420 impl<C, P> $name<C, P> {376 pub fn new(client: Arc<C>) -> Self {421 pub fn new(client: Arc<C>) -> Self {377 Self {422 Self {378 client,423 client,379 _marker: Default::default(),424 _marker: Default::default(),380 }425 }381 }426 }382}427 }383428 };384pub struct Rmrk<C, P> {429}385 client: Arc<C>,430386 _marker: std::marker::PhantomData<P>,431define_struct_for_server_api!(Unique);387}432define_struct_for_server_api!(AppPromotion);388389impl<C, P> Rmrk<C, P> {433define_struct_for_server_api!(Rmrk);390 pub fn new(client: Arc<C>) -> Self {391 Self {392 client,393 _marker: Default::default(),394 }395 }396}397434398macro_rules! pass_method {435macro_rules! pass_method {399 (436 (440 };477 };441}478}479480macro_rules! app_promotion_api {481 () => {482 dyn AppPromotionRuntimeApi<Block, BlockNumber, CrossAccountId, AccountId>483 };484}442485443macro_rules! rmrk_api {486macro_rules! rmrk_api {444 () => {487 () => {522 pass_method!(token_owners(collection: CollectionId, token: TokenId) -> Vec<CrossAccountId>, unique_api);565 pass_method!(token_owners(collection: CollectionId, token: TokenId) -> Vec<CrossAccountId>, unique_api);523}566}567568impl<C, Block, BlockNumber, CrossAccountId, AccountId>569 app_promotion_unique_rpc::AppPromotionApiServer<570 <Block as BlockT>::Hash,571 BlockNumber,572 CrossAccountId,573 AccountId,574 > for AppPromotion<C, Block>575where576 Block: BlockT,577 BlockNumber: Decode + Member + AtLeast32BitUnsigned,578 AccountId: Decode,579 C: 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,580 C::Api: AppPromotionRuntimeApi<Block, BlockNumber, CrossAccountId, AccountId>,581 CrossAccountId: pallet_evm::account::CrossAccountId<AccountId>,582{583 pass_method!(total_staked(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), app_promotion_api);584 pass_method!(total_staked_per_block(staker: CrossAccountId) -> Vec<(BlockNumber, String)> =>585 |v| v586 .into_iter()587 .map(|(b, a)| (b, a.to_string()))588 .collect::<Vec<_>>(), app_promotion_api);589 pass_method!(pending_unstake(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), app_promotion_api);590 pass_method!(pending_unstake_per_block(staker: CrossAccountId) -> Vec<(BlockNumber, String)> =>591 |v| v592 .into_iter()593 .map(|(b, a)| (b, a.to_string()))594 .collect::<Vec<_>>(), app_promotion_api);595}524596525#[allow(deprecated)]597#[allow(deprecated)]526impl<598impl<doc/separate_rpc.mddiffbeforeafterbothno changes
node/cli/Cargo.tomldiffbeforeafterboth318pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }318pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }319319320unique-rpc = { default-features = false, path = "../rpc" }320unique-rpc = { default-features = false, path = "../rpc" }321app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}321rmrk-rpc = { path = "../../primitives/rmrk-rpc" }322rmrk-rpc = { path = "../../primitives/rmrk-rpc" }322323323[features]324[features]node/cli/src/service.rsdiffbeforeafterboth64use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};64use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};656566use up_common::types::opaque::{AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block};66use up_common::types::opaque::{67 AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block, BlockNumber,68};676968// RMRK70// RMRK362 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>364 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>363 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>365 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>364 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>366 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>367 + app_promotion_rpc::AppPromotionApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>365 + rmrk_rpc::RmrkApi<368 + rmrk_rpc::RmrkApi<366 Block,369 Block,367 AccountId,370 AccountId,663 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>666 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>664 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>667 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>665 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>668 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>669 + app_promotion_rpc::AppPromotionApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>666 + rmrk_rpc::RmrkApi<670 + rmrk_rpc::RmrkApi<667 Block,671 Block,668 AccountId,672 AccountId,807 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>811 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>808 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>812 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>809 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>813 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>814 + app_promotion_rpc::AppPromotionApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>810 + rmrk_rpc::RmrkApi<815 + rmrk_rpc::RmrkApi<811 Block,816 Block,812 AccountId,817 AccountId,node/rpc/Cargo.tomldiffbeforeafterboth53pallet-unique = { path = "../../pallets/unique" }53pallet-unique = { path = "../../pallets/unique" }54uc-rpc = { path = "../../client/rpc" }54uc-rpc = { path = "../../client/rpc" }55up-rpc = { path = "../../primitives/rpc" }55up-rpc = { path = "../../primitives/rpc" }56app-promotion-rpc = { path = "../../primitives/app_promotion_rpc"}56rmrk-rpc = { path = "../../primitives/rmrk-rpc" }57rmrk-rpc = { path = "../../primitives/rmrk-rpc" }57up-data-structs = { default-features = false, path = "../../primitives/data-structs" }58up-data-structs = { default-features = false, path = "../../primitives/data-structs" }5859node/rpc/src/lib.rsdiffbeforeafterboth145 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,145 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,146 C::Api: fp_rpc::ConvertTransactionRuntimeApi<Block>,146 C::Api: fp_rpc::ConvertTransactionRuntimeApi<Block>,147 C::Api: up_rpc::UniqueApi<Block, <R as RuntimeInstance>::CrossAccountId, AccountId>,147 C::Api: up_rpc::UniqueApi<Block, <R as RuntimeInstance>::CrossAccountId, AccountId>,148 C::Api: app_promotion_rpc::AppPromotionApi<149 Block,150 BlockNumber,151 <R as RuntimeInstance>::CrossAccountId,152 AccountId,153 >,148 C::Api: rmrk_rpc::RmrkApi<154 C::Api: rmrk_rpc::RmrkApi<149 Block,155 Block,150 AccountId,156 AccountId,169 EthPubSubApiServer, EthSigner, Net, NetApiServer, Web3, Web3ApiServer,175 EthPubSubApiServer, EthSigner, Net, NetApiServer, Web3, Web3ApiServer,170 };176 };171 use uc_rpc::{UniqueApiServer, Unique};177 use uc_rpc::{UniqueApiServer, Unique};178 use uc_rpc::{AppPromotionApiServer, AppPromotion};172179173 #[cfg(not(feature = "unique-runtime"))]180 #[cfg(not(feature = "unique-runtime"))]174 use uc_rpc::{RmrkApiServer, Rmrk};181 use uc_rpc::{RmrkApiServer, Rmrk};227234228 io.merge(Unique::new(client.clone()).into_rpc())?;235 io.merge(Unique::new(client.clone()).into_rpc())?;236237 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]238 io.merge(AppPromotion::new(client.clone()).into_rpc())?;229239230 #[cfg(not(feature = "unique-runtime"))]240 #[cfg(not(feature = "unique-runtime"))]231 io.merge(Rmrk::new(client.clone()).into_rpc())?;241 io.merge(Rmrk::new(client.clone()).into_rpc())?;pallets/app-promotion/Cargo.tomldiffbeforeafterbothno changes
pallets/app-promotion/src/benchmarking.rsdiffbeforeafterbothno changes
pallets/app-promotion/src/lib.rsdiffbeforeafterbothno changes
pallets/app-promotion/src/types.rsdiffbeforeafterbothno changes
pallets/app-promotion/src/weights.rsdiffbeforeafterbothno changes
pallets/common/Cargo.tomldiffbeforeafterboth40 "up-data-structs/std",40 "up-data-structs/std",41 "pallet-evm/std",41 "pallet-evm/std",42]42]43runtime-benchmarks = ["frame-benchmarking"]43runtime-benchmarks = [44 "frame-benchmarking/runtime-benchmarks",45 "up-data-structs/runtime-benchmarks",46]4447pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth9 "derive",9 "derive",10] }10] }11log = { default-features = false, version = "0.4.14" }11log = { default-features = false, version = "0.4.14" }12ethereum = { version = "0.12.0", default-features = false }121313# Substrate14# Substrate14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }15frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }pallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth181819use core::marker::PhantomData;19use core::marker::PhantomData;20use evm_coder::{abi::AbiWriter, execution::Result, generate_stubgen, solidity_interface, types::*};20use evm_coder::{21 abi::AbiWriter, execution::Result, generate_stubgen, solidity_interface, types::*, ToLog,22};21use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder, dispatch_to_evm};23use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder, dispatch_to_evm};22use pallet_evm::{24use pallet_evm::{33use up_sponsorship::SponsorshipHandler;35use up_sponsorship::SponsorshipHandler;34use sp_std::vec::Vec;36use sp_std::vec::Vec;3738/// Pallet events.39#[derive(ToLog)]40pub enum ContractHelpersEvents {41 /// Contract sponsor was set.42 ContractSponsorSet {43 /// Contract address of the affected collection.44 #[indexed]45 contract_address: address,46 /// New sponsor address.47 sponsor: address,48 },4950 /// New sponsor was confirm.51 ContractSponsorshipConfirmed {52 /// Contract address of the affected collection.53 #[indexed]54 contract_address: address,55 /// New sponsor address.56 sponsor: address,57 },5859 /// Collection sponsor was removed.60 ContractSponsorRemoved {61 /// Contract address of the affected collection.62 #[indexed]63 contract_address: address,64 },65}356636/// See [`ContractHelpersCall`]67/// See [`ContractHelpersCall`]37pub struct ContractHelpers<T: Config>(SubstrateRecorder<T>);68pub struct ContractHelpers<T: Config>(SubstrateRecorder<T>);46}77}477848/// @title Magic contract, which allows users to reconfigure other contracts79/// @title Magic contract, which allows users to reconfigure other contracts49#[solidity_interface(name = ContractHelpers)]80#[solidity_interface(name = ContractHelpers, events(ContractHelpersEvents))]50impl<T: Config> ContractHelpers<T>81impl<T: Config> ContractHelpers<T>51where82where52 T::AccountId: AsRef<[u8; 32]>,83 T::AccountId: AsRef<[u8; 32]>,91 self.recorder().consume_sload()?;122 self.recorder().consume_sload()?;92 self.recorder().consume_sstore()?;123 self.recorder().consume_sstore()?;124125 let caller = T::CrossAccountId::from_eth(caller);126127 Pallet::<T>::ensure_owner(contract_address, *caller.as_eth())128 .map_err(dispatch_to_evm::<T>)?;9312994 Pallet::<T>::self_sponsored_enable(&T::CrossAccountId::from_eth(caller), contract_address)130 Pallet::<T>::force_set_sponsor(131 contract_address,132 &T::CrossAccountId::from_eth(contract_address),133 )95 .map_err(dispatch_to_evm::<T>)?;134 .map_err(dispatch_to_evm::<T>)?;96135pallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth161617#![doc = include_str!("../README.md")]17#![doc = include_str!("../README.md")]18#![cfg_attr(not(feature = "std"), no_std)]18#![cfg_attr(not(feature = "std"), no_std)]19#![deny(missing_docs)]19#![warn(missing_docs)]202021use codec::{Decode, Encode, MaxEncodedLen};21use codec::{Decode, Encode, MaxEncodedLen};22pub use pallet::*;22pub use pallet::*;27#[frame_support::pallet]27#[frame_support::pallet]28pub mod pallet {28pub mod pallet {29 pub use super::*;29 pub use super::*;30 use crate::eth::ContractHelpersEvents;30 use frame_support::pallet_prelude::*;31 use frame_support::pallet_prelude::*;31 use pallet_evm_coder_substrate::DispatchResult;32 use pallet_evm_coder_substrate::DispatchResult;32 use sp_core::H160;33 use sp_core::H160;33 use pallet_evm::account::CrossAccountId;34 use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};34 use up_data_structs::SponsorshipState;35 use up_data_structs::SponsorshipState;36 use evm_coder::ToLog;353736 #[pallet::config]38 #[pallet::config]37 pub trait Config:39 pub trait Config:38 frame_system::Config + pallet_evm_coder_substrate::Config + pallet_evm::account::Config40 frame_system::Config + pallet_evm_coder_substrate::Config + pallet_evm::account::Config39 {41 {42 /// Overarching event type.43 type Event: IsType<<Self as frame_system::Config>::Event> + From<Event<Self>>;4440 /// Address, under which magic contract will be available45 /// Address, under which magic contract will be available41 type ContractAddress: Get<H160>;46 type ContractAddress: Get<H160>;150 QueryKind = ValueQuery,156 QueryKind = ValueQuery,151 >;157 >;158159 #[pallet::event]160 #[pallet::generate_deposit(pub fn deposit_event)]161 pub enum Event<T: Config> {162 /// Contract sponsor was set.163 ContractSponsorSet(164 /// Contract address of the affected collection.165 H160,166 /// New sponsor address.167 T::AccountId,168 ),169170 /// New sponsor was confirm.171 ContractSponsorshipConfirmed(172 /// Contract address of the affected collection.173 H160,174 /// New sponsor address.175 T::AccountId,176 ),177178 /// Collection sponsor was removed.179 ContractSponsorRemoved(180 /// Contract address of the affected collection.181 H160,182 ),183 }152184153 impl<T: Config> Pallet<T> {185 impl<T: Config> Pallet<T> {154 /// Get contract owner.186 /// Get contract owner.170 SponsorshipState::<T::CrossAccountId>::Unconfirmed(sponsor.clone()),202 SponsorshipState::<T::CrossAccountId>::Unconfirmed(sponsor.clone()),171 );203 );204205 <Pallet<T>>::deposit_event(Event::<T>::ContractSponsorSet(206 contract,207 sponsor.as_sub().clone(),208 ));209 <PalletEvm<T>>::deposit_log(210 ContractHelpersEvents::ContractSponsorSet {211 contract_address: contract,212 sponsor: *sponsor.as_eth(),213 }214 .to_log(contract),215 );172 Ok(())216 Ok(())173 }217 }174218175 /// Set `contract` as self sponsored.219 /// TO-DO176 ///220 ///177 /// `sender` must be owner of contract.221 ///178 pub fn self_sponsored_enable(sender: &T::CrossAccountId, contract: H160) -> DispatchResult {222 pub fn force_set_sponsor(223 contract_address: H160,224 sponsor: &T::CrossAccountId,225 ) -> DispatchResult {179 Pallet::<T>::ensure_owner(contract, *sender.as_eth())?;226 Sponsoring::<T>::insert(227 contract_address,228 SponsorshipState::<T::CrossAccountId>::Confirmed(sponsor.clone()),229 );230231 let eth_sponsor = *sponsor.as_eth();232 let sub_sponsor = sponsor.as_sub().clone();233180 Sponsoring::<T>::insert(234 <Pallet<T>>::deposit_event(Event::<T>::ContractSponsorSet(181 contract,235 contract_address,182 SponsorshipState::<T::CrossAccountId>::Confirmed(T::CrossAccountId::from_eth(236 sub_sponsor.clone(),183 contract,184 )),237 ));185 );238 <PalletEvm<T>>::deposit_log(239 ContractHelpersEvents::ContractSponsorSet {240 contract_address,241 sponsor: eth_sponsor,242 }243 .to_log(contract_address),244 );245246 <Pallet<T>>::deposit_event(Event::<T>::ContractSponsorshipConfirmed(247 contract_address,248 sub_sponsor,249 ));250 <PalletEvm<T>>::deposit_log(251 ContractHelpersEvents::ContractSponsorshipConfirmed {252 contract_address,253 sponsor: eth_sponsor,254 }255 .to_log(contract_address),256 );257186 Ok(())258 Ok(())187 }259 }188260189 /// Remove sponsor for `contract`.261 /// Remove sponsor for `contract`.190 ///262 ///191 /// `sender` must be owner of contract.263 /// `sender` must be owner of contract.192 pub fn remove_sponsor(sender: &T::CrossAccountId, contract: H160) -> DispatchResult {264 pub fn remove_sponsor(265 sender: &T::CrossAccountId,266 contract_address: H160,267 ) -> DispatchResult {268 Self::ensure_owner(contract_address, *sender.as_eth())?;269 Self::force_remove_sponsor(contract_address)270 }271272 /// TO-DO273 ///274 ///275 pub fn force_remove_sponsor(contract_address: H160) -> DispatchResult {193 Pallet::<T>::ensure_owner(contract, *sender.as_eth())?;276 Sponsoring::<T>::remove(contract_address);277194 Sponsoring::<T>::remove(contract);278 Self::deposit_event(Event::<T>::ContractSponsorRemoved(contract_address));279 <PalletEvm<T>>::deposit_log(280 ContractHelpersEvents::ContractSponsorRemoved { contract_address }281 .to_log(contract_address),282 );283195 Ok(())284 Ok(())196 }285 }197286198 /// Confirm sponsorship.287 /// Confirm sponsorship.199 ///288 ///200 /// `sender` must be same that set via [`set_sponsor`].289 /// `sender` must be same that set via [`set_sponsor`].201 pub fn confirm_sponsorship(sender: &T::CrossAccountId, contract: H160) -> DispatchResult {290 pub fn confirm_sponsorship(291 sender: &T::CrossAccountId,292 contract_address: H160,293 ) -> DispatchResult {202 match Sponsoring::<T>::get(contract) {294 match Sponsoring::<T>::get(contract_address) {203 SponsorshipState::Unconfirmed(sponsor) => {295 SponsorshipState::Unconfirmed(sponsor) => {204 ensure!(sponsor == *sender, Error::<T>::NoPermission);296 ensure!(sponsor == *sender, Error::<T>::NoPermission);297 let eth_sponsor = *sponsor.as_eth();298 let sub_sponsor = sponsor.as_sub().clone();205 Sponsoring::<T>::insert(299 Sponsoring::<T>::insert(206 contract,300 contract_address,207 SponsorshipState::<T::CrossAccountId>::Confirmed(sponsor),301 SponsorshipState::<T::CrossAccountId>::Confirmed(sponsor),208 );302 );303304 <Pallet<T>>::deposit_event(Event::<T>::ContractSponsorshipConfirmed(305 contract_address,306 sub_sponsor,307 ));308 <PalletEvm<T>>::deposit_log(309 ContractHelpersEvents::ContractSponsorshipConfirmed {310 contract_address,311 sponsor: eth_sponsor,312 }313 .to_log(contract_address),314 );315209 Ok(())316 Ok(())210 }317 }pallets/evm-contract-helpers/src/stubs/ContractHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth21 }21 }22}22}2324/// @dev inlined interface25contract ContractHelpersEvents {26 event ContractSponsorSet(address indexed contractAddress, address sponsor);27 event ContractSponsorshipConfirmed(28 address indexed contractAddress,29 address sponsor30 );31 event ContractSponsorRemoved(address indexed contractAddress);32}233324/// @title Magic contract, which allows users to reconfigure other contracts34/// @title Magic contract, which allows users to reconfigure other contracts25/// @dev the ERC-165 identifier for this interface is 0xd77fab7035/// @dev the ERC-165 identifier for this interface is 0xd77fab7026contract ContractHelpers is Dummy, ERC165 {36contract ContractHelpers is Dummy, ERC165, ContractHelpersEvents {27 /// Get user, which deployed specified contract37 /// Get user, which deployed specified contract28 /// @dev May return zero address in case if contract is deployed38 /// @dev May return zero address in case if contract is deployed29 /// using uniquenetwork evm-migration pallet, or using other terms not39 /// using uniquenetwork evm-migration pallet, or using other terms notpallets/unique/CHANGELOG.mddiffbeforeafterboth3All notable changes to this project will be documented in this file.3All notable changes to this project will be documented in this file.445<!-- bureaucrate goes here -->5<!-- bureaucrate goes here -->67## [v0.1.4] 2022-09-589### Added1011- Methods `force_set_sponsor` , `force_remove_collection_sponsor` to be able to administer sponsorships with other pallets. Added to implement `AppPromotion` pallet logic.126## [v0.1.3] 2022-08-1613## [v0.1.3] 2022-08-167148### Other changes15### Other changes91610- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a17- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a111812- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf819- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf8132014- refactor: Remove `#[transactional]` from extrinsics 7fd36cea2f6e00c02c67ccc1de9649ae404efd3121- refactor: Remove `#[transactional]` from extrinsics 7fd36cea2f6e00c02c67ccc1de9649ae404efd31152216Every extrinsic now runs in transaction implicitly, and23Every extrinsic now runs in transaction implicitly, and17`#[transactional]` on pallet dispatchable is now meaningless24`#[transactional]` on pallet dispatchable is now meaningless182519Upstream-Change: https://github.com/paritytech/substrate/issues/1080626Upstream-Change: https://github.com/paritytech/substrate/issues/10806202721- refactor: Switch to new prefix removal methods 26734e9567589d75cdd99e404eabf11d5a97d97528- refactor: Switch to new prefix removal methods 26734e9567589d75cdd99e404eabf11d5a97d975222923New methods allows to call `remove_prefix` with limit multiple times30New methods allows to call `remove_prefix` with limit multiple times24in the same block31in the same block273428Upstream-Change: https://github.com/paritytech/substrate/pull/1149035Upstream-Change: https://github.com/paritytech/substrate/pull/11490293630- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b37- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b313832## [v0.1.1] - 2022-07-2539## [v0.1.1] - 2022-07-254033### Added41### Added4234- Method for creating `ERC721Metadata` compatible NFT collection.43- Method for creating `ERC721Metadata` compatible NFT collection.35- Method for creating `ERC721Metadata` compatible ReFungible collection.44- Method for creating `ERC721Metadata` compatible ReFungible collection.36- Method for creating ReFungible collection.45- Method for creating ReFungible collection.3746pallets/unique/Cargo.tomldiffbeforeafterboth9license = 'GPLv3'9license = 'GPLv3'10name = 'pallet-unique'10name = 'pallet-unique'11repository = 'https://github.com/UniqueNetwork/unique-chain'11repository = 'https://github.com/UniqueNetwork/unique-chain'12version = "0.1.3"12version = "0.1.4"131314[package.metadata.docs.rs]14[package.metadata.docs.rs]15targets = ['x86_64-unknown-linux-gnu']15targets = ['x86_64-unknown-linux-gnu']pallets/unique/src/benchmarking.rsdiffbeforeafterboth46 )?;46 )?;47 Ok(<pallet_common::CreatedCollectionCount<T>>::get())47 Ok(<pallet_common::CreatedCollectionCount<T>>::get())48}48}49fn create_nft_collection<T: Config>(owner: T::AccountId) -> Result<CollectionId, DispatchError> {49pub fn create_nft_collection<T: Config>(50 owner: T::AccountId,51) -> Result<CollectionId, DispatchError> {50 create_collection_helper::<T>(owner, CollectionMode::NFT)52 create_collection_helper::<T>(owner, CollectionMode::NFT)pallets/unique/src/lib.rsdiffbeforeafterboth98pub mod eth;98pub mod eth;9999100#[cfg(feature = "runtime-benchmarks")]100#[cfg(feature = "runtime-benchmarks")]101mod benchmarking;101pub mod benchmarking;102pub mod weights;102pub mod weights;103use weights::WeightInfo;103use weights::WeightInfo;104104277 {277 {278 type Error = Error<T>;278 type Error = Error<T>;279279280 fn deposit_event() = default;280 pub fn deposit_event() = default;281281282 fn on_initialize(_now: T::BlockNumber) -> Weight {282 fn on_initialize(_now: T::BlockNumber) -> Weight {283 0283 01104 }1104 }1105}1105}11061107impl<T: Config> Pallet<T> {1108 pub fn force_set_sponsor(sponsor: T::AccountId, collection_id: CollectionId) -> DispatchResult {1109 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;1110 target_collection.check_is_internal()?;1111 target_collection.set_sponsor(sponsor.clone())?;11121113 Self::deposit_event(Event::<T>::CollectionSponsorSet(1114 collection_id,1115 sponsor.clone(),1116 ));11171118 ensure!(1119 target_collection.confirm_sponsorship(&sponsor)?,1120 Error::<T>::ConfirmUnsetSponsorFail1121 );11221123 Self::deposit_event(Event::<T>::SponsorshipConfirmed(collection_id, sponsor));11241125 target_collection.save()1126 }11271128 pub fn force_remove_collection_sponsor(collection_id: CollectionId) -> DispatchResult {1129 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;1130 target_collection.check_is_internal()?;1131 target_collection.sponsorship = SponsorshipState::Disabled;11321133 Self::deposit_event(Event::<T>::CollectionSponsorRemoved(collection_id));11341135 target_collection.save()1136 }1137}11061138primitives/app_promotion_rpc/CHANGELOG.mddiffbeforeafterbothno changes
primitives/app_promotion_rpc/Cargo.tomldiffbeforeafterbothno changes
primitives/app_promotion_rpc/src/lib.rsdiffbeforeafterbothno changes
primitives/common/src/constants.rsdiffbeforeafterboth22use crate::types::{BlockNumber, Balance};22use crate::types::{BlockNumber, Balance};232324pub const MILLISECS_PER_BLOCK: u64 = 12000;24pub const MILLISECS_PER_BLOCK: u64 = 12000;25pub const MILLISECS_PER_RELAY_BLOCK: u64 = 6000;252626pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;27pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;272830pub const HOURS: BlockNumber = MINUTES * 60;31pub const HOURS: BlockNumber = MINUTES * 60;31pub const DAYS: BlockNumber = HOURS * 24;32pub const DAYS: BlockNumber = HOURS * 24;3334// These time units are defined in number of relay blocks.35pub const RELAY_MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_RELAY_BLOCK as BlockNumber);36pub const RELAY_HOURS: BlockNumber = RELAY_MINUTES * 60;37pub const RELAY_DAYS: BlockNumber = RELAY_HOURS * 24;323833pub const MICROUNIQUE: Balance = 1_000_000_000_000;39pub const MICROUNIQUE: Balance = 1_000_000_000_000;34pub const MILLIUNIQUE: Balance = 1_000 * MICROUNIQUE;40pub const MILLIUNIQUE: Balance = 1_000 * MICROUNIQUE;primitives/rpc/src/lib.rsdiffbeforeafterboth2323use sp_std::vec::Vec;24use sp_std::vec::Vec;24use codec::Decode;25use codec::Decode;25use sp_runtime::DispatchError;26use sp_runtime::{27 DispatchError,28 traits::{AtLeast32BitUnsigned, Member},29};263027type Result<T> = core::result::Result<T, DispatchError>;31type Result<T> = core::result::Result<T, DispatchError>;2832runtime/common/config/ethereum.rsdiffbeforeafterboth112}112}113113114impl pallet_evm_contract_helpers::Config for Runtime {114impl pallet_evm_contract_helpers::Config for Runtime {115 type Event = Event;115 type ContractAddress = HelpersContractAddress;116 type ContractAddress = HelpersContractAddress;116 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;117 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;117}118}runtime/common/config/pallets/app_promotion.rsdiffbeforeafterbothno changes
runtime/common/config/pallets/mod.rsdiffbeforeafterboth40#[cfg(feature = "scheduler")]40#[cfg(feature = "scheduler")]41pub mod scheduler;41pub mod scheduler;4243#[cfg(feature = "app-promotion")]44pub mod app_promotion;424543parameter_types! {46parameter_types! {44 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();47 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();runtime/common/construct_runtime/mod.rsdiffbeforeafterboth77 #[runtimes(opal)]77 #[runtimes(opal)]78 RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,78 RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,7980 #[runtimes(opal)]81 AppPromotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,798280 // Frontier83 // Frontier81 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,84 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,82 Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,85 Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,838684 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,87 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,85 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,88 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage, Event<T>} = 151,86 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,89 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,87 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,90 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,88 }91 }runtime/common/runtime_apis.rsdiffbeforeafterboth189 }189 }190 }190 }191192 impl app_promotion_rpc::AppPromotionApi<Block, BlockNumber, CrossAccountId, AccountId> for Runtime {193 fn total_staked(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {194 #[cfg(not(feature = "app-promotion"))]195 return unsupported!();196197 #[cfg(feature = "app-promotion")]198 return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default());199 }200201 fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {202 #[cfg(not(feature = "app-promotion"))]203 return unsupported!();204205 #[cfg(feature = "app-promotion")]206 return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked_per_block(staker));207 }208209 fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {210 #[cfg(not(feature = "app-promotion"))]211 return unsupported!();212213 #[cfg(feature = "app-promotion")]214 return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake(staker));215 }216217 fn pending_unstake_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {218 #[cfg(not(feature = "app-promotion"))]219 return unsupported!();220221 #[cfg(feature = "app-promotion")]222 return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake_per_block(staker))223 }224 }191225192 impl rmrk_rpc::RmrkApi<226 impl rmrk_rpc::RmrkApi<193 Block,227 Block,638 list_benchmark!(list, extra, pallet_unique, Unique);672 list_benchmark!(list, extra, pallet_unique, Unique);639 list_benchmark!(list, extra, pallet_structure, Structure);673 list_benchmark!(list, extra, pallet_structure, Structure);640 list_benchmark!(list, extra, pallet_inflation, Inflation);674 list_benchmark!(list, extra, pallet_inflation, Inflation);675 list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);641 list_benchmark!(list, extra, pallet_fungible, Fungible);676 list_benchmark!(list, extra, pallet_fungible, Fungible);642 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);677 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);643678693 add_benchmark!(params, batches, pallet_unique, Unique);728 add_benchmark!(params, batches, pallet_unique, Unique);694 add_benchmark!(params, batches, pallet_structure, Structure);729 add_benchmark!(params, batches, pallet_structure, Structure);695 add_benchmark!(params, batches, pallet_inflation, Inflation);730 add_benchmark!(params, batches, pallet_inflation, Inflation);731 add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);696 add_benchmark!(params, batches, pallet_fungible, Fungible);732 add_benchmark!(params, batches, pallet_fungible, Fungible);697 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);733 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);698734runtime/opal/Cargo.tomldiffbeforeafterboth37 'pallet-proxy-rmrk-equip/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',40 'pallet-app-promotion/runtime-benchmarks',40 'pallet-unique-scheduler/runtime-benchmarks',41 'pallet-unique-scheduler/runtime-benchmarks',41 'pallet-xcm/runtime-benchmarks',42 'pallet-xcm/runtime-benchmarks',42 'sp-runtime/runtime-benchmarks',43 'sp-runtime/runtime-benchmarks',82 'pallet-base-fee/std',83 'pallet-base-fee/std',83 'fp-rpc/std',84 'fp-rpc/std',84 'up-rpc/std',85 'up-rpc/std',86 'app-promotion-rpc/std',85 'fp-evm-mapping/std',87 'fp-evm-mapping/std',86 'fp-self-contained/std',88 'fp-self-contained/std',87 'parachain-info/std',89 'parachain-info/std',88 'serde',90 'serde',89 'pallet-inflation/std',91 'pallet-inflation/std',90 'pallet-configuration/std',92 'pallet-configuration/std',93 'pallet-app-promotion/std',91 'pallet-common/std',94 'pallet-common/std',92 'pallet-structure/std',95 'pallet-structure/std',93 'pallet-fungible/std',96 'pallet-fungible/std',122 "orml-vesting/std",125 "orml-vesting/std",123]126]124limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']127limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']125opal-runtime = ['refungible', 'scheduler', 'rmrk']128opal-runtime = ['refungible', 'scheduler', 'rmrk', 'app-promotion']126129127refungible = []130refungible = []128scheduler = []131scheduler = []129rmrk = []132rmrk = []133app-promotion = []130134131################################################################################135################################################################################132# Substrate Dependencies136# Substrate Dependencies411derivative = "2.2.0"415derivative = "2.2.0"412pallet-unique = { path = '../../pallets/unique', default-features = false }416pallet-unique = { path = '../../pallets/unique', default-features = false }413up-rpc = { path = "../../primitives/rpc", default-features = false }417up-rpc = { path = "../../primitives/rpc", default-features = false }418app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}414rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }419rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }415fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }420fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }416pallet-inflation = { path = '../../pallets/inflation', default-features = false }421pallet-inflation = { path = '../../pallets/inflation', default-features = false }422pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }417up-data-structs = { path = '../../primitives/data-structs', default-features = false }423up-data-structs = { path = '../../primitives/data-structs', default-features = false }418pallet-configuration = { default-features = false, path = "../../pallets/configuration" }424pallet-configuration = { default-features = false, path = "../../pallets/configuration" }419pallet-common = { default-features = false, path = "../../pallets/common" }425pallet-common = { default-features = false, path = "../../pallets/common" }runtime/quartz/Cargo.tomldiffbeforeafterboth82 'pallet-base-fee/std',82 'pallet-base-fee/std',83 'fp-rpc/std',83 'fp-rpc/std',84 'up-rpc/std',84 'up-rpc/std',85 'app-promotion-rpc/std',85 'fp-evm-mapping/std',86 'fp-evm-mapping/std',86 'fp-self-contained/std',87 'fp-self-contained/std',87 'parachain-info/std',88 'parachain-info/std',416derivative = "2.2.0"417derivative = "2.2.0"417pallet-unique = { path = '../../pallets/unique', default-features = false }418pallet-unique = { path = '../../pallets/unique', default-features = false }418up-rpc = { path = "../../primitives/rpc", default-features = false }419up-rpc = { path = "../../primitives/rpc", default-features = false }420app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}419fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }421fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }420pallet-inflation = { path = '../../pallets/inflation', default-features = false }422pallet-inflation = { path = '../../pallets/inflation', default-features = false }423pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }421up-data-structs = { path = '../../primitives/data-structs', default-features = false }424up-data-structs = { path = '../../primitives/data-structs', default-features = false }422pallet-configuration = { default-features = false, path = "../../pallets/configuration" }425pallet-configuration = { default-features = false, path = "../../pallets/configuration" }423pallet-common = { default-features = false, path = "../../pallets/common" }426pallet-common = { default-features = false, path = "../../pallets/common" }runtime/unique/Cargo.tomldiffbeforeafterboth83 'pallet-base-fee/std',83 'pallet-base-fee/std',84 'fp-rpc/std',84 'fp-rpc/std',85 'up-rpc/std',85 'up-rpc/std',86 'app-promotion-rpc/std',86 'fp-evm-mapping/std',87 'fp-evm-mapping/std',87 'fp-self-contained/std',88 'fp-self-contained/std',88 'parachain-info/std',89 'parachain-info/std',409derivative = "2.2.0"410derivative = "2.2.0"410pallet-unique = { path = '../../pallets/unique', default-features = false }411pallet-unique = { path = '../../pallets/unique', default-features = false }411up-rpc = { path = "../../primitives/rpc", default-features = false }412up-rpc = { path = "../../primitives/rpc", default-features = false }413app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}412rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }414rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }413pallet-inflation = { path = '../../pallets/inflation', default-features = false }415pallet-inflation = { path = '../../pallets/inflation', default-features = false }416pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }414up-data-structs = { path = '../../primitives/data-structs', default-features = false }417up-data-structs = { path = '../../primitives/data-structs', default-features = false }415pallet-configuration = { default-features = false, path = "../../pallets/configuration" }418pallet-configuration = { default-features = false, path = "../../pallets/configuration" }416pallet-common = { default-features = false, path = "../../pallets/common" }419pallet-common = { default-features = false, path = "../../pallets/common" }tests/package.jsondiffbeforeafterboth85 "testRFT": "mocha --timeout 9999999 -r ts-node/register ./**/refungible.test.ts",85 "testRFT": "mocha --timeout 9999999 -r ts-node/register ./**/refungible.test.ts",86 "testFT": "mocha --timeout 9999999 -r ts-node/register ./**/fungible.test.ts",86 "testFT": "mocha --timeout 9999999 -r ts-node/register ./**/fungible.test.ts",87 "testRPC": "mocha --timeout 9999999 -r ts-node/register ./**/rpc.test.ts",87 "testRPC": "mocha --timeout 9999999 -r ts-node/register ./**/rpc.test.ts",88 "testPromotion": "mocha --timeout 9999999 -r ts-node/register ./**/app-promotion.test.ts",88 "polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",89 "polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",89 "polkadot-types-from-defs": "ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",90 "polkadot-types-from-defs": "ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",90 "polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",91 "polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",tests/src/app-promotion.test.tsdiffbeforeafterbothno changes
tests/src/eth/api/ContractHelpers.soldiffbeforeafterboth12 function supportsInterface(bytes4 interfaceID) external view returns (bool);12 function supportsInterface(bytes4 interfaceID) external view returns (bool);13}13}1415/// @dev inlined interface16interface ContractHelpersEvents {17 event ContractSponsorSet(address indexed contractAddress, address sponsor);18 event ContractSponsorshipConfirmed(19 address indexed contractAddress,20 address sponsor21 );22 event ContractSponsorRemoved(address indexed contractAddress);23}142415/// @title Magic contract, which allows users to reconfigure other contracts25/// @title Magic contract, which allows users to reconfigure other contracts16/// @dev the ERC-165 identifier for this interface is 0xd77fab7026/// @dev the ERC-165 identifier for this interface is 0xd77fab7017interface ContractHelpers is Dummy, ERC165 {27interface ContractHelpers is Dummy, ERC165, ContractHelpersEvents {18 /// Get user, which deployed specified contract28 /// Get user, which deployed specified contract19 /// @dev May return zero address in case if contract is deployed29 /// @dev May return zero address in case if contract is deployed20 /// using uniquenetwork evm-migration pallet, or using other terms not30 /// using uniquenetwork evm-migration pallet, or using other terms nottests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.161617import {expect} from 'chai';17import {expect} from 'chai';18import { expectSubstrateEventsAtBlock } from '../util/helpers';18import {19import {19 contractHelpers,20 contractHelpers,20 createEthAccountWithBalance,21 createEthAccountWithBalance,24 SponsoringMode,25 SponsoringMode,25 createEthAccount,26 createEthAccount,26 ethBalanceViaSub,27 ethBalanceViaSub,28 normalizeEvents,27} from './util/helpers';29} from './util/helpers';283029describe('Sponsoring EVM contracts', () => {31describe('Sponsoring EVM contracts', () => {36 expect(await helpers.methods.hasSponsor(flipper.options.address).call()).to.be.true;38 expect(await helpers.methods.hasSponsor(flipper.options.address).call()).to.be.true;37 });39 });4041 itWeb3('Set self sponsored events', async ({api, web3, privateKeyWrapper}) => {42 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);43 const flipper = await deployFlipper(web3, owner);44 const helpers = contractHelpers(web3, owner);45 46 const result = await helpers.methods.selfSponsoredEnable(flipper.options.address).send();47 // console.log(result);48 const ethEvents = normalizeEvents(result.events);49 expect(ethEvents).to.be.deep.equal([50 {51 address: flipper.options.address,52 event: 'ContractSponsorSet',53 args: {54 contractAddress: flipper.options.address,55 sponsor: flipper.options.address,56 },57 },58 {59 address: flipper.options.address,60 event: 'ContractSponsorshipConfirmed',61 args: {62 contractAddress: flipper.options.address,63 sponsor: flipper.options.address,64 },65 },66 ]);6768 await expectSubstrateEventsAtBlock(69 api, 70 result.blockNumber,71 'evmContractHelpers',72 ['ContractSponsorSet','ContractSponsorshipConfirmed'],73 );74 });387539 itWeb3('Self sponsored can not be set by the address that did not deployed the contract', async ({api, web3, privateKeyWrapper}) => {76 itWeb3('Self sponsored can not be set by the address that did not deployed the contract', async ({api, web3, privateKeyWrapper}) => {40 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);77 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);75 expect(await helpers.methods.hasPendingSponsor(flipper.options.address).call()).to.be.true;112 expect(await helpers.methods.hasPendingSponsor(flipper.options.address).call()).to.be.true;76 });113 });77 114 115 itWeb3('Set sponsor event', async ({api, web3, privateKeyWrapper}) => {116 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);117 const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);118 const flipper = await deployFlipper(web3, owner);119 const helpers = contractHelpers(web3, owner);120 121 const result = await helpers.methods.setSponsor(flipper.options.address, sponsor).send();122 const events = normalizeEvents(result.events);123 expect(events).to.be.deep.equal([124 {125 address: flipper.options.address,126 event: 'ContractSponsorSet',127 args: {128 contractAddress: flipper.options.address,129 sponsor: sponsor,130 },131 },132 ]);133134 await expectSubstrateEventsAtBlock(135 api, 136 result.blockNumber,137 'evmContractHelpers',138 ['ContractSponsorSet'],139 );140 });141 78 itWeb3('Sponsor can not be set by the address that did not deployed the contract', async ({api, web3, privateKeyWrapper}) => {142 itWeb3('Sponsor can not be set by the address that did not deployed the contract', async ({api, web3, privateKeyWrapper}) => {79 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);143 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);97 expect(await helpers.methods.hasSponsor(flipper.options.address).call()).to.be.true;161 expect(await helpers.methods.hasSponsor(flipper.options.address).call()).to.be.true;98 });162 });163164 itWeb3('Confirm sponsorship event', async ({api, web3, privateKeyWrapper}) => {165 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);166 const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);167 const flipper = await deployFlipper(web3, owner);168 const helpers = contractHelpers(web3, owner);169 await expect(helpers.methods.setSponsor(flipper.options.address, sponsor).send()).to.be.not.rejected;170 const result = await helpers.methods.confirmSponsorship(flipper.options.address).send({from: sponsor});171 const events = normalizeEvents(result.events);172 expect(events).to.be.deep.equal([173 {174 address: flipper.options.address,175 event: 'ContractSponsorshipConfirmed',176 args: {177 contractAddress: flipper.options.address,178 sponsor: sponsor,179 },180 },181 ]);182183 await expectSubstrateEventsAtBlock(184 api, 185 result.blockNumber,186 'evmContractHelpers',187 ['ContractSponsorshipConfirmed'],188 );189 });99190100 itWeb3('Sponsorship can not be confirmed by the address that not pending as sponsor', async ({api, web3, privateKeyWrapper}) => {191 itWeb3('Sponsorship can not be confirmed by the address that not pending as sponsor', async ({api, web3, privateKeyWrapper}) => {101 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);192 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);160 expect(await helpers.methods.hasSponsor(flipper.options.address).call()).to.be.false;251 expect(await helpers.methods.hasSponsor(flipper.options.address).call()).to.be.false;161 });252 });253254 itWeb3('Remove sponsor event', async ({api, web3, privateKeyWrapper}) => {255 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);256 const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper);257 const flipper = await deployFlipper(web3, owner);258 const helpers = contractHelpers(web3, owner);259260 await helpers.methods.setSponsor(flipper.options.address, sponsor).send();261 await helpers.methods.confirmSponsorship(flipper.options.address).send({from: sponsor});262 263 const result = await helpers.methods.removeSponsor(flipper.options.address).send();264 const events = normalizeEvents(result.events);265 expect(events).to.be.deep.equal([266 {267 address: flipper.options.address,268 event: 'ContractSponsorRemoved',269 args: {270 contractAddress: flipper.options.address,271 },272 },273 ]);274275 await expectSubstrateEventsAtBlock(276 api, 277 result.blockNumber,278 'evmContractHelpers',279 ['ContractSponsorRemoved'],280 );281 });162282163 itWeb3('Sponsor can not be removed by the address that did not deployed the contract', async ({api, web3, privateKeyWrapper}) => {283 itWeb3('Sponsor can not be removed by the address that did not deployed the contract', async ({api, web3, privateKeyWrapper}) => {164 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);284 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);tests/src/eth/util/contractHelpersAbi.jsondiffbeforeafterboth1[1[2 {3 "anonymous": false,4 "inputs": [5 {6 "indexed": true,7 "internalType": "address",8 "name": "contractAddress",9 "type": "address"10 }11 ],12 "name": "ContractSponsorRemoved",13 "type": "event"14 },15 {16 "anonymous": false,17 "inputs": [18 {19 "indexed": true,20 "internalType": "address",21 "name": "contractAddress",22 "type": "address"23 },24 {25 "indexed": false,26 "internalType": "address",27 "name": "sponsor",28 "type": "address"29 }30 ],31 "name": "ContractSponsorSet",32 "type": "event"33 },34 {35 "anonymous": false,36 "inputs": [37 {38 "indexed": true,39 "internalType": "address",40 "name": "contractAddress",41 "type": "address"42 },43 {44 "indexed": false,45 "internalType": "address",46 "name": "sponsor",47 "type": "address"48 }49 ],50 "name": "ContractSponsorshipConfirmed",51 "type": "event"52 },2 {53 {3 "inputs": [54 "inputs": [4 {55 {tests/src/interfaces/appPromotion/definitions.tsdiffbeforeafterbothno changes
tests/src/interfaces/appPromotion/index.tsdiffbeforeafterbothno changes
tests/src/interfaces/appPromotion/types.tsdiffbeforeafterbothno changes
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth8import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';8import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';9import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { Codec } from '@polkadot/types-codec/types';10import type { Codec } from '@polkadot/types-codec/types';11import type { Permill } from '@polkadot/types/interfaces/runtime';11import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';12import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';131314export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;14export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;151516declare module '@polkadot/api-base/types/consts' {16declare module '@polkadot/api-base/types/consts' {17 interface AugmentedConsts<ApiType extends ApiTypes> {17 interface AugmentedConsts<ApiType extends ApiTypes> {18 appPromotion: {19 /**20 * Rate of return for interval in blocks defined in `RecalculationInterval`.21 **/22 intervalIncome: Perbill & AugmentedConst<ApiType>;23 /**24 * Decimals for the `Currency`.25 **/26 nominal: u128 & AugmentedConst<ApiType>;27 /**28 * The app's pallet id, used for deriving its sovereign account ID.29 **/30 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;31 /**32 * In parachain blocks.33 **/34 pendingInterval: u32 & AugmentedConst<ApiType>;35 /**36 * In relay blocks.37 **/38 recalculationInterval: u32 & AugmentedConst<ApiType>;39 /**40 * Generic const41 **/42 [key: string]: Codec;43 };18 balances: {44 balances: {19 /**45 /**20 * The minimum amount required to keep an account open.46 * The minimum amount required to keep an account open.tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth111112declare module '@polkadot/api-base/types/errors' {12declare module '@polkadot/api-base/types/errors' {13 interface AugmentedErrors<ApiType extends ApiTypes> {13 interface AugmentedErrors<ApiType extends ApiTypes> {14 appPromotion: {15 /**16 * Error due to action requiring admin to be set.17 **/18 AdminNotSet: AugmentedError<ApiType>;19 /**20 * Errors caused by incorrect actions with a locked balance.21 **/22 IncorrectLockedBalanceOperation: AugmentedError<ApiType>;23 /**24 * No permission to perform an action.25 **/26 NoPermission: AugmentedError<ApiType>;27 /**28 * Insufficient funds to perform an action.29 **/30 NotSufficientFunds: AugmentedError<ApiType>;31 /**32 * Occurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded.33 **/34 PendingForBlockOverflow: AugmentedError<ApiType>;35 /**36 * The error is due to the fact that the collection/contract must already be sponsored in order to perform the action.37 **/38 SponsorNotSet: AugmentedError<ApiType>;39 /**40 * Generic error41 **/42 [key: string]: AugmentedError<ApiType>;43 };14 balances: {44 balances: {15 /**45 /**16 * Beneficiary account must pre-exist46 * Beneficiary account must pre-exist264 [key: string]: AugmentedError<ApiType>;294 [key: string]: AugmentedError<ApiType>;265 };295 };266 evmContractHelpers: {296 evmContractHelpers: {297 /**298 * No pending sponsor for contract.299 **/300 NoPendingSponsor: AugmentedError<ApiType>;267 /**301 /**268 * This method is only executable by owner302 * This method is only executable by contract owner269 **/303 **/270 NoPermission: AugmentedError<ApiType>;304 NoPermission: AugmentedError<ApiType>;271 /**305 /**272 * Generic error306 * Generic error273 **/307 **/274 [key: string]: AugmentedError<ApiType>;308 [key: string]: AugmentedError<ApiType>;275 };309 };276 evmMigration: {310 evmMigration: {311 /**312 * Migration of this account is not yet started, or already finished.313 **/277 AccountIsNotMigrating: AugmentedError<ApiType>;314 AccountIsNotMigrating: AugmentedError<ApiType>;315 /**316 * Can only migrate to empty address.317 **/278 AccountNotEmpty: AugmentedError<ApiType>;318 AccountNotEmpty: AugmentedError<ApiType>;279 /**319 /**280 * Generic error320 * Generic errortests/src/interfaces/augment-api-events.tsdiffbeforeafterboth151516declare module '@polkadot/api-base/types/events' {16declare module '@polkadot/api-base/types/events' {17 interface AugmentedEvents<ApiType extends ApiTypes> {17 interface AugmentedEvents<ApiType extends ApiTypes> {18 appPromotion: {19 /**20 * The admin was set21 * 22 * # Arguments23 * * AccountId: ID of the admin24 **/25 SetAdmin: AugmentedEvent<ApiType, [AccountId32]>;26 /**27 * Staking was performed28 * 29 * # Arguments30 * * AccountId: ID of the staker31 * * Balance : staking amount32 **/33 Stake: AugmentedEvent<ApiType, [AccountId32, u128]>;34 /**35 * Staking recalculation was performed36 * 37 * # Arguments38 * * AccountId: ID of the staker.39 * * Balance : recalculation base40 * * Balance : total income41 **/42 StakingRecalculation: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;43 /**44 * Unstaking was performed45 * 46 * # Arguments47 * * AccountId: ID of the staker48 * * Balance : unstaking amount49 **/50 Unstake: AugmentedEvent<ApiType, [AccountId32, u128]>;51 /**52 * Generic event53 **/54 [key: string]: AugmentedEvent<ApiType>;55 };18 balances: {56 balances: {19 /**57 /**20 * A balance was set by root.58 * A balance was set by root.208 **/246 **/209 [key: string]: AugmentedEvent<ApiType>;247 [key: string]: AugmentedEvent<ApiType>;210 };248 };249 evmContractHelpers: {250 /**251 * Collection sponsor was removed.252 **/253 ContractSponsorRemoved: AugmentedEvent<ApiType, [H160]>;254 /**255 * Contract sponsor was set.256 **/257 ContractSponsorSet: AugmentedEvent<ApiType, [H160, AccountId32]>;258 /**259 * New sponsor was confirm.260 **/261 ContractSponsorshipConfirmed: AugmentedEvent<ApiType, [H160, AccountId32]>;262 /**263 * Generic event264 **/265 [key: string]: AugmentedEvent<ApiType>;266 };211 parachainSystem: {267 parachainSystem: {212 /**268 /**213 * Downward messages were processed using the given weight.269 * Downward messages were processed using the given weight.tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth6import '@polkadot/api-base/types/storage';6import '@polkadot/api-base/types/storage';778import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';8import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';9import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';9import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';12import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsTokenChild } from '@polkadot/types/lookup';12import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild } from '@polkadot/types/lookup';13import type { Observable } from '@polkadot/types/types';13import type { Observable } from '@polkadot/types/types';141415export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;15export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;16export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;16export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;171718declare module '@polkadot/api-base/types/storage' {18declare module '@polkadot/api-base/types/storage' {19 interface AugmentedQueries<ApiType extends ApiTypes> {19 interface AugmentedQueries<ApiType extends ApiTypes> {20 appPromotion: {21 admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;22 /**23 * Stores a key for record for which the next revenue recalculation would be performed.24 * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.25 **/26 nextCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;27 pendingUnstake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;28 /**29 * Amount of tokens staked by account in the blocknumber.30 **/31 staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;32 /**33 * Amount of stakes for an Account34 **/35 stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;36 totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;37 /**38 * Generic query39 **/40 [key: string]: QueryableStorageEntry<ApiType>;41 };20 balances: {42 balances: {21 /**43 /**22 * The Balances pallet example of storing the balance of an account.44 * The Balances pallet example of storing the balance of an account.194 [key: string]: QueryableStorageEntry<ApiType>;216 [key: string]: QueryableStorageEntry<ApiType>;195 };217 };196 evmContractHelpers: {218 evmContractHelpers: {219 /**220 * Storage for users that allowed for sponsorship.221 * 222 * ### Usage223 * Prefer to delete record from storage if user no more allowed for sponsorship.224 * 225 * * **Key1** - contract address.226 * * **Key2** - user that allowed for sponsorship.227 * * **Value** - allowance for sponsorship.228 **/197 allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;229 allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;230 /**231 * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.232 * 233 * ### Usage234 * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.235 * 236 * * **Key** - contract address.237 * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.238 **/198 allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;239 allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;240 /**241 * Store owner for contract.242 * 243 * * **Key** - contract address.244 * * **Value** - owner for contract.245 **/199 owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;246 owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;200 selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;247 selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;248 /**249 * Storage for last sponsored block.250 * 251 * * **Key1** - contract address.252 * * **Key2** - sponsored user address.253 * * **Value** - last sponsored block number.254 **/201 sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;255 sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;256 /**257 * Store for contract sponsorship state.258 * 259 * * **Key** - contract address.260 * * **Value** - sponsorship state.261 **/262 sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;263 /**264 * Store for sponsoring mode.265 * 266 * ### Usage267 * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).268 * 269 * * **Key** - contract address.270 * * **Value** - [`sponsoring mode`](SponsoringModeT).271 **/202 sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;272 sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;273 /**274 * Storage for sponsoring rate limit in blocks.275 * 276 * * **Key** - contract address.277 * * **Value** - amount of sponsored blocks.278 **/203 sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;279 sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;204 /**280 /**205 * Generic query281 * Generic query281 * 357 * 282 * Currently used to store RMRK data.358 * Currently used to store RMRK data.283 **/359 **/284 tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | 'Eth' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;360 tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;285 /**361 /**286 * Used to enumerate token's children.362 * Used to enumerate token's children.287 **/363 **/tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth9import type { AugmentedRpc } from '@polkadot/rpc-core/types';9import type { AugmentedRpc } from '@polkadot/rpc-core/types';10import type { Metadata, StorageKey } from '@polkadot/types';10import type { Metadata, StorageKey } from '@polkadot/types';11import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';11import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';12import type { AnyNumber, Codec } from '@polkadot/types-codec/types';12import type { AnyNumber, Codec, ITuple } from '@polkadot/types-codec/types';13import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';13import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';14import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';14import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';15import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';15import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';353536declare module '@polkadot/rpc-core/types/jsonrpc' {36declare module '@polkadot/rpc-core/types/jsonrpc' {37 interface RpcInterface {37 interface RpcInterface {38 appPromotion: {39 /**40 * Returns the total amount of unstaked tokens41 **/42 pendingUnstake: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;43 /**44 * Returns the total amount of unstaked tokens per block45 **/46 pendingUnstakePerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;47 /**48 * Returns the total amount of staked tokens49 **/50 totalStaked: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;51 /**52 * Returns the total amount of staked tokens per block when staked53 **/54 totalStakedPerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;55 };38 author: {56 author: {39 /**57 /**40 * Returns true if the keystore has private keys for the given public key and key type.58 * Returns true if the keystore has private keys for the given public key and key type.tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth171718declare module '@polkadot/api-base/types/submittable' {18declare module '@polkadot/api-base/types/submittable' {19 interface AugmentedSubmittables<ApiType extends ApiTypes> {19 interface AugmentedSubmittables<ApiType extends ApiTypes> {20 appPromotion: {21 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;22 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;23 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;24 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;25 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;26 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;27 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;28 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;29 /**30 * Generic tx31 **/32 [key: string]: SubmittableExtrinsicFunction<ApiType>;33 };20 balances: {34 balances: {21 /**35 /**22 * Exactly as `transfer`, except the origin must be root and the source account may be36 * Exactly as `transfer`, except the origin must be root and the source account may be181 [key: string]: SubmittableExtrinsicFunction<ApiType>;195 [key: string]: SubmittableExtrinsicFunction<ApiType>;182 };196 };183 evmMigration: {197 evmMigration: {198 /**199 * Start contract migration, inserts contract stub at target address,200 * and marks account as pending, allowing to insert storage201 **/184 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;202 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;203 /**204 * Finish contract migration, allows it to be called.205 * It is not possible to alter contract storage via [`Self::set_data`]206 * after this call.207 **/185 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;208 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;209 /**210 * Insert items into contract storage, this method can be called211 * multiple times212 **/186 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;213 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;187 /**214 /**188 * Generic tx215 * Generic txtests/src/interfaces/augment-types.tsdiffbeforeafterboth5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';778import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, 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';804 Owner: Owner;804 Owner: Owner;805 PageCounter: PageCounter;805 PageCounter: PageCounter;806 PageIndexData: PageIndexData;806 PageIndexData: PageIndexData;807 PalletAppPromotionCall: PalletAppPromotionCall;808 PalletAppPromotionError: PalletAppPromotionError;809 PalletAppPromotionEvent: PalletAppPromotionEvent;807 PalletBalancesAccountData: PalletBalancesAccountData;810 PalletBalancesAccountData: PalletBalancesAccountData;808 PalletBalancesBalanceLock: PalletBalancesBalanceLock;811 PalletBalancesBalanceLock: PalletBalancesBalanceLock;809 PalletBalancesCall: PalletBalancesCall;812 PalletBalancesCall: PalletBalancesCall;832 PalletEvmCall: PalletEvmCall;835 PalletEvmCall: PalletEvmCall;833 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;836 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;834 PalletEvmContractHelpersError: PalletEvmContractHelpersError;837 PalletEvmContractHelpersError: PalletEvmContractHelpersError;838 PalletEvmContractHelpersEvent: PalletEvmContractHelpersEvent;835 PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;839 PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;836 PalletEvmError: PalletEvmError;840 PalletEvmError: PalletEvmError;837 PalletEvmEvent: PalletEvmEvent;841 PalletEvmEvent: PalletEvmEvent;1295 UpDataStructsPropertyScope: UpDataStructsPropertyScope;1299 UpDataStructsPropertyScope: UpDataStructsPropertyScope;1296 UpDataStructsRpcCollection: UpDataStructsRpcCollection;1300 UpDataStructsRpcCollection: UpDataStructsRpcCollection;1297 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;1301 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;1298 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;1302 UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;1303 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;1299 UpDataStructsTokenChild: UpDataStructsTokenChild;1304 UpDataStructsTokenChild: UpDataStructsTokenChild;1300 UpDataStructsTokenData: UpDataStructsTokenData;1305 UpDataStructsTokenData: UpDataStructsTokenData;1301 UpgradeGoAhead: UpgradeGoAhead;1306 UpgradeGoAhead: UpgradeGoAhead;tests/src/interfaces/default/types.tsdiffbeforeafterboth806 readonly perPeriod: Compact<u128>;806 readonly perPeriod: Compact<u128>;807}807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;815 readonly isStake: boolean;816 readonly asStake: {817 readonly amount: u128;818 } & Struct;819 readonly isUnstake: boolean;820 readonly isSponsorCollection: boolean;821 readonly asSponsorCollection: {822 readonly collectionId: u32;823 } & Struct;824 readonly isStopSponsoringCollection: boolean;825 readonly asStopSponsoringCollection: {826 readonly collectionId: u32;827 } & Struct;828 readonly isSponsorContract: boolean;829 readonly asSponsorContract: {830 readonly contractId: H160;831 } & Struct;832 readonly isStopSponsoringContract: boolean;833 readonly asStopSponsoringContract: {834 readonly contractId: H160;835 } & Struct;836 readonly isPayoutStakers: boolean;837 readonly asPayoutStakers: {838 readonly stakersNumber: Option<u8>;839 } & Struct;840 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';841}842843/** @name PalletAppPromotionError */844export interface PalletAppPromotionError extends Enum {845 readonly isAdminNotSet: boolean;846 readonly isNoPermission: boolean;847 readonly isNotSufficientFunds: boolean;848 readonly isPendingForBlockOverflow: boolean;849 readonly isSponsorNotSet: boolean;850 readonly isIncorrectLockedBalanceOperation: boolean;851 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';852}853854/** @name PalletAppPromotionEvent */855export interface PalletAppPromotionEvent extends Enum {856 readonly isStakingRecalculation: boolean;857 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;858 readonly isStake: boolean;859 readonly asStake: ITuple<[AccountId32, u128]>;860 readonly isUnstake: boolean;861 readonly asUnstake: ITuple<[AccountId32, u128]>;862 readonly isSetAdmin: boolean;863 readonly asSetAdmin: AccountId32;864 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';865}808866809/** @name PalletBalancesAccountData */867/** @name PalletBalancesAccountData */810export interface PalletBalancesAccountData extends Struct {868export interface PalletBalancesAccountData extends Struct {1127/** @name PalletEvmContractHelpersError */1185/** @name PalletEvmContractHelpersError */1128export interface PalletEvmContractHelpersError extends Enum {1186export interface PalletEvmContractHelpersError extends Enum {1129 readonly isNoPermission: boolean;1187 readonly isNoPermission: boolean;1188 readonly isNoPendingSponsor: boolean;1130 readonly type: 'NoPermission';1189 readonly type: 'NoPermission' | 'NoPendingSponsor';1131}1190}11911192/** @name PalletEvmContractHelpersEvent */1193export interface PalletEvmContractHelpersEvent extends Enum {1194 readonly isContractSponsorSet: boolean;1195 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1196 readonly isContractSponsorshipConfirmed: boolean;1197 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1198 readonly isContractSponsorRemoved: boolean;1199 readonly asContractSponsorRemoved: H160;1200 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1201}113212021133/** @name PalletEvmContractHelpersSponsoringModeT */1203/** @name PalletEvmContractHelpersSponsoringModeT */1134export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1204export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2419 readonly name: Vec<u16>;2489 readonly name: Vec<u16>;2420 readonly description: Vec<u16>;2490 readonly description: Vec<u16>;2421 readonly tokenPrefix: Bytes;2491 readonly tokenPrefix: Bytes;2422 readonly sponsorship: UpDataStructsSponsorshipState;2492 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2423 readonly limits: UpDataStructsCollectionLimits;2493 readonly limits: UpDataStructsCollectionLimits;2424 readonly permissions: UpDataStructsCollectionPermissions;2494 readonly permissions: UpDataStructsCollectionPermissions;2425 readonly externalCollection: bool;2495 readonly externalCollection: bool;2580export interface UpDataStructsPropertyScope extends Enum {2650export interface UpDataStructsPropertyScope extends Enum {2581 readonly isNone: boolean;2651 readonly isNone: boolean;2582 readonly isRmrk: boolean;2652 readonly isRmrk: boolean;2583 readonly isEth: boolean;2584 readonly type: 'None' | 'Rmrk' | 'Eth';2653 readonly type: 'None' | 'Rmrk';2585}2654}258626552587/** @name UpDataStructsRpcCollection */2656/** @name UpDataStructsRpcCollection */2591 readonly name: Vec<u16>;2660 readonly name: Vec<u16>;2592 readonly description: Vec<u16>;2661 readonly description: Vec<u16>;2593 readonly tokenPrefix: Bytes;2662 readonly tokenPrefix: Bytes;2594 readonly sponsorship: UpDataStructsSponsorshipState;2663 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2595 readonly limits: UpDataStructsCollectionLimits;2664 readonly limits: UpDataStructsCollectionLimits;2596 readonly permissions: UpDataStructsCollectionPermissions;2665 readonly permissions: UpDataStructsCollectionPermissions;2597 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2666 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2607 readonly type: 'SponsoringDisabled' | 'Blocks';2676 readonly type: 'SponsoringDisabled' | 'Blocks';2608}2677}260926782610/** @name UpDataStructsSponsorshipState */2679/** @name UpDataStructsSponsorshipStateAccountId32 */2611export interface UpDataStructsSponsorshipState extends Enum {2680export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2612 readonly isDisabled: boolean;2681 readonly isDisabled: boolean;2613 readonly isUnconfirmed: boolean;2682 readonly isUnconfirmed: boolean;2614 readonly asUnconfirmed: AccountId32;2683 readonly asUnconfirmed: AccountId32;2617 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2686 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2618}2687}26882689/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2690export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {2691 readonly isDisabled: boolean;2692 readonly isUnconfirmed: boolean;2693 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2694 readonly isConfirmed: boolean;2695 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2696 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2697}261926982620/** @name UpDataStructsTokenChild */2699/** @name UpDataStructsTokenChild */2621export interface UpDataStructsTokenChild extends Struct {2700export interface UpDataStructsTokenChild extends Struct {tests/src/interfaces/definitions.tsdiffbeforeafterboth15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.161617export {default as unique} from './unique/definitions';17export {default as unique} from './unique/definitions';18export {default as appPromotion} from './appPromotion/definitions';18export {default as rmrk} from './rmrk/definitions';19export {default as rmrk} from './rmrk/definitions';19export {default as default} from './default/definitions';20export {default as default} from './default/definitions';tests/src/interfaces/lookup.tsdiffbeforeafterboth1056 }1056 }1057 }1057 }1058 },1058 },1059 /**1060 * Lookup103: pallet_app_promotion::pallet::Event<T>1061 **/1062 PalletAppPromotionEvent: {1063 _enum: {1064 StakingRecalculation: '(AccountId32,u128,u128)',1065 Stake: '(AccountId32,u128)',1066 Unstake: '(AccountId32,u128)',1067 SetAdmin: 'AccountId32'1068 }1069 },1059 /**1070 /**1060 * Lookup103: pallet_evm::pallet::Event<T>1071 * Lookup104: pallet_evm::pallet::Event<T>1061 **/1072 **/1062 PalletEvmEvent: {1073 PalletEvmEvent: {1063 _enum: {1074 _enum: {1064 Log: 'EthereumLog',1075 Log: 'EthereumLog',1070 BalanceWithdraw: '(AccountId32,H160,U256)'1081 BalanceWithdraw: '(AccountId32,H160,U256)'1071 }1082 }1072 },1083 },1073 /**1084 /**1074 * Lookup104: ethereum::log::Log1085 * Lookup105: ethereum::log::Log1075 **/1086 **/1076 EthereumLog: {1087 EthereumLog: {1077 address: 'H160',1088 address: 'H160',1078 topics: 'Vec<H256>',1089 topics: 'Vec<H256>',1079 data: 'Bytes'1090 data: 'Bytes'1080 },1091 },1081 /**1092 /**1082 * Lookup108: pallet_ethereum::pallet::Event1093 * Lookup109: pallet_ethereum::pallet::Event1083 **/1094 **/1084 PalletEthereumEvent: {1095 PalletEthereumEvent: {1085 _enum: {1096 _enum: {1086 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1097 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1087 }1098 }1088 },1099 },1089 /**1100 /**1090 * Lookup109: evm_core::error::ExitReason1101 * Lookup110: evm_core::error::ExitReason1091 **/1102 **/1092 EvmCoreErrorExitReason: {1103 EvmCoreErrorExitReason: {1093 _enum: {1104 _enum: {1094 Succeed: 'EvmCoreErrorExitSucceed',1105 Succeed: 'EvmCoreErrorExitSucceed',1097 Fatal: 'EvmCoreErrorExitFatal'1108 Fatal: 'EvmCoreErrorExitFatal'1098 }1109 }1099 },1110 },1100 /**1111 /**1101 * Lookup110: evm_core::error::ExitSucceed1112 * Lookup111: evm_core::error::ExitSucceed1102 **/1113 **/1103 EvmCoreErrorExitSucceed: {1114 EvmCoreErrorExitSucceed: {1104 _enum: ['Stopped', 'Returned', 'Suicided']1115 _enum: ['Stopped', 'Returned', 'Suicided']1105 },1116 },1106 /**1117 /**1107 * Lookup111: evm_core::error::ExitError1118 * Lookup112: evm_core::error::ExitError1108 **/1119 **/1109 EvmCoreErrorExitError: {1120 EvmCoreErrorExitError: {1110 _enum: {1121 _enum: {1111 StackUnderflow: 'Null',1122 StackUnderflow: 'Null',1125 InvalidCode: 'Null'1136 InvalidCode: 'Null'1126 }1137 }1127 },1138 },1128 /**1139 /**1129 * Lookup114: evm_core::error::ExitRevert1140 * Lookup115: evm_core::error::ExitRevert1130 **/1141 **/1131 EvmCoreErrorExitRevert: {1142 EvmCoreErrorExitRevert: {1132 _enum: ['Reverted']1143 _enum: ['Reverted']1133 },1144 },1134 /**1145 /**1135 * Lookup115: evm_core::error::ExitFatal1146 * Lookup116: evm_core::error::ExitFatal1136 **/1147 **/1137 EvmCoreErrorExitFatal: {1148 EvmCoreErrorExitFatal: {1138 _enum: {1149 _enum: {1139 NotSupported: 'Null',1150 NotSupported: 'Null',1142 Other: 'Text'1153 Other: 'Text'1143 }1154 }1144 },1155 },1156 /**1157 * Lookup117: pallet_evm_contract_helpers::pallet::Event<T>1158 **/1159 PalletEvmContractHelpersEvent: {1160 _enum: {1161 ContractSponsorSet: '(H160,AccountId32)',1162 ContractSponsorshipConfirmed: '(H160,AccountId32)',1163 ContractSponsorRemoved: 'H160'1164 }1165 },1145 /**1166 /**1146 * Lookup116: frame_system::Phase1167 * Lookup118: frame_system::Phase1147 **/1168 **/1148 FrameSystemPhase: {1169 FrameSystemPhase: {1149 _enum: {1170 _enum: {1150 ApplyExtrinsic: 'u32',1171 ApplyExtrinsic: 'u32',1151 Finalization: 'Null',1172 Finalization: 'Null',1152 Initialization: 'Null'1173 Initialization: 'Null'1153 }1174 }1154 },1175 },1155 /**1176 /**1156 * Lookup118: frame_system::LastRuntimeUpgradeInfo1177 * Lookup120: frame_system::LastRuntimeUpgradeInfo1157 **/1178 **/1158 FrameSystemLastRuntimeUpgradeInfo: {1179 FrameSystemLastRuntimeUpgradeInfo: {1159 specVersion: 'Compact<u32>',1180 specVersion: 'Compact<u32>',1160 specName: 'Text'1181 specName: 'Text'1161 },1182 },1162 /**1183 /**1163 * Lookup119: frame_system::pallet::Call<T>1184 * Lookup121: frame_system::pallet::Call<T>1164 **/1185 **/1165 FrameSystemCall: {1186 FrameSystemCall: {1166 _enum: {1187 _enum: {1167 fill_block: {1188 fill_block: {1197 }1218 }1198 }1219 }1199 },1220 },1200 /**1221 /**1201 * Lookup124: frame_system::limits::BlockWeights1222 * Lookup126: frame_system::limits::BlockWeights1202 **/1223 **/1203 FrameSystemLimitsBlockWeights: {1224 FrameSystemLimitsBlockWeights: {1204 baseBlock: 'u64',1225 baseBlock: 'u64',1205 maxBlock: 'u64',1226 maxBlock: 'u64',1206 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'1227 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'1207 },1228 },1208 /**1229 /**1209 * Lookup125: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>1230 * Lookup127: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>1210 **/1231 **/1211 FrameSupportWeightsPerDispatchClassWeightsPerClass: {1232 FrameSupportWeightsPerDispatchClassWeightsPerClass: {1212 normal: 'FrameSystemLimitsWeightsPerClass',1233 normal: 'FrameSystemLimitsWeightsPerClass',1213 operational: 'FrameSystemLimitsWeightsPerClass',1234 operational: 'FrameSystemLimitsWeightsPerClass',1214 mandatory: 'FrameSystemLimitsWeightsPerClass'1235 mandatory: 'FrameSystemLimitsWeightsPerClass'1215 },1236 },1216 /**1237 /**1217 * Lookup126: frame_system::limits::WeightsPerClass1238 * Lookup128: frame_system::limits::WeightsPerClass1218 **/1239 **/1219 FrameSystemLimitsWeightsPerClass: {1240 FrameSystemLimitsWeightsPerClass: {1220 baseExtrinsic: 'u64',1241 baseExtrinsic: 'u64',1221 maxExtrinsic: 'Option<u64>',1242 maxExtrinsic: 'Option<u64>',1222 maxTotal: 'Option<u64>',1243 maxTotal: 'Option<u64>',1223 reserved: 'Option<u64>'1244 reserved: 'Option<u64>'1224 },1245 },1225 /**1246 /**1226 * Lookup128: frame_system::limits::BlockLength1247 * Lookup130: frame_system::limits::BlockLength1227 **/1248 **/1228 FrameSystemLimitsBlockLength: {1249 FrameSystemLimitsBlockLength: {1229 max: 'FrameSupportWeightsPerDispatchClassU32'1250 max: 'FrameSupportWeightsPerDispatchClassU32'1230 },1251 },1231 /**1252 /**1232 * Lookup129: frame_support::weights::PerDispatchClass<T>1253 * Lookup131: frame_support::weights::PerDispatchClass<T>1233 **/1254 **/1234 FrameSupportWeightsPerDispatchClassU32: {1255 FrameSupportWeightsPerDispatchClassU32: {1235 normal: 'u32',1256 normal: 'u32',1236 operational: 'u32',1257 operational: 'u32',1237 mandatory: 'u32'1258 mandatory: 'u32'1238 },1259 },1239 /**1260 /**1240 * Lookup130: frame_support::weights::RuntimeDbWeight1261 * Lookup132: frame_support::weights::RuntimeDbWeight1241 **/1262 **/1242 FrameSupportWeightsRuntimeDbWeight: {1263 FrameSupportWeightsRuntimeDbWeight: {1243 read: 'u64',1264 read: 'u64',1244 write: 'u64'1265 write: 'u64'1245 },1266 },1246 /**1267 /**1247 * Lookup131: sp_version::RuntimeVersion1268 * Lookup133: sp_version::RuntimeVersion1248 **/1269 **/1249 SpVersionRuntimeVersion: {1270 SpVersionRuntimeVersion: {1250 specName: 'Text',1271 specName: 'Text',1251 implName: 'Text',1272 implName: 'Text',1256 transactionVersion: 'u32',1277 transactionVersion: 'u32',1257 stateVersion: 'u8'1278 stateVersion: 'u8'1258 },1279 },1259 /**1280 /**1260 * Lookup136: frame_system::pallet::Error<T>1281 * Lookup138: frame_system::pallet::Error<T>1261 **/1282 **/1262 FrameSystemError: {1283 FrameSystemError: {1263 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1284 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1264 },1285 },1265 /**1286 /**1266 * Lookup137: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1287 * Lookup139: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1267 **/1288 **/1268 PolkadotPrimitivesV2PersistedValidationData: {1289 PolkadotPrimitivesV2PersistedValidationData: {1269 parentHead: 'Bytes',1290 parentHead: 'Bytes',1270 relayParentNumber: 'u32',1291 relayParentNumber: 'u32',1271 relayParentStorageRoot: 'H256',1292 relayParentStorageRoot: 'H256',1272 maxPovSize: 'u32'1293 maxPovSize: 'u32'1273 },1294 },1274 /**1295 /**1275 * Lookup140: polkadot_primitives::v2::UpgradeRestriction1296 * Lookup142: polkadot_primitives::v2::UpgradeRestriction1276 **/1297 **/1277 PolkadotPrimitivesV2UpgradeRestriction: {1298 PolkadotPrimitivesV2UpgradeRestriction: {1278 _enum: ['Present']1299 _enum: ['Present']1279 },1300 },1280 /**1301 /**1281 * Lookup141: sp_trie::storage_proof::StorageProof1302 * Lookup143: sp_trie::storage_proof::StorageProof1282 **/1303 **/1283 SpTrieStorageProof: {1304 SpTrieStorageProof: {1284 trieNodes: 'BTreeSet<Bytes>'1305 trieNodes: 'BTreeSet<Bytes>'1285 },1306 },1286 /**1307 /**1287 * Lookup143: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1308 * Lookup145: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1288 **/1309 **/1289 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1310 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1290 dmqMqcHead: 'H256',1311 dmqMqcHead: 'H256',1291 relayDispatchQueueSize: '(u32,u32)',1312 relayDispatchQueueSize: '(u32,u32)',1292 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1313 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1293 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1314 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1294 },1315 },1295 /**1316 /**1296 * Lookup146: polkadot_primitives::v2::AbridgedHrmpChannel1317 * Lookup148: polkadot_primitives::v2::AbridgedHrmpChannel1297 **/1318 **/1298 PolkadotPrimitivesV2AbridgedHrmpChannel: {1319 PolkadotPrimitivesV2AbridgedHrmpChannel: {1299 maxCapacity: 'u32',1320 maxCapacity: 'u32',1300 maxTotalSize: 'u32',1321 maxTotalSize: 'u32',1303 totalSize: 'u32',1324 totalSize: 'u32',1304 mqcHead: 'Option<H256>'1325 mqcHead: 'Option<H256>'1305 },1326 },1306 /**1327 /**1307 * Lookup147: polkadot_primitives::v2::AbridgedHostConfiguration1328 * Lookup149: polkadot_primitives::v2::AbridgedHostConfiguration1308 **/1329 **/1309 PolkadotPrimitivesV2AbridgedHostConfiguration: {1330 PolkadotPrimitivesV2AbridgedHostConfiguration: {1310 maxCodeSize: 'u32',1331 maxCodeSize: 'u32',1311 maxHeadDataSize: 'u32',1332 maxHeadDataSize: 'u32',1317 validationUpgradeCooldown: 'u32',1338 validationUpgradeCooldown: 'u32',1318 validationUpgradeDelay: 'u32'1339 validationUpgradeDelay: 'u32'1319 },1340 },1320 /**1341 /**1321 * Lookup153: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1342 * Lookup155: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1322 **/1343 **/1323 PolkadotCorePrimitivesOutboundHrmpMessage: {1344 PolkadotCorePrimitivesOutboundHrmpMessage: {1324 recipient: 'u32',1345 recipient: 'u32',1325 data: 'Bytes'1346 data: 'Bytes'1326 },1347 },1327 /**1348 /**1328 * Lookup154: cumulus_pallet_parachain_system::pallet::Call<T>1349 * Lookup156: cumulus_pallet_parachain_system::pallet::Call<T>1329 **/1350 **/1330 CumulusPalletParachainSystemCall: {1351 CumulusPalletParachainSystemCall: {1331 _enum: {1352 _enum: {1332 set_validation_data: {1353 set_validation_data: {1343 }1364 }1344 }1365 }1345 },1366 },1346 /**1367 /**1347 * Lookup155: cumulus_primitives_parachain_inherent::ParachainInherentData1368 * Lookup157: cumulus_primitives_parachain_inherent::ParachainInherentData1348 **/1369 **/1349 CumulusPrimitivesParachainInherentParachainInherentData: {1370 CumulusPrimitivesParachainInherentParachainInherentData: {1350 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1371 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1351 relayChainState: 'SpTrieStorageProof',1372 relayChainState: 'SpTrieStorageProof',1352 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1373 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1353 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1374 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1354 },1375 },1355 /**1376 /**1356 * Lookup157: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1377 * Lookup159: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1357 **/1378 **/1358 PolkadotCorePrimitivesInboundDownwardMessage: {1379 PolkadotCorePrimitivesInboundDownwardMessage: {1359 sentAt: 'u32',1380 sentAt: 'u32',1360 msg: 'Bytes'1381 msg: 'Bytes'1361 },1382 },1362 /**1383 /**1363 * Lookup160: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1384 * Lookup162: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1364 **/1385 **/1365 PolkadotCorePrimitivesInboundHrmpMessage: {1386 PolkadotCorePrimitivesInboundHrmpMessage: {1366 sentAt: 'u32',1387 sentAt: 'u32',1367 data: 'Bytes'1388 data: 'Bytes'1368 },1389 },1369 /**1390 /**1370 * Lookup163: cumulus_pallet_parachain_system::pallet::Error<T>1391 * Lookup165: cumulus_pallet_parachain_system::pallet::Error<T>1371 **/1392 **/1372 CumulusPalletParachainSystemError: {1393 CumulusPalletParachainSystemError: {1373 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1394 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1374 },1395 },1375 /**1396 /**1376 * Lookup165: pallet_balances::BalanceLock<Balance>1397 * Lookup167: pallet_balances::BalanceLock<Balance>1377 **/1398 **/1378 PalletBalancesBalanceLock: {1399 PalletBalancesBalanceLock: {1379 id: '[u8;8]',1400 id: '[u8;8]',1380 amount: 'u128',1401 amount: 'u128',1381 reasons: 'PalletBalancesReasons'1402 reasons: 'PalletBalancesReasons'1382 },1403 },1383 /**1404 /**1384 * Lookup166: pallet_balances::Reasons1405 * Lookup168: pallet_balances::Reasons1385 **/1406 **/1386 PalletBalancesReasons: {1407 PalletBalancesReasons: {1387 _enum: ['Fee', 'Misc', 'All']1408 _enum: ['Fee', 'Misc', 'All']1388 },1409 },1389 /**1410 /**1390 * Lookup169: pallet_balances::ReserveData<ReserveIdentifier, Balance>1411 * Lookup171: pallet_balances::ReserveData<ReserveIdentifier, Balance>1391 **/1412 **/1392 PalletBalancesReserveData: {1413 PalletBalancesReserveData: {1393 id: '[u8;16]',1414 id: '[u8;16]',1394 amount: 'u128'1415 amount: 'u128'1395 },1416 },1396 /**1417 /**1397 * Lookup171: pallet_balances::Releases1418 * Lookup173: pallet_balances::Releases1398 **/1419 **/1399 PalletBalancesReleases: {1420 PalletBalancesReleases: {1400 _enum: ['V1_0_0', 'V2_0_0']1421 _enum: ['V1_0_0', 'V2_0_0']1401 },1422 },1402 /**1423 /**1403 * Lookup172: pallet_balances::pallet::Call<T, I>1424 * Lookup174: pallet_balances::pallet::Call<T, I>1404 **/1425 **/1405 PalletBalancesCall: {1426 PalletBalancesCall: {1406 _enum: {1427 _enum: {1407 transfer: {1428 transfer: {1432 }1453 }1433 }1454 }1434 },1455 },1435 /**1456 /**1436 * Lookup175: pallet_balances::pallet::Error<T, I>1457 * Lookup177: pallet_balances::pallet::Error<T, I>1437 **/1458 **/1438 PalletBalancesError: {1459 PalletBalancesError: {1439 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1460 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1440 },1461 },1441 /**1462 /**1442 * Lookup177: pallet_timestamp::pallet::Call<T>1463 * Lookup179: pallet_timestamp::pallet::Call<T>1443 **/1464 **/1444 PalletTimestampCall: {1465 PalletTimestampCall: {1445 _enum: {1466 _enum: {1446 set: {1467 set: {1447 now: 'Compact<u64>'1468 now: 'Compact<u64>'1448 }1469 }1449 }1470 }1450 },1471 },1451 /**1472 /**1452 * Lookup179: pallet_transaction_payment::Releases1473 * Lookup181: pallet_transaction_payment::Releases1453 **/1474 **/1454 PalletTransactionPaymentReleases: {1475 PalletTransactionPaymentReleases: {1455 _enum: ['V1Ancient', 'V2']1476 _enum: ['V1Ancient', 'V2']1456 },1477 },1457 /**1478 /**1458 * Lookup180: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1479 * Lookup182: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1459 **/1480 **/1460 PalletTreasuryProposal: {1481 PalletTreasuryProposal: {1461 proposer: 'AccountId32',1482 proposer: 'AccountId32',1462 value: 'u128',1483 value: 'u128',1463 beneficiary: 'AccountId32',1484 beneficiary: 'AccountId32',1464 bond: 'u128'1485 bond: 'u128'1465 },1486 },1466 /**1487 /**1467 * Lookup183: pallet_treasury::pallet::Call<T, I>1488 * Lookup185: pallet_treasury::pallet::Call<T, I>1468 **/1489 **/1469 PalletTreasuryCall: {1490 PalletTreasuryCall: {1470 _enum: {1491 _enum: {1471 propose_spend: {1492 propose_spend: {1487 }1508 }1488 }1509 }1489 },1510 },1490 /**1511 /**1491 * Lookup186: frame_support::PalletId1512 * Lookup188: frame_support::PalletId1492 **/1513 **/1493 FrameSupportPalletId: '[u8;8]',1514 FrameSupportPalletId: '[u8;8]',1494 /**1515 /**1495 * Lookup187: pallet_treasury::pallet::Error<T, I>1516 * Lookup189: pallet_treasury::pallet::Error<T, I>1496 **/1517 **/1497 PalletTreasuryError: {1518 PalletTreasuryError: {1498 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1519 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1499 },1520 },1500 /**1521 /**1501 * Lookup188: pallet_sudo::pallet::Call<T>1522 * Lookup190: pallet_sudo::pallet::Call<T>1502 **/1523 **/1503 PalletSudoCall: {1524 PalletSudoCall: {1504 _enum: {1525 _enum: {1505 sudo: {1526 sudo: {1521 }1542 }1522 }1543 }1523 },1544 },1524 /**1545 /**1525 * Lookup190: orml_vesting::module::Call<T>1546 * Lookup192: orml_vesting::module::Call<T>1526 **/1547 **/1527 OrmlVestingModuleCall: {1548 OrmlVestingModuleCall: {1528 _enum: {1549 _enum: {1529 claim: 'Null',1550 claim: 'Null',1540 }1561 }1541 }1562 }1542 },1563 },1543 /**1564 /**1544 * Lookup192: cumulus_pallet_xcmp_queue::pallet::Call<T>1565 * Lookup194: cumulus_pallet_xcmp_queue::pallet::Call<T>1545 **/1566 **/1546 CumulusPalletXcmpQueueCall: {1567 CumulusPalletXcmpQueueCall: {1547 _enum: {1568 _enum: {1548 service_overweight: {1569 service_overweight: {1589 }1610 }1590 }1611 }1591 },1612 },1592 /**1613 /**1593 * Lookup193: pallet_xcm::pallet::Call<T>1614 * Lookup195: pallet_xcm::pallet::Call<T>1594 **/1615 **/1595 PalletXcmCall: {1616 PalletXcmCall: {1596 _enum: {1617 _enum: {1597 send: {1618 send: {1643 }1664 }1644 }1665 }1645 },1666 },1646 /**1667 /**1647 * Lookup194: xcm::VersionedXcm<Call>1668 * Lookup196: xcm::VersionedXcm<Call>1648 **/1669 **/1649 XcmVersionedXcm: {1670 XcmVersionedXcm: {1650 _enum: {1671 _enum: {1651 V0: 'XcmV0Xcm',1672 V0: 'XcmV0Xcm',1652 V1: 'XcmV1Xcm',1673 V1: 'XcmV1Xcm',1653 V2: 'XcmV2Xcm'1674 V2: 'XcmV2Xcm'1654 }1675 }1655 },1676 },1656 /**1677 /**1657 * Lookup195: xcm::v0::Xcm<Call>1678 * Lookup197: xcm::v0::Xcm<Call>1658 **/1679 **/1659 XcmV0Xcm: {1680 XcmV0Xcm: {1660 _enum: {1681 _enum: {1661 WithdrawAsset: {1682 WithdrawAsset: {1707 }1728 }1708 }1729 }1709 },1730 },1710 /**1731 /**1711 * Lookup197: xcm::v0::order::Order<Call>1732 * Lookup199: xcm::v0::order::Order<Call>1712 **/1733 **/1713 XcmV0Order: {1734 XcmV0Order: {1714 _enum: {1735 _enum: {1715 Null: 'Null',1736 Null: 'Null',1750 }1771 }1751 }1772 }1752 },1773 },1753 /**1774 /**1754 * Lookup199: xcm::v0::Response1775 * Lookup201: xcm::v0::Response1755 **/1776 **/1756 XcmV0Response: {1777 XcmV0Response: {1757 _enum: {1778 _enum: {1758 Assets: 'Vec<XcmV0MultiAsset>'1779 Assets: 'Vec<XcmV0MultiAsset>'1759 }1780 }1760 },1781 },1761 /**1782 /**1762 * Lookup200: xcm::v1::Xcm<Call>1783 * Lookup202: xcm::v1::Xcm<Call>1763 **/1784 **/1764 XcmV1Xcm: {1785 XcmV1Xcm: {1765 _enum: {1786 _enum: {1766 WithdrawAsset: {1787 WithdrawAsset: {1817 UnsubscribeVersion: 'Null'1838 UnsubscribeVersion: 'Null'1818 }1839 }1819 },1840 },1820 /**1841 /**1821 * Lookup202: xcm::v1::order::Order<Call>1842 * Lookup204: xcm::v1::order::Order<Call>1822 **/1843 **/1823 XcmV1Order: {1844 XcmV1Order: {1824 _enum: {1845 _enum: {1825 Noop: 'Null',1846 Noop: 'Null',1862 }1883 }1863 }1884 }1864 },1885 },1865 /**1886 /**1866 * Lookup204: xcm::v1::Response1887 * Lookup206: xcm::v1::Response1867 **/1888 **/1868 XcmV1Response: {1889 XcmV1Response: {1869 _enum: {1890 _enum: {1870 Assets: 'XcmV1MultiassetMultiAssets',1891 Assets: 'XcmV1MultiassetMultiAssets',1871 Version: 'u32'1892 Version: 'u32'1872 }1893 }1873 },1894 },1874 /**1895 /**1875 * Lookup218: cumulus_pallet_xcm::pallet::Call<T>1896 * Lookup220: cumulus_pallet_xcm::pallet::Call<T>1876 **/1897 **/1877 CumulusPalletXcmCall: 'Null',1898 CumulusPalletXcmCall: 'Null',1878 /**1899 /**1879 * Lookup219: cumulus_pallet_dmp_queue::pallet::Call<T>1900 * Lookup221: cumulus_pallet_dmp_queue::pallet::Call<T>1880 **/1901 **/1881 CumulusPalletDmpQueueCall: {1902 CumulusPalletDmpQueueCall: {1882 _enum: {1903 _enum: {1883 service_overweight: {1904 service_overweight: {1886 }1907 }1887 }1908 }1888 },1909 },1889 /**1910 /**1890 * Lookup220: pallet_inflation::pallet::Call<T>1911 * Lookup222: pallet_inflation::pallet::Call<T>1891 **/1912 **/1892 PalletInflationCall: {1913 PalletInflationCall: {1893 _enum: {1914 _enum: {1894 start_inflation: {1915 start_inflation: {1895 inflationStartRelayBlock: 'u32'1916 inflationStartRelayBlock: 'u32'1896 }1917 }1897 }1918 }1898 },1919 },1899 /**1920 /**1900 * Lookup221: pallet_unique::Call<T>1921 * Lookup223: pallet_unique::Call<T>1901 **/1922 **/1902 PalletUniqueCall: {1923 PalletUniqueCall: {1903 _enum: {1924 _enum: {1904 create_collection: {1925 create_collection: {2028 }2049 }2029 }2050 }2030 },2051 },2031 /**2052 /**2032 * Lookup226: up_data_structs::CollectionMode2053 * Lookup228: up_data_structs::CollectionMode2033 **/2054 **/2034 UpDataStructsCollectionMode: {2055 UpDataStructsCollectionMode: {2035 _enum: {2056 _enum: {2036 NFT: 'Null',2057 NFT: 'Null',2037 Fungible: 'u8',2058 Fungible: 'u8',2038 ReFungible: 'Null'2059 ReFungible: 'Null'2039 }2060 }2040 },2061 },2041 /**2062 /**2042 * Lookup227: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2063 * Lookup229: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2043 **/2064 **/2044 UpDataStructsCreateCollectionData: {2065 UpDataStructsCreateCollectionData: {2045 mode: 'UpDataStructsCollectionMode',2066 mode: 'UpDataStructsCollectionMode',2046 access: 'Option<UpDataStructsAccessMode>',2067 access: 'Option<UpDataStructsAccessMode>',2053 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2074 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2054 properties: 'Vec<UpDataStructsProperty>'2075 properties: 'Vec<UpDataStructsProperty>'2055 },2076 },2056 /**2077 /**2057 * Lookup229: up_data_structs::AccessMode2078 * Lookup231: up_data_structs::AccessMode2058 **/2079 **/2059 UpDataStructsAccessMode: {2080 UpDataStructsAccessMode: {2060 _enum: ['Normal', 'AllowList']2081 _enum: ['Normal', 'AllowList']2061 },2082 },2062 /**2083 /**2063 * Lookup231: up_data_structs::CollectionLimits2084 * Lookup233: up_data_structs::CollectionLimits2064 **/2085 **/2065 UpDataStructsCollectionLimits: {2086 UpDataStructsCollectionLimits: {2066 accountTokenOwnershipLimit: 'Option<u32>',2087 accountTokenOwnershipLimit: 'Option<u32>',2067 sponsoredDataSize: 'Option<u32>',2088 sponsoredDataSize: 'Option<u32>',2073 ownerCanDestroy: 'Option<bool>',2094 ownerCanDestroy: 'Option<bool>',2074 transfersEnabled: 'Option<bool>'2095 transfersEnabled: 'Option<bool>'2075 },2096 },2076 /**2097 /**2077 * Lookup233: up_data_structs::SponsoringRateLimit2098 * Lookup235: up_data_structs::SponsoringRateLimit2078 **/2099 **/2079 UpDataStructsSponsoringRateLimit: {2100 UpDataStructsSponsoringRateLimit: {2080 _enum: {2101 _enum: {2081 SponsoringDisabled: 'Null',2102 SponsoringDisabled: 'Null',2082 Blocks: 'u32'2103 Blocks: 'u32'2083 }2104 }2084 },2105 },2085 /**2106 /**2086 * Lookup236: up_data_structs::CollectionPermissions2107 * Lookup238: up_data_structs::CollectionPermissions2087 **/2108 **/2088 UpDataStructsCollectionPermissions: {2109 UpDataStructsCollectionPermissions: {2089 access: 'Option<UpDataStructsAccessMode>',2110 access: 'Option<UpDataStructsAccessMode>',2090 mintMode: 'Option<bool>',2111 mintMode: 'Option<bool>',2091 nesting: 'Option<UpDataStructsNestingPermissions>'2112 nesting: 'Option<UpDataStructsNestingPermissions>'2092 },2113 },2093 /**2114 /**2094 * Lookup238: up_data_structs::NestingPermissions2115 * Lookup240: up_data_structs::NestingPermissions2095 **/2116 **/2096 UpDataStructsNestingPermissions: {2117 UpDataStructsNestingPermissions: {2097 tokenOwner: 'bool',2118 tokenOwner: 'bool',2098 collectionAdmin: 'bool',2119 collectionAdmin: 'bool',2099 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2120 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2100 },2121 },2101 /**2122 /**2102 * Lookup240: up_data_structs::OwnerRestrictedSet2123 * Lookup242: up_data_structs::OwnerRestrictedSet2103 **/2124 **/2104 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2125 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2105 /**2126 /**2106 * Lookup245: up_data_structs::PropertyKeyPermission2127 * Lookup247: up_data_structs::PropertyKeyPermission2107 **/2128 **/2108 UpDataStructsPropertyKeyPermission: {2129 UpDataStructsPropertyKeyPermission: {2109 key: 'Bytes',2130 key: 'Bytes',2110 permission: 'UpDataStructsPropertyPermission'2131 permission: 'UpDataStructsPropertyPermission'2111 },2132 },2112 /**2133 /**2113 * Lookup246: up_data_structs::PropertyPermission2134 * Lookup248: up_data_structs::PropertyPermission2114 **/2135 **/2115 UpDataStructsPropertyPermission: {2136 UpDataStructsPropertyPermission: {2116 mutable: 'bool',2137 mutable: 'bool',2117 collectionAdmin: 'bool',2138 collectionAdmin: 'bool',2118 tokenOwner: 'bool'2139 tokenOwner: 'bool'2119 },2140 },2120 /**2141 /**2121 * Lookup249: up_data_structs::Property2142 * Lookup251: up_data_structs::Property2122 **/2143 **/2123 UpDataStructsProperty: {2144 UpDataStructsProperty: {2124 key: 'Bytes',2145 key: 'Bytes',2125 value: 'Bytes'2146 value: 'Bytes'2126 },2147 },2127 /**2148 /**2128 * Lookup252: up_data_structs::CreateItemData2149 * Lookup254: up_data_structs::CreateItemData2129 **/2150 **/2130 UpDataStructsCreateItemData: {2151 UpDataStructsCreateItemData: {2131 _enum: {2152 _enum: {2132 NFT: 'UpDataStructsCreateNftData',2153 NFT: 'UpDataStructsCreateNftData',2133 Fungible: 'UpDataStructsCreateFungibleData',2154 Fungible: 'UpDataStructsCreateFungibleData',2134 ReFungible: 'UpDataStructsCreateReFungibleData'2155 ReFungible: 'UpDataStructsCreateReFungibleData'2135 }2156 }2136 },2157 },2137 /**2158 /**2138 * Lookup253: up_data_structs::CreateNftData2159 * Lookup255: up_data_structs::CreateNftData2139 **/2160 **/2140 UpDataStructsCreateNftData: {2161 UpDataStructsCreateNftData: {2141 properties: 'Vec<UpDataStructsProperty>'2162 properties: 'Vec<UpDataStructsProperty>'2142 },2163 },2143 /**2164 /**2144 * Lookup254: up_data_structs::CreateFungibleData2165 * Lookup256: up_data_structs::CreateFungibleData2145 **/2166 **/2146 UpDataStructsCreateFungibleData: {2167 UpDataStructsCreateFungibleData: {2147 value: 'u128'2168 value: 'u128'2148 },2169 },2149 /**2170 /**2150 * Lookup255: up_data_structs::CreateReFungibleData2171 * Lookup257: up_data_structs::CreateReFungibleData2151 **/2172 **/2152 UpDataStructsCreateReFungibleData: {2173 UpDataStructsCreateReFungibleData: {2153 pieces: 'u128',2174 pieces: 'u128',2154 properties: 'Vec<UpDataStructsProperty>'2175 properties: 'Vec<UpDataStructsProperty>'2155 },2176 },2156 /**2177 /**2157 * Lookup258: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2178 * Lookup260: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2158 **/2179 **/2159 UpDataStructsCreateItemExData: {2180 UpDataStructsCreateItemExData: {2160 _enum: {2181 _enum: {2161 NFT: 'Vec<UpDataStructsCreateNftExData>',2182 NFT: 'Vec<UpDataStructsCreateNftExData>',2164 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2185 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2165 }2186 }2166 },2187 },2167 /**2188 /**2168 * Lookup260: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2189 * Lookup262: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2169 **/2190 **/2170 UpDataStructsCreateNftExData: {2191 UpDataStructsCreateNftExData: {2171 properties: 'Vec<UpDataStructsProperty>',2192 properties: 'Vec<UpDataStructsProperty>',2172 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2193 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2173 },2194 },2174 /**2195 /**2175 * Lookup267: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2196 * Lookup269: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2176 **/2197 **/2177 UpDataStructsCreateRefungibleExSingleOwner: {2198 UpDataStructsCreateRefungibleExSingleOwner: {2178 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2199 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2179 pieces: 'u128',2200 pieces: 'u128',2180 properties: 'Vec<UpDataStructsProperty>'2201 properties: 'Vec<UpDataStructsProperty>'2181 },2202 },2182 /**2203 /**2183 * Lookup269: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2204 * Lookup271: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2184 **/2205 **/2185 UpDataStructsCreateRefungibleExMultipleOwners: {2206 UpDataStructsCreateRefungibleExMultipleOwners: {2186 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2207 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2187 properties: 'Vec<UpDataStructsProperty>'2208 properties: 'Vec<UpDataStructsProperty>'2188 },2209 },2189 /**2210 /**2190 * Lookup270: pallet_unique_scheduler::pallet::Call<T>2211 * Lookup272: pallet_unique_scheduler::pallet::Call<T>2191 **/2212 **/2192 PalletUniqueSchedulerCall: {2213 PalletUniqueSchedulerCall: {2193 _enum: {2214 _enum: {2194 schedule_named: {2215 schedule_named: {2210 }2231 }2211 }2232 }2212 },2233 },2213 /**2234 /**2214 * Lookup272: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>2235 * Lookup274: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>2215 **/2236 **/2216 FrameSupportScheduleMaybeHashed: {2237 FrameSupportScheduleMaybeHashed: {2217 _enum: {2238 _enum: {2218 Value: 'Call',2239 Value: 'Call',2219 Hash: 'H256'2240 Hash: 'H256'2220 }2241 }2221 },2242 },2222 /**2243 /**2223 * Lookup273: pallet_configuration::pallet::Call<T>2244 * Lookup275: pallet_configuration::pallet::Call<T>2224 **/2245 **/2225 PalletConfigurationCall: {2246 PalletConfigurationCall: {2226 _enum: {2247 _enum: {2227 set_weight_to_fee_coefficient_override: {2248 set_weight_to_fee_coefficient_override: {2232 }2253 }2233 }2254 }2234 },2255 },2235 /**2256 /**2236 * Lookup274: pallet_template_transaction_payment::Call<T>2257 * Lookup276: pallet_template_transaction_payment::Call<T>2237 **/2258 **/2238 PalletTemplateTransactionPaymentCall: 'Null',2259 PalletTemplateTransactionPaymentCall: 'Null',2239 /**2260 /**2240 * Lookup275: pallet_structure::pallet::Call<T>2261 * Lookup277: pallet_structure::pallet::Call<T>2241 **/2262 **/2242 PalletStructureCall: 'Null',2263 PalletStructureCall: 'Null',2243 /**2264 /**2244 * Lookup276: pallet_rmrk_core::pallet::Call<T>2265 * Lookup278: pallet_rmrk_core::pallet::Call<T>2245 **/2266 **/2246 PalletRmrkCoreCall: {2267 PalletRmrkCoreCall: {2247 _enum: {2268 _enum: {2248 create_collection: {2269 create_collection: {2331 }2352 }2332 }2353 }2333 },2354 },2334 /**2355 /**2335 * Lookup282: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2356 * Lookup284: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2336 **/2357 **/2337 RmrkTraitsResourceResourceTypes: {2358 RmrkTraitsResourceResourceTypes: {2338 _enum: {2359 _enum: {2339 Basic: 'RmrkTraitsResourceBasicResource',2360 Basic: 'RmrkTraitsResourceBasicResource',2340 Composable: 'RmrkTraitsResourceComposableResource',2361 Composable: 'RmrkTraitsResourceComposableResource',2341 Slot: 'RmrkTraitsResourceSlotResource'2362 Slot: 'RmrkTraitsResourceSlotResource'2342 }2363 }2343 },2364 },2344 /**2365 /**2345 * Lookup284: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2366 * Lookup286: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2346 **/2367 **/2347 RmrkTraitsResourceBasicResource: {2368 RmrkTraitsResourceBasicResource: {2348 src: 'Option<Bytes>',2369 src: 'Option<Bytes>',2349 metadata: 'Option<Bytes>',2370 metadata: 'Option<Bytes>',2350 license: 'Option<Bytes>',2371 license: 'Option<Bytes>',2351 thumb: 'Option<Bytes>'2372 thumb: 'Option<Bytes>'2352 },2373 },2353 /**2374 /**2354 * Lookup286: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2375 * Lookup288: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2355 **/2376 **/2356 RmrkTraitsResourceComposableResource: {2377 RmrkTraitsResourceComposableResource: {2357 parts: 'Vec<u32>',2378 parts: 'Vec<u32>',2358 base: 'u32',2379 base: 'u32',2361 license: 'Option<Bytes>',2382 license: 'Option<Bytes>',2362 thumb: 'Option<Bytes>'2383 thumb: 'Option<Bytes>'2363 },2384 },2364 /**2385 /**2365 * Lookup287: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2386 * Lookup289: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2366 **/2387 **/2367 RmrkTraitsResourceSlotResource: {2388 RmrkTraitsResourceSlotResource: {2368 base: 'u32',2389 base: 'u32',2369 src: 'Option<Bytes>',2390 src: 'Option<Bytes>',2372 license: 'Option<Bytes>',2393 license: 'Option<Bytes>',2373 thumb: 'Option<Bytes>'2394 thumb: 'Option<Bytes>'2374 },2395 },2375 /**2396 /**2376 * Lookup290: pallet_rmrk_equip::pallet::Call<T>2397 * Lookup292: pallet_rmrk_equip::pallet::Call<T>2377 **/2398 **/2378 PalletRmrkEquipCall: {2399 PalletRmrkEquipCall: {2379 _enum: {2400 _enum: {2380 create_base: {2401 create_base: {2393 }2414 }2394 }2415 }2395 },2416 },2396 /**2417 /**2397 * Lookup293: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2418 * Lookup295: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2398 **/2419 **/2399 RmrkTraitsPartPartType: {2420 RmrkTraitsPartPartType: {2400 _enum: {2421 _enum: {2401 FixedPart: 'RmrkTraitsPartFixedPart',2422 FixedPart: 'RmrkTraitsPartFixedPart',2402 SlotPart: 'RmrkTraitsPartSlotPart'2423 SlotPart: 'RmrkTraitsPartSlotPart'2403 }2424 }2404 },2425 },2405 /**2426 /**2406 * Lookup295: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2427 * Lookup297: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2407 **/2428 **/2408 RmrkTraitsPartFixedPart: {2429 RmrkTraitsPartFixedPart: {2409 id: 'u32',2430 id: 'u32',2410 z: 'u32',2431 z: 'u32',2411 src: 'Bytes'2432 src: 'Bytes'2412 },2433 },2413 /**2434 /**2414 * Lookup296: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2435 * Lookup298: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2415 **/2436 **/2416 RmrkTraitsPartSlotPart: {2437 RmrkTraitsPartSlotPart: {2417 id: 'u32',2438 id: 'u32',2418 equippable: 'RmrkTraitsPartEquippableList',2439 equippable: 'RmrkTraitsPartEquippableList',2419 src: 'Bytes',2440 src: 'Bytes',2420 z: 'u32'2441 z: 'u32'2421 },2442 },2422 /**2443 /**2423 * Lookup297: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2444 * Lookup299: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2424 **/2445 **/2425 RmrkTraitsPartEquippableList: {2446 RmrkTraitsPartEquippableList: {2426 _enum: {2447 _enum: {2427 All: 'Null',2448 All: 'Null',2428 Empty: 'Null',2449 Empty: 'Null',2429 Custom: 'Vec<u32>'2450 Custom: 'Vec<u32>'2430 }2451 }2431 },2452 },2432 /**2453 /**2433 * Lookup299: rmrk_traits::theme::Theme<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>, S>>2454 * Lookup301: rmrk_traits::theme::Theme<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>, S>>2434 **/2455 **/2435 RmrkTraitsTheme: {2456 RmrkTraitsTheme: {2436 name: 'Bytes',2457 name: 'Bytes',2437 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2458 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2438 inherit: 'bool'2459 inherit: 'bool'2439 },2460 },2440 /**2461 /**2441 * Lookup301: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2462 * Lookup303: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2442 **/2463 **/2443 RmrkTraitsThemeThemeProperty: {2464 RmrkTraitsThemeThemeProperty: {2444 key: 'Bytes',2465 key: 'Bytes',2445 value: 'Bytes'2466 value: 'Bytes'2446 },2467 },2468 /**2469 * Lookup305: pallet_app_promotion::pallet::Call<T>2470 **/2471 PalletAppPromotionCall: {2472 _enum: {2473 set_admin_address: {2474 admin: 'PalletEvmAccountBasicCrossAccountIdRepr',2475 },2476 stake: {2477 amount: 'u128',2478 },2479 unstake: 'Null',2480 sponsor_collection: {2481 collectionId: 'u32',2482 },2483 stop_sponsoring_collection: {2484 collectionId: 'u32',2485 },2486 sponsor_contract: {2487 contractId: 'H160',2488 },2489 stop_sponsoring_contract: {2490 contractId: 'H160',2491 },2492 payout_stakers: {2493 stakersNumber: 'Option<u8>'2494 }2495 }2496 },2447 /**2497 /**2448 * Lookup303: pallet_evm::pallet::Call<T>2498 * Lookup307: pallet_evm::pallet::Call<T>2449 **/2499 **/2450 PalletEvmCall: {2500 PalletEvmCall: {2451 _enum: {2501 _enum: {2452 withdraw: {2502 withdraw: {2487 }2537 }2488 }2538 }2489 },2539 },2490 /**2540 /**2491 * Lookup307: pallet_ethereum::pallet::Call<T>2541 * Lookup311: pallet_ethereum::pallet::Call<T>2492 **/2542 **/2493 PalletEthereumCall: {2543 PalletEthereumCall: {2494 _enum: {2544 _enum: {2495 transact: {2545 transact: {2496 transaction: 'EthereumTransactionTransactionV2'2546 transaction: 'EthereumTransactionTransactionV2'2497 }2547 }2498 }2548 }2499 },2549 },2500 /**2550 /**2501 * Lookup308: ethereum::transaction::TransactionV22551 * Lookup312: ethereum::transaction::TransactionV22502 **/2552 **/2503 EthereumTransactionTransactionV2: {2553 EthereumTransactionTransactionV2: {2504 _enum: {2554 _enum: {2505 Legacy: 'EthereumTransactionLegacyTransaction',2555 Legacy: 'EthereumTransactionLegacyTransaction',2506 EIP2930: 'EthereumTransactionEip2930Transaction',2556 EIP2930: 'EthereumTransactionEip2930Transaction',2507 EIP1559: 'EthereumTransactionEip1559Transaction'2557 EIP1559: 'EthereumTransactionEip1559Transaction'2508 }2558 }2509 },2559 },2510 /**2560 /**2511 * Lookup309: ethereum::transaction::LegacyTransaction2561 * Lookup313: ethereum::transaction::LegacyTransaction2512 **/2562 **/2513 EthereumTransactionLegacyTransaction: {2563 EthereumTransactionLegacyTransaction: {2514 nonce: 'U256',2564 nonce: 'U256',2515 gasPrice: 'U256',2565 gasPrice: 'U256',2519 input: 'Bytes',2569 input: 'Bytes',2520 signature: 'EthereumTransactionTransactionSignature'2570 signature: 'EthereumTransactionTransactionSignature'2521 },2571 },2522 /**2572 /**2523 * Lookup310: ethereum::transaction::TransactionAction2573 * Lookup314: ethereum::transaction::TransactionAction2524 **/2574 **/2525 EthereumTransactionTransactionAction: {2575 EthereumTransactionTransactionAction: {2526 _enum: {2576 _enum: {2527 Call: 'H160',2577 Call: 'H160',2528 Create: 'Null'2578 Create: 'Null'2529 }2579 }2530 },2580 },2531 /**2581 /**2532 * Lookup311: ethereum::transaction::TransactionSignature2582 * Lookup315: ethereum::transaction::TransactionSignature2533 **/2583 **/2534 EthereumTransactionTransactionSignature: {2584 EthereumTransactionTransactionSignature: {2535 v: 'u64',2585 v: 'u64',2536 r: 'H256',2586 r: 'H256',2537 s: 'H256'2587 s: 'H256'2538 },2588 },2539 /**2589 /**2540 * Lookup313: ethereum::transaction::EIP2930Transaction2590 * Lookup317: ethereum::transaction::EIP2930Transaction2541 **/2591 **/2542 EthereumTransactionEip2930Transaction: {2592 EthereumTransactionEip2930Transaction: {2543 chainId: 'u64',2593 chainId: 'u64',2544 nonce: 'U256',2594 nonce: 'U256',2552 r: 'H256',2602 r: 'H256',2553 s: 'H256'2603 s: 'H256'2554 },2604 },2555 /**2605 /**2556 * Lookup315: ethereum::transaction::AccessListItem2606 * Lookup319: ethereum::transaction::AccessListItem2557 **/2607 **/2558 EthereumTransactionAccessListItem: {2608 EthereumTransactionAccessListItem: {2559 address: 'H160',2609 address: 'H160',2560 storageKeys: 'Vec<H256>'2610 storageKeys: 'Vec<H256>'2561 },2611 },2562 /**2612 /**2563 * Lookup316: ethereum::transaction::EIP1559Transaction2613 * Lookup320: ethereum::transaction::EIP1559Transaction2564 **/2614 **/2565 EthereumTransactionEip1559Transaction: {2615 EthereumTransactionEip1559Transaction: {2566 chainId: 'u64',2616 chainId: 'u64',2567 nonce: 'U256',2617 nonce: 'U256',2576 r: 'H256',2626 r: 'H256',2577 s: 'H256'2627 s: 'H256'2578 },2628 },2579 /**2629 /**2580 * Lookup317: pallet_evm_migration::pallet::Call<T>2630 * Lookup321: pallet_evm_migration::pallet::Call<T>2581 **/2631 **/2582 PalletEvmMigrationCall: {2632 PalletEvmMigrationCall: {2583 _enum: {2633 _enum: {2584 begin: {2634 begin: {2594 }2644 }2595 }2645 }2596 },2646 },2597 /**2647 /**2598 * Lookup320: pallet_sudo::pallet::Error<T>2648 * Lookup324: pallet_sudo::pallet::Error<T>2599 **/2649 **/2600 PalletSudoError: {2650 PalletSudoError: {2601 _enum: ['RequireSudo']2651 _enum: ['RequireSudo']2602 },2652 },2603 /**2653 /**2604 * Lookup322: orml_vesting::module::Error<T>2654 * Lookup326: orml_vesting::module::Error<T>2605 **/2655 **/2606 OrmlVestingModuleError: {2656 OrmlVestingModuleError: {2607 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2657 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2608 },2658 },2609 /**2659 /**2610 * Lookup324: cumulus_pallet_xcmp_queue::InboundChannelDetails2660 * Lookup328: cumulus_pallet_xcmp_queue::InboundChannelDetails2611 **/2661 **/2612 CumulusPalletXcmpQueueInboundChannelDetails: {2662 CumulusPalletXcmpQueueInboundChannelDetails: {2613 sender: 'u32',2663 sender: 'u32',2614 state: 'CumulusPalletXcmpQueueInboundState',2664 state: 'CumulusPalletXcmpQueueInboundState',2615 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2665 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2616 },2666 },2617 /**2667 /**2618 * Lookup325: cumulus_pallet_xcmp_queue::InboundState2668 * Lookup329: cumulus_pallet_xcmp_queue::InboundState2619 **/2669 **/2620 CumulusPalletXcmpQueueInboundState: {2670 CumulusPalletXcmpQueueInboundState: {2621 _enum: ['Ok', 'Suspended']2671 _enum: ['Ok', 'Suspended']2622 },2672 },2623 /**2673 /**2624 * Lookup328: polkadot_parachain::primitives::XcmpMessageFormat2674 * Lookup332: polkadot_parachain::primitives::XcmpMessageFormat2625 **/2675 **/2626 PolkadotParachainPrimitivesXcmpMessageFormat: {2676 PolkadotParachainPrimitivesXcmpMessageFormat: {2627 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2677 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2628 },2678 },2629 /**2679 /**2630 * Lookup331: cumulus_pallet_xcmp_queue::OutboundChannelDetails2680 * Lookup335: cumulus_pallet_xcmp_queue::OutboundChannelDetails2631 **/2681 **/2632 CumulusPalletXcmpQueueOutboundChannelDetails: {2682 CumulusPalletXcmpQueueOutboundChannelDetails: {2633 recipient: 'u32',2683 recipient: 'u32',2634 state: 'CumulusPalletXcmpQueueOutboundState',2684 state: 'CumulusPalletXcmpQueueOutboundState',2635 signalsExist: 'bool',2685 signalsExist: 'bool',2636 firstIndex: 'u16',2686 firstIndex: 'u16',2637 lastIndex: 'u16'2687 lastIndex: 'u16'2638 },2688 },2639 /**2689 /**2640 * Lookup332: cumulus_pallet_xcmp_queue::OutboundState2690 * Lookup336: cumulus_pallet_xcmp_queue::OutboundState2641 **/2691 **/2642 CumulusPalletXcmpQueueOutboundState: {2692 CumulusPalletXcmpQueueOutboundState: {2643 _enum: ['Ok', 'Suspended']2693 _enum: ['Ok', 'Suspended']2644 },2694 },2645 /**2695 /**2646 * Lookup334: cumulus_pallet_xcmp_queue::QueueConfigData2696 * Lookup338: cumulus_pallet_xcmp_queue::QueueConfigData2647 **/2697 **/2648 CumulusPalletXcmpQueueQueueConfigData: {2698 CumulusPalletXcmpQueueQueueConfigData: {2649 suspendThreshold: 'u32',2699 suspendThreshold: 'u32',2650 dropThreshold: 'u32',2700 dropThreshold: 'u32',2653 weightRestrictDecay: 'u64',2703 weightRestrictDecay: 'u64',2654 xcmpMaxIndividualWeight: 'u64'2704 xcmpMaxIndividualWeight: 'u64'2655 },2705 },2656 /**2706 /**2657 * Lookup336: cumulus_pallet_xcmp_queue::pallet::Error<T>2707 * Lookup340: cumulus_pallet_xcmp_queue::pallet::Error<T>2658 **/2708 **/2659 CumulusPalletXcmpQueueError: {2709 CumulusPalletXcmpQueueError: {2660 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2710 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2661 },2711 },2662 /**2712 /**2663 * Lookup337: pallet_xcm::pallet::Error<T>2713 * Lookup341: pallet_xcm::pallet::Error<T>2664 **/2714 **/2665 PalletXcmError: {2715 PalletXcmError: {2666 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2716 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2667 },2717 },2668 /**2718 /**2669 * Lookup338: cumulus_pallet_xcm::pallet::Error<T>2719 * Lookup342: cumulus_pallet_xcm::pallet::Error<T>2670 **/2720 **/2671 CumulusPalletXcmError: 'Null',2721 CumulusPalletXcmError: 'Null',2672 /**2722 /**2673 * Lookup339: cumulus_pallet_dmp_queue::ConfigData2723 * Lookup343: cumulus_pallet_dmp_queue::ConfigData2674 **/2724 **/2675 CumulusPalletDmpQueueConfigData: {2725 CumulusPalletDmpQueueConfigData: {2676 maxIndividual: 'u64'2726 maxIndividual: 'u64'2677 },2727 },2678 /**2728 /**2679 * Lookup340: cumulus_pallet_dmp_queue::PageIndexData2729 * Lookup344: cumulus_pallet_dmp_queue::PageIndexData2680 **/2730 **/2681 CumulusPalletDmpQueuePageIndexData: {2731 CumulusPalletDmpQueuePageIndexData: {2682 beginUsed: 'u32',2732 beginUsed: 'u32',2683 endUsed: 'u32',2733 endUsed: 'u32',2684 overweightCount: 'u64'2734 overweightCount: 'u64'2685 },2735 },2686 /**2736 /**2687 * Lookup343: cumulus_pallet_dmp_queue::pallet::Error<T>2737 * Lookup347: cumulus_pallet_dmp_queue::pallet::Error<T>2688 **/2738 **/2689 CumulusPalletDmpQueueError: {2739 CumulusPalletDmpQueueError: {2690 _enum: ['Unknown', 'OverLimit']2740 _enum: ['Unknown', 'OverLimit']2691 },2741 },2692 /**2742 /**2693 * Lookup347: pallet_unique::Error<T>2743 * Lookup351: pallet_unique::Error<T>2694 **/2744 **/2695 PalletUniqueError: {2745 PalletUniqueError: {2696 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2746 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2697 },2747 },2698 /**2748 /**2699 * Lookup350: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2749 * Lookup354: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2700 **/2750 **/2701 PalletUniqueSchedulerScheduledV3: {2751 PalletUniqueSchedulerScheduledV3: {2702 maybeId: 'Option<[u8;16]>',2752 maybeId: 'Option<[u8;16]>',2703 priority: 'u8',2753 priority: 'u8',2704 call: 'FrameSupportScheduleMaybeHashed',2754 call: 'FrameSupportScheduleMaybeHashed',2705 maybePeriodic: 'Option<(u32,u32)>',2755 maybePeriodic: 'Option<(u32,u32)>',2706 origin: 'OpalRuntimeOriginCaller'2756 origin: 'OpalRuntimeOriginCaller'2707 },2757 },2708 /**2758 /**2709 * Lookup351: opal_runtime::OriginCaller2759 * Lookup355: opal_runtime::OriginCaller2710 **/2760 **/2711 OpalRuntimeOriginCaller: {2761 OpalRuntimeOriginCaller: {2712 _enum: {2762 _enum: {2713 system: 'FrameSupportDispatchRawOrigin',2763 system: 'FrameSupportDispatchRawOrigin',2814 Ethereum: 'PalletEthereumRawOrigin'2864 Ethereum: 'PalletEthereumRawOrigin'2815 }2865 }2816 },2866 },2817 /**2867 /**2818 * Lookup352: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2868 * Lookup356: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2819 **/2869 **/2820 FrameSupportDispatchRawOrigin: {2870 FrameSupportDispatchRawOrigin: {2821 _enum: {2871 _enum: {2822 Root: 'Null',2872 Root: 'Null',2823 Signed: 'AccountId32',2873 Signed: 'AccountId32',2824 None: 'Null'2874 None: 'Null'2825 }2875 }2826 },2876 },2827 /**2877 /**2828 * Lookup353: pallet_xcm::pallet::Origin2878 * Lookup357: pallet_xcm::pallet::Origin2829 **/2879 **/2830 PalletXcmOrigin: {2880 PalletXcmOrigin: {2831 _enum: {2881 _enum: {2832 Xcm: 'XcmV1MultiLocation',2882 Xcm: 'XcmV1MultiLocation',2833 Response: 'XcmV1MultiLocation'2883 Response: 'XcmV1MultiLocation'2834 }2884 }2835 },2885 },2836 /**2886 /**2837 * Lookup354: cumulus_pallet_xcm::pallet::Origin2887 * Lookup358: cumulus_pallet_xcm::pallet::Origin2838 **/2888 **/2839 CumulusPalletXcmOrigin: {2889 CumulusPalletXcmOrigin: {2840 _enum: {2890 _enum: {2841 Relay: 'Null',2891 Relay: 'Null',2842 SiblingParachain: 'u32'2892 SiblingParachain: 'u32'2843 }2893 }2844 },2894 },2845 /**2895 /**2846 * Lookup355: pallet_ethereum::RawOrigin2896 * Lookup359: pallet_ethereum::RawOrigin2847 **/2897 **/2848 PalletEthereumRawOrigin: {2898 PalletEthereumRawOrigin: {2849 _enum: {2899 _enum: {2850 EthereumTransaction: 'H160'2900 EthereumTransaction: 'H160'2851 }2901 }2852 },2902 },2853 /**2903 /**2854 * Lookup356: sp_core::Void2904 * Lookup360: sp_core::Void2855 **/2905 **/2856 SpCoreVoid: 'Null',2906 SpCoreVoid: 'Null',2857 /**2907 /**2858 * Lookup357: pallet_unique_scheduler::pallet::Error<T>2908 * Lookup361: pallet_unique_scheduler::pallet::Error<T>2859 **/2909 **/2860 PalletUniqueSchedulerError: {2910 PalletUniqueSchedulerError: {2861 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2911 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2862 },2912 },2863 /**2913 /**2864 * Lookup358: up_data_structs::Collection<sp_core::crypto::AccountId32>2914 * Lookup362: up_data_structs::Collection<sp_core::crypto::AccountId32>2865 **/2915 **/2866 UpDataStructsCollection: {2916 UpDataStructsCollection: {2867 owner: 'AccountId32',2917 owner: 'AccountId32',2868 mode: 'UpDataStructsCollectionMode',2918 mode: 'UpDataStructsCollectionMode',2869 name: 'Vec<u16>',2919 name: 'Vec<u16>',2870 description: 'Vec<u16>',2920 description: 'Vec<u16>',2871 tokenPrefix: 'Bytes',2921 tokenPrefix: 'Bytes',2872 sponsorship: 'UpDataStructsSponsorshipState',2922 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2873 limits: 'UpDataStructsCollectionLimits',2923 limits: 'UpDataStructsCollectionLimits',2874 permissions: 'UpDataStructsCollectionPermissions',2924 permissions: 'UpDataStructsCollectionPermissions',2875 externalCollection: 'bool'2925 externalCollection: 'bool'2876 },2926 },2877 /**2927 /**2878 * Lookup359: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2928 * Lookup363: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2879 **/2929 **/2880 UpDataStructsSponsorshipState: {2930 UpDataStructsSponsorshipStateAccountId32: {2881 _enum: {2931 _enum: {2882 Disabled: 'Null',2932 Disabled: 'Null',2883 Unconfirmed: 'AccountId32',2933 Unconfirmed: 'AccountId32',2884 Confirmed: 'AccountId32'2934 Confirmed: 'AccountId32'2885 }2935 }2886 },2936 },2887 /**2937 /**2888 * Lookup360: up_data_structs::Properties2938 * Lookup364: up_data_structs::Properties2889 **/2939 **/2890 UpDataStructsProperties: {2940 UpDataStructsProperties: {2891 map: 'UpDataStructsPropertiesMapBoundedVec',2941 map: 'UpDataStructsPropertiesMapBoundedVec',2892 consumedSpace: 'u32',2942 consumedSpace: 'u32',2893 spaceLimit: 'u32'2943 spaceLimit: 'u32'2894 },2944 },2895 /**2945 /**2896 * Lookup361: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2946 * Lookup365: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2897 **/2947 **/2898 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2948 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2899 /**2949 /**2900 * Lookup366: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2950 * Lookup370: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2901 **/2951 **/2902 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2952 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2903 /**2953 /**2904 * Lookup373: up_data_structs::CollectionStats2954 * Lookup377: up_data_structs::CollectionStats2905 **/2955 **/2906 UpDataStructsCollectionStats: {2956 UpDataStructsCollectionStats: {2907 created: 'u32',2957 created: 'u32',2908 destroyed: 'u32',2958 destroyed: 'u32',2909 alive: 'u32'2959 alive: 'u32'2910 },2960 },2911 /**2961 /**2912 * Lookup374: up_data_structs::TokenChild2962 * Lookup378: up_data_structs::TokenChild2913 **/2963 **/2914 UpDataStructsTokenChild: {2964 UpDataStructsTokenChild: {2915 token: 'u32',2965 token: 'u32',2916 collection: 'u32'2966 collection: 'u32'2917 },2967 },2918 /**2968 /**2919 * Lookup375: PhantomType::up_data_structs<T>2969 * Lookup379: PhantomType::up_data_structs<T>2920 **/2970 **/2921 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2971 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2922 /**2972 /**2923 * Lookup377: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2973 * Lookup381: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2924 **/2974 **/2925 UpDataStructsTokenData: {2975 UpDataStructsTokenData: {2926 properties: 'Vec<UpDataStructsProperty>',2976 properties: 'Vec<UpDataStructsProperty>',2927 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2977 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2928 pieces: 'u128'2978 pieces: 'u128'2929 },2979 },2930 /**2980 /**2931 * Lookup379: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2981 * Lookup383: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2932 **/2982 **/2933 UpDataStructsRpcCollection: {2983 UpDataStructsRpcCollection: {2934 owner: 'AccountId32',2984 owner: 'AccountId32',2935 mode: 'UpDataStructsCollectionMode',2985 mode: 'UpDataStructsCollectionMode',2936 name: 'Vec<u16>',2986 name: 'Vec<u16>',2937 description: 'Vec<u16>',2987 description: 'Vec<u16>',2938 tokenPrefix: 'Bytes',2988 tokenPrefix: 'Bytes',2939 sponsorship: 'UpDataStructsSponsorshipState',2989 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2940 limits: 'UpDataStructsCollectionLimits',2990 limits: 'UpDataStructsCollectionLimits',2941 permissions: 'UpDataStructsCollectionPermissions',2991 permissions: 'UpDataStructsCollectionPermissions',2942 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2992 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2943 properties: 'Vec<UpDataStructsProperty>',2993 properties: 'Vec<UpDataStructsProperty>',2944 readOnly: 'bool'2994 readOnly: 'bool'2945 },2995 },2946 /**2996 /**2947 * Lookup380: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2997 * Lookup384: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2948 **/2998 **/2949 RmrkTraitsCollectionCollectionInfo: {2999 RmrkTraitsCollectionCollectionInfo: {2950 issuer: 'AccountId32',3000 issuer: 'AccountId32',2951 metadata: 'Bytes',3001 metadata: 'Bytes',2952 max: 'Option<u32>',3002 max: 'Option<u32>',2953 symbol: 'Bytes',3003 symbol: 'Bytes',2954 nftsCount: 'u32'3004 nftsCount: 'u32'2955 },3005 },2956 /**3006 /**2957 * Lookup381: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3007 * Lookup385: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2958 **/3008 **/2959 RmrkTraitsNftNftInfo: {3009 RmrkTraitsNftNftInfo: {2960 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',3010 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2961 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',3011 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2962 metadata: 'Bytes',3012 metadata: 'Bytes',2963 equipped: 'bool',3013 equipped: 'bool',2964 pending: 'bool'3014 pending: 'bool'2965 },3015 },2966 /**3016 /**2967 * Lookup383: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3017 * Lookup387: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2968 **/3018 **/2969 RmrkTraitsNftRoyaltyInfo: {3019 RmrkTraitsNftRoyaltyInfo: {2970 recipient: 'AccountId32',3020 recipient: 'AccountId32',2971 amount: 'Permill'3021 amount: 'Permill'2972 },3022 },2973 /**3023 /**2974 * Lookup384: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3024 * Lookup388: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2975 **/3025 **/2976 RmrkTraitsResourceResourceInfo: {3026 RmrkTraitsResourceResourceInfo: {2977 id: 'u32',3027 id: 'u32',2978 resource: 'RmrkTraitsResourceResourceTypes',3028 resource: 'RmrkTraitsResourceResourceTypes',2979 pending: 'bool',3029 pending: 'bool',2980 pendingRemoval: 'bool'3030 pendingRemoval: 'bool'2981 },3031 },2982 /**3032 /**2983 * Lookup385: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3033 * Lookup389: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2984 **/3034 **/2985 RmrkTraitsPropertyPropertyInfo: {3035 RmrkTraitsPropertyPropertyInfo: {2986 key: 'Bytes',3036 key: 'Bytes',2987 value: 'Bytes'3037 value: 'Bytes'2988 },3038 },2989 /**3039 /**2990 * Lookup386: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3040 * Lookup390: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2991 **/3041 **/2992 RmrkTraitsBaseBaseInfo: {3042 RmrkTraitsBaseBaseInfo: {2993 issuer: 'AccountId32',3043 issuer: 'AccountId32',2994 baseType: 'Bytes',3044 baseType: 'Bytes',2995 symbol: 'Bytes'3045 symbol: 'Bytes'2996 },3046 },2997 /**3047 /**2998 * Lookup387: rmrk_traits::nft::NftChild3048 * Lookup391: rmrk_traits::nft::NftChild2999 **/3049 **/3000 RmrkTraitsNftNftChild: {3050 RmrkTraitsNftNftChild: {3001 collectionId: 'u32',3051 collectionId: 'u32',3002 nftId: 'u32'3052 nftId: 'u32'3003 },3053 },3004 /**3054 /**3005 * Lookup389: pallet_common::pallet::Error<T>3055 * Lookup393: pallet_common::pallet::Error<T>3006 **/3056 **/3007 PalletCommonError: {3057 PalletCommonError: {3008 _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']3058 _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']3009 },3059 },3010 /**3060 /**3011 * Lookup391: pallet_fungible::pallet::Error<T>3061 * Lookup395: pallet_fungible::pallet::Error<T>3012 **/3062 **/3013 PalletFungibleError: {3063 PalletFungibleError: {3014 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3064 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3015 },3065 },3016 /**3066 /**3017 * Lookup392: pallet_refungible::ItemData3067 * Lookup396: pallet_refungible::ItemData3018 **/3068 **/3019 PalletRefungibleItemData: {3069 PalletRefungibleItemData: {3020 constData: 'Bytes'3070 constData: 'Bytes'3021 },3071 },3022 /**3072 /**3023 * Lookup397: pallet_refungible::pallet::Error<T>3073 * Lookup401: pallet_refungible::pallet::Error<T>3024 **/3074 **/3025 PalletRefungibleError: {3075 PalletRefungibleError: {3026 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3076 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3027 },3077 },3028 /**3078 /**3029 * Lookup398: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3079 * Lookup402: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3030 **/3080 **/3031 PalletNonfungibleItemData: {3081 PalletNonfungibleItemData: {3032 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3082 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3033 },3083 },3034 /**3084 /**3035 * Lookup400: up_data_structs::PropertyScope3085 * Lookup404: up_data_structs::PropertyScope3036 **/3086 **/3037 UpDataStructsPropertyScope: {3087 UpDataStructsPropertyScope: {3038 _enum: ['None', 'Rmrk', 'Eth']3088 _enum: ['None', 'Rmrk']3039 },3089 },3040 /**3090 /**3041 * Lookup402: pallet_nonfungible::pallet::Error<T>3091 * Lookup406: pallet_nonfungible::pallet::Error<T>3042 **/3092 **/3043 PalletNonfungibleError: {3093 PalletNonfungibleError: {3044 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3094 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3045 },3095 },3046 /**3096 /**3047 * Lookup403: pallet_structure::pallet::Error<T>3097 * Lookup407: pallet_structure::pallet::Error<T>3048 **/3098 **/3049 PalletStructureError: {3099 PalletStructureError: {3050 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3100 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3051 },3101 },3052 /**3102 /**3053 * Lookup404: pallet_rmrk_core::pallet::Error<T>3103 * Lookup408: pallet_rmrk_core::pallet::Error<T>3054 **/3104 **/3055 PalletRmrkCoreError: {3105 PalletRmrkCoreError: {3056 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3106 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3057 },3107 },3058 /**3108 /**3059 * Lookup406: pallet_rmrk_equip::pallet::Error<T>3109 * Lookup410: pallet_rmrk_equip::pallet::Error<T>3060 **/3110 **/3061 PalletRmrkEquipError: {3111 PalletRmrkEquipError: {3062 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3112 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3063 },3113 },3114 /**3115 * Lookup416: pallet_app_promotion::pallet::Error<T>3116 **/3117 PalletAppPromotionError: {3118 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']3119 },3064 /**3120 /**3065 * Lookup409: pallet_evm::pallet::Error<T>3121 * Lookup419: pallet_evm::pallet::Error<T>3066 **/3122 **/3067 PalletEvmError: {3123 PalletEvmError: {3068 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3124 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3069 },3125 },3070 /**3126 /**3071 * Lookup412: fp_rpc::TransactionStatus3127 * Lookup422: fp_rpc::TransactionStatus3072 **/3128 **/3073 FpRpcTransactionStatus: {3129 FpRpcTransactionStatus: {3074 transactionHash: 'H256',3130 transactionHash: 'H256',3075 transactionIndex: 'u32',3131 transactionIndex: 'u32',3079 logs: 'Vec<EthereumLog>',3135 logs: 'Vec<EthereumLog>',3080 logsBloom: 'EthbloomBloom'3136 logsBloom: 'EthbloomBloom'3081 },3137 },3082 /**3138 /**3083 * Lookup414: ethbloom::Bloom3139 * Lookup424: ethbloom::Bloom3084 **/3140 **/3085 EthbloomBloom: '[u8;256]',3141 EthbloomBloom: '[u8;256]',3086 /**3142 /**3087 * Lookup416: ethereum::receipt::ReceiptV33143 * Lookup426: ethereum::receipt::ReceiptV33088 **/3144 **/3089 EthereumReceiptReceiptV3: {3145 EthereumReceiptReceiptV3: {3090 _enum: {3146 _enum: {3091 Legacy: 'EthereumReceiptEip658ReceiptData',3147 Legacy: 'EthereumReceiptEip658ReceiptData',3092 EIP2930: 'EthereumReceiptEip658ReceiptData',3148 EIP2930: 'EthereumReceiptEip658ReceiptData',3093 EIP1559: 'EthereumReceiptEip658ReceiptData'3149 EIP1559: 'EthereumReceiptEip658ReceiptData'3094 }3150 }3095 },3151 },3096 /**3152 /**3097 * Lookup417: ethereum::receipt::EIP658ReceiptData3153 * Lookup427: ethereum::receipt::EIP658ReceiptData3098 **/3154 **/3099 EthereumReceiptEip658ReceiptData: {3155 EthereumReceiptEip658ReceiptData: {3100 statusCode: 'u8',3156 statusCode: 'u8',3101 usedGas: 'U256',3157 usedGas: 'U256',3102 logsBloom: 'EthbloomBloom',3158 logsBloom: 'EthbloomBloom',3103 logs: 'Vec<EthereumLog>'3159 logs: 'Vec<EthereumLog>'3104 },3160 },3105 /**3161 /**3106 * Lookup418: ethereum::block::Block<ethereum::transaction::TransactionV2>3162 * Lookup428: ethereum::block::Block<ethereum::transaction::TransactionV2>3107 **/3163 **/3108 EthereumBlock: {3164 EthereumBlock: {3109 header: 'EthereumHeader',3165 header: 'EthereumHeader',3110 transactions: 'Vec<EthereumTransactionTransactionV2>',3166 transactions: 'Vec<EthereumTransactionTransactionV2>',3111 ommers: 'Vec<EthereumHeader>'3167 ommers: 'Vec<EthereumHeader>'3112 },3168 },3113 /**3169 /**3114 * Lookup419: ethereum::header::Header3170 * Lookup429: ethereum::header::Header3115 **/3171 **/3116 EthereumHeader: {3172 EthereumHeader: {3117 parentHash: 'H256',3173 parentHash: 'H256',3118 ommersHash: 'H256',3174 ommersHash: 'H256',3130 mixHash: 'H256',3186 mixHash: 'H256',3131 nonce: 'EthereumTypesHashH64'3187 nonce: 'EthereumTypesHashH64'3132 },3188 },3133 /**3189 /**3134 * Lookup420: ethereum_types::hash::H643190 * Lookup430: ethereum_types::hash::H643135 **/3191 **/3136 EthereumTypesHashH64: '[u8;8]',3192 EthereumTypesHashH64: '[u8;8]',3137 /**3193 /**3138 * Lookup425: pallet_ethereum::pallet::Error<T>3194 * Lookup435: pallet_ethereum::pallet::Error<T>3139 **/3195 **/3140 PalletEthereumError: {3196 PalletEthereumError: {3141 _enum: ['InvalidSignature', 'PreLogExists']3197 _enum: ['InvalidSignature', 'PreLogExists']3142 },3198 },3143 /**3199 /**3144 * Lookup426: pallet_evm_coder_substrate::pallet::Error<T>3200 * Lookup436: pallet_evm_coder_substrate::pallet::Error<T>3145 **/3201 **/3146 PalletEvmCoderSubstrateError: {3202 PalletEvmCoderSubstrateError: {3147 _enum: ['OutOfGas', 'OutOfFund']3203 _enum: ['OutOfGas', 'OutOfFund']3148 },3204 },3205 /**3206 * Lookup437: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3207 **/3208 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3209 _enum: {3210 Disabled: 'Null',3211 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3212 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3213 }3214 },3149 /**3215 /**3150 * Lookup427: pallet_evm_contract_helpers::SponsoringModeT3216 * Lookup438: pallet_evm_contract_helpers::SponsoringModeT3151 **/3217 **/3152 PalletEvmContractHelpersSponsoringModeT: {3218 PalletEvmContractHelpersSponsoringModeT: {3153 _enum: ['Disabled', 'Allowlisted', 'Generous']3219 _enum: ['Disabled', 'Allowlisted', 'Generous']3154 },3220 },3155 /**3221 /**3156 * Lookup429: pallet_evm_contract_helpers::pallet::Error<T>3222 * Lookup440: pallet_evm_contract_helpers::pallet::Error<T>3157 **/3223 **/3158 PalletEvmContractHelpersError: {3224 PalletEvmContractHelpersError: {3159 _enum: ['NoPermission']3225 _enum: ['NoPermission', 'NoPendingSponsor']3160 },3226 },3161 /**3227 /**3162 * Lookup430: pallet_evm_migration::pallet::Error<T>3228 * Lookup441: pallet_evm_migration::pallet::Error<T>3163 **/3229 **/3164 PalletEvmMigrationError: {3230 PalletEvmMigrationError: {3165 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3231 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3166 },3232 },3167 /**3233 /**3168 * Lookup432: sp_runtime::MultiSignature3234 * Lookup443: sp_runtime::MultiSignature3169 **/3235 **/3170 SpRuntimeMultiSignature: {3236 SpRuntimeMultiSignature: {3171 _enum: {3237 _enum: {3172 Ed25519: 'SpCoreEd25519Signature',3238 Ed25519: 'SpCoreEd25519Signature',3173 Sr25519: 'SpCoreSr25519Signature',3239 Sr25519: 'SpCoreSr25519Signature',3174 Ecdsa: 'SpCoreEcdsaSignature'3240 Ecdsa: 'SpCoreEcdsaSignature'3175 }3241 }3176 },3242 },3177 /**3243 /**3178 * Lookup433: sp_core::ed25519::Signature3244 * Lookup444: sp_core::ed25519::Signature3179 **/3245 **/3180 SpCoreEd25519Signature: '[u8;64]',3246 SpCoreEd25519Signature: '[u8;64]',3181 /**3247 /**3182 * Lookup435: sp_core::sr25519::Signature3248 * Lookup446: sp_core::sr25519::Signature3183 **/3249 **/3184 SpCoreSr25519Signature: '[u8;64]',3250 SpCoreSr25519Signature: '[u8;64]',3185 /**3251 /**3186 * Lookup436: sp_core::ecdsa::Signature3252 * Lookup447: sp_core::ecdsa::Signature3187 **/3253 **/3188 SpCoreEcdsaSignature: '[u8;65]',3254 SpCoreEcdsaSignature: '[u8;65]',3189 /**3255 /**3190 * Lookup439: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3256 * Lookup450: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3191 **/3257 **/3192 FrameSystemExtensionsCheckSpecVersion: 'Null',3258 FrameSystemExtensionsCheckSpecVersion: 'Null',3193 /**3259 /**3194 * Lookup440: frame_system::extensions::check_genesis::CheckGenesis<T>3260 * Lookup451: frame_system::extensions::check_genesis::CheckGenesis<T>3195 **/3261 **/3196 FrameSystemExtensionsCheckGenesis: 'Null',3262 FrameSystemExtensionsCheckGenesis: 'Null',3197 /**3263 /**3198 * Lookup443: frame_system::extensions::check_nonce::CheckNonce<T>3264 * Lookup454: frame_system::extensions::check_nonce::CheckNonce<T>3199 **/3265 **/3200 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3266 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3201 /**3267 /**3202 * Lookup444: frame_system::extensions::check_weight::CheckWeight<T>3268 * Lookup455: frame_system::extensions::check_weight::CheckWeight<T>3203 **/3269 **/3204 FrameSystemExtensionsCheckWeight: 'Null',3270 FrameSystemExtensionsCheckWeight: 'Null',3205 /**3271 /**3206 * Lookup445: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3272 * Lookup456: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3207 **/3273 **/3208 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3274 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3209 /**3275 /**3210 * Lookup446: opal_runtime::Runtime3276 * Lookup457: opal_runtime::Runtime3211 **/3277 **/3212 OpalRuntimeRuntime: 'Null',3278 OpalRuntimeRuntime: 'Null',3213 /**3279 /**3214 * Lookup447: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3280 * Lookup458: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3215 **/3281 **/3216 PalletEthereumFakeTransactionFinalizer: 'Null'3282 PalletEthereumFakeTransactionFinalizer: 'Null'3217};3283};32183284tests/src/interfaces/registry.tsdiffbeforeafterboth5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';778import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';9910declare module '@polkadot/types/types/registry' {10declare module '@polkadot/types/types/registry' {11 interface InterfaceTypes {11 interface InterfaceTypes {83 OrmlVestingModuleError: OrmlVestingModuleError;83 OrmlVestingModuleError: OrmlVestingModuleError;84 OrmlVestingModuleEvent: OrmlVestingModuleEvent;84 OrmlVestingModuleEvent: OrmlVestingModuleEvent;85 OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;85 OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;86 PalletAppPromotionCall: PalletAppPromotionCall;87 PalletAppPromotionError: PalletAppPromotionError;88 PalletAppPromotionEvent: PalletAppPromotionEvent;86 PalletBalancesAccountData: PalletBalancesAccountData;89 PalletBalancesAccountData: PalletBalancesAccountData;87 PalletBalancesBalanceLock: PalletBalancesBalanceLock;90 PalletBalancesBalanceLock: PalletBalancesBalanceLock;88 PalletBalancesCall: PalletBalancesCall;91 PalletBalancesCall: PalletBalancesCall;103 PalletEvmCall: PalletEvmCall;106 PalletEvmCall: PalletEvmCall;104 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;107 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;105 PalletEvmContractHelpersError: PalletEvmContractHelpersError;108 PalletEvmContractHelpersError: PalletEvmContractHelpersError;109 PalletEvmContractHelpersEvent: PalletEvmContractHelpersEvent;106 PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;110 PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;107 PalletEvmError: PalletEvmError;111 PalletEvmError: PalletEvmError;108 PalletEvmEvent: PalletEvmEvent;112 PalletEvmEvent: PalletEvmEvent;213 UpDataStructsPropertyScope: UpDataStructsPropertyScope;217 UpDataStructsPropertyScope: UpDataStructsPropertyScope;214 UpDataStructsRpcCollection: UpDataStructsRpcCollection;218 UpDataStructsRpcCollection: UpDataStructsRpcCollection;215 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;219 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;216 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;220 UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;221 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;217 UpDataStructsTokenChild: UpDataStructsTokenChild;222 UpDataStructsTokenChild: UpDataStructsTokenChild;218 UpDataStructsTokenData: UpDataStructsTokenData;223 UpDataStructsTokenData: UpDataStructsTokenData;219 XcmDoubleEncoded: XcmDoubleEncoded;224 XcmDoubleEncoded: XcmDoubleEncoded;tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1199 }1199 }12001201 /** @name PalletAppPromotionEvent (103) */1202 interface PalletAppPromotionEvent extends Enum {1203 readonly isStakingRecalculation: boolean;1204 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1205 readonly isStake: boolean;1206 readonly asStake: ITuple<[AccountId32, u128]>;1207 readonly isUnstake: boolean;1208 readonly asUnstake: ITuple<[AccountId32, u128]>;1209 readonly isSetAdmin: boolean;1210 readonly asSetAdmin: AccountId32;1211 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1212 }120012131201 /** @name PalletEvmEvent (103) */1214 /** @name PalletEvmEvent (104) */1202 interface PalletEvmEvent extends Enum {1215 interface PalletEvmEvent extends Enum {1203 readonly isLog: boolean;1216 readonly isLog: boolean;1204 readonly asLog: EthereumLog;1217 readonly asLog: EthereumLog;1217 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1230 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1218 }1231 }121912321220 /** @name EthereumLog (104) */1233 /** @name EthereumLog (105) */1221 interface EthereumLog extends Struct {1234 interface EthereumLog extends Struct {1222 readonly address: H160;1235 readonly address: H160;1223 readonly topics: Vec<H256>;1236 readonly topics: Vec<H256>;1224 readonly data: Bytes;1237 readonly data: Bytes;1225 }1238 }122612391227 /** @name PalletEthereumEvent (108) */1240 /** @name PalletEthereumEvent (109) */1228 interface PalletEthereumEvent extends Enum {1241 interface PalletEthereumEvent extends Enum {1229 readonly isExecuted: boolean;1242 readonly isExecuted: boolean;1230 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1243 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1231 readonly type: 'Executed';1244 readonly type: 'Executed';1232 }1245 }123312461234 /** @name EvmCoreErrorExitReason (109) */1247 /** @name EvmCoreErrorExitReason (110) */1235 interface EvmCoreErrorExitReason extends Enum {1248 interface EvmCoreErrorExitReason extends Enum {1236 readonly isSucceed: boolean;1249 readonly isSucceed: boolean;1237 readonly asSucceed: EvmCoreErrorExitSucceed;1250 readonly asSucceed: EvmCoreErrorExitSucceed;1244 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1257 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1245 }1258 }124612591247 /** @name EvmCoreErrorExitSucceed (110) */1260 /** @name EvmCoreErrorExitSucceed (111) */1248 interface EvmCoreErrorExitSucceed extends Enum {1261 interface EvmCoreErrorExitSucceed extends Enum {1249 readonly isStopped: boolean;1262 readonly isStopped: boolean;1250 readonly isReturned: boolean;1263 readonly isReturned: boolean;1251 readonly isSuicided: boolean;1264 readonly isSuicided: boolean;1252 readonly type: 'Stopped' | 'Returned' | 'Suicided';1265 readonly type: 'Stopped' | 'Returned' | 'Suicided';1253 }1266 }125412671255 /** @name EvmCoreErrorExitError (111) */1268 /** @name EvmCoreErrorExitError (112) */1256 interface EvmCoreErrorExitError extends Enum {1269 interface EvmCoreErrorExitError extends Enum {1257 readonly isStackUnderflow: boolean;1270 readonly isStackUnderflow: boolean;1258 readonly isStackOverflow: boolean;1271 readonly isStackOverflow: boolean;1273 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1286 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1274 }1287 }127512881276 /** @name EvmCoreErrorExitRevert (114) */1289 /** @name EvmCoreErrorExitRevert (115) */1277 interface EvmCoreErrorExitRevert extends Enum {1290 interface EvmCoreErrorExitRevert extends Enum {1278 readonly isReverted: boolean;1291 readonly isReverted: boolean;1279 readonly type: 'Reverted';1292 readonly type: 'Reverted';1280 }1293 }128112941282 /** @name EvmCoreErrorExitFatal (115) */1295 /** @name EvmCoreErrorExitFatal (116) */1283 interface EvmCoreErrorExitFatal extends Enum {1296 interface EvmCoreErrorExitFatal extends Enum {1284 readonly isNotSupported: boolean;1297 readonly isNotSupported: boolean;1285 readonly isUnhandledInterrupt: boolean;1298 readonly isUnhandledInterrupt: boolean;1290 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1303 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1291 }1304 }13051306 /** @name PalletEvmContractHelpersEvent (117) */1307 interface PalletEvmContractHelpersEvent extends Enum {1308 readonly isContractSponsorSet: boolean;1309 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1310 readonly isContractSponsorshipConfirmed: boolean;1311 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1312 readonly isContractSponsorRemoved: boolean;1313 readonly asContractSponsorRemoved: H160;1314 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1315 }129213161293 /** @name FrameSystemPhase (116) */1317 /** @name FrameSystemPhase (118) */1294 interface FrameSystemPhase extends Enum {1318 interface FrameSystemPhase extends Enum {1295 readonly isApplyExtrinsic: boolean;1319 readonly isApplyExtrinsic: boolean;1296 readonly asApplyExtrinsic: u32;1320 readonly asApplyExtrinsic: u32;1299 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1323 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1300 }1324 }130113251302 /** @name FrameSystemLastRuntimeUpgradeInfo (118) */1326 /** @name FrameSystemLastRuntimeUpgradeInfo (120) */1303 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1327 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1304 readonly specVersion: Compact<u32>;1328 readonly specVersion: Compact<u32>;1305 readonly specName: Text;1329 readonly specName: Text;1306 }1330 }130713311308 /** @name FrameSystemCall (119) */1332 /** @name FrameSystemCall (121) */1309 interface FrameSystemCall extends Enum {1333 interface FrameSystemCall extends Enum {1310 readonly isFillBlock: boolean;1334 readonly isFillBlock: boolean;1311 readonly asFillBlock: {1335 readonly asFillBlock: {1347 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1371 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1348 }1372 }134913731350 /** @name FrameSystemLimitsBlockWeights (124) */1374 /** @name FrameSystemLimitsBlockWeights (126) */1351 interface FrameSystemLimitsBlockWeights extends Struct {1375 interface FrameSystemLimitsBlockWeights extends Struct {1352 readonly baseBlock: u64;1376 readonly baseBlock: u64;1353 readonly maxBlock: u64;1377 readonly maxBlock: u64;1354 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1378 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1355 }1379 }135613801357 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (125) */1381 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (127) */1358 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1382 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1359 readonly normal: FrameSystemLimitsWeightsPerClass;1383 readonly normal: FrameSystemLimitsWeightsPerClass;1360 readonly operational: FrameSystemLimitsWeightsPerClass;1384 readonly operational: FrameSystemLimitsWeightsPerClass;1361 readonly mandatory: FrameSystemLimitsWeightsPerClass;1385 readonly mandatory: FrameSystemLimitsWeightsPerClass;1362 }1386 }136313871364 /** @name FrameSystemLimitsWeightsPerClass (126) */1388 /** @name FrameSystemLimitsWeightsPerClass (128) */1365 interface FrameSystemLimitsWeightsPerClass extends Struct {1389 interface FrameSystemLimitsWeightsPerClass extends Struct {1366 readonly baseExtrinsic: u64;1390 readonly baseExtrinsic: u64;1367 readonly maxExtrinsic: Option<u64>;1391 readonly maxExtrinsic: Option<u64>;1368 readonly maxTotal: Option<u64>;1392 readonly maxTotal: Option<u64>;1369 readonly reserved: Option<u64>;1393 readonly reserved: Option<u64>;1370 }1394 }137113951372 /** @name FrameSystemLimitsBlockLength (128) */1396 /** @name FrameSystemLimitsBlockLength (130) */1373 interface FrameSystemLimitsBlockLength extends Struct {1397 interface FrameSystemLimitsBlockLength extends Struct {1374 readonly max: FrameSupportWeightsPerDispatchClassU32;1398 readonly max: FrameSupportWeightsPerDispatchClassU32;1375 }1399 }137614001377 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1401 /** @name FrameSupportWeightsPerDispatchClassU32 (131) */1378 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1402 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1379 readonly normal: u32;1403 readonly normal: u32;1380 readonly operational: u32;1404 readonly operational: u32;1381 readonly mandatory: u32;1405 readonly mandatory: u32;1382 }1406 }138314071384 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1408 /** @name FrameSupportWeightsRuntimeDbWeight (132) */1385 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1409 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1386 readonly read: u64;1410 readonly read: u64;1387 readonly write: u64;1411 readonly write: u64;1388 }1412 }138914131390 /** @name SpVersionRuntimeVersion (131) */1414 /** @name SpVersionRuntimeVersion (133) */1391 interface SpVersionRuntimeVersion extends Struct {1415 interface SpVersionRuntimeVersion extends Struct {1392 readonly specName: Text;1416 readonly specName: Text;1393 readonly implName: Text;1417 readonly implName: Text;1399 readonly stateVersion: u8;1423 readonly stateVersion: u8;1400 }1424 }140114251402 /** @name FrameSystemError (136) */1426 /** @name FrameSystemError (138) */1403 interface FrameSystemError extends Enum {1427 interface FrameSystemError extends Enum {1404 readonly isInvalidSpecName: boolean;1428 readonly isInvalidSpecName: boolean;1405 readonly isSpecVersionNeedsToIncrease: boolean;1429 readonly isSpecVersionNeedsToIncrease: boolean;1410 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1434 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1411 }1435 }141214361413 /** @name PolkadotPrimitivesV2PersistedValidationData (137) */1437 /** @name PolkadotPrimitivesV2PersistedValidationData (139) */1414 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1438 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1415 readonly parentHead: Bytes;1439 readonly parentHead: Bytes;1416 readonly relayParentNumber: u32;1440 readonly relayParentNumber: u32;1417 readonly relayParentStorageRoot: H256;1441 readonly relayParentStorageRoot: H256;1418 readonly maxPovSize: u32;1442 readonly maxPovSize: u32;1419 }1443 }142014441421 /** @name PolkadotPrimitivesV2UpgradeRestriction (140) */1445 /** @name PolkadotPrimitivesV2UpgradeRestriction (142) */1422 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1446 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1423 readonly isPresent: boolean;1447 readonly isPresent: boolean;1424 readonly type: 'Present';1448 readonly type: 'Present';1425 }1449 }142614501427 /** @name SpTrieStorageProof (141) */1451 /** @name SpTrieStorageProof (143) */1428 interface SpTrieStorageProof extends Struct {1452 interface SpTrieStorageProof extends Struct {1429 readonly trieNodes: BTreeSet<Bytes>;1453 readonly trieNodes: BTreeSet<Bytes>;1430 }1454 }143114551432 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (143) */1456 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (145) */1433 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1457 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1434 readonly dmqMqcHead: H256;1458 readonly dmqMqcHead: H256;1435 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1459 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1436 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1460 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1437 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1461 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1438 }1462 }143914631440 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (146) */1464 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (148) */1441 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1465 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1442 readonly maxCapacity: u32;1466 readonly maxCapacity: u32;1443 readonly maxTotalSize: u32;1467 readonly maxTotalSize: u32;1447 readonly mqcHead: Option<H256>;1471 readonly mqcHead: Option<H256>;1448 }1472 }144914731450 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (147) */1474 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (149) */1451 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1475 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1452 readonly maxCodeSize: u32;1476 readonly maxCodeSize: u32;1453 readonly maxHeadDataSize: u32;1477 readonly maxHeadDataSize: u32;1460 readonly validationUpgradeDelay: u32;1484 readonly validationUpgradeDelay: u32;1461 }1485 }146214861463 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (153) */1487 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (155) */1464 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1488 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1465 readonly recipient: u32;1489 readonly recipient: u32;1466 readonly data: Bytes;1490 readonly data: Bytes;1467 }1491 }146814921469 /** @name CumulusPalletParachainSystemCall (154) */1493 /** @name CumulusPalletParachainSystemCall (156) */1470 interface CumulusPalletParachainSystemCall extends Enum {1494 interface CumulusPalletParachainSystemCall extends Enum {1471 readonly isSetValidationData: boolean;1495 readonly isSetValidationData: boolean;1472 readonly asSetValidationData: {1496 readonly asSetValidationData: {1487 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1511 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1488 }1512 }148915131490 /** @name CumulusPrimitivesParachainInherentParachainInherentData (155) */1514 /** @name CumulusPrimitivesParachainInherentParachainInherentData (157) */1491 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1515 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1492 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1516 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1493 readonly relayChainState: SpTrieStorageProof;1517 readonly relayChainState: SpTrieStorageProof;1494 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1518 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1495 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1519 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1496 }1520 }149715211498 /** @name PolkadotCorePrimitivesInboundDownwardMessage (157) */1522 /** @name PolkadotCorePrimitivesInboundDownwardMessage (159) */1499 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1523 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1500 readonly sentAt: u32;1524 readonly sentAt: u32;1501 readonly msg: Bytes;1525 readonly msg: Bytes;1502 }1526 }150315271504 /** @name PolkadotCorePrimitivesInboundHrmpMessage (160) */1528 /** @name PolkadotCorePrimitivesInboundHrmpMessage (162) */1505 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1529 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1506 readonly sentAt: u32;1530 readonly sentAt: u32;1507 readonly data: Bytes;1531 readonly data: Bytes;1508 }1532 }150915331510 /** @name CumulusPalletParachainSystemError (163) */1534 /** @name CumulusPalletParachainSystemError (165) */1511 interface CumulusPalletParachainSystemError extends Enum {1535 interface CumulusPalletParachainSystemError extends Enum {1512 readonly isOverlappingUpgrades: boolean;1536 readonly isOverlappingUpgrades: boolean;1513 readonly isProhibitedByPolkadot: boolean;1537 readonly isProhibitedByPolkadot: boolean;1520 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1544 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1521 }1545 }152215461523 /** @name PalletBalancesBalanceLock (165) */1547 /** @name PalletBalancesBalanceLock (167) */1524 interface PalletBalancesBalanceLock extends Struct {1548 interface PalletBalancesBalanceLock extends Struct {1525 readonly id: U8aFixed;1549 readonly id: U8aFixed;1526 readonly amount: u128;1550 readonly amount: u128;1527 readonly reasons: PalletBalancesReasons;1551 readonly reasons: PalletBalancesReasons;1528 }1552 }152915531530 /** @name PalletBalancesReasons (166) */1554 /** @name PalletBalancesReasons (168) */1531 interface PalletBalancesReasons extends Enum {1555 interface PalletBalancesReasons extends Enum {1532 readonly isFee: boolean;1556 readonly isFee: boolean;1533 readonly isMisc: boolean;1557 readonly isMisc: boolean;1534 readonly isAll: boolean;1558 readonly isAll: boolean;1535 readonly type: 'Fee' | 'Misc' | 'All';1559 readonly type: 'Fee' | 'Misc' | 'All';1536 }1560 }153715611538 /** @name PalletBalancesReserveData (169) */1562 /** @name PalletBalancesReserveData (171) */1539 interface PalletBalancesReserveData extends Struct {1563 interface PalletBalancesReserveData extends Struct {1540 readonly id: U8aFixed;1564 readonly id: U8aFixed;1541 readonly amount: u128;1565 readonly amount: u128;1542 }1566 }154315671544 /** @name PalletBalancesReleases (171) */1568 /** @name PalletBalancesReleases (173) */1545 interface PalletBalancesReleases extends Enum {1569 interface PalletBalancesReleases extends Enum {1546 readonly isV100: boolean;1570 readonly isV100: boolean;1547 readonly isV200: boolean;1571 readonly isV200: boolean;1548 readonly type: 'V100' | 'V200';1572 readonly type: 'V100' | 'V200';1549 }1573 }155015741551 /** @name PalletBalancesCall (172) */1575 /** @name PalletBalancesCall (174) */1552 interface PalletBalancesCall extends Enum {1576 interface PalletBalancesCall extends Enum {1553 readonly isTransfer: boolean;1577 readonly isTransfer: boolean;1554 readonly asTransfer: {1578 readonly asTransfer: {1585 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1609 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1586 }1610 }158716111588 /** @name PalletBalancesError (175) */1612 /** @name PalletBalancesError (177) */1589 interface PalletBalancesError extends Enum {1613 interface PalletBalancesError extends Enum {1590 readonly isVestingBalance: boolean;1614 readonly isVestingBalance: boolean;1591 readonly isLiquidityRestrictions: boolean;1615 readonly isLiquidityRestrictions: boolean;1598 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1622 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1599 }1623 }160016241601 /** @name PalletTimestampCall (177) */1625 /** @name PalletTimestampCall (179) */1602 interface PalletTimestampCall extends Enum {1626 interface PalletTimestampCall extends Enum {1603 readonly isSet: boolean;1627 readonly isSet: boolean;1604 readonly asSet: {1628 readonly asSet: {1607 readonly type: 'Set';1631 readonly type: 'Set';1608 }1632 }160916331610 /** @name PalletTransactionPaymentReleases (179) */1634 /** @name PalletTransactionPaymentReleases (181) */1611 interface PalletTransactionPaymentReleases extends Enum {1635 interface PalletTransactionPaymentReleases extends Enum {1612 readonly isV1Ancient: boolean;1636 readonly isV1Ancient: boolean;1613 readonly isV2: boolean;1637 readonly isV2: boolean;1614 readonly type: 'V1Ancient' | 'V2';1638 readonly type: 'V1Ancient' | 'V2';1615 }1639 }161616401617 /** @name PalletTreasuryProposal (180) */1641 /** @name PalletTreasuryProposal (182) */1618 interface PalletTreasuryProposal extends Struct {1642 interface PalletTreasuryProposal extends Struct {1619 readonly proposer: AccountId32;1643 readonly proposer: AccountId32;1620 readonly value: u128;1644 readonly value: u128;1621 readonly beneficiary: AccountId32;1645 readonly beneficiary: AccountId32;1622 readonly bond: u128;1646 readonly bond: u128;1623 }1647 }162416481625 /** @name PalletTreasuryCall (183) */1649 /** @name PalletTreasuryCall (185) */1626 interface PalletTreasuryCall extends Enum {1650 interface PalletTreasuryCall extends Enum {1627 readonly isProposeSpend: boolean;1651 readonly isProposeSpend: boolean;1628 readonly asProposeSpend: {1652 readonly asProposeSpend: {1649 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1673 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1650 }1674 }165116751652 /** @name FrameSupportPalletId (186) */1676 /** @name FrameSupportPalletId (188) */1653 interface FrameSupportPalletId extends U8aFixed {}1677 interface FrameSupportPalletId extends U8aFixed {}165416781655 /** @name PalletTreasuryError (187) */1679 /** @name PalletTreasuryError (189) */1656 interface PalletTreasuryError extends Enum {1680 interface PalletTreasuryError extends Enum {1657 readonly isInsufficientProposersBalance: boolean;1681 readonly isInsufficientProposersBalance: boolean;1658 readonly isInvalidIndex: boolean;1682 readonly isInvalidIndex: boolean;1662 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1686 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1663 }1687 }166416881665 /** @name PalletSudoCall (188) */1689 /** @name PalletSudoCall (190) */1666 interface PalletSudoCall extends Enum {1690 interface PalletSudoCall extends Enum {1667 readonly isSudo: boolean;1691 readonly isSudo: boolean;1668 readonly asSudo: {1692 readonly asSudo: {1685 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1709 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1686 }1710 }168717111688 /** @name OrmlVestingModuleCall (190) */1712 /** @name OrmlVestingModuleCall (192) */1689 interface OrmlVestingModuleCall extends Enum {1713 interface OrmlVestingModuleCall extends Enum {1690 readonly isClaim: boolean;1714 readonly isClaim: boolean;1691 readonly isVestedTransfer: boolean;1715 readonly isVestedTransfer: boolean;1705 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1729 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1706 }1730 }170717311708 /** @name CumulusPalletXcmpQueueCall (192) */1732 /** @name CumulusPalletXcmpQueueCall (194) */1709 interface CumulusPalletXcmpQueueCall extends Enum {1733 interface CumulusPalletXcmpQueueCall extends Enum {1710 readonly isServiceOverweight: boolean;1734 readonly isServiceOverweight: boolean;1711 readonly asServiceOverweight: {1735 readonly asServiceOverweight: {1741 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1765 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1742 }1766 }174317671744 /** @name PalletXcmCall (193) */1768 /** @name PalletXcmCall (195) */1745 interface PalletXcmCall extends Enum {1769 interface PalletXcmCall extends Enum {1746 readonly isSend: boolean;1770 readonly isSend: boolean;1747 readonly asSend: {1771 readonly asSend: {1803 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1827 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1804 }1828 }180518291806 /** @name XcmVersionedXcm (194) */1830 /** @name XcmVersionedXcm (196) */1807 interface XcmVersionedXcm extends Enum {1831 interface XcmVersionedXcm extends Enum {1808 readonly isV0: boolean;1832 readonly isV0: boolean;1809 readonly asV0: XcmV0Xcm;1833 readonly asV0: XcmV0Xcm;1814 readonly type: 'V0' | 'V1' | 'V2';1838 readonly type: 'V0' | 'V1' | 'V2';1815 }1839 }181618401817 /** @name XcmV0Xcm (195) */1841 /** @name XcmV0Xcm (197) */1818 interface XcmV0Xcm extends Enum {1842 interface XcmV0Xcm extends Enum {1819 readonly isWithdrawAsset: boolean;1843 readonly isWithdrawAsset: boolean;1820 readonly asWithdrawAsset: {1844 readonly asWithdrawAsset: {1877 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1901 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1878 }1902 }187919031880 /** @name XcmV0Order (197) */1904 /** @name XcmV0Order (199) */1881 interface XcmV0Order extends Enum {1905 interface XcmV0Order extends Enum {1882 readonly isNull: boolean;1906 readonly isNull: boolean;1883 readonly isDepositAsset: boolean;1907 readonly isDepositAsset: boolean;1925 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1949 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1926 }1950 }192719511928 /** @name XcmV0Response (199) */1952 /** @name XcmV0Response (201) */1929 interface XcmV0Response extends Enum {1953 interface XcmV0Response extends Enum {1930 readonly isAssets: boolean;1954 readonly isAssets: boolean;1931 readonly asAssets: Vec<XcmV0MultiAsset>;1955 readonly asAssets: Vec<XcmV0MultiAsset>;1932 readonly type: 'Assets';1956 readonly type: 'Assets';1933 }1957 }193419581935 /** @name XcmV1Xcm (200) */1959 /** @name XcmV1Xcm (202) */1936 interface XcmV1Xcm extends Enum {1960 interface XcmV1Xcm extends Enum {1937 readonly isWithdrawAsset: boolean;1961 readonly isWithdrawAsset: boolean;1938 readonly asWithdrawAsset: {1962 readonly asWithdrawAsset: {2001 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2025 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2002 }2026 }200320272004 /** @name XcmV1Order (202) */2028 /** @name XcmV1Order (204) */2005 interface XcmV1Order extends Enum {2029 interface XcmV1Order extends Enum {2006 readonly isNoop: boolean;2030 readonly isNoop: boolean;2007 readonly isDepositAsset: boolean;2031 readonly isDepositAsset: boolean;2051 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2075 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2052 }2076 }205320772054 /** @name XcmV1Response (204) */2078 /** @name XcmV1Response (206) */2055 interface XcmV1Response extends Enum {2079 interface XcmV1Response extends Enum {2056 readonly isAssets: boolean;2080 readonly isAssets: boolean;2057 readonly asAssets: XcmV1MultiassetMultiAssets;2081 readonly asAssets: XcmV1MultiassetMultiAssets;2060 readonly type: 'Assets' | 'Version';2084 readonly type: 'Assets' | 'Version';2061 }2085 }206220862063 /** @name CumulusPalletXcmCall (218) */2087 /** @name CumulusPalletXcmCall (220) */2064 type CumulusPalletXcmCall = Null;2088 type CumulusPalletXcmCall = Null;206520892066 /** @name CumulusPalletDmpQueueCall (219) */2090 /** @name CumulusPalletDmpQueueCall (221) */2067 interface CumulusPalletDmpQueueCall extends Enum {2091 interface CumulusPalletDmpQueueCall extends Enum {2068 readonly isServiceOverweight: boolean;2092 readonly isServiceOverweight: boolean;2069 readonly asServiceOverweight: {2093 readonly asServiceOverweight: {2073 readonly type: 'ServiceOverweight';2097 readonly type: 'ServiceOverweight';2074 }2098 }207520992076 /** @name PalletInflationCall (220) */2100 /** @name PalletInflationCall (222) */2077 interface PalletInflationCall extends Enum {2101 interface PalletInflationCall extends Enum {2078 readonly isStartInflation: boolean;2102 readonly isStartInflation: boolean;2079 readonly asStartInflation: {2103 readonly asStartInflation: {2082 readonly type: 'StartInflation';2106 readonly type: 'StartInflation';2083 }2107 }208421082085 /** @name PalletUniqueCall (221) */2109 /** @name PalletUniqueCall (223) */2086 interface PalletUniqueCall extends Enum {2110 interface PalletUniqueCall extends Enum {2087 readonly isCreateCollection: boolean;2111 readonly isCreateCollection: boolean;2088 readonly asCreateCollection: {2112 readonly asCreateCollection: {2240 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';2264 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';2241 }2265 }224222662243 /** @name UpDataStructsCollectionMode (226) */2267 /** @name UpDataStructsCollectionMode (228) */2244 interface UpDataStructsCollectionMode extends Enum {2268 interface UpDataStructsCollectionMode extends Enum {2245 readonly isNft: boolean;2269 readonly isNft: boolean;2246 readonly isFungible: boolean;2270 readonly isFungible: boolean;2249 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2273 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2250 }2274 }225122752252 /** @name UpDataStructsCreateCollectionData (227) */2276 /** @name UpDataStructsCreateCollectionData (229) */2253 interface UpDataStructsCreateCollectionData extends Struct {2277 interface UpDataStructsCreateCollectionData extends Struct {2254 readonly mode: UpDataStructsCollectionMode;2278 readonly mode: UpDataStructsCollectionMode;2255 readonly access: Option<UpDataStructsAccessMode>;2279 readonly access: Option<UpDataStructsAccessMode>;2263 readonly properties: Vec<UpDataStructsProperty>;2287 readonly properties: Vec<UpDataStructsProperty>;2264 }2288 }226522892266 /** @name UpDataStructsAccessMode (229) */2290 /** @name UpDataStructsAccessMode (231) */2267 interface UpDataStructsAccessMode extends Enum {2291 interface UpDataStructsAccessMode extends Enum {2268 readonly isNormal: boolean;2292 readonly isNormal: boolean;2269 readonly isAllowList: boolean;2293 readonly isAllowList: boolean;2270 readonly type: 'Normal' | 'AllowList';2294 readonly type: 'Normal' | 'AllowList';2271 }2295 }227222962273 /** @name UpDataStructsCollectionLimits (231) */2297 /** @name UpDataStructsCollectionLimits (233) */2274 interface UpDataStructsCollectionLimits extends Struct {2298 interface UpDataStructsCollectionLimits extends Struct {2275 readonly accountTokenOwnershipLimit: Option<u32>;2299 readonly accountTokenOwnershipLimit: Option<u32>;2276 readonly sponsoredDataSize: Option<u32>;2300 readonly sponsoredDataSize: Option<u32>;2283 readonly transfersEnabled: Option<bool>;2307 readonly transfersEnabled: Option<bool>;2284 }2308 }228523092286 /** @name UpDataStructsSponsoringRateLimit (233) */2310 /** @name UpDataStructsSponsoringRateLimit (235) */2287 interface UpDataStructsSponsoringRateLimit extends Enum {2311 interface UpDataStructsSponsoringRateLimit extends Enum {2288 readonly isSponsoringDisabled: boolean;2312 readonly isSponsoringDisabled: boolean;2289 readonly isBlocks: boolean;2313 readonly isBlocks: boolean;2290 readonly asBlocks: u32;2314 readonly asBlocks: u32;2291 readonly type: 'SponsoringDisabled' | 'Blocks';2315 readonly type: 'SponsoringDisabled' | 'Blocks';2292 }2316 }229323172294 /** @name UpDataStructsCollectionPermissions (236) */2318 /** @name UpDataStructsCollectionPermissions (238) */2295 interface UpDataStructsCollectionPermissions extends Struct {2319 interface UpDataStructsCollectionPermissions extends Struct {2296 readonly access: Option<UpDataStructsAccessMode>;2320 readonly access: Option<UpDataStructsAccessMode>;2297 readonly mintMode: Option<bool>;2321 readonly mintMode: Option<bool>;2298 readonly nesting: Option<UpDataStructsNestingPermissions>;2322 readonly nesting: Option<UpDataStructsNestingPermissions>;2299 }2323 }230023242301 /** @name UpDataStructsNestingPermissions (238) */2325 /** @name UpDataStructsNestingPermissions (240) */2302 interface UpDataStructsNestingPermissions extends Struct {2326 interface UpDataStructsNestingPermissions extends Struct {2303 readonly tokenOwner: bool;2327 readonly tokenOwner: bool;2304 readonly collectionAdmin: bool;2328 readonly collectionAdmin: bool;2305 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2329 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2306 }2330 }230723312308 /** @name UpDataStructsOwnerRestrictedSet (240) */2332 /** @name UpDataStructsOwnerRestrictedSet (242) */2309 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2333 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}231023342311 /** @name UpDataStructsPropertyKeyPermission (245) */2335 /** @name UpDataStructsPropertyKeyPermission (247) */2312 interface UpDataStructsPropertyKeyPermission extends Struct {2336 interface UpDataStructsPropertyKeyPermission extends Struct {2313 readonly key: Bytes;2337 readonly key: Bytes;2314 readonly permission: UpDataStructsPropertyPermission;2338 readonly permission: UpDataStructsPropertyPermission;2315 }2339 }231623402317 /** @name UpDataStructsPropertyPermission (246) */2341 /** @name UpDataStructsPropertyPermission (248) */2318 interface UpDataStructsPropertyPermission extends Struct {2342 interface UpDataStructsPropertyPermission extends Struct {2319 readonly mutable: bool;2343 readonly mutable: bool;2320 readonly collectionAdmin: bool;2344 readonly collectionAdmin: bool;2321 readonly tokenOwner: bool;2345 readonly tokenOwner: bool;2322 }2346 }232323472324 /** @name UpDataStructsProperty (249) */2348 /** @name UpDataStructsProperty (251) */2325 interface UpDataStructsProperty extends Struct {2349 interface UpDataStructsProperty extends Struct {2326 readonly key: Bytes;2350 readonly key: Bytes;2327 readonly value: Bytes;2351 readonly value: Bytes;2328 }2352 }232923532330 /** @name UpDataStructsCreateItemData (252) */2354 /** @name UpDataStructsCreateItemData (254) */2331 interface UpDataStructsCreateItemData extends Enum {2355 interface UpDataStructsCreateItemData extends Enum {2332 readonly isNft: boolean;2356 readonly isNft: boolean;2333 readonly asNft: UpDataStructsCreateNftData;2357 readonly asNft: UpDataStructsCreateNftData;2338 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2362 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2339 }2363 }234023642341 /** @name UpDataStructsCreateNftData (253) */2365 /** @name UpDataStructsCreateNftData (255) */2342 interface UpDataStructsCreateNftData extends Struct {2366 interface UpDataStructsCreateNftData extends Struct {2343 readonly properties: Vec<UpDataStructsProperty>;2367 readonly properties: Vec<UpDataStructsProperty>;2344 }2368 }234523692346 /** @name UpDataStructsCreateFungibleData (254) */2370 /** @name UpDataStructsCreateFungibleData (256) */2347 interface UpDataStructsCreateFungibleData extends Struct {2371 interface UpDataStructsCreateFungibleData extends Struct {2348 readonly value: u128;2372 readonly value: u128;2349 }2373 }235023742351 /** @name UpDataStructsCreateReFungibleData (255) */2375 /** @name UpDataStructsCreateReFungibleData (257) */2352 interface UpDataStructsCreateReFungibleData extends Struct {2376 interface UpDataStructsCreateReFungibleData extends Struct {2353 readonly pieces: u128;2377 readonly pieces: u128;2354 readonly properties: Vec<UpDataStructsProperty>;2378 readonly properties: Vec<UpDataStructsProperty>;2355 }2379 }235623802357 /** @name UpDataStructsCreateItemExData (258) */2381 /** @name UpDataStructsCreateItemExData (260) */2358 interface UpDataStructsCreateItemExData extends Enum {2382 interface UpDataStructsCreateItemExData extends Enum {2359 readonly isNft: boolean;2383 readonly isNft: boolean;2360 readonly asNft: Vec<UpDataStructsCreateNftExData>;2384 readonly asNft: Vec<UpDataStructsCreateNftExData>;2367 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2391 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2368 }2392 }236923932370 /** @name UpDataStructsCreateNftExData (260) */2394 /** @name UpDataStructsCreateNftExData (262) */2371 interface UpDataStructsCreateNftExData extends Struct {2395 interface UpDataStructsCreateNftExData extends Struct {2372 readonly properties: Vec<UpDataStructsProperty>;2396 readonly properties: Vec<UpDataStructsProperty>;2373 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2397 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2374 }2398 }237523992376 /** @name UpDataStructsCreateRefungibleExSingleOwner (267) */2400 /** @name UpDataStructsCreateRefungibleExSingleOwner (269) */2377 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2401 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2378 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2402 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2379 readonly pieces: u128;2403 readonly pieces: u128;2380 readonly properties: Vec<UpDataStructsProperty>;2404 readonly properties: Vec<UpDataStructsProperty>;2381 }2405 }238224062383 /** @name UpDataStructsCreateRefungibleExMultipleOwners (269) */2407 /** @name UpDataStructsCreateRefungibleExMultipleOwners (271) */2384 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2408 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2385 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2409 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2386 readonly properties: Vec<UpDataStructsProperty>;2410 readonly properties: Vec<UpDataStructsProperty>;2387 }2411 }238824122389 /** @name PalletUniqueSchedulerCall (270) */2413 /** @name PalletUniqueSchedulerCall (272) */2390 interface PalletUniqueSchedulerCall extends Enum {2414 interface PalletUniqueSchedulerCall extends Enum {2391 readonly isScheduleNamed: boolean;2415 readonly isScheduleNamed: boolean;2392 readonly asScheduleNamed: {2416 readonly asScheduleNamed: {2411 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2435 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2412 }2436 }241324372414 /** @name FrameSupportScheduleMaybeHashed (272) */2438 /** @name FrameSupportScheduleMaybeHashed (274) */2415 interface FrameSupportScheduleMaybeHashed extends Enum {2439 interface FrameSupportScheduleMaybeHashed extends Enum {2416 readonly isValue: boolean;2440 readonly isValue: boolean;2417 readonly asValue: Call;2441 readonly asValue: Call;2420 readonly type: 'Value' | 'Hash';2444 readonly type: 'Value' | 'Hash';2421 }2445 }242224462423 /** @name PalletConfigurationCall (273) */2447 /** @name PalletConfigurationCall (275) */2424 interface PalletConfigurationCall extends Enum {2448 interface PalletConfigurationCall extends Enum {2425 readonly isSetWeightToFeeCoefficientOverride: boolean;2449 readonly isSetWeightToFeeCoefficientOverride: boolean;2426 readonly asSetWeightToFeeCoefficientOverride: {2450 readonly asSetWeightToFeeCoefficientOverride: {2433 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2457 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2434 }2458 }243524592436 /** @name PalletTemplateTransactionPaymentCall (274) */2460 /** @name PalletTemplateTransactionPaymentCall (276) */2437 type PalletTemplateTransactionPaymentCall = Null;2461 type PalletTemplateTransactionPaymentCall = Null;243824622439 /** @name PalletStructureCall (275) */2463 /** @name PalletStructureCall (277) */2440 type PalletStructureCall = Null;2464 type PalletStructureCall = Null;244124652442 /** @name PalletRmrkCoreCall (276) */2466 /** @name PalletRmrkCoreCall (278) */2443 interface PalletRmrkCoreCall extends Enum {2467 interface PalletRmrkCoreCall extends Enum {2444 readonly isCreateCollection: boolean;2468 readonly isCreateCollection: boolean;2445 readonly asCreateCollection: {2469 readonly asCreateCollection: {2545 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2569 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2546 }2570 }254725712548 /** @name RmrkTraitsResourceResourceTypes (282) */2572 /** @name RmrkTraitsResourceResourceTypes (284) */2549 interface RmrkTraitsResourceResourceTypes extends Enum {2573 interface RmrkTraitsResourceResourceTypes extends Enum {2550 readonly isBasic: boolean;2574 readonly isBasic: boolean;2551 readonly asBasic: RmrkTraitsResourceBasicResource;2575 readonly asBasic: RmrkTraitsResourceBasicResource;2556 readonly type: 'Basic' | 'Composable' | 'Slot';2580 readonly type: 'Basic' | 'Composable' | 'Slot';2557 }2581 }255825822559 /** @name RmrkTraitsResourceBasicResource (284) */2583 /** @name RmrkTraitsResourceBasicResource (286) */2560 interface RmrkTraitsResourceBasicResource extends Struct {2584 interface RmrkTraitsResourceBasicResource extends Struct {2561 readonly src: Option<Bytes>;2585 readonly src: Option<Bytes>;2562 readonly metadata: Option<Bytes>;2586 readonly metadata: Option<Bytes>;2563 readonly license: Option<Bytes>;2587 readonly license: Option<Bytes>;2564 readonly thumb: Option<Bytes>;2588 readonly thumb: Option<Bytes>;2565 }2589 }256625902567 /** @name RmrkTraitsResourceComposableResource (286) */2591 /** @name RmrkTraitsResourceComposableResource (288) */2568 interface RmrkTraitsResourceComposableResource extends Struct {2592 interface RmrkTraitsResourceComposableResource extends Struct {2569 readonly parts: Vec<u32>;2593 readonly parts: Vec<u32>;2570 readonly base: u32;2594 readonly base: u32;2574 readonly thumb: Option<Bytes>;2598 readonly thumb: Option<Bytes>;2575 }2599 }257626002577 /** @name RmrkTraitsResourceSlotResource (287) */2601 /** @name RmrkTraitsResourceSlotResource (289) */2578 interface RmrkTraitsResourceSlotResource extends Struct {2602 interface RmrkTraitsResourceSlotResource extends Struct {2579 readonly base: u32;2603 readonly base: u32;2580 readonly src: Option<Bytes>;2604 readonly src: Option<Bytes>;2584 readonly thumb: Option<Bytes>;2608 readonly thumb: Option<Bytes>;2585 }2609 }258626102587 /** @name PalletRmrkEquipCall (290) */2611 /** @name PalletRmrkEquipCall (292) */2588 interface PalletRmrkEquipCall extends Enum {2612 interface PalletRmrkEquipCall extends Enum {2589 readonly isCreateBase: boolean;2613 readonly isCreateBase: boolean;2590 readonly asCreateBase: {2614 readonly asCreateBase: {2606 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2630 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2607 }2631 }260826322609 /** @name RmrkTraitsPartPartType (293) */2633 /** @name RmrkTraitsPartPartType (295) */2610 interface RmrkTraitsPartPartType extends Enum {2634 interface RmrkTraitsPartPartType extends Enum {2611 readonly isFixedPart: boolean;2635 readonly isFixedPart: boolean;2612 readonly asFixedPart: RmrkTraitsPartFixedPart;2636 readonly asFixedPart: RmrkTraitsPartFixedPart;2615 readonly type: 'FixedPart' | 'SlotPart';2639 readonly type: 'FixedPart' | 'SlotPart';2616 }2640 }261726412618 /** @name RmrkTraitsPartFixedPart (295) */2642 /** @name RmrkTraitsPartFixedPart (297) */2619 interface RmrkTraitsPartFixedPart extends Struct {2643 interface RmrkTraitsPartFixedPart extends Struct {2620 readonly id: u32;2644 readonly id: u32;2621 readonly z: u32;2645 readonly z: u32;2622 readonly src: Bytes;2646 readonly src: Bytes;2623 }2647 }262426482625 /** @name RmrkTraitsPartSlotPart (296) */2649 /** @name RmrkTraitsPartSlotPart (298) */2626 interface RmrkTraitsPartSlotPart extends Struct {2650 interface RmrkTraitsPartSlotPart extends Struct {2627 readonly id: u32;2651 readonly id: u32;2628 readonly equippable: RmrkTraitsPartEquippableList;2652 readonly equippable: RmrkTraitsPartEquippableList;2629 readonly src: Bytes;2653 readonly src: Bytes;2630 readonly z: u32;2654 readonly z: u32;2631 }2655 }263226562633 /** @name RmrkTraitsPartEquippableList (297) */2657 /** @name RmrkTraitsPartEquippableList (299) */2634 interface RmrkTraitsPartEquippableList extends Enum {2658 interface RmrkTraitsPartEquippableList extends Enum {2635 readonly isAll: boolean;2659 readonly isAll: boolean;2636 readonly isEmpty: boolean;2660 readonly isEmpty: boolean;2639 readonly type: 'All' | 'Empty' | 'Custom';2663 readonly type: 'All' | 'Empty' | 'Custom';2640 }2664 }264126652642 /** @name RmrkTraitsTheme (299) */2666 /** @name RmrkTraitsTheme (301) */2643 interface RmrkTraitsTheme extends Struct {2667 interface RmrkTraitsTheme extends Struct {2644 readonly name: Bytes;2668 readonly name: Bytes;2645 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2669 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2646 readonly inherit: bool;2670 readonly inherit: bool;2647 }2671 }264826722649 /** @name RmrkTraitsThemeThemeProperty (301) */2673 /** @name RmrkTraitsThemeThemeProperty (303) */2650 interface RmrkTraitsThemeThemeProperty extends Struct {2674 interface RmrkTraitsThemeThemeProperty extends Struct {2651 readonly key: Bytes;2675 readonly key: Bytes;2652 readonly value: Bytes;2676 readonly value: Bytes;2653 }2677 }26782679 /** @name PalletAppPromotionCall (305) */2680 interface PalletAppPromotionCall extends Enum {2681 readonly isSetAdminAddress: boolean;2682 readonly asSetAdminAddress: {2683 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2684 } & Struct;2685 readonly isStake: boolean;2686 readonly asStake: {2687 readonly amount: u128;2688 } & Struct;2689 readonly isUnstake: boolean;2690 readonly isSponsorCollection: boolean;2691 readonly asSponsorCollection: {2692 readonly collectionId: u32;2693 } & Struct;2694 readonly isStopSponsoringCollection: boolean;2695 readonly asStopSponsoringCollection: {2696 readonly collectionId: u32;2697 } & Struct;2698 readonly isSponsorContract: boolean;2699 readonly asSponsorContract: {2700 readonly contractId: H160;2701 } & Struct;2702 readonly isStopSponsoringContract: boolean;2703 readonly asStopSponsoringContract: {2704 readonly contractId: H160;2705 } & Struct;2706 readonly isPayoutStakers: boolean;2707 readonly asPayoutStakers: {2708 readonly stakersNumber: Option<u8>;2709 } & Struct;2710 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';2711 }265427122655 /** @name PalletEvmCall (303) */2713 /** @name PalletEvmCall (307) */2656 interface PalletEvmCall extends Enum {2714 interface PalletEvmCall extends Enum {2657 readonly isWithdraw: boolean;2715 readonly isWithdraw: boolean;2658 readonly asWithdraw: {2716 readonly asWithdraw: {2697 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2755 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2698 }2756 }269927572700 /** @name PalletEthereumCall (307) */2758 /** @name PalletEthereumCall (311) */2701 interface PalletEthereumCall extends Enum {2759 interface PalletEthereumCall extends Enum {2702 readonly isTransact: boolean;2760 readonly isTransact: boolean;2703 readonly asTransact: {2761 readonly asTransact: {2706 readonly type: 'Transact';2764 readonly type: 'Transact';2707 }2765 }270827662709 /** @name EthereumTransactionTransactionV2 (308) */2767 /** @name EthereumTransactionTransactionV2 (312) */2710 interface EthereumTransactionTransactionV2 extends Enum {2768 interface EthereumTransactionTransactionV2 extends Enum {2711 readonly isLegacy: boolean;2769 readonly isLegacy: boolean;2712 readonly asLegacy: EthereumTransactionLegacyTransaction;2770 readonly asLegacy: EthereumTransactionLegacyTransaction;2717 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2775 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2718 }2776 }271927772720 /** @name EthereumTransactionLegacyTransaction (309) */2778 /** @name EthereumTransactionLegacyTransaction (313) */2721 interface EthereumTransactionLegacyTransaction extends Struct {2779 interface EthereumTransactionLegacyTransaction extends Struct {2722 readonly nonce: U256;2780 readonly nonce: U256;2723 readonly gasPrice: U256;2781 readonly gasPrice: U256;2728 readonly signature: EthereumTransactionTransactionSignature;2786 readonly signature: EthereumTransactionTransactionSignature;2729 }2787 }273027882731 /** @name EthereumTransactionTransactionAction (310) */2789 /** @name EthereumTransactionTransactionAction (314) */2732 interface EthereumTransactionTransactionAction extends Enum {2790 interface EthereumTransactionTransactionAction extends Enum {2733 readonly isCall: boolean;2791 readonly isCall: boolean;2734 readonly asCall: H160;2792 readonly asCall: H160;2735 readonly isCreate: boolean;2793 readonly isCreate: boolean;2736 readonly type: 'Call' | 'Create';2794 readonly type: 'Call' | 'Create';2737 }2795 }273827962739 /** @name EthereumTransactionTransactionSignature (311) */2797 /** @name EthereumTransactionTransactionSignature (315) */2740 interface EthereumTransactionTransactionSignature extends Struct {2798 interface EthereumTransactionTransactionSignature extends Struct {2741 readonly v: u64;2799 readonly v: u64;2742 readonly r: H256;2800 readonly r: H256;2743 readonly s: H256;2801 readonly s: H256;2744 }2802 }274528032746 /** @name EthereumTransactionEip2930Transaction (313) */2804 /** @name EthereumTransactionEip2930Transaction (317) */2747 interface EthereumTransactionEip2930Transaction extends Struct {2805 interface EthereumTransactionEip2930Transaction extends Struct {2748 readonly chainId: u64;2806 readonly chainId: u64;2749 readonly nonce: U256;2807 readonly nonce: U256;2758 readonly s: H256;2816 readonly s: H256;2759 }2817 }276028182761 /** @name EthereumTransactionAccessListItem (315) */2819 /** @name EthereumTransactionAccessListItem (319) */2762 interface EthereumTransactionAccessListItem extends Struct {2820 interface EthereumTransactionAccessListItem extends Struct {2763 readonly address: H160;2821 readonly address: H160;2764 readonly storageKeys: Vec<H256>;2822 readonly storageKeys: Vec<H256>;2765 }2823 }276628242767 /** @name EthereumTransactionEip1559Transaction (316) */2825 /** @name EthereumTransactionEip1559Transaction (320) */2768 interface EthereumTransactionEip1559Transaction extends Struct {2826 interface EthereumTransactionEip1559Transaction extends Struct {2769 readonly chainId: u64;2827 readonly chainId: u64;2770 readonly nonce: U256;2828 readonly nonce: U256;2780 readonly s: H256;2838 readonly s: H256;2781 }2839 }278228402783 /** @name PalletEvmMigrationCall (317) */2841 /** @name PalletEvmMigrationCall (321) */2784 interface PalletEvmMigrationCall extends Enum {2842 interface PalletEvmMigrationCall extends Enum {2785 readonly isBegin: boolean;2843 readonly isBegin: boolean;2786 readonly asBegin: {2844 readonly asBegin: {2799 readonly type: 'Begin' | 'SetData' | 'Finish';2857 readonly type: 'Begin' | 'SetData' | 'Finish';2800 }2858 }280128592802 /** @name PalletSudoError (320) */2860 /** @name PalletSudoError (324) */2803 interface PalletSudoError extends Enum {2861 interface PalletSudoError extends Enum {2804 readonly isRequireSudo: boolean;2862 readonly isRequireSudo: boolean;2805 readonly type: 'RequireSudo';2863 readonly type: 'RequireSudo';2806 }2864 }280728652808 /** @name OrmlVestingModuleError (322) */2866 /** @name OrmlVestingModuleError (326) */2809 interface OrmlVestingModuleError extends Enum {2867 interface OrmlVestingModuleError extends Enum {2810 readonly isZeroVestingPeriod: boolean;2868 readonly isZeroVestingPeriod: boolean;2811 readonly isZeroVestingPeriodCount: boolean;2869 readonly isZeroVestingPeriodCount: boolean;2816 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2874 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2817 }2875 }281828762819 /** @name CumulusPalletXcmpQueueInboundChannelDetails (324) */2877 /** @name CumulusPalletXcmpQueueInboundChannelDetails (328) */2820 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2878 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2821 readonly sender: u32;2879 readonly sender: u32;2822 readonly state: CumulusPalletXcmpQueueInboundState;2880 readonly state: CumulusPalletXcmpQueueInboundState;2823 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2881 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2824 }2882 }282528832826 /** @name CumulusPalletXcmpQueueInboundState (325) */2884 /** @name CumulusPalletXcmpQueueInboundState (329) */2827 interface CumulusPalletXcmpQueueInboundState extends Enum {2885 interface CumulusPalletXcmpQueueInboundState extends Enum {2828 readonly isOk: boolean;2886 readonly isOk: boolean;2829 readonly isSuspended: boolean;2887 readonly isSuspended: boolean;2830 readonly type: 'Ok' | 'Suspended';2888 readonly type: 'Ok' | 'Suspended';2831 }2889 }283228902833 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (328) */2891 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (332) */2834 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2892 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2835 readonly isConcatenatedVersionedXcm: boolean;2893 readonly isConcatenatedVersionedXcm: boolean;2836 readonly isConcatenatedEncodedBlob: boolean;2894 readonly isConcatenatedEncodedBlob: boolean;2837 readonly isSignals: boolean;2895 readonly isSignals: boolean;2838 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2896 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2839 }2897 }284028982841 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (331) */2899 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (335) */2842 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2900 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2843 readonly recipient: u32;2901 readonly recipient: u32;2844 readonly state: CumulusPalletXcmpQueueOutboundState;2902 readonly state: CumulusPalletXcmpQueueOutboundState;2847 readonly lastIndex: u16;2905 readonly lastIndex: u16;2848 }2906 }284929072850 /** @name CumulusPalletXcmpQueueOutboundState (332) */2908 /** @name CumulusPalletXcmpQueueOutboundState (336) */2851 interface CumulusPalletXcmpQueueOutboundState extends Enum {2909 interface CumulusPalletXcmpQueueOutboundState extends Enum {2852 readonly isOk: boolean;2910 readonly isOk: boolean;2853 readonly isSuspended: boolean;2911 readonly isSuspended: boolean;2854 readonly type: 'Ok' | 'Suspended';2912 readonly type: 'Ok' | 'Suspended';2855 }2913 }285629142857 /** @name CumulusPalletXcmpQueueQueueConfigData (334) */2915 /** @name CumulusPalletXcmpQueueQueueConfigData (338) */2858 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2916 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2859 readonly suspendThreshold: u32;2917 readonly suspendThreshold: u32;2860 readonly dropThreshold: u32;2918 readonly dropThreshold: u32;2864 readonly xcmpMaxIndividualWeight: u64;2922 readonly xcmpMaxIndividualWeight: u64;2865 }2923 }286629242867 /** @name CumulusPalletXcmpQueueError (336) */2925 /** @name CumulusPalletXcmpQueueError (340) */2868 interface CumulusPalletXcmpQueueError extends Enum {2926 interface CumulusPalletXcmpQueueError extends Enum {2869 readonly isFailedToSend: boolean;2927 readonly isFailedToSend: boolean;2870 readonly isBadXcmOrigin: boolean;2928 readonly isBadXcmOrigin: boolean;2874 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2932 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2875 }2933 }287629342877 /** @name PalletXcmError (337) */2935 /** @name PalletXcmError (341) */2878 interface PalletXcmError extends Enum {2936 interface PalletXcmError extends Enum {2879 readonly isUnreachable: boolean;2937 readonly isUnreachable: boolean;2880 readonly isSendFailure: boolean;2938 readonly isSendFailure: boolean;2892 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2950 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2893 }2951 }289429522895 /** @name CumulusPalletXcmError (338) */2953 /** @name CumulusPalletXcmError (342) */2896 type CumulusPalletXcmError = Null;2954 type CumulusPalletXcmError = Null;289729552898 /** @name CumulusPalletDmpQueueConfigData (339) */2956 /** @name CumulusPalletDmpQueueConfigData (343) */2899 interface CumulusPalletDmpQueueConfigData extends Struct {2957 interface CumulusPalletDmpQueueConfigData extends Struct {2900 readonly maxIndividual: u64;2958 readonly maxIndividual: u64;2901 }2959 }290229602903 /** @name CumulusPalletDmpQueuePageIndexData (340) */2961 /** @name CumulusPalletDmpQueuePageIndexData (344) */2904 interface CumulusPalletDmpQueuePageIndexData extends Struct {2962 interface CumulusPalletDmpQueuePageIndexData extends Struct {2905 readonly beginUsed: u32;2963 readonly beginUsed: u32;2906 readonly endUsed: u32;2964 readonly endUsed: u32;2907 readonly overweightCount: u64;2965 readonly overweightCount: u64;2908 }2966 }290929672910 /** @name CumulusPalletDmpQueueError (343) */2968 /** @name CumulusPalletDmpQueueError (347) */2911 interface CumulusPalletDmpQueueError extends Enum {2969 interface CumulusPalletDmpQueueError extends Enum {2912 readonly isUnknown: boolean;2970 readonly isUnknown: boolean;2913 readonly isOverLimit: boolean;2971 readonly isOverLimit: boolean;2914 readonly type: 'Unknown' | 'OverLimit';2972 readonly type: 'Unknown' | 'OverLimit';2915 }2973 }291629742917 /** @name PalletUniqueError (347) */2975 /** @name PalletUniqueError (351) */2918 interface PalletUniqueError extends Enum {2976 interface PalletUniqueError extends Enum {2919 readonly isCollectionDecimalPointLimitExceeded: boolean;2977 readonly isCollectionDecimalPointLimitExceeded: boolean;2920 readonly isConfirmUnsetSponsorFail: boolean;2978 readonly isConfirmUnsetSponsorFail: boolean;2923 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2981 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2924 }2982 }292529832926 /** @name PalletUniqueSchedulerScheduledV3 (350) */2984 /** @name PalletUniqueSchedulerScheduledV3 (354) */2927 interface PalletUniqueSchedulerScheduledV3 extends Struct {2985 interface PalletUniqueSchedulerScheduledV3 extends Struct {2928 readonly maybeId: Option<U8aFixed>;2986 readonly maybeId: Option<U8aFixed>;2929 readonly priority: u8;2987 readonly priority: u8;2932 readonly origin: OpalRuntimeOriginCaller;2990 readonly origin: OpalRuntimeOriginCaller;2933 }2991 }293429922935 /** @name OpalRuntimeOriginCaller (351) */2993 /** @name OpalRuntimeOriginCaller (355) */2936 interface OpalRuntimeOriginCaller extends Enum {2994 interface OpalRuntimeOriginCaller extends Enum {2937 readonly isSystem: boolean;2995 readonly isSystem: boolean;2938 readonly asSystem: FrameSupportDispatchRawOrigin;2996 readonly asSystem: FrameSupportDispatchRawOrigin;2946 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';3004 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2947 }3005 }294830062949 /** @name FrameSupportDispatchRawOrigin (352) */3007 /** @name FrameSupportDispatchRawOrigin (356) */2950 interface FrameSupportDispatchRawOrigin extends Enum {3008 interface FrameSupportDispatchRawOrigin extends Enum {2951 readonly isRoot: boolean;3009 readonly isRoot: boolean;2952 readonly isSigned: boolean;3010 readonly isSigned: boolean;2955 readonly type: 'Root' | 'Signed' | 'None';3013 readonly type: 'Root' | 'Signed' | 'None';2956 }3014 }295730152958 /** @name PalletXcmOrigin (353) */3016 /** @name PalletXcmOrigin (357) */2959 interface PalletXcmOrigin extends Enum {3017 interface PalletXcmOrigin extends Enum {2960 readonly isXcm: boolean;3018 readonly isXcm: boolean;2961 readonly asXcm: XcmV1MultiLocation;3019 readonly asXcm: XcmV1MultiLocation;2964 readonly type: 'Xcm' | 'Response';3022 readonly type: 'Xcm' | 'Response';2965 }3023 }296630242967 /** @name CumulusPalletXcmOrigin (354) */3025 /** @name CumulusPalletXcmOrigin (358) */2968 interface CumulusPalletXcmOrigin extends Enum {3026 interface CumulusPalletXcmOrigin extends Enum {2969 readonly isRelay: boolean;3027 readonly isRelay: boolean;2970 readonly isSiblingParachain: boolean;3028 readonly isSiblingParachain: boolean;2971 readonly asSiblingParachain: u32;3029 readonly asSiblingParachain: u32;2972 readonly type: 'Relay' | 'SiblingParachain';3030 readonly type: 'Relay' | 'SiblingParachain';2973 }3031 }297430322975 /** @name PalletEthereumRawOrigin (355) */3033 /** @name PalletEthereumRawOrigin (359) */2976 interface PalletEthereumRawOrigin extends Enum {3034 interface PalletEthereumRawOrigin extends Enum {2977 readonly isEthereumTransaction: boolean;3035 readonly isEthereumTransaction: boolean;2978 readonly asEthereumTransaction: H160;3036 readonly asEthereumTransaction: H160;2979 readonly type: 'EthereumTransaction';3037 readonly type: 'EthereumTransaction';2980 }3038 }298130392982 /** @name SpCoreVoid (356) */3040 /** @name SpCoreVoid (360) */2983 type SpCoreVoid = Null;3041 type SpCoreVoid = Null;298430422985 /** @name PalletUniqueSchedulerError (357) */3043 /** @name PalletUniqueSchedulerError (361) */2986 interface PalletUniqueSchedulerError extends Enum {3044 interface PalletUniqueSchedulerError extends Enum {2987 readonly isFailedToSchedule: boolean;3045 readonly isFailedToSchedule: boolean;2988 readonly isNotFound: boolean;3046 readonly isNotFound: boolean;2991 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3049 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2992 }3050 }299330512994 /** @name UpDataStructsCollection (358) */3052 /** @name UpDataStructsCollection (362) */2995 interface UpDataStructsCollection extends Struct {3053 interface UpDataStructsCollection extends Struct {2996 readonly owner: AccountId32;3054 readonly owner: AccountId32;2997 readonly mode: UpDataStructsCollectionMode;3055 readonly mode: UpDataStructsCollectionMode;2998 readonly name: Vec<u16>;3056 readonly name: Vec<u16>;2999 readonly description: Vec<u16>;3057 readonly description: Vec<u16>;3000 readonly tokenPrefix: Bytes;3058 readonly tokenPrefix: Bytes;3001 readonly sponsorship: UpDataStructsSponsorshipState;3059 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3002 readonly limits: UpDataStructsCollectionLimits;3060 readonly limits: UpDataStructsCollectionLimits;3003 readonly permissions: UpDataStructsCollectionPermissions;3061 readonly permissions: UpDataStructsCollectionPermissions;3004 readonly externalCollection: bool;3062 readonly externalCollection: bool;3005 }3063 }300630643007 /** @name UpDataStructsSponsorshipState (359) */3065 /** @name UpDataStructsSponsorshipStateAccountId32 (363) */3008 interface UpDataStructsSponsorshipState extends Enum {3066 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3009 readonly isDisabled: boolean;3067 readonly isDisabled: boolean;3010 readonly isUnconfirmed: boolean;3068 readonly isUnconfirmed: boolean;3011 readonly asUnconfirmed: AccountId32;3069 readonly asUnconfirmed: AccountId32;3014 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3072 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3015 }3073 }301630743017 /** @name UpDataStructsProperties (360) */3075 /** @name UpDataStructsProperties (364) */3018 interface UpDataStructsProperties extends Struct {3076 interface UpDataStructsProperties extends Struct {3019 readonly map: UpDataStructsPropertiesMapBoundedVec;3077 readonly map: UpDataStructsPropertiesMapBoundedVec;3020 readonly consumedSpace: u32;3078 readonly consumedSpace: u32;3021 readonly spaceLimit: u32;3079 readonly spaceLimit: u32;3022 }3080 }302330813024 /** @name UpDataStructsPropertiesMapBoundedVec (361) */3082 /** @name UpDataStructsPropertiesMapBoundedVec (365) */3025 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3083 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}302630843027 /** @name UpDataStructsPropertiesMapPropertyPermission (366) */3085 /** @name UpDataStructsPropertiesMapPropertyPermission (370) */3028 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3086 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}302930873030 /** @name UpDataStructsCollectionStats (373) */3088 /** @name UpDataStructsCollectionStats (377) */3031 interface UpDataStructsCollectionStats extends Struct {3089 interface UpDataStructsCollectionStats extends Struct {3032 readonly created: u32;3090 readonly created: u32;3033 readonly destroyed: u32;3091 readonly destroyed: u32;3034 readonly alive: u32;3092 readonly alive: u32;3035 }3093 }303630943037 /** @name UpDataStructsTokenChild (374) */3095 /** @name UpDataStructsTokenChild (378) */3038 interface UpDataStructsTokenChild extends Struct {3096 interface UpDataStructsTokenChild extends Struct {3039 readonly token: u32;3097 readonly token: u32;3040 readonly collection: u32;3098 readonly collection: u32;3041 }3099 }304231003043 /** @name PhantomTypeUpDataStructs (375) */3101 /** @name PhantomTypeUpDataStructs (379) */3044 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}3102 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}304531033046 /** @name UpDataStructsTokenData (377) */3104 /** @name UpDataStructsTokenData (381) */3047 interface UpDataStructsTokenData extends Struct {3105 interface UpDataStructsTokenData extends Struct {3048 readonly properties: Vec<UpDataStructsProperty>;3106 readonly properties: Vec<UpDataStructsProperty>;3049 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3107 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3050 readonly pieces: u128;3108 readonly pieces: u128;3051 }3109 }305231103053 /** @name UpDataStructsRpcCollection (379) */3111 /** @name UpDataStructsRpcCollection (383) */3054 interface UpDataStructsRpcCollection extends Struct {3112 interface UpDataStructsRpcCollection extends Struct {3055 readonly owner: AccountId32;3113 readonly owner: AccountId32;3056 readonly mode: UpDataStructsCollectionMode;3114 readonly mode: UpDataStructsCollectionMode;3057 readonly name: Vec<u16>;3115 readonly name: Vec<u16>;3058 readonly description: Vec<u16>;3116 readonly description: Vec<u16>;3059 readonly tokenPrefix: Bytes;3117 readonly tokenPrefix: Bytes;3060 readonly sponsorship: UpDataStructsSponsorshipState;3118 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3061 readonly limits: UpDataStructsCollectionLimits;3119 readonly limits: UpDataStructsCollectionLimits;3062 readonly permissions: UpDataStructsCollectionPermissions;3120 readonly permissions: UpDataStructsCollectionPermissions;3063 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3121 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3064 readonly properties: Vec<UpDataStructsProperty>;3122 readonly properties: Vec<UpDataStructsProperty>;3065 readonly readOnly: bool;3123 readonly readOnly: bool;3066 }3124 }306731253068 /** @name RmrkTraitsCollectionCollectionInfo (380) */3126 /** @name RmrkTraitsCollectionCollectionInfo (384) */3069 interface RmrkTraitsCollectionCollectionInfo extends Struct {3127 interface RmrkTraitsCollectionCollectionInfo extends Struct {3070 readonly issuer: AccountId32;3128 readonly issuer: AccountId32;3071 readonly metadata: Bytes;3129 readonly metadata: Bytes;3074 readonly nftsCount: u32;3132 readonly nftsCount: u32;3075 }3133 }307631343077 /** @name RmrkTraitsNftNftInfo (381) */3135 /** @name RmrkTraitsNftNftInfo (385) */3078 interface RmrkTraitsNftNftInfo extends Struct {3136 interface RmrkTraitsNftNftInfo extends Struct {3079 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3137 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3080 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3138 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3083 readonly pending: bool;3141 readonly pending: bool;3084 }3142 }308531433086 /** @name RmrkTraitsNftRoyaltyInfo (383) */3144 /** @name RmrkTraitsNftRoyaltyInfo (387) */3087 interface RmrkTraitsNftRoyaltyInfo extends Struct {3145 interface RmrkTraitsNftRoyaltyInfo extends Struct {3088 readonly recipient: AccountId32;3146 readonly recipient: AccountId32;3089 readonly amount: Permill;3147 readonly amount: Permill;3090 }3148 }309131493092 /** @name RmrkTraitsResourceResourceInfo (384) */3150 /** @name RmrkTraitsResourceResourceInfo (388) */3093 interface RmrkTraitsResourceResourceInfo extends Struct {3151 interface RmrkTraitsResourceResourceInfo extends Struct {3094 readonly id: u32;3152 readonly id: u32;3095 readonly resource: RmrkTraitsResourceResourceTypes;3153 readonly resource: RmrkTraitsResourceResourceTypes;3096 readonly pending: bool;3154 readonly pending: bool;3097 readonly pendingRemoval: bool;3155 readonly pendingRemoval: bool;3098 }3156 }309931573100 /** @name RmrkTraitsPropertyPropertyInfo (385) */3158 /** @name RmrkTraitsPropertyPropertyInfo (389) */3101 interface RmrkTraitsPropertyPropertyInfo extends Struct {3159 interface RmrkTraitsPropertyPropertyInfo extends Struct {3102 readonly key: Bytes;3160 readonly key: Bytes;3103 readonly value: Bytes;3161 readonly value: Bytes;3104 }3162 }310531633106 /** @name RmrkTraitsBaseBaseInfo (386) */3164 /** @name RmrkTraitsBaseBaseInfo (390) */3107 interface RmrkTraitsBaseBaseInfo extends Struct {3165 interface RmrkTraitsBaseBaseInfo extends Struct {3108 readonly issuer: AccountId32;3166 readonly issuer: AccountId32;3109 readonly baseType: Bytes;3167 readonly baseType: Bytes;3110 readonly symbol: Bytes;3168 readonly symbol: Bytes;3111 }3169 }311231703113 /** @name RmrkTraitsNftNftChild (387) */3171 /** @name RmrkTraitsNftNftChild (391) */3114 interface RmrkTraitsNftNftChild extends Struct {3172 interface RmrkTraitsNftNftChild extends Struct {3115 readonly collectionId: u32;3173 readonly collectionId: u32;3116 readonly nftId: u32;3174 readonly nftId: u32;3117 }3175 }311831763119 /** @name PalletCommonError (389) */3177 /** @name PalletCommonError (393) */3120 interface PalletCommonError extends Enum {3178 interface PalletCommonError extends Enum {3121 readonly isCollectionNotFound: boolean;3179 readonly isCollectionNotFound: boolean;3122 readonly isMustBeTokenOwner: boolean;3180 readonly isMustBeTokenOwner: boolean;3155 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';3213 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';3156 }3214 }315732153158 /** @name PalletFungibleError (391) */3216 /** @name PalletFungibleError (395) */3159 interface PalletFungibleError extends Enum {3217 interface PalletFungibleError extends Enum {3160 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3218 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3161 readonly isFungibleItemsHaveNoId: boolean;3219 readonly isFungibleItemsHaveNoId: boolean;3165 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3223 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3166 }3224 }316732253168 /** @name PalletRefungibleItemData (392) */3226 /** @name PalletRefungibleItemData (396) */3169 interface PalletRefungibleItemData extends Struct {3227 interface PalletRefungibleItemData extends Struct {3170 readonly constData: Bytes;3228 readonly constData: Bytes;3171 }3229 }317232303173 /** @name PalletRefungibleError (397) */3231 /** @name PalletRefungibleError (401) */3174 interface PalletRefungibleError extends Enum {3232 interface PalletRefungibleError extends Enum {3175 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3233 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3176 readonly isWrongRefungiblePieces: boolean;3234 readonly isWrongRefungiblePieces: boolean;3180 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3238 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3181 }3239 }318232403183 /** @name PalletNonfungibleItemData (398) */3241 /** @name PalletNonfungibleItemData (402) */3184 interface PalletNonfungibleItemData extends Struct {3242 interface PalletNonfungibleItemData extends Struct {3185 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3243 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3186 }3244 }318732453188 /** @name UpDataStructsPropertyScope (400) */3246 /** @name UpDataStructsPropertyScope (404) */3189 interface UpDataStructsPropertyScope extends Enum {3247 interface UpDataStructsPropertyScope extends Enum {3190 readonly isNone: boolean;3248 readonly isNone: boolean;3191 readonly isRmrk: boolean;3249 readonly isRmrk: boolean;3192 readonly isEth: boolean;3193 readonly type: 'None' | 'Rmrk' | 'Eth';3250 readonly type: 'None' | 'Rmrk';3194 }3251 }319532523196 /** @name PalletNonfungibleError (402) */3253 /** @name PalletNonfungibleError (406) */3197 interface PalletNonfungibleError extends Enum {3254 interface PalletNonfungibleError extends Enum {3198 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3255 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3199 readonly isNonfungibleItemsHaveNoAmount: boolean;3256 readonly isNonfungibleItemsHaveNoAmount: boolean;3200 readonly isCantBurnNftWithChildren: boolean;3257 readonly isCantBurnNftWithChildren: boolean;3201 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3258 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3202 }3259 }320332603204 /** @name PalletStructureError (403) */3261 /** @name PalletStructureError (407) */3205 interface PalletStructureError extends Enum {3262 interface PalletStructureError extends Enum {3206 readonly isOuroborosDetected: boolean;3263 readonly isOuroborosDetected: boolean;3207 readonly isDepthLimit: boolean;3264 readonly isDepthLimit: boolean;3210 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3267 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3211 }3268 }321232693213 /** @name PalletRmrkCoreError (404) */3270 /** @name PalletRmrkCoreError (408) */3214 interface PalletRmrkCoreError extends Enum {3271 interface PalletRmrkCoreError extends Enum {3215 readonly isCorruptedCollectionType: boolean;3272 readonly isCorruptedCollectionType: boolean;3216 readonly isRmrkPropertyKeyIsTooLong: boolean;3273 readonly isRmrkPropertyKeyIsTooLong: boolean;3234 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3291 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3235 }3292 }323632933237 /** @name PalletRmrkEquipError (406) */3294 /** @name PalletRmrkEquipError (410) */3238 interface PalletRmrkEquipError extends Enum {3295 interface PalletRmrkEquipError extends Enum {3239 readonly isPermissionError: boolean;3296 readonly isPermissionError: boolean;3240 readonly isNoAvailableBaseId: boolean;3297 readonly isNoAvailableBaseId: boolean;3246 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3303 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3247 }3304 }33053306 /** @name PalletAppPromotionError (416) */3307 interface PalletAppPromotionError extends Enum {3308 readonly isAdminNotSet: boolean;3309 readonly isNoPermission: boolean;3310 readonly isNotSufficientFunds: boolean;3311 readonly isPendingForBlockOverflow: boolean;3312 readonly isSponsorNotSet: boolean;3313 readonly isIncorrectLockedBalanceOperation: boolean;3314 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3315 }324833163249 /** @name PalletEvmError (409) */3317 /** @name PalletEvmError (419) */3250 interface PalletEvmError extends Enum {3318 interface PalletEvmError extends Enum {3251 readonly isBalanceLow: boolean;3319 readonly isBalanceLow: boolean;3252 readonly isFeeOverflow: boolean;3320 readonly isFeeOverflow: boolean;3257 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3325 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3258 }3326 }325933273260 /** @name FpRpcTransactionStatus (412) */3328 /** @name FpRpcTransactionStatus (422) */3261 interface FpRpcTransactionStatus extends Struct {3329 interface FpRpcTransactionStatus extends Struct {3262 readonly transactionHash: H256;3330 readonly transactionHash: H256;3263 readonly transactionIndex: u32;3331 readonly transactionIndex: u32;3268 readonly logsBloom: EthbloomBloom;3336 readonly logsBloom: EthbloomBloom;3269 }3337 }327033383271 /** @name EthbloomBloom (414) */3339 /** @name EthbloomBloom (424) */3272 interface EthbloomBloom extends U8aFixed {}3340 interface EthbloomBloom extends U8aFixed {}327333413274 /** @name EthereumReceiptReceiptV3 (416) */3342 /** @name EthereumReceiptReceiptV3 (426) */3275 interface EthereumReceiptReceiptV3 extends Enum {3343 interface EthereumReceiptReceiptV3 extends Enum {3276 readonly isLegacy: boolean;3344 readonly isLegacy: boolean;3277 readonly asLegacy: EthereumReceiptEip658ReceiptData;3345 readonly asLegacy: EthereumReceiptEip658ReceiptData;3282 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3350 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3283 }3351 }328433523285 /** @name EthereumReceiptEip658ReceiptData (417) */3353 /** @name EthereumReceiptEip658ReceiptData (427) */3286 interface EthereumReceiptEip658ReceiptData extends Struct {3354 interface EthereumReceiptEip658ReceiptData extends Struct {3287 readonly statusCode: u8;3355 readonly statusCode: u8;3288 readonly usedGas: U256;3356 readonly usedGas: U256;3289 readonly logsBloom: EthbloomBloom;3357 readonly logsBloom: EthbloomBloom;3290 readonly logs: Vec<EthereumLog>;3358 readonly logs: Vec<EthereumLog>;3291 }3359 }329233603293 /** @name EthereumBlock (418) */3361 /** @name EthereumBlock (428) */3294 interface EthereumBlock extends Struct {3362 interface EthereumBlock extends Struct {3295 readonly header: EthereumHeader;3363 readonly header: EthereumHeader;3296 readonly transactions: Vec<EthereumTransactionTransactionV2>;3364 readonly transactions: Vec<EthereumTransactionTransactionV2>;3297 readonly ommers: Vec<EthereumHeader>;3365 readonly ommers: Vec<EthereumHeader>;3298 }3366 }329933673300 /** @name EthereumHeader (419) */3368 /** @name EthereumHeader (429) */3301 interface EthereumHeader extends Struct {3369 interface EthereumHeader extends Struct {3302 readonly parentHash: H256;3370 readonly parentHash: H256;3303 readonly ommersHash: H256;3371 readonly ommersHash: H256;3316 readonly nonce: EthereumTypesHashH64;3384 readonly nonce: EthereumTypesHashH64;3317 }3385 }331833863319 /** @name EthereumTypesHashH64 (420) */3387 /** @name EthereumTypesHashH64 (430) */3320 interface EthereumTypesHashH64 extends U8aFixed {}3388 interface EthereumTypesHashH64 extends U8aFixed {}332133893322 /** @name PalletEthereumError (425) */3390 /** @name PalletEthereumError (435) */3323 interface PalletEthereumError extends Enum {3391 interface PalletEthereumError extends Enum {3324 readonly isInvalidSignature: boolean;3392 readonly isInvalidSignature: boolean;3325 readonly isPreLogExists: boolean;3393 readonly isPreLogExists: boolean;3326 readonly type: 'InvalidSignature' | 'PreLogExists';3394 readonly type: 'InvalidSignature' | 'PreLogExists';3327 }3395 }332833963329 /** @name PalletEvmCoderSubstrateError (426) */3397 /** @name PalletEvmCoderSubstrateError (436) */3330 interface PalletEvmCoderSubstrateError extends Enum {3398 interface PalletEvmCoderSubstrateError extends Enum {3331 readonly isOutOfGas: boolean;3399 readonly isOutOfGas: boolean;3332 readonly isOutOfFund: boolean;3400 readonly isOutOfFund: boolean;3333 readonly type: 'OutOfGas' | 'OutOfFund';3401 readonly type: 'OutOfGas' | 'OutOfFund';3334 }3402 }34033404 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (437) */3405 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3406 readonly isDisabled: boolean;3407 readonly isUnconfirmed: boolean;3408 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3409 readonly isConfirmed: boolean;3410 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3411 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3412 }333534133336 /** @name PalletEvmContractHelpersSponsoringModeT (427) */3414 /** @name PalletEvmContractHelpersSponsoringModeT (438) */3337 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3415 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3338 readonly isDisabled: boolean;3416 readonly isDisabled: boolean;3339 readonly isAllowlisted: boolean;3417 readonly isAllowlisted: boolean;3340 readonly isGenerous: boolean;3418 readonly isGenerous: boolean;3341 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3419 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3342 }3420 }334334213344 /** @name PalletEvmContractHelpersError (429) */3422 /** @name PalletEvmContractHelpersError (440) */3345 interface PalletEvmContractHelpersError extends Enum {3423 interface PalletEvmContractHelpersError extends Enum {3346 readonly isNoPermission: boolean;3424 readonly isNoPermission: boolean;3425 readonly isNoPendingSponsor: boolean;3347 readonly type: 'NoPermission';3426 readonly type: 'NoPermission' | 'NoPendingSponsor';3348 }3427 }334934283350 /** @name PalletEvmMigrationError (430) */3429 /** @name PalletEvmMigrationError (441) */3351 interface PalletEvmMigrationError extends Enum {3430 interface PalletEvmMigrationError extends Enum {3352 readonly isAccountNotEmpty: boolean;3431 readonly isAccountNotEmpty: boolean;3353 readonly isAccountIsNotMigrating: boolean;3432 readonly isAccountIsNotMigrating: boolean;3354 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3433 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3355 }3434 }335634353357 /** @name SpRuntimeMultiSignature (432) */3436 /** @name SpRuntimeMultiSignature (443) */3358 interface SpRuntimeMultiSignature extends Enum {3437 interface SpRuntimeMultiSignature extends Enum {3359 readonly isEd25519: boolean;3438 readonly isEd25519: boolean;3360 readonly asEd25519: SpCoreEd25519Signature;3439 readonly asEd25519: SpCoreEd25519Signature;3365 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3444 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3366 }3445 }336734463368 /** @name SpCoreEd25519Signature (433) */3447 /** @name SpCoreEd25519Signature (444) */3369 interface SpCoreEd25519Signature extends U8aFixed {}3448 interface SpCoreEd25519Signature extends U8aFixed {}337034493371 /** @name SpCoreSr25519Signature (435) */3450 /** @name SpCoreSr25519Signature (446) */3372 interface SpCoreSr25519Signature extends U8aFixed {}3451 interface SpCoreSr25519Signature extends U8aFixed {}337334523374 /** @name SpCoreEcdsaSignature (436) */3453 /** @name SpCoreEcdsaSignature (447) */3375 interface SpCoreEcdsaSignature extends U8aFixed {}3454 interface SpCoreEcdsaSignature extends U8aFixed {}337634553377 /** @name FrameSystemExtensionsCheckSpecVersion (439) */3456 /** @name FrameSystemExtensionsCheckSpecVersion (450) */3378 type FrameSystemExtensionsCheckSpecVersion = Null;3457 type FrameSystemExtensionsCheckSpecVersion = Null;337934583380 /** @name FrameSystemExtensionsCheckGenesis (440) */3459 /** @name FrameSystemExtensionsCheckGenesis (451) */3381 type FrameSystemExtensionsCheckGenesis = Null;3460 type FrameSystemExtensionsCheckGenesis = Null;338234613383 /** @name FrameSystemExtensionsCheckNonce (443) */3462 /** @name FrameSystemExtensionsCheckNonce (454) */3384 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3463 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}338534643386 /** @name FrameSystemExtensionsCheckWeight (444) */3465 /** @name FrameSystemExtensionsCheckWeight (455) */3387 type FrameSystemExtensionsCheckWeight = Null;3466 type FrameSystemExtensionsCheckWeight = Null;338834673389 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (445) */3468 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (456) */3390 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3469 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}339134703392 /** @name OpalRuntimeRuntime (446) */3471 /** @name OpalRuntimeRuntime (457) */3393 type OpalRuntimeRuntime = Null;3472 type OpalRuntimeRuntime = Null;339434733395 /** @name PalletEthereumFakeTransactionFinalizer (447) */3474 /** @name PalletEthereumFakeTransactionFinalizer (458) */3396 type PalletEthereumFakeTransactionFinalizer = Null;3475 type PalletEthereumFakeTransactionFinalizer = Null;339734763398} // declare module3477} // declare moduletests/src/interfaces/types.tsdiffbeforeafterboth2/* eslint-disable */2/* eslint-disable */334export * from './unique/types';4export * from './unique/types';5export * from './appPromotion/types';5export * from './rmrk/types';6export * from './rmrk/types';6export * from './default/types';7export * from './default/types';78tests/src/pallet-presence.test.tsdiffbeforeafterboth68 const refungible = 'refungible';68 const refungible = 'refungible';69 const scheduler = 'scheduler';69 const scheduler = 'scheduler';70 const rmrkPallets = ['rmrkcore', 'rmrkequip'];70 const rmrkPallets = ['rmrkcore', 'rmrkequip'];71 const appPromotion = 'apppromotion';717272 if (chain.eq('OPAL by UNIQUE')) {73 if (chain.eq('OPAL by UNIQUE')) {73 requiredPallets.push(refungible, scheduler, ...rmrkPallets);74 requiredPallets.push(refungible, scheduler, appPromotion, ...rmrkPallets);74 } else if (chain.eq('QUARTZ by UNIQUE')) {75 } else if (chain.eq('QUARTZ by UNIQUE')) {75 // Insert Quartz additional pallets here76 // Insert Quartz additional pallets here76 } else if (chain.eq('UNIQUE')) {77 } else if (chain.eq('UNIQUE')) {tests/src/refungible.test.tsdiffbeforeafterboth245 section: 'common',245 section: 'common',246 index: '0x4202',246 index: '0x4202',247 data: [ 247 data: [ 248 collection.collectionId.toString(), 248 helper.api!.createType('u32', collection.collectionId).toHuman(), 249 token.tokenId.toString(), 249 helper.api!.createType('u32', token.tokenId).toHuman(),250 {Substrate: alice.address}, 250 {Substrate: alice.address}, 251 '100',251 '100',252 ],252 ],265 section: 'common',265 section: 'common',266 index: '0x4203',266 index: '0x4203',267 data: [ 267 data: [ 268 collection.collectionId.toString(), 268 helper.api!.createType('u32', collection.collectionId).toHuman(), 269 token.tokenId.toString(), 269 helper.api!.createType('u32', token.tokenId).toHuman(),270 {Substrate: alice.address}, 270 {Substrate: alice.address}, 271 '50',271 '50',272 ],272 ],tests/src/removeCollectionAdmin.test.tsdiffbeforeafterbothno syntactic changes
tests/src/substrate/substrate-api.tsdiffbeforeafterboth44 },44 },45 rpc: {45 rpc: {46 unique: defs.unique.rpc,46 unique: defs.unique.rpc,47 appPromotion: defs.appPromotion.rpc,47 rmrk: defs.rmrk.rpc,48 rmrk: defs.rmrk.rpc,48 eth: {49 eth: {49 feeHistory: {50 feeHistory: {tests/src/util/helpers.tsdiffbeforeafterboth17import '../interfaces/augment-api-rpc';17import '../interfaces/augment-api-rpc';18import '../interfaces/augment-api-query';18import '../interfaces/augment-api-query';19import {ApiPromise} from '@polkadot/api';19import {ApiPromise} from '@polkadot/api';20import type {AccountId, EventRecord, Event} from '@polkadot/types/interfaces';20import type {AccountId, EventRecord, Event, BlockNumber} from '@polkadot/types/interfaces';21import type {GenericEventData} from '@polkadot/types';21import type {GenericEventData} from '@polkadot/types';22import {AnyTuple, IEvent, IKeyringPair} from '@polkadot/types/types';22import {AnyTuple, IEvent, IKeyringPair} from '@polkadot/types/types';23import {evmToAddress} from '@polkadot/util-crypto';23import {evmToAddress} from '@polkadot/util-crypto';24import {AnyNumber} from '@polkadot/types-codec/types';24import BN from 'bn.js';25import BN from 'bn.js';25import chai from 'chai';26import chai from 'chai';26import chaiAsPromised from 'chai-as-promised';27import chaiAsPromised from 'chai-as-promised';48 Fungible = 'fungible',49 Fungible = 'fungible',49 NFT = 'nonfungible',50 NFT = 'nonfungible',50 Scheduler = 'scheduler',51 Scheduler = 'scheduler',52 AppPromotion = 'apppromotion',51}53}525453export async function isUnique(): Promise<boolean> {55export async function isUnique(): Promise<boolean> {1781itApi.skip = (name: string, cb: (apis: { api: ApiPromise, privateKeyWrapper: (account: string) => IKeyringPair }) => any) => itApi(name, cb, {skip: true});1783itApi.skip = (name: string, cb: (apis: { api: ApiPromise, privateKeyWrapper: (account: string) => IKeyringPair }) => any) => itApi(name, cb, {skip: true});1782178417851786export async function expectSubstrateEventsAtBlock(api: ApiPromise, blockNumber: AnyNumber | BlockNumber, section: string, methods: string[], dryRun = false) {1787 const blockHash = await api.rpc.chain.getBlockHash(blockNumber);1788 const subEvents = (await api.query.system.events.at(blockHash))1789 .filter(x => x.event.section === section)1790 .map((x) => x.toHuman());1791 const events = methods.map((m) => {1792 return {1793 event: {1794 method: m,1795 section,1796 },1797 };1798 });1799 if (!dryRun) {1800 expect(subEvents).to.be.like(events);1801 }1802 return subEvents;1803}tests/src/util/playgrounds/types.tsdiffbeforeafterboth101 tokenId: number;101 tokenId: number;102}102}103104export interface IBlock {105 extrinsics: IExtrinsic[]106 header: {107 parentHash: string,108 number: number,109 };110}111112export interface IExtrinsic {113 isSigned: boolean,114 method: {115 method: string,116 section: string,117 args: any[]118 }119}103120104export interface ICollectionCreationOptions {121export interface ICollectionCreationOptions {105 name?: string | number[];122 name?: string | number[];123 tokenSymbol: string[]140 tokenSymbol: string[]124}141}142143export interface ISubstrateBalance {144 free: bigint,145 reserved: bigint,146 miscFrozen: bigint,147 feeFrozen: bigint148}125149126export type TSubstrateAccount = string;150export type TSubstrateAccount = string;127export type TEthereumAccount = string;151export type TEthereumAccount = string;tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth36 for (const arg of args) {35 for (const arg of args) {37 if (typeof arg !== 'string')36 if (typeof arg !== 'string')38 continue;37 continue;39 if (arg.includes('1000:: Normal connection closure') || arg.includes('Not decorating unknown runtime apis: UniqueApi/2, RmrkApi/1') || arg.includes('RPC methods not decorated:') || arg === 'Normal connection closure')38 if (arg.includes('1000:: Normal connection closure') || arg.includes('Not decorating unknown runtime apis:') || arg.includes('RPC methods not decorated:') || arg === 'Normal connection closure')40 return;39 return;41 }40 }42 printer(...args);41 printer(...args);60 * Arrange methods for tests59 * Arrange methods for tests61 */60 */62 arrange: ArrangeGroup;61 arrange: ArrangeGroup;62 wait: WaitGroup;636364 constructor(logger: { log: (msg: any, level: any) => void, level: any }) {64 constructor(logger: { log: (msg: any, level: any) => void, level: any }) {65 super(logger);65 super(logger);66 this.arrange = new ArrangeGroup(this);66 this.arrange = new ArrangeGroup(this);67 this.wait = new WaitGroup(this);67 }68 }686969 async connect(wsEndpoint: string, _listeners?: any): Promise<void> {70 async connect(wsEndpoint: string, _listeners?: any): Promise<void> {82 },83 },83 rpc: {84 rpc: {84 unique: defs.unique.rpc,85 unique: defs.unique.rpc,86 appPromotion: defs.appPromotion.rpc,85 rmrk: defs.rmrk.rpc,87 rmrk: defs.rmrk.rpc,86 eth: {88 eth: {87 feeHistory: {89 feeHistory: {152 for (let index = 0; index < 5; index++) {154 for (let index = 0; index < 5; index++) {153 accountsCreated = await checkBalances();155 accountsCreated = await checkBalances();154 if(accountsCreated) break;156 if(accountsCreated) break;155 await this.waitNewBlocks(1);157 156 }158 }157159158 if (!accountsCreated) throw Error('Accounts generation failed');160 if (!accountsCreated) throw Error('Accounts generation failed');161 return accounts;163 return accounts;162 };164 };163 165164 /**166 // TODO combine this method and createAccounts into one165 * Wait for specified bnumber of blocks166 * @param blocksCount number of blocks to wait167 * @returns 168 */169 async waitNewBlocks(blocksCount = 1): Promise<void> {167 createCrowd = async (accountsToCreate: number, withBalance: bigint, donor: IKeyringPair): Promise<IKeyringPair[]> => { 170 // eslint-disable-next-line no-async-promise-executor171 const promise = new Promise<void>(async (resolve) => {168 const createAsManyAsCan = async () => {169 let transactions: any = [];170 const accounts: IKeyringPair[] = [];172 const unsubscribe = await this.helper.api!.rpc.chain.subscribeNewHeads(() => {171 let nonce = await this.helper.chain.getNonce(donor.address);173 if (blocksCount > 0) {172 const tokenNominal = this.helper.balance.getOneTokenNominal();174 blocksCount--;173 for (let i = 0; i < accountsToCreate; i++) {175 } else {174 if (i === 500) { // if there are too many accounts to create176 unsubscribe();175 await Promise.allSettled(transactions); // wait while first 500 (should be 100 for devnode) tx will be settled 177 resolve();176 transactions = []; //178 }177 nonce = await this.helper.chain.getNonce(donor.address); // update nonce 179 });178 }179 const recepient = this.helper.util.fromSeed(mnemonicGenerate());180 accounts.push(recepient);181 if (withBalance !== 0n) {182 const tx = this.helper.constructApiCall('api.tx.balances.transfer', [{Id: recepient.address}, withBalance * tokenNominal]);183 transactions.push(this.helper.signTransaction(donor, tx, 'account generation', {nonce}));184 nonce++;185 }186 }187 188 const fullfilledAccounts = [];189 await Promise.allSettled(transactions);190 for (const account of accounts) {191 const accountBalance = await this.helper.balance.getSubstrate(account.address);192 if (accountBalance === withBalance * tokenNominal) {193 fullfilledAccounts.push(account);194 }195 }196 return fullfilledAccounts;180 });197 };198199 200 const crowd: IKeyringPair[] = [];201 // do up to 5 retries202 for (let index = 0; index < 5 && accountsToCreate !== 0; index++) {203 const asManyAsCan = await createAsManyAsCan();204 crowd.push(...asManyAsCan);205 accountsToCreate -= asManyAsCan.length;206 }207208 if (accountsToCreate !== 0) throw Error(`Crowd generation failed: ${accountsToCreate} accounts left`);209181 return promise;210 return crowd;182 }211 };212213 isDevNode = async () => {214 const block1 = await this.helper.api?.rpc.chain.getBlock(await this.helper.api?.rpc.chain.getBlockHash(1));215 const block2 = await this.helper.api?.rpc.chain.getBlock(await this.helper.api?.rpc.chain.getBlockHash(2));216 const findCreationDate = async (block: any) => {217 const humanBlock = block.toHuman();218 let date;219 humanBlock.block.extrinsics.forEach((ext: any) => {220 if(ext.method.section === 'timestamp') {221 date = Number(ext.method.args.now.replaceAll(',', ''));222 }223 });224 return date;225 };226 const block1date = await findCreationDate(block1);227 const block2date = await findCreationDate(block2);228 if(block2date! - block1date! < 9000) return true;229 };183}230}231232class WaitGroup {233 helper: UniqueHelper;234235 constructor(helper: UniqueHelper) {236 this.helper = helper;237 }238239 /**240 * Wait for specified bnumber of blocks241 * @param blocksCount number of blocks to wait242 * @returns 243 */244 async newBlocks(blocksCount = 1): Promise<void> {245 // eslint-disable-next-line no-async-promise-executor246 const promise = new Promise<void>(async (resolve) => {247 const unsubscribe = await this.helper.api!.rpc.chain.subscribeNewHeads(() => {248 if (blocksCount > 0) {249 blocksCount--;250 } else {251 unsubscribe();252 resolve();253 }254 });255 });256 return promise;257 }258259 async forParachainBlockNumber(blockNumber: bigint) {260 return new Promise<void>(async (resolve) => {261 const unsubscribe = await this.helper.api!.rpc.chain.subscribeNewHeads(async (data: any) => {262 if (data.number.toNumber() >= blockNumber) {263 unsubscribe();264 resolve();265 }266 });267 });268 }269 270 async forRelayBlockNumber(blockNumber: bigint) {271 return new Promise<void>(async (resolve) => {272 const unsubscribe = await this.helper.api!.query.parachainSystem.validationData(async (data: any) => {273 if (data.value.relayParentNumber.toNumber() >= blockNumber) {274 // @ts-ignore275 unsubscribe();276 resolve();277 }278 });279 });280 }281}282tests/src/util/playgrounds/unique.tsdiffbeforeafterboth9import {ApiInterfaceEvents} from '@polkadot/api/types';9import {ApiInterfaceEvents} from '@polkadot/api/types';10import {encodeAddress, decodeAddress, keccakAsHex, evmToAddress, addressToEvm} from '@polkadot/util-crypto';10import {encodeAddress, decodeAddress, keccakAsHex, evmToAddress, addressToEvm} from '@polkadot/util-crypto';11import {IKeyringPair} from '@polkadot/types/types';11import {IKeyringPair} from '@polkadot/types/types';12import {IApiListeners, IChainEvent, IChainProperties, ICollectionCreationOptions, ICollectionLimits, ICollectionPermissions, ICrossAccountId, ICrossAccountIdLower, ILogger, INestingPermissions, IProperty, IToken, ITokenPropertyPermission, ITransactionResult, IUniqueHelperLog, TApiAllowedListeners, TEthereumAccount, TSigner, TSubstrateAccount, TUniqueNetworks} from './types';12import {IApiListeners, IBlock, IChainEvent, IChainProperties, ICollectionCreationOptions, ICollectionLimits, ICollectionPermissions, ICrossAccountId, ICrossAccountIdLower, ILogger, INestingPermissions, IProperty, ISubstrateBalance, IToken, ITokenPropertyPermission, ITransactionResult, IUniqueHelperLog, TApiAllowedListeners, TEthereumAccount, TSigner, TSubstrateAccount, TUniqueNetworks} from './types';131314export const crossAccountIdFromLower = (lowerAddress: ICrossAccountIdLower): ICrossAccountId => {14export const crossAccountIdFromLower = (lowerAddress: ICrossAccountIdLower): ICrossAccountId => {15 const address = {} as ICrossAccountId;15 const address = {} as ICrossAccountId;1858 return blockHash;1858 return blockHash;1859 }1859 }18601861 // TODO add docs1862 async getBlock(blockHashOrNumber: string | number): Promise<IBlock | null> {1863 const blockHash = typeof blockHashOrNumber === 'string' ? blockHashOrNumber : await this.getBlockHashByNumber(blockHashOrNumber);1864 if (!blockHash) return null;1865 return (await this.helper.callRpc('api.rpc.chain.getBlock', [blockHash])).toHuman().block;1866 }186018671861 /**1868 /**1862 * Get account nonce1869 * Get account nonce1891 return (await this.helper.callRpc('api.query.system.account', [address])).data.free.toBigInt();1898 return (await this.helper.callRpc('api.query.system.account', [address])).data.free.toBigInt();1892 }1899 }19001901 /**1902 * Get full substrate balance including free, miscFrozen, feeFrozen, and reserved1903 * @param address substrate address1904 * @returns 1905 */1906 async getSubstrateFull(address: TSubstrateAccount): Promise<ISubstrateBalance> {1907 const accountInfo = (await this.helper.callRpc('api.query.system.account', [address])).data;1908 return {free: accountInfo.free.toBigInt(), miscFrozen: accountInfo.miscFrozen.toBigInt(), feeFrozen: accountInfo.feeFrozen.toBigInt(), reserved: accountInfo.reserved.toBigInt()};1909 }189319101894 /**1911 /**1895 * Get ethereum address balance1912 * Get ethereum address balance1977 }1994 }1978}1995}197919961997class StakingGroup extends HelperGroup {1998 /**1999 * Stake tokens for App Promotion2000 * @param signer keyring of signer2001 * @param amountToStake amount of tokens to stake2002 * @param label extra label for log2003 * @returns2004 */2005 async stake(signer: TSigner, amountToStake: bigint, label?: string): Promise<boolean> {2006 if(typeof label === 'undefined') label = `${signer.address} amount: ${amountToStake}`;2007 const stakeResult = await this.helper.executeExtrinsic(2008 signer, 'api.tx.appPromotion.stake',2009 [amountToStake], true,2010 );2011 // TODO extract info from stakeResult2012 return true;2013 }20142015 /**2016 * Unstake tokens for App Promotion2017 * @param signer keyring of signer2018 * @param amountToUnstake amount of tokens to unstake2019 * @param label extra label for log2020 * @returns block number where balances will be unlocked2021 */2022 async unstake(signer: TSigner, label?: string): Promise<number> {2023 if(typeof label === 'undefined') label = `${signer.address}`;2024 const unstakeResult = await this.helper.executeExtrinsic(2025 signer, 'api.tx.appPromotion.unstake', 2026 [], true,2027 );2028 // TODO extract block number fron events2029 return 1;2030 }20312032 async getTotalStaked(address?: ICrossAccountId): Promise<bigint> {2033 if (address) return (await this.helper.callRpc('api.rpc.appPromotion.totalStaked', [address])).toBigInt();2034 return (await this.helper.callRpc('api.rpc.appPromotion.totalStaked')).toBigInt();2035 }20362037 async getTotalStakedPerBlock(address: ICrossAccountId): Promise<bigint[][]> {2038 return (await this.helper.callRpc('api.rpc.appPromotion.totalStakedPerBlock', [address])).map(([block, amount]: any[]) => [block.toBigInt(), amount.toBigInt()]);2039 }20402041 async getPendingUnstake(address: ICrossAccountId): Promise<bigint> {2042 return (await this.helper.callRpc('api.rpc.appPromotion.pendingUnstake', [address])).toBigInt();2043 }2044 2045 async getPendingUnstakePerBlock(address: ICrossAccountId): Promise<bigint[][]> {2046 return (await this.helper.callRpc('api.rpc.appPromotion.pendingUnstakePerBlock', [address])).map(([block, amount]: any[]) => [block.toBigInt(), amount.toBigInt()]);2047 }2048}198020491981export class UniqueHelper extends ChainHelperBase {2050export class UniqueHelper extends ChainHelperBase {1982 chain: ChainGroup;2051 chain: ChainGroup;1986 nft: NFTGroup;2055 nft: NFTGroup;1987 rft: RFTGroup;2056 rft: RFTGroup;1988 ft: FTGroup;2057 ft: FTGroup;2058 staking: StakingGroup;198920591990 constructor(logger?: ILogger) {2060 constructor(logger?: ILogger) {1991 super(logger);2061 super(logger);1996 this.nft = new NFTGroup(this);2066 this.nft = new NFTGroup(this);1997 this.rft = new RFTGroup(this);2067 this.rft = new RFTGroup(this);1998 this.ft = new FTGroup(this);2068 this.ft = new FTGroup(this);2069 this.staking = new StakingGroup(this);1999 } 2070 } 2000}2071}20012072