difftreelog
extensions yaml -> yml
in: master
36 files changed
.docker/Dockerfile-parachaindiffbeforeafterboth--- a/.docker/Dockerfile-parachain
+++ b/.docker/Dockerfile-parachain
@@ -41,7 +41,6 @@
RUN git clone $REPO_URL -b $BRANCH && \
cargo build --features=$FEATURE --$PROFILE
-
# ===== BUILD POLKADOT =====
FROM rust-builder as builder-polkadot
.docker/docker-compose-master.yamldiffbeforeafterboth--- a/.docker/docker-compose-master.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-version: "3.5"
-
-services:
- blockchain_nodes:
- build:
- context: ../
- dockerfile: .docker/Dockerfile-parachain
- image: blockchain_nodes
- container_name: blockchain_nodes
- expose:
- - 9944
- - 9933
- ports:
- - 127.0.0.1:9944:9944
- - 127.0.0.1:9933:9933
- logging:
- options:
- max-size: "1m"
- max-file: "3"
.docker/docker-compose-master.ymldiffbeforeafterboth--- /dev/null
+++ b/.docker/docker-compose-master.yml
@@ -0,0 +1,19 @@
+version: "3.5"
+
+services:
+ blockchain_nodes:
+ build:
+ context: ../
+ dockerfile: .docker/Dockerfile-parachain
+ image: blockchain_nodes
+ container_name: blockchain_nodes
+ expose:
+ - 9944
+ - 9933
+ ports:
+ - 127.0.0.1:9944:9944
+ - 127.0.0.1:9933:9933
+ logging:
+ options:
+ max-size: "1m"
+ max-file: "3"
.docker/forking/docker-compose-fork.yamldiffbeforeafterboth--- a/.docker/forking/docker-compose-fork.yaml
+++ b/.docker/forking/docker-compose-fork.yaml
@@ -3,8 +3,8 @@
services:
parachain-fork:
build:
- context: ../
- dockerfile: .docker/forking/Dockerfile-parachain-live-fork
+ context: ./
+ dockerfile: ./Dockerfile-parachain-live-fork
image: parachain-fork
container_name: parachain-fork
volumes:
.docker/forking/docker-compose.tmp-fork.j2diffbeforeafterboth--- a/.docker/forking/docker-compose.tmp-fork.j2
+++ b/.docker/forking/docker-compose.tmp-fork.j2
@@ -10,6 +10,4 @@
- "FEATURE={{ FEATURE }}"
- "RUNTIME={{ RUNTIME }}"
- "POLKADOT_BUILD_BRANCH={{ POLKADOT_BUILD_BRANCH }}"
- - "MAINNET_TAG={{ MAINNET_TAG }}"
- - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
- "FORK_FROM={{ FORK_FROM }}"
.github/workflows/build-test-master.ymldiffbeforeafterboth--- a/.github/workflows/build-test-master.yml
+++ b/.github/workflows/build-test-master.yml
@@ -22,7 +22,7 @@
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
- build:
+ master-build-and-test:
# The type of runner that the job will run on
runs-on: self-hosted-ci
@@ -35,11 +35,11 @@
matrix:
include:
- network: "Opal"
- features: " "
+ features: "opal-runtime"
- network: "Quartz"
- features: "--features=quartz-runtime"
+ features: "quartz-runtime"
- network: "Unique"
- features: "--features=unique-runtime"
+ features: "unique-runtime"
steps:
- name: Skip if pull request is in Draft
.github/workflows/fork-update-withdata.ymldiffbeforeafterboth--- a/.github/workflows/fork-update-withdata.yml
+++ b/.github/workflows/fork-update-withdata.yml
@@ -22,39 +22,7 @@
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
- prepare-execution-marix-fork:
-
- name: Prepare execution matrix for fork
-
- runs-on: self-hosted-ci
- outputs:
- matrix: ${{ steps.create_matrix.outputs.matrix }}
- steps:
-
- - name: Clean Workspace
- uses: AutoModality/action-clean@v1.1.0
-
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- - uses: actions/checkout@v3
- with:
- ref: ${{ github.head_ref }} #Checking out head commit
-
- - name: Read .env file
- uses: xom9ikk/dotenv@v1.0.2
-
- - name: Create Execution matrix
- uses: fabiocaccamo/create-matrix-action@v2
- id: create_matrix
- with:
- matrix: |
- network {Opal}, runtime {opal}, features {opal-runtime}, mainnet_branch {${{ env.OPAL_MAINNET_TAG }}}, fork_from_address {'wss://eu-ws-opal.unique.network:443'}
- network {Quartz}, runtime {quartz}, features {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}, fork_from_address {'wss://eu-ws-quartz.unique.network:443'}
- network {Unique}, runtime {unique}, features {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}}, fork_from_address {'wss://eu-ws.unique.network:443'}
-
-
-
fork-update-withdata:
- needs: prepare-execution-marix-fork
# The type of runner that the job will run on
runs-on: self-hosted-ci
@@ -64,7 +32,19 @@
strategy:
matrix:
- include: ${{fromJson(needs.prepare-execution-marix-fork.outputs.matrix)}}
+ include:
+ - network: Opal
+ features: opal-runtime
+ runtime: opal
+ fork_from_address: wss://eu-ws-opal.unique.network:443
+ - network: Quartz
+ features: quartz-runtime
+ runtime: quartz
+ fork_from_address: wss://eu-ws-quartz.unique.network:443
+ - network: Unique
+ features: unique-runtime
+ runtime: unique
+ fork_from_address: wss://eu-ws.unique.network:443
steps:
- name: Skip if pull request is in Draft
@@ -106,8 +86,6 @@
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
- MAINNET_TAG=${{ matrix.mainnet_tag }}
- MAINNET_BRANCH=${{ matrix.mainnet_branch }}
FEATURE=${{ matrix.features }}
RUNTIME=${{ matrix.runtime }}
BRANCH=${{ github.head_ref }}
.github/workflows/try-runtime.ymldiffbeforeafterboth--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -91,7 +91,7 @@
- name: Build the stack
- run: docker-compose -f ".docker/docker-compose-try-runtime.yaml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 300
+ run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 300
- name: Collect Docker Logs
@@ -114,4 +114,4 @@
- name: Stop running containers
if: always() # run this step always
- run: docker-compose -f ".docker/forking/docker-compose-try-runtime.yaml" -f ".docker/forking/docker-compose.try-runtime.${{ matrix.network }}.yml" down
+ run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" down
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5309,6 +5309,7 @@
"pallet-balances",
"pallet-base-fee",
"pallet-common",
+ "pallet-configuration",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
@@ -5744,6 +5745,22 @@
]
[[package]]
+name = "pallet-configuration"
+version = "0.1.0"
+dependencies = [
+ "fp-evm",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec 3.1.5",
+ "scale-info",
+ "smallvec",
+ "sp-arithmetic",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2"
@@ -8625,6 +8642,7 @@
"pallet-balances",
"pallet-base-fee",
"pallet-common",
+ "pallet-configuration",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
@@ -12630,6 +12648,7 @@
"pallet-balances",
"pallet-base-fee",
"pallet-common",
+ "pallet-configuration",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
pallets/configuration/Cargo.tomldiffbeforeafterboth--- /dev/null
+++ b/pallets/configuration/Cargo.toml
@@ -0,0 +1,33 @@
+[package]
+name = "pallet-configuration"
+version = "0.1.0"
+edition = "2021"
+
+[dependencies]
+parity-scale-codec = { version = "3.1.5", features = [
+ "derive",
+], default-features = false }
+scale-info = { version = "2.0.1", default-features = false, features = [
+ "derive",
+] }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
+sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" }
+smallvec = "1.6.1"
+
+[features]
+default = ["std"]
+std = [
+ "parity-scale-codec/std",
+ "frame-support/std",
+ "frame-system/std",
+ "sp-runtime/std",
+ "sp-std/std",
+ "sp-core/std",
+ "sp-arithmetic/std",
+ "fp-evm/std",
+]
pallets/configuration/src/lib.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/configuration/src/lib.rs
@@ -0,0 +1,124 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+#![cfg_attr(not(feature = "std"), no_std)]
+
+use core::marker::PhantomData;
+
+use frame_support::{
+ pallet,
+ weights::{WeightToFeePolynomial, WeightToFeeCoefficients, WeightToFeeCoefficient},
+ traits::Get,
+};
+use sp_arithmetic::traits::{BaseArithmetic, Unsigned};
+use smallvec::smallvec;
+
+pub use pallet::*;
+use sp_core::U256;
+use sp_runtime::Perbill;
+
+#[pallet]
+mod pallet {
+ use super::*;
+ use frame_support::{
+ traits::Get,
+ pallet_prelude::{StorageValue, ValueQuery, DispatchResult},
+ };
+ use frame_system::{pallet_prelude::OriginFor, ensure_root};
+
+ #[pallet::config]
+ pub trait Config: frame_system::Config {
+ #[pallet::constant]
+ type DefaultWeightToFeeCoefficient: Get<u32>;
+ #[pallet::constant]
+ type DefaultMinGasPrice: Get<u64>;
+ }
+
+ #[pallet::storage]
+ pub type WeightToFeeCoefficientOverride<T: Config> = StorageValue<
+ Value = u32,
+ QueryKind = ValueQuery,
+ OnEmpty = T::DefaultWeightToFeeCoefficient,
+ >;
+
+ #[pallet::storage]
+ pub type MinGasPriceOverride<T: Config> =
+ StorageValue<Value = u64, QueryKind = ValueQuery, OnEmpty = T::DefaultMinGasPrice>;
+
+ #[pallet::call]
+ impl<T: Config> Pallet<T> {
+ #[pallet::weight(T::DbWeight::get().writes(1))]
+ pub fn set_weight_to_fee_coefficient_override(
+ origin: OriginFor<T>,
+ coeff: Option<u32>,
+ ) -> DispatchResult {
+ let _sender = ensure_root(origin)?;
+ if let Some(coeff) = coeff {
+ <WeightToFeeCoefficientOverride<T>>::set(coeff);
+ } else {
+ <WeightToFeeCoefficientOverride<T>>::kill();
+ }
+ Ok(())
+ }
+
+ #[pallet::weight(T::DbWeight::get().writes(1))]
+ pub fn set_min_gas_price_override(
+ origin: OriginFor<T>,
+ coeff: Option<u64>,
+ ) -> DispatchResult {
+ let _sender = ensure_root(origin)?;
+ if let Some(coeff) = coeff {
+ <MinGasPriceOverride<T>>::set(coeff);
+ } else {
+ <MinGasPriceOverride<T>>::kill();
+ }
+ Ok(())
+ }
+ }
+
+ #[pallet::pallet]
+ #[pallet::generate_store(pub(super) trait Store)]
+ pub struct Pallet<T>(_);
+}
+
+pub struct WeightToFee<T, B>(PhantomData<(T, B)>);
+
+impl<T, B> WeightToFeePolynomial for WeightToFee<T, B>
+where
+ T: Config,
+ B: BaseArithmetic + From<u32> + Copy + Unsigned,
+{
+ type Balance = B;
+
+ fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
+ smallvec!(WeightToFeeCoefficient {
+ coeff_integer: <WeightToFeeCoefficientOverride<T>>::get().into(),
+ coeff_frac: Perbill::zero(),
+ negative: false,
+ degree: 1,
+ })
+ }
+}
+
+pub struct FeeCalculator<T>(PhantomData<T>);
+impl<T: Config> fp_evm::FeeCalculator for FeeCalculator<T> {
+ fn min_gas_price() -> (U256, u64) {
+ (
+ <MinGasPriceOverride<T>>::get().into(),
+ T::DbWeight::get().reads(1),
+ )
+ }
+}
pallets/refungible/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/refungible/src/benchmarking.rs
+++ b/pallets/refungible/src/benchmarking.rs
@@ -35,8 +35,8 @@
fn create_max_item_data<CrossAccountId: Ord>(
users: impl IntoIterator<Item = (CrossAccountId, u128)>,
-) -> CreateRefungibleExData<CrossAccountId> {
- CreateRefungibleExData {
+) -> CreateItemData<CrossAccountId> {
+ CreateItemData {
users: users
.into_iter()
.collect::<BTreeMap<_, _>>()
@@ -51,7 +51,7 @@
sender: &T::CrossAccountId,
users: impl IntoIterator<Item = (T::CrossAccountId, u128)>,
) -> Result<TokenId, DispatchError> {
- let data: CreateRefungibleExData<T::CrossAccountId> = create_max_item_data(users);
+ let data: CreateItemData<T::CrossAccountId> = create_max_item_data(users);
<Pallet<T>>::create_item(&collection, sender, data, &Unlimited)?;
Ok(TokenId(<TokensMinted<T>>::get(&collection.id)))
}
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -36,10 +36,10 @@
pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
// Targeting 0.1 UNQ per transfer
-pub const WEIGHT_TO_FEE_COEFF: u32 = 207_890_902;
+pub const WEIGHT_TO_FEE_COEFF: u32 = /*<weight2fee>*/207_267_232/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = 1_019_493_469_850;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_019_488_372_383/*</mingasprice>*/;
/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
/// This is used to limit the maximal weight of a single extrinsic.
runtime/common/config/ethereum.rsdiffbeforeafterboth--- a/runtime/common/config/ethereum.rs
+++ b/runtime/common/config/ethereum.rs
@@ -50,13 +50,6 @@
}
}
-pub struct FixedFee;
-impl pallet_evm::FeeCalculator for FixedFee {
- fn min_gas_price() -> (U256, u64) {
- (MIN_GAS_PRICE.into(), 0)
- }
-}
-
pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);
impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {
fn find_author<'a, I>(digests: I) -> Option<H160>
@@ -73,7 +66,7 @@
impl pallet_evm::Config for Runtime {
type BlockGasLimit = BlockGasLimit;
- type FeeCalculator = FixedFee;
+ type FeeCalculator = pallet_configuration::FeeCalculator<Self>;
type GasWeightMapping = FixedGasWeightMapping;
type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;
type CallOrigin = EnsureAddressTruncated<Self>;
runtime/common/config/pallets/mod.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -25,6 +25,7 @@
},
Runtime, Event, Call, Balances,
};
+use frame_support::traits::{ConstU32, ConstU64};
use up_common::{
types::{AccountId, Balance, BlockNumber},
constants::*,
@@ -91,3 +92,8 @@
type CommonWeightInfo = CommonWeights<Self>;
type RefungibleExtensionsWeightInfo = CommonWeights<Self>;
}
+
+impl pallet_configuration::Config for Runtime {
+ type DefaultWeightToFeeCoefficient = ConstU32<{ up_common::constants::WEIGHT_TO_FEE_COEFF }>;
+ type DefaultMinGasPrice = ConstU64<{ up_common::constants::MIN_GAS_PRICE }>;
+}
runtime/common/config/substrate.rsdiffbeforeafterboth--- a/runtime/common/config/substrate.rs
+++ b/runtime/common/config/substrate.rs
@@ -18,8 +18,7 @@
traits::{Everything, ConstU32},
weights::{
constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight},
- DispatchClass, WeightToFeePolynomial, WeightToFeeCoefficients, ConstantMultiplier,
- WeightToFeeCoefficient,
+ DispatchClass, ConstantMultiplier,
},
parameter_types, PalletId,
};
@@ -32,8 +31,6 @@
limits::{BlockLength, BlockWeights},
EnsureRoot,
};
-use sp_arithmetic::traits::{BaseArithmetic, Unsigned};
-use smallvec::smallvec;
use crate::{
runtime_common::DealWithFees, Runtime, Event, Call, Origin, PalletInfo, System, Balances,
Treasury, SS58Prefix, Version,
@@ -154,32 +151,13 @@
/// This value increases the priority of `Operational` transactions by adding
/// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.
pub const OperationalFeeMultiplier: u8 = 5;
-}
-
-/// Linear implementor of `WeightToFeePolynomial`
-pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);
-
-impl<T> WeightToFeePolynomial for LinearFee<T>
-where
- T: BaseArithmetic + From<u32> + Copy + Unsigned,
-{
- type Balance = T;
-
- fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
- smallvec!(WeightToFeeCoefficient {
- coeff_integer: WEIGHT_TO_FEE_COEFF.into(),
- coeff_frac: Perbill::zero(),
- negative: false,
- degree: 1,
- })
- }
}
impl pallet_transaction_payment::Config for Runtime {
type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
type OperationalFeeMultiplier = OperationalFeeMultiplier;
- type WeightToFee = LinearFee<Balance>;
+ type WeightToFee = pallet_configuration::WeightToFee<Self, Balance>;
type FeeMultiplierUpdate = ();
}
runtime/common/config/xcm.rsdiffbeforeafterboth--- a/runtime/common/config/xcm.rs
+++ b/runtime/common/config/xcm.rs
@@ -44,8 +44,7 @@
use xcm_executor::{Config, XcmExecutor, Assets};
use sp_std::marker::PhantomData;
use crate::{
- runtime_common::config::substrate::LinearFee, Runtime, Call, Event, Origin, Balances,
- ParachainInfo, ParachainSystem, PolkadotXcm, XcmpQueue,
+ Runtime, Call, Event, Origin, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, XcmpQueue,
};
use up_common::{
types::{AccountId, Balance},
@@ -234,8 +233,11 @@
}
}
-pub struct XcmConfig;
-impl Config for XcmConfig {
+pub struct XcmConfig<T>(PhantomData<T>);
+impl<T> Config for XcmConfig<T>
+where
+ T: pallet_configuration::Config,
+{
type Call = Call;
type XcmSender = XcmRouter;
// How to withdraw and deposit an asset.
@@ -246,8 +248,13 @@
type LocationInverter = LocationInverter<Ancestry>;
type Barrier = Barrier;
type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;
- type Trader =
- UsingOnlySelfCurrencyComponents<LinearFee<Balance>, RelayLocation, AccountId, Balances, ()>;
+ type Trader = UsingOnlySelfCurrencyComponents<
+ pallet_configuration::WeightToFee<T, Balance>,
+ RelayLocation,
+ AccountId,
+ Balances,
+ (),
+ >;
type ResponseHandler = (); // Don't handle responses for now.
type SubscriptionService = PolkadotXcm;
@@ -261,7 +268,7 @@
type XcmRouter = XcmRouter;
type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;
type XcmExecuteFilter = Everything;
- type XcmExecutor = XcmExecutor<XcmConfig>;
+ type XcmExecutor = XcmExecutor<XcmConfig<Self>>;
type XcmTeleportFilter = Everything;
type XcmReserveTransferFilter = Everything;
type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;
@@ -274,13 +281,13 @@
impl cumulus_pallet_xcm::Config for Runtime {
type Event = Event;
- type XcmExecutor = XcmExecutor<XcmConfig>;
+ type XcmExecutor = XcmExecutor<XcmConfig<Self>>;
}
impl cumulus_pallet_xcmp_queue::Config for Runtime {
type WeightInfo = ();
type Event = Event;
- type XcmExecutor = XcmExecutor<XcmConfig>;
+ type XcmExecutor = XcmExecutor<XcmConfig<Self>>;
type ChannelInfo = ParachainSystem;
type VersionWrapper = ();
type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;
@@ -290,6 +297,6 @@
impl cumulus_pallet_dmp_queue::Config for Runtime {
type Event = Event;
- type XcmExecutor = XcmExecutor<XcmConfig>;
+ type XcmExecutor = XcmExecutor<XcmConfig<Self>>;
type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;
}
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -57,7 +57,7 @@
#[runtimes(opal)]
Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
- // free = 63
+ Configuration: pallet_configuration::{Pallet, Call, Storage} = 63,
Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -639,14 +639,18 @@
list_benchmark!(list, extra, pallet_structure, Structure);
list_benchmark!(list, extra, pallet_inflation, Inflation);
list_benchmark!(list, extra, pallet_fungible, Fungible);
+ list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
+
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
list_benchmark!(list, extra, pallet_refungible, Refungible);
- list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
+
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);
- #[cfg(not(feature = "unique-runtime"))]
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);
- #[cfg(not(feature = "unique-runtime"))]
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);
// list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
@@ -690,14 +694,18 @@
add_benchmark!(params, batches, pallet_structure, Structure);
add_benchmark!(params, batches, pallet_inflation, Inflation);
add_benchmark!(params, batches, pallet_fungible, Fungible);
+ add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
+
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
add_benchmark!(params, batches, pallet_refungible, Refungible);
- add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
+
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);
- #[cfg(not(feature = "unique-runtime"))]
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);
- #[cfg(not(feature = "unique-runtime"))]
+ #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);
// add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -87,6 +87,7 @@
'parachain-info/std',
'serde',
'pallet-inflation/std',
+ 'pallet-configuration/std',
'pallet-common/std',
'pallet-structure/std',
'pallet-fungible/std',
@@ -414,6 +415,7 @@
fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
up-data-structs = { path = '../../primitives/data-structs', default-features = false }
+pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
pallet-common = { default-features = false, path = "../../pallets/common" }
pallet-structure = { default-features = false, path = "../../pallets/structure" }
pallet-fungible = { default-features = false, path = "../../pallets/fungible" }
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -87,6 +87,7 @@
'parachain-info/std',
'serde',
'pallet-inflation/std',
+ 'pallet-configuration/std',
'pallet-common/std',
'pallet-structure/std',
'pallet-fungible/std',
@@ -418,6 +419,7 @@
fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
up-data-structs = { path = '../../primitives/data-structs', default-features = false }
+pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
pallet-common = { default-features = false, path = "../../pallets/common" }
pallet-structure = { default-features = false, path = "../../pallets/structure" }
pallet-fungible = { default-features = false, path = "../../pallets/fungible" }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -88,6 +88,7 @@
'parachain-info/std',
'serde',
'pallet-inflation/std',
+ 'pallet-configuration/std',
'pallet-common/std',
'pallet-structure/std',
'pallet-fungible/std',
@@ -411,6 +412,7 @@
rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
up-data-structs = { path = '../../primitives/data-structs', default-features = false }
+pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
pallet-common = { default-features = false, path = "../../pallets/common" }
pallet-structure = { default-features = false, path = "../../pallets/structure" }
pallet-fungible = { default-features = false, path = "../../pallets/fungible" }
tests/.eslintrc.jsondiffbeforeafterboth--- a/tests/.eslintrc.json
+++ b/tests/.eslintrc.json
@@ -55,7 +55,13 @@
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
- "@typescript-eslint/no-unused-vars": "warn",
+ "@typescript-eslint/no-unused-vars": [
+ "warn",
+ {
+ "varsIgnorePattern": "_.+",
+ "argsIgnorePattern": "_.+"
+ }
+ ],
"no-async-promise-executor": "warn",
"@typescript-eslint/no-empty-interface": "off",
"prefer-const": [
tests/src/calibrate.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/calibrate.ts
@@ -0,0 +1,182 @@
+import {ApiPromise} from '@polkadot/api';
+import {IKeyringPair} from '@polkadot/types/types';
+import Web3 from 'web3';
+import {collectionIdToAddress, createEthAccount, createEthAccountWithBalance, GAS_ARGS, recordEthFee, usingWeb3} from './eth/util/helpers';
+import usingApi, {executeTransaction} from './substrate/substrate-api';
+import {createCollectionExpectSuccess, createItemExpectSuccess, transferExpectSuccess, UNIQUE, waitNewBlocks} from './util/helpers';
+import nonFungibleAbi from './eth/nonFungibleAbi.json';
+
+function linearRegression(points: { x: bigint, y: bigint }[]) {
+ let sumxy = 0n;
+ let sumx = 0n;
+ let sumy = 0n;
+ let sumx2 = 0n;
+ const n = points.length;
+ for (let i = 0; i < n; i++) {
+ const p = points[i];
+ sumxy += p.x * p.y;
+ sumx += p.x;
+ sumy += p.y;
+ sumx2 += p.x * p.x;
+ }
+
+ const nb = BigInt(n);
+
+ const a = (nb * sumxy - sumx * sumy) / (nb * sumx2 - sumx * sumx);
+ const b = (sumy - a * sumx) / nb;
+
+ return {a, b};
+}
+
+// JS has no builtin function to calculate sqrt of bigint
+// https://stackoverflow.com/a/53684036/6190169
+function sqrt(value: bigint) {
+ if (value < 0n) {
+ throw 'square root of negative numbers is not supported';
+ }
+
+ if (value < 2n) {
+ return value;
+ }
+
+ function newtonIteration(n: bigint, x0: bigint): bigint {
+ const x1 = ((n / x0) + x0) >> 1n;
+ if (x0 === x1 || x0 === (x1 - 1n)) {
+ return x0;
+ }
+ return newtonIteration(n, x1);
+ }
+
+ return newtonIteration(value, 1n);
+}
+
+function _error(points: { x: bigint, y: bigint }[], hypothesis: (a: bigint) => bigint) {
+ return sqrt(points.map(p => {
+ const v = hypothesis(p.x);
+ const vv = p.y;
+
+ return (v - vv) ** 2n;
+ }).reduce((a, b) => a + b, 0n) / BigInt(points.length));
+}
+
+async function calibrateWeightToFee(api: ApiPromise, privateKey: (account: string) => IKeyringPair) {
+ const alice = privateKey('//Alice');
+ const bob = privateKey('//Bob');
+ const dataPoints = [];
+
+ {
+ const collectionId = await createCollectionExpectSuccess();
+ const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT');
+ const aliceBalanceBefore = (await api.query.system.account(alice.address)).data.free.toBigInt();
+ await transferExpectSuccess(collectionId, tokenId, alice, bob, 1, 'NFT');
+ const aliceBalanceAfter = (await api.query.system.account(alice.address)).data.free.toBigInt();
+
+ console.log(`Original price: ${Number(aliceBalanceBefore - aliceBalanceAfter) / Number(UNIQUE)} UNQ`);
+ }
+
+ const defaultCoeff = (api.consts.configuration.defaultWeightToFeeCoefficient as any).toBigInt();
+ for (let i = -5; i < 5; i++) {
+ await executeTransaction(api, alice, api.tx.sudo.sudo(api.tx.configuration.setWeightToFeeCoefficientOverride(defaultCoeff + defaultCoeff / 1000n * BigInt(i))));
+
+ const coefficient = (await api.query.configuration.weightToFeeCoefficientOverride() as any).toBigInt();
+ const collectionId = await createCollectionExpectSuccess();
+ const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT');
+
+ const aliceBalanceBefore = (await api.query.system.account(alice.address)).data.free.toBigInt();
+ await transferExpectSuccess(collectionId, tokenId, alice, bob, 1, 'NFT');
+ const aliceBalanceAfter = (await api.query.system.account(alice.address)).data.free.toBigInt();
+
+ const transferPrice = aliceBalanceBefore - aliceBalanceAfter;
+
+ dataPoints.push({x: transferPrice, y: coefficient});
+ }
+ const {a, b} = linearRegression(dataPoints);
+
+ // console.log(`Error: ${error(dataPoints, x => a*x+b)}`);
+
+ const perfectValue = a * UNIQUE / 10n + b;
+ await executeTransaction(api, alice, api.tx.sudo.sudo(api.tx.configuration.setWeightToFeeCoefficientOverride(perfectValue.toString())));
+
+ {
+ const collectionId = await createCollectionExpectSuccess();
+ const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT');
+ const aliceBalanceBefore = (await api.query.system.account(alice.address)).data.free.toBigInt();
+ await transferExpectSuccess(collectionId, tokenId, alice, bob, 1, 'NFT');
+ const aliceBalanceAfter = (await api.query.system.account(alice.address)).data.free.toBigInt();
+
+ console.log(`Calibrated price: ${Number(aliceBalanceBefore - aliceBalanceAfter) / Number(UNIQUE)} UNQ`);
+ }
+}
+
+async function calibrateMinGasPrice(api: ApiPromise, web3: Web3, privateKey: (account: string) => IKeyringPair) {
+ const alice = privateKey('//Alice');
+ const caller = await createEthAccountWithBalance(api, web3, privateKey);
+ const receiver = createEthAccount(web3);
+ const dataPoints = [];
+
+ {
+ const collectionId = await createCollectionExpectSuccess();
+ const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', {Ethereum: caller});
+
+ const address = collectionIdToAddress(collectionId);
+ const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: caller, ...GAS_ARGS});
+
+ const cost = await recordEthFee(api, caller, () => contract.methods.transfer(receiver, tokenId).send(caller));
+
+ console.log(`Original price: ${Number(cost) / Number(UNIQUE)} UNQ`);
+ }
+
+ const defaultCoeff = (api.consts.configuration.defaultMinGasPrice as any).toBigInt();
+ for (let i = -8; i < 8; i++) {
+ const gasPrice = defaultCoeff + defaultCoeff / 100000n * BigInt(i);
+ const gasPriceStr = '0x' + gasPrice.toString(16);
+ await executeTransaction(api, alice, api.tx.sudo.sudo(api.tx.configuration.setMinGasPriceOverride(gasPrice)));
+
+ const coefficient = (await api.query.configuration.minGasPriceOverride() as any).toBigInt();
+ const collectionId = await createCollectionExpectSuccess();
+ const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', {Ethereum: caller});
+
+ const address = collectionIdToAddress(collectionId);
+ const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: caller, gasPrice: gasPriceStr, ...GAS_ARGS});
+
+ const transferPrice = await recordEthFee(api, caller, () => contract.methods.transfer(receiver, tokenId).send(caller));
+
+ dataPoints.push({x: transferPrice, y: coefficient});
+ }
+
+ const {a, b} = linearRegression(dataPoints);
+
+ // console.log(`Error: ${error(dataPoints, x => a*x+b)}`);
+
+ // * 0.15 = * 10000 / 66666
+ const perfectValue = a * UNIQUE * 1000000n / 6666666n + b;
+ await executeTransaction(api, alice, api.tx.sudo.sudo(api.tx.configuration.setMinGasPriceOverride(perfectValue.toString())));
+
+ {
+ const collectionId = await createCollectionExpectSuccess();
+ const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT', {Ethereum: caller});
+
+ const address = collectionIdToAddress(collectionId);
+ const contract = new web3.eth.Contract(nonFungibleAbi as any, address, {from: caller, ...GAS_ARGS});
+
+ const cost = await recordEthFee(api, caller, () => contract.methods.transfer(receiver, tokenId).send(caller));
+
+ console.log(`Calibrated price: ${Number(cost) / Number(UNIQUE)} UNQ`);
+ }
+}
+
+(async () => {
+ await usingApi(async (api, privateKey) => {
+ // Second run slightly reduces error sometimes, as price line is not actually straight, this is a curve
+
+ await calibrateWeightToFee(api, privateKey);
+ await calibrateWeightToFee(api, privateKey);
+
+ await usingWeb3(async web3 => {
+ await calibrateMinGasPrice(api, web3, privateKey);
+ await calibrateMinGasPrice(api, web3, privateKey);
+ });
+
+ await api.disconnect();
+ });
+})();
tests/src/calibrateApply.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/calibrateApply.ts
@@ -0,0 +1,38 @@
+import {readFile, writeFile} from 'fs/promises';
+import path from 'path';
+import usingApi from './substrate/substrate-api';
+
+const formatNumber = (num: string): string => num.split('').reverse().join('').replace(/([0-9]{3})/g, '$1_').split('').reverse().join('').replace(/^_/, '');
+
+(async () => {
+ let weightToFeeCoefficientOverride: string;
+ let minGasPriceOverride: string;
+ await usingApi(async (api, _privateKey) => {
+ weightToFeeCoefficientOverride = (await api.query.configuration.weightToFeeCoefficientOverride() as any).toBigInt().toString();
+ minGasPriceOverride = (await api.query.configuration.minGasPriceOverride() as any).toBigInt().toString();
+ });
+ const constantsFile = path.resolve(__dirname, '../../primitives/common/src/constants.rs');
+ let constants = (await readFile(constantsFile)).toString();
+
+ let weight2feeFound = false;
+ constants = constants.replace(/(\/\*<weight2fee>\*\/)[0-9_]+(\/\*<\/weight2fee>\*\/)/, (_f, p, s) => {
+ weight2feeFound = true;
+ return p+formatNumber(weightToFeeCoefficientOverride)+s;
+ });
+ if (!weight2feeFound) {
+ throw new Error('failed to find weight2fee marker in source code');
+ }
+
+ let minGasPriceFound = false;
+ constants = constants.replace(/(\/\*<mingasprice>\*\/)[0-9_]+(\/\*<\/mingasprice>\*\/)/, (_f, p, s) => {
+ minGasPriceFound = true;
+ return p+formatNumber(minGasPriceOverride)+s;
+ });
+ if (!minGasPriceFound) {
+ throw new Error('failed to find mingasprice marker in source code');
+ }
+
+ await writeFile(constantsFile, constants);
+})().catch(e => {
+ console.log(e.stack);
+});
tests/src/eth/base.test.tsdiffbeforeafterboth--- a/tests/src/eth/base.test.ts
+++ b/tests/src/eth/base.test.ts
@@ -15,14 +15,14 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
import {
- collectionIdToAddress,
- createEthAccount,
- createEthAccountWithBalance,
- deployFlipper,
- ethBalanceViaSub,
- GAS_ARGS,
- itWeb3,
- recordEthFee,
+ collectionIdToAddress,
+ createEthAccount,
+ createEthAccountWithBalance,
+ deployFlipper,
+ ethBalanceViaSub,
+ GAS_ARGS,
+ itWeb3,
+ recordEthFee,
usingWeb3,
} from './util/helpers';
import {expect} from 'chai';
@@ -66,7 +66,7 @@
const fee = Number(cost) / Number(UNIQUE);
const expectedFee = 0.15;
- const tolerance = 0.00002;
+ const tolerance = 0.001;
expect(Math.abs(fee - expectedFee)).to.be.lessThan(tolerance);
});
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -42,6 +42,14 @@
**/
[key: string]: Codec;
};
+ configuration: {
+ defaultMinGasPrice: u64 & AugmentedConst<ApiType>;
+ defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;
+ /**
+ * Generic const
+ **/
+ [key: string]: Codec;
+ };
inflation: {
/**
* Number of blocks that pass between treasury balance updates due to inflation
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -173,7 +173,7 @@
**/
TransferNotAllowed: AugmentedError<ApiType>;
/**
- * Target collection doesn't support this operation
+ * The operation is not supported
**/
UnsupportedOperation: AugmentedError<ApiType>;
/**
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -110,6 +110,14 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ configuration: {
+ minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
+ weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
dmpQueue: {
/**
* The configuration.
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -104,6 +104,14 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ configuration: {
+ setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
+ setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
cumulusXcm: {
/**
* Generic tx
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, 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, 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';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, 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, 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';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -763,6 +763,7 @@
PalletCallMetadataV14: PalletCallMetadataV14;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
+ PalletConfigurationCall: PalletConfigurationCall;
PalletConstantMetadataLatest: PalletConstantMetadataLatest;
PalletConstantMetadataV14: PalletConstantMetadataV14;
PalletErrorMetadataLatest: PalletErrorMetadataLatest;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -994,6 +994,19 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
}
+/** @name PalletConfigurationCall */
+export interface PalletConfigurationCall extends Enum {
+ readonly isSetWeightToFeeCoefficientOverride: boolean;
+ readonly asSetWeightToFeeCoefficientOverride: {
+ readonly coeff: Option<u32>;
+ } & Struct;
+ readonly isSetMinGasPriceOverride: boolean;
+ readonly asSetMinGasPriceOverride: {
+ readonly coeff: Option<u64>;
+ } & Struct;
+ readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';
+}
+
/** @name PalletEthereumCall */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1571,15 +1571,28 @@
}
},
/**
- * Lookup207: pallet_template_transaction_payment::Call<T>
+ * Lookup207: pallet_configuration::pallet::Call<T>
**/
+ PalletConfigurationCall: {
+ _enum: {
+ set_weight_to_fee_coefficient_override: {
+ coeff: 'Option<u32>',
+ },
+ set_min_gas_price_override: {
+ coeff: 'Option<u64>'
+ }
+ }
+ },
+ /**
+ * Lookup209: pallet_template_transaction_payment::Call<T>
+ **/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup208: pallet_structure::pallet::Call<T>
+ * Lookup210: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup209: pallet_rmrk_core::pallet::Call<T>
+ * Lookup211: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -1670,7 +1683,7 @@
}
},
/**
- * Lookup215: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup217: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -1680,7 +1693,7 @@
}
},
/**
- * Lookup217: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup219: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -1689,7 +1702,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup219: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup221: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -1700,7 +1713,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup220: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup222: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -1711,7 +1724,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup222: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
+ * Lookup224: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
RmrkTraitsNftAccountIdOrCollectionNftTuple: {
_enum: {
@@ -1720,7 +1733,7 @@
}
},
/**
- * Lookup226: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup228: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -1741,7 +1754,7 @@
}
},
/**
- * Lookup229: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup231: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -1750,7 +1763,7 @@
}
},
/**
- * Lookup231: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup233: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -1758,7 +1771,7 @@
src: 'Bytes'
},
/**
- * Lookup232: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup234: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -1767,7 +1780,7 @@
z: 'u32'
},
/**
- * Lookup233: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup235: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -1777,7 +1790,7 @@
}
},
/**
- * Lookup235: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>, S>>
+ * Lookup237: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>, S>>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -1785,14 +1798,14 @@
inherit: 'bool'
},
/**
- * Lookup237: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup239: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup239: pallet_evm::pallet::Call<T>
+ * Lookup241: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -1835,7 +1848,7 @@
}
},
/**
- * Lookup245: pallet_ethereum::pallet::Call<T>
+ * Lookup247: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1845,7 +1858,7 @@
}
},
/**
- * Lookup246: ethereum::transaction::TransactionV2
+ * Lookup248: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1855,7 +1868,7 @@
}
},
/**
- * Lookup247: ethereum::transaction::LegacyTransaction
+ * Lookup249: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1867,7 +1880,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup248: ethereum::transaction::TransactionAction
+ * Lookup250: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1876,7 +1889,7 @@
}
},
/**
- * Lookup249: ethereum::transaction::TransactionSignature
+ * Lookup251: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1884,7 +1897,7 @@
s: 'H256'
},
/**
- * Lookup251: ethereum::transaction::EIP2930Transaction
+ * Lookup253: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1900,14 +1913,14 @@
s: 'H256'
},
/**
- * Lookup253: ethereum::transaction::AccessListItem
+ * Lookup255: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup254: ethereum::transaction::EIP1559Transaction
+ * Lookup256: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1924,7 +1937,7 @@
s: 'H256'
},
/**
- * Lookup255: pallet_evm_migration::pallet::Call<T>
+ * Lookup257: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1942,7 +1955,7 @@
}
},
/**
- * Lookup258: pallet_sudo::pallet::Event<T>
+ * Lookup260: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1958,7 +1971,7 @@
}
},
/**
- * Lookup260: sp_runtime::DispatchError
+ * Lookup262: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
@@ -1975,38 +1988,38 @@
}
},
/**
- * Lookup261: sp_runtime::ModuleError
+ * Lookup263: sp_runtime::ModuleError
**/
SpRuntimeModuleError: {
index: 'u8',
error: '[u8;4]'
},
/**
- * Lookup262: sp_runtime::TokenError
+ * Lookup264: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup263: sp_runtime::ArithmeticError
+ * Lookup265: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup264: sp_runtime::TransactionalError
+ * Lookup266: sp_runtime::TransactionalError
**/
SpRuntimeTransactionalError: {
_enum: ['LimitReached', 'NoLayer']
},
/**
- * Lookup265: pallet_sudo::pallet::Error<T>
+ * Lookup267: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup266: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup268: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -2016,7 +2029,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup267: frame_support::weights::PerDispatchClass<T>
+ * Lookup269: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -2024,13 +2037,13 @@
mandatory: 'u64'
},
/**
- * Lookup268: sp_runtime::generic::digest::Digest
+ * Lookup270: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup270: sp_runtime::generic::digest::DigestItem
+ * Lookup272: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -2046,7 +2059,7 @@
}
},
/**
- * Lookup272: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
+ * Lookup274: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -2054,7 +2067,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup274: frame_system::pallet::Event<T>
+ * Lookup276: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -2082,7 +2095,7 @@
}
},
/**
- * Lookup275: frame_support::weights::DispatchInfo
+ * Lookup277: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -2090,19 +2103,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup276: frame_support::weights::DispatchClass
+ * Lookup278: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup277: frame_support::weights::Pays
+ * Lookup279: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup278: orml_vesting::module::Event<T>
+ * Lookup280: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -2121,7 +2134,7 @@
}
},
/**
- * Lookup279: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup281: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -2136,7 +2149,7 @@
}
},
/**
- * Lookup280: pallet_xcm::pallet::Event<T>
+ * Lookup282: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -2159,7 +2172,7 @@
}
},
/**
- * Lookup281: xcm::v2::traits::Outcome
+ * Lookup283: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -2169,7 +2182,7 @@
}
},
/**
- * Lookup283: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup285: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -2179,7 +2192,7 @@
}
},
/**
- * Lookup284: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup286: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -2210,7 +2223,7 @@
}
},
/**
- * Lookup285: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup287: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -2227,7 +2240,7 @@
}
},
/**
- * Lookup286: pallet_unique_scheduler::pallet::Event<T>
+ * Lookup288: pallet_unique_scheduler::pallet::Event<T>
**/
PalletUniqueSchedulerEvent: {
_enum: {
@@ -2252,13 +2265,13 @@
}
},
/**
- * Lookup288: frame_support::traits::schedule::LookupError
+ * Lookup290: frame_support::traits::schedule::LookupError
**/
FrameSupportScheduleLookupError: {
_enum: ['Unknown', 'BadFormat']
},
/**
- * Lookup289: pallet_common::pallet::Event<T>
+ * Lookup291: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -2276,7 +2289,7 @@
}
},
/**
- * Lookup290: pallet_structure::pallet::Event<T>
+ * Lookup292: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -2284,7 +2297,7 @@
}
},
/**
- * Lookup291: pallet_rmrk_core::pallet::Event<T>
+ * Lookup293: pallet_rmrk_core::pallet::Event<T>
**/
PalletRmrkCoreEvent: {
_enum: {
@@ -2361,7 +2374,7 @@
}
},
/**
- * Lookup292: pallet_rmrk_equip::pallet::Event<T>
+ * Lookup294: pallet_rmrk_equip::pallet::Event<T>
**/
PalletRmrkEquipEvent: {
_enum: {
@@ -2376,7 +2389,7 @@
}
},
/**
- * Lookup293: pallet_evm::pallet::Event<T>
+ * Lookup295: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -2390,7 +2403,7 @@
}
},
/**
- * Lookup294: ethereum::log::Log
+ * Lookup296: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -2398,7 +2411,7 @@
data: 'Bytes'
},
/**
- * Lookup295: pallet_ethereum::pallet::Event
+ * Lookup297: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -2406,7 +2419,7 @@
}
},
/**
- * Lookup296: evm_core::error::ExitReason
+ * Lookup298: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -2417,13 +2430,13 @@
}
},
/**
- * Lookup297: evm_core::error::ExitSucceed
+ * Lookup299: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup298: evm_core::error::ExitError
+ * Lookup300: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -2445,13 +2458,13 @@
}
},
/**
- * Lookup301: evm_core::error::ExitRevert
+ * Lookup303: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup302: evm_core::error::ExitFatal
+ * Lookup304: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -2462,7 +2475,7 @@
}
},
/**
- * Lookup303: frame_system::Phase
+ * Lookup305: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -2472,14 +2485,14 @@
}
},
/**
- * Lookup305: frame_system::LastRuntimeUpgradeInfo
+ * Lookup307: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup306: frame_system::limits::BlockWeights
+ * Lookup308: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -2487,7 +2500,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup307: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup309: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -2495,7 +2508,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup308: frame_system::limits::WeightsPerClass
+ * Lookup310: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -2504,13 +2517,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup310: frame_system::limits::BlockLength
+ * Lookup311: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup311: frame_support::weights::PerDispatchClass<T>
+ * Lookup312: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -2518,14 +2531,14 @@
mandatory: 'u32'
},
/**
- * Lookup312: frame_support::weights::RuntimeDbWeight
+ * Lookup313: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup313: sp_version::RuntimeVersion
+ * Lookup314: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2538,19 +2551,19 @@
stateVersion: 'u8'
},
/**
- * Lookup317: frame_system::pallet::Error<T>
+ * Lookup318: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup319: orml_vesting::module::Error<T>
+ * Lookup320: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup321: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup322: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2558,19 +2571,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup322: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup323: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup325: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup326: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup328: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup329: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2580,13 +2593,13 @@
lastIndex: 'u16'
},
/**
- * Lookup329: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup330: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup331: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup332: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2597,29 +2610,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup333: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup334: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup334: pallet_xcm::pallet::Error<T>
+ * Lookup335: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup335: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup336: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup336: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup337: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup337: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup338: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2627,19 +2640,19 @@
overweightCount: 'u64'
},
/**
- * Lookup340: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup341: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup344: pallet_unique::Error<T>
+ * Lookup345: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup347: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
+ * Lookup348: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/
PalletUniqueSchedulerScheduledV3: {
maybeId: 'Option<[u8;16]>',
@@ -2649,7 +2662,7 @@
origin: 'OpalRuntimeOriginCaller'
},
/**
- * Lookup348: opal_runtime::OriginCaller
+ * Lookup349: opal_runtime::OriginCaller
**/
OpalRuntimeOriginCaller: {
_enum: {
@@ -2758,7 +2771,7 @@
}
},
/**
- * Lookup349: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
+ * Lookup350: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
**/
FrameSupportDispatchRawOrigin: {
_enum: {
@@ -2768,7 +2781,7 @@
}
},
/**
- * Lookup350: pallet_xcm::pallet::Origin
+ * Lookup351: pallet_xcm::pallet::Origin
**/
PalletXcmOrigin: {
_enum: {
@@ -2777,7 +2790,7 @@
}
},
/**
- * Lookup351: cumulus_pallet_xcm::pallet::Origin
+ * Lookup352: cumulus_pallet_xcm::pallet::Origin
**/
CumulusPalletXcmOrigin: {
_enum: {
@@ -2786,7 +2799,7 @@
}
},
/**
- * Lookup352: pallet_ethereum::RawOrigin
+ * Lookup353: pallet_ethereum::RawOrigin
**/
PalletEthereumRawOrigin: {
_enum: {
@@ -2794,17 +2807,17 @@
}
},
/**
- * Lookup353: sp_core::Void
+ * Lookup354: sp_core::Void
**/
SpCoreVoid: 'Null',
/**
- * Lookup354: pallet_unique_scheduler::pallet::Error<T>
+ * Lookup355: pallet_unique_scheduler::pallet::Error<T>
**/
PalletUniqueSchedulerError: {
_enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']
},
/**
- * Lookup355: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup356: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2818,7 +2831,7 @@
externalCollection: 'bool'
},
/**
- * Lookup356: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup357: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2828,7 +2841,7 @@
}
},
/**
- * Lookup357: up_data_structs::Properties
+ * Lookup358: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2836,15 +2849,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup358: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup359: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup363: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup364: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup370: up_data_structs::CollectionStats
+ * Lookup371: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2852,18 +2865,18 @@
alive: 'u32'
},
/**
- * Lookup371: up_data_structs::TokenChild
+ * Lookup372: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup372: PhantomType::up_data_structs<T>
+ * Lookup373: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup374: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup375: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -2871,7 +2884,7 @@
pieces: 'u128'
},
/**
- * Lookup376: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup377: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -2887,7 +2900,7 @@
readOnly: 'bool'
},
/**
- * Lookup377: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup378: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -2897,7 +2910,7 @@
nftsCount: 'u32'
},
/**
- * Lookup378: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup379: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -2907,14 +2920,14 @@
pending: 'bool'
},
/**
- * Lookup380: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup381: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup381: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup382: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -2923,14 +2936,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup382: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup383: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup383: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup384: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -2938,80 +2951,80 @@
symbol: 'Bytes'
},
/**
- * Lookup384: rmrk_traits::nft::NftChild
+ * Lookup385: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup386: pallet_common::pallet::Error<T>
+ * Lookup387: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_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']
},
/**
- * Lookup388: pallet_fungible::pallet::Error<T>
+ * Lookup389: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup389: pallet_refungible::ItemData
+ * Lookup390: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup394: pallet_refungible::pallet::Error<T>
+ * Lookup395: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup395: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup396: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup397: up_data_structs::PropertyScope
+ * Lookup398: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk', 'Eth']
},
/**
- * Lookup399: pallet_nonfungible::pallet::Error<T>
+ * Lookup400: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup400: pallet_structure::pallet::Error<T>
+ * Lookup401: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup401: pallet_rmrk_core::pallet::Error<T>
+ * Lookup402: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
},
/**
- * Lookup403: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup404: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup406: pallet_evm::pallet::Error<T>
+ * Lookup407: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup409: fp_rpc::TransactionStatus
+ * Lookup410: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3023,11 +3036,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup411: ethbloom::Bloom
+ * Lookup412: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup413: ethereum::receipt::ReceiptV3
+ * Lookup414: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3037,7 +3050,7 @@
}
},
/**
- * Lookup414: ethereum::receipt::EIP658ReceiptData
+ * Lookup415: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3046,7 +3059,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup415: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup416: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3054,7 +3067,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup416: ethereum::header::Header
+ * Lookup417: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3074,41 +3087,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup417: ethereum_types::hash::H64
+ * Lookup418: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup422: pallet_ethereum::pallet::Error<T>
+ * Lookup423: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup423: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup424: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup424: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup425: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup426: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup427: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup427: pallet_evm_migration::pallet::Error<T>
+ * Lookup428: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup429: sp_runtime::MultiSignature
+ * Lookup430: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3118,43 +3131,43 @@
}
},
/**
- * Lookup430: sp_core::ed25519::Signature
+ * Lookup431: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup432: sp_core::sr25519::Signature
+ * Lookup433: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup433: sp_core::ecdsa::Signature
+ * Lookup434: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup436: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup437: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup437: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup438: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup440: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup441: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup441: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup442: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup442: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup443: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup443: opal_runtime::Runtime
+ * Lookup444: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup444: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup445: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, 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, 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';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, 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, 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';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
@@ -89,6 +89,7 @@
PalletBalancesReserveData: PalletBalancesReserveData;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
+ PalletConfigurationCall: PalletConfigurationCall;
PalletEthereumCall: PalletEthereumCall;
PalletEthereumError: PalletEthereumError;
PalletEthereumEvent: PalletEthereumEvent;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1697 readonly type: 'Value' | 'Hash';1697 readonly type: 'Value' | 'Hash';1698 }1698 }16991700 /** @name PalletConfigurationCall (207) */1701 export interface PalletConfigurationCall extends Enum {1702 readonly isSetWeightToFeeCoefficientOverride: boolean;1703 readonly asSetWeightToFeeCoefficientOverride: {1704 readonly coeff: Option<u32>;1705 } & Struct;1706 readonly isSetMinGasPriceOverride: boolean;1707 readonly asSetMinGasPriceOverride: {1708 readonly coeff: Option<u64>;1709 } & Struct;1710 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1711 }169917121700 /** @name PalletTemplateTransactionPaymentCall (207) */1713 /** @name PalletTemplateTransactionPaymentCall (209) */1701 export type PalletTemplateTransactionPaymentCall = Null;1714 export type PalletTemplateTransactionPaymentCall = Null;170217151703 /** @name PalletStructureCall (208) */1716 /** @name PalletStructureCall (210) */1704 export type PalletStructureCall = Null;1717 export type PalletStructureCall = Null;170517181706 /** @name PalletRmrkCoreCall (209) */1719 /** @name PalletRmrkCoreCall (211) */1707 export interface PalletRmrkCoreCall extends Enum {1720 export interface PalletRmrkCoreCall extends Enum {1708 readonly isCreateCollection: boolean;1721 readonly isCreateCollection: boolean;1709 readonly asCreateCollection: {1722 readonly asCreateCollection: {1809 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1822 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1810 }1823 }181118241812 /** @name RmrkTraitsResourceResourceTypes (215) */1825 /** @name RmrkTraitsResourceResourceTypes (217) */1813 export interface RmrkTraitsResourceResourceTypes extends Enum {1826 export interface RmrkTraitsResourceResourceTypes extends Enum {1814 readonly isBasic: boolean;1827 readonly isBasic: boolean;1815 readonly asBasic: RmrkTraitsResourceBasicResource;1828 readonly asBasic: RmrkTraitsResourceBasicResource;1820 readonly type: 'Basic' | 'Composable' | 'Slot';1833 readonly type: 'Basic' | 'Composable' | 'Slot';1821 }1834 }182218351823 /** @name RmrkTraitsResourceBasicResource (217) */1836 /** @name RmrkTraitsResourceBasicResource (219) */1824 export interface RmrkTraitsResourceBasicResource extends Struct {1837 export interface RmrkTraitsResourceBasicResource extends Struct {1825 readonly src: Option<Bytes>;1838 readonly src: Option<Bytes>;1826 readonly metadata: Option<Bytes>;1839 readonly metadata: Option<Bytes>;1827 readonly license: Option<Bytes>;1840 readonly license: Option<Bytes>;1828 readonly thumb: Option<Bytes>;1841 readonly thumb: Option<Bytes>;1829 }1842 }183018431831 /** @name RmrkTraitsResourceComposableResource (219) */1844 /** @name RmrkTraitsResourceComposableResource (221) */1832 export interface RmrkTraitsResourceComposableResource extends Struct {1845 export interface RmrkTraitsResourceComposableResource extends Struct {1833 readonly parts: Vec<u32>;1846 readonly parts: Vec<u32>;1834 readonly base: u32;1847 readonly base: u32;1838 readonly thumb: Option<Bytes>;1851 readonly thumb: Option<Bytes>;1839 }1852 }184018531841 /** @name RmrkTraitsResourceSlotResource (220) */1854 /** @name RmrkTraitsResourceSlotResource (222) */1842 export interface RmrkTraitsResourceSlotResource extends Struct {1855 export interface RmrkTraitsResourceSlotResource extends Struct {1843 readonly base: u32;1856 readonly base: u32;1844 readonly src: Option<Bytes>;1857 readonly src: Option<Bytes>;1848 readonly thumb: Option<Bytes>;1861 readonly thumb: Option<Bytes>;1849 }1862 }185018631851 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (222) */1864 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (224) */1852 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1865 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1853 readonly isAccountId: boolean;1866 readonly isAccountId: boolean;1854 readonly asAccountId: AccountId32;1867 readonly asAccountId: AccountId32;1857 readonly type: 'AccountId' | 'CollectionAndNftTuple';1870 readonly type: 'AccountId' | 'CollectionAndNftTuple';1858 }1871 }185918721860 /** @name PalletRmrkEquipCall (226) */1873 /** @name PalletRmrkEquipCall (228) */1861 export interface PalletRmrkEquipCall extends Enum {1874 export interface PalletRmrkEquipCall extends Enum {1862 readonly isCreateBase: boolean;1875 readonly isCreateBase: boolean;1863 readonly asCreateBase: {1876 readonly asCreateBase: {1879 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1892 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1880 }1893 }188118941882 /** @name RmrkTraitsPartPartType (229) */1895 /** @name RmrkTraitsPartPartType (231) */1883 export interface RmrkTraitsPartPartType extends Enum {1896 export interface RmrkTraitsPartPartType extends Enum {1884 readonly isFixedPart: boolean;1897 readonly isFixedPart: boolean;1885 readonly asFixedPart: RmrkTraitsPartFixedPart;1898 readonly asFixedPart: RmrkTraitsPartFixedPart;1888 readonly type: 'FixedPart' | 'SlotPart';1901 readonly type: 'FixedPart' | 'SlotPart';1889 }1902 }189019031891 /** @name RmrkTraitsPartFixedPart (231) */1904 /** @name RmrkTraitsPartFixedPart (233) */1892 export interface RmrkTraitsPartFixedPart extends Struct {1905 export interface RmrkTraitsPartFixedPart extends Struct {1893 readonly id: u32;1906 readonly id: u32;1894 readonly z: u32;1907 readonly z: u32;1895 readonly src: Bytes;1908 readonly src: Bytes;1896 }1909 }189719101898 /** @name RmrkTraitsPartSlotPart (232) */1911 /** @name RmrkTraitsPartSlotPart (234) */1899 export interface RmrkTraitsPartSlotPart extends Struct {1912 export interface RmrkTraitsPartSlotPart extends Struct {1900 readonly id: u32;1913 readonly id: u32;1901 readonly equippable: RmrkTraitsPartEquippableList;1914 readonly equippable: RmrkTraitsPartEquippableList;1902 readonly src: Bytes;1915 readonly src: Bytes;1903 readonly z: u32;1916 readonly z: u32;1904 }1917 }190519181906 /** @name RmrkTraitsPartEquippableList (233) */1919 /** @name RmrkTraitsPartEquippableList (235) */1907 export interface RmrkTraitsPartEquippableList extends Enum {1920 export interface RmrkTraitsPartEquippableList extends Enum {1908 readonly isAll: boolean;1921 readonly isAll: boolean;1909 readonly isEmpty: boolean;1922 readonly isEmpty: boolean;1912 readonly type: 'All' | 'Empty' | 'Custom';1925 readonly type: 'All' | 'Empty' | 'Custom';1913 }1926 }191419271915 /** @name RmrkTraitsTheme (235) */1928 /** @name RmrkTraitsTheme (237) */1916 export interface RmrkTraitsTheme extends Struct {1929 export interface RmrkTraitsTheme extends Struct {1917 readonly name: Bytes;1930 readonly name: Bytes;1918 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;1931 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;1919 readonly inherit: bool;1932 readonly inherit: bool;1920 }1933 }192119341922 /** @name RmrkTraitsThemeThemeProperty (237) */1935 /** @name RmrkTraitsThemeThemeProperty (239) */1923 export interface RmrkTraitsThemeThemeProperty extends Struct {1936 export interface RmrkTraitsThemeThemeProperty extends Struct {1924 readonly key: Bytes;1937 readonly key: Bytes;1925 readonly value: Bytes;1938 readonly value: Bytes;1926 }1939 }192719401928 /** @name PalletEvmCall (239) */1941 /** @name PalletEvmCall (241) */1929 export interface PalletEvmCall extends Enum {1942 export interface PalletEvmCall extends Enum {1930 readonly isWithdraw: boolean;1943 readonly isWithdraw: boolean;1931 readonly asWithdraw: {1944 readonly asWithdraw: {1970 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1983 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1971 }1984 }197219851973 /** @name PalletEthereumCall (245) */1986 /** @name PalletEthereumCall (247) */1974 export interface PalletEthereumCall extends Enum {1987 export interface PalletEthereumCall extends Enum {1975 readonly isTransact: boolean;1988 readonly isTransact: boolean;1976 readonly asTransact: {1989 readonly asTransact: {1979 readonly type: 'Transact';1992 readonly type: 'Transact';1980 }1993 }198119941982 /** @name EthereumTransactionTransactionV2 (246) */1995 /** @name EthereumTransactionTransactionV2 (248) */1983 export interface EthereumTransactionTransactionV2 extends Enum {1996 export interface EthereumTransactionTransactionV2 extends Enum {1984 readonly isLegacy: boolean;1997 readonly isLegacy: boolean;1985 readonly asLegacy: EthereumTransactionLegacyTransaction;1998 readonly asLegacy: EthereumTransactionLegacyTransaction;1990 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2003 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1991 }2004 }199220051993 /** @name EthereumTransactionLegacyTransaction (247) */2006 /** @name EthereumTransactionLegacyTransaction (249) */1994 export interface EthereumTransactionLegacyTransaction extends Struct {2007 export interface EthereumTransactionLegacyTransaction extends Struct {1995 readonly nonce: U256;2008 readonly nonce: U256;1996 readonly gasPrice: U256;2009 readonly gasPrice: U256;2001 readonly signature: EthereumTransactionTransactionSignature;2014 readonly signature: EthereumTransactionTransactionSignature;2002 }2015 }200320162004 /** @name EthereumTransactionTransactionAction (248) */2017 /** @name EthereumTransactionTransactionAction (250) */2005 export interface EthereumTransactionTransactionAction extends Enum {2018 export interface EthereumTransactionTransactionAction extends Enum {2006 readonly isCall: boolean;2019 readonly isCall: boolean;2007 readonly asCall: H160;2020 readonly asCall: H160;2008 readonly isCreate: boolean;2021 readonly isCreate: boolean;2009 readonly type: 'Call' | 'Create';2022 readonly type: 'Call' | 'Create';2010 }2023 }201120242012 /** @name EthereumTransactionTransactionSignature (249) */2025 /** @name EthereumTransactionTransactionSignature (251) */2013 export interface EthereumTransactionTransactionSignature extends Struct {2026 export interface EthereumTransactionTransactionSignature extends Struct {2014 readonly v: u64;2027 readonly v: u64;2015 readonly r: H256;2028 readonly r: H256;2016 readonly s: H256;2029 readonly s: H256;2017 }2030 }201820312019 /** @name EthereumTransactionEip2930Transaction (251) */2032 /** @name EthereumTransactionEip2930Transaction (253) */2020 export interface EthereumTransactionEip2930Transaction extends Struct {2033 export interface EthereumTransactionEip2930Transaction extends Struct {2021 readonly chainId: u64;2034 readonly chainId: u64;2022 readonly nonce: U256;2035 readonly nonce: U256;2031 readonly s: H256;2044 readonly s: H256;2032 }2045 }203320462034 /** @name EthereumTransactionAccessListItem (253) */2047 /** @name EthereumTransactionAccessListItem (255) */2035 export interface EthereumTransactionAccessListItem extends Struct {2048 export interface EthereumTransactionAccessListItem extends Struct {2036 readonly address: H160;2049 readonly address: H160;2037 readonly storageKeys: Vec<H256>;2050 readonly storageKeys: Vec<H256>;2038 }2051 }203920522040 /** @name EthereumTransactionEip1559Transaction (254) */2053 /** @name EthereumTransactionEip1559Transaction (256) */2041 export interface EthereumTransactionEip1559Transaction extends Struct {2054 export interface EthereumTransactionEip1559Transaction extends Struct {2042 readonly chainId: u64;2055 readonly chainId: u64;2043 readonly nonce: U256;2056 readonly nonce: U256;2053 readonly s: H256;2066 readonly s: H256;2054 }2067 }205520682056 /** @name PalletEvmMigrationCall (255) */2069 /** @name PalletEvmMigrationCall (257) */2057 export interface PalletEvmMigrationCall extends Enum {2070 export interface PalletEvmMigrationCall extends Enum {2058 readonly isBegin: boolean;2071 readonly isBegin: boolean;2059 readonly asBegin: {2072 readonly asBegin: {2072 readonly type: 'Begin' | 'SetData' | 'Finish';2085 readonly type: 'Begin' | 'SetData' | 'Finish';2073 }2086 }207420872075 /** @name PalletSudoEvent (258) */2088 /** @name PalletSudoEvent (260) */2076 export interface PalletSudoEvent extends Enum {2089 export interface PalletSudoEvent extends Enum {2077 readonly isSudid: boolean;2090 readonly isSudid: boolean;2078 readonly asSudid: {2091 readonly asSudid: {2089 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2102 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2090 }2103 }209121042092 /** @name SpRuntimeDispatchError (260) */2105 /** @name SpRuntimeDispatchError (262) */2093 export interface SpRuntimeDispatchError extends Enum {2106 export interface SpRuntimeDispatchError extends Enum {2094 readonly isOther: boolean;2107 readonly isOther: boolean;2095 readonly isCannotLookup: boolean;2108 readonly isCannotLookup: boolean;2108 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2121 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2109 }2122 }211021232111 /** @name SpRuntimeModuleError (261) */2124 /** @name SpRuntimeModuleError (263) */2112 export interface SpRuntimeModuleError extends Struct {2125 export interface SpRuntimeModuleError extends Struct {2113 readonly index: u8;2126 readonly index: u8;2114 readonly error: U8aFixed;2127 readonly error: U8aFixed;2115 }2128 }211621292117 /** @name SpRuntimeTokenError (262) */2130 /** @name SpRuntimeTokenError (264) */2118 export interface SpRuntimeTokenError extends Enum {2131 export interface SpRuntimeTokenError extends Enum {2119 readonly isNoFunds: boolean;2132 readonly isNoFunds: boolean;2120 readonly isWouldDie: boolean;2133 readonly isWouldDie: boolean;2126 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2139 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2127 }2140 }212821412129 /** @name SpRuntimeArithmeticError (263) */2142 /** @name SpRuntimeArithmeticError (265) */2130 export interface SpRuntimeArithmeticError extends Enum {2143 export interface SpRuntimeArithmeticError extends Enum {2131 readonly isUnderflow: boolean;2144 readonly isUnderflow: boolean;2132 readonly isOverflow: boolean;2145 readonly isOverflow: boolean;2133 readonly isDivisionByZero: boolean;2146 readonly isDivisionByZero: boolean;2134 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2147 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2135 }2148 }213621492137 /** @name SpRuntimeTransactionalError (264) */2150 /** @name SpRuntimeTransactionalError (266) */2138 export interface SpRuntimeTransactionalError extends Enum {2151 export interface SpRuntimeTransactionalError extends Enum {2139 readonly isLimitReached: boolean;2152 readonly isLimitReached: boolean;2140 readonly isNoLayer: boolean;2153 readonly isNoLayer: boolean;2141 readonly type: 'LimitReached' | 'NoLayer';2154 readonly type: 'LimitReached' | 'NoLayer';2142 }2155 }214321562144 /** @name PalletSudoError (265) */2157 /** @name PalletSudoError (267) */2145 export interface PalletSudoError extends Enum {2158 export interface PalletSudoError extends Enum {2146 readonly isRequireSudo: boolean;2159 readonly isRequireSudo: boolean;2147 readonly type: 'RequireSudo';2160 readonly type: 'RequireSudo';2148 }2161 }214921622150 /** @name FrameSystemAccountInfo (266) */2163 /** @name FrameSystemAccountInfo (268) */2151 export interface FrameSystemAccountInfo extends Struct {2164 export interface FrameSystemAccountInfo extends Struct {2152 readonly nonce: u32;2165 readonly nonce: u32;2153 readonly consumers: u32;2166 readonly consumers: u32;2156 readonly data: PalletBalancesAccountData;2169 readonly data: PalletBalancesAccountData;2157 }2170 }215821712159 /** @name FrameSupportWeightsPerDispatchClassU64 (267) */2172 /** @name FrameSupportWeightsPerDispatchClassU64 (269) */2160 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2173 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2161 readonly normal: u64;2174 readonly normal: u64;2162 readonly operational: u64;2175 readonly operational: u64;2163 readonly mandatory: u64;2176 readonly mandatory: u64;2164 }2177 }216521782166 /** @name SpRuntimeDigest (268) */2179 /** @name SpRuntimeDigest (270) */2167 export interface SpRuntimeDigest extends Struct {2180 export interface SpRuntimeDigest extends Struct {2168 readonly logs: Vec<SpRuntimeDigestDigestItem>;2181 readonly logs: Vec<SpRuntimeDigestDigestItem>;2169 }2182 }217021832171 /** @name SpRuntimeDigestDigestItem (270) */2184 /** @name SpRuntimeDigestDigestItem (272) */2172 export interface SpRuntimeDigestDigestItem extends Enum {2185 export interface SpRuntimeDigestDigestItem extends Enum {2173 readonly isOther: boolean;2186 readonly isOther: boolean;2174 readonly asOther: Bytes;2187 readonly asOther: Bytes;2182 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2195 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2183 }2196 }218421972185 /** @name FrameSystemEventRecord (272) */2198 /** @name FrameSystemEventRecord (274) */2186 export interface FrameSystemEventRecord extends Struct {2199 export interface FrameSystemEventRecord extends Struct {2187 readonly phase: FrameSystemPhase;2200 readonly phase: FrameSystemPhase;2188 readonly event: Event;2201 readonly event: Event;2189 readonly topics: Vec<H256>;2202 readonly topics: Vec<H256>;2190 }2203 }219122042192 /** @name FrameSystemEvent (274) */2205 /** @name FrameSystemEvent (276) */2193 export interface FrameSystemEvent extends Enum {2206 export interface FrameSystemEvent extends Enum {2194 readonly isExtrinsicSuccess: boolean;2207 readonly isExtrinsicSuccess: boolean;2195 readonly asExtrinsicSuccess: {2208 readonly asExtrinsicSuccess: {2217 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2230 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2218 }2231 }221922322220 /** @name FrameSupportWeightsDispatchInfo (275) */2233 /** @name FrameSupportWeightsDispatchInfo (277) */2221 export interface FrameSupportWeightsDispatchInfo extends Struct {2234 export interface FrameSupportWeightsDispatchInfo extends Struct {2222 readonly weight: u64;2235 readonly weight: u64;2223 readonly class: FrameSupportWeightsDispatchClass;2236 readonly class: FrameSupportWeightsDispatchClass;2224 readonly paysFee: FrameSupportWeightsPays;2237 readonly paysFee: FrameSupportWeightsPays;2225 }2238 }222622392227 /** @name FrameSupportWeightsDispatchClass (276) */2240 /** @name FrameSupportWeightsDispatchClass (278) */2228 export interface FrameSupportWeightsDispatchClass extends Enum {2241 export interface FrameSupportWeightsDispatchClass extends Enum {2229 readonly isNormal: boolean;2242 readonly isNormal: boolean;2230 readonly isOperational: boolean;2243 readonly isOperational: boolean;2231 readonly isMandatory: boolean;2244 readonly isMandatory: boolean;2232 readonly type: 'Normal' | 'Operational' | 'Mandatory';2245 readonly type: 'Normal' | 'Operational' | 'Mandatory';2233 }2246 }223422472235 /** @name FrameSupportWeightsPays (277) */2248 /** @name FrameSupportWeightsPays (279) */2236 export interface FrameSupportWeightsPays extends Enum {2249 export interface FrameSupportWeightsPays extends Enum {2237 readonly isYes: boolean;2250 readonly isYes: boolean;2238 readonly isNo: boolean;2251 readonly isNo: boolean;2239 readonly type: 'Yes' | 'No';2252 readonly type: 'Yes' | 'No';2240 }2253 }224122542242 /** @name OrmlVestingModuleEvent (278) */2255 /** @name OrmlVestingModuleEvent (280) */2243 export interface OrmlVestingModuleEvent extends Enum {2256 export interface OrmlVestingModuleEvent extends Enum {2244 readonly isVestingScheduleAdded: boolean;2257 readonly isVestingScheduleAdded: boolean;2245 readonly asVestingScheduleAdded: {2258 readonly asVestingScheduleAdded: {2259 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2272 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2260 }2273 }226122742262 /** @name CumulusPalletXcmpQueueEvent (279) */2275 /** @name CumulusPalletXcmpQueueEvent (281) */2263 export interface CumulusPalletXcmpQueueEvent extends Enum {2276 export interface CumulusPalletXcmpQueueEvent extends Enum {2264 readonly isSuccess: boolean;2277 readonly isSuccess: boolean;2265 readonly asSuccess: Option<H256>;2278 readonly asSuccess: Option<H256>;2280 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2293 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2281 }2294 }228222952283 /** @name PalletXcmEvent (280) */2296 /** @name PalletXcmEvent (282) */2284 export interface PalletXcmEvent extends Enum {2297 export interface PalletXcmEvent extends Enum {2285 readonly isAttempted: boolean;2298 readonly isAttempted: boolean;2286 readonly asAttempted: XcmV2TraitsOutcome;2299 readonly asAttempted: XcmV2TraitsOutcome;2317 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2330 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2318 }2331 }231923322320 /** @name XcmV2TraitsOutcome (281) */2333 /** @name XcmV2TraitsOutcome (283) */2321 export interface XcmV2TraitsOutcome extends Enum {2334 export interface XcmV2TraitsOutcome extends Enum {2322 readonly isComplete: boolean;2335 readonly isComplete: boolean;2323 readonly asComplete: u64;2336 readonly asComplete: u64;2328 readonly type: 'Complete' | 'Incomplete' | 'Error';2341 readonly type: 'Complete' | 'Incomplete' | 'Error';2329 }2342 }233023432331 /** @name CumulusPalletXcmEvent (283) */2344 /** @name CumulusPalletXcmEvent (285) */2332 export interface CumulusPalletXcmEvent extends Enum {2345 export interface CumulusPalletXcmEvent extends Enum {2333 readonly isInvalidFormat: boolean;2346 readonly isInvalidFormat: boolean;2334 readonly asInvalidFormat: U8aFixed;2347 readonly asInvalidFormat: U8aFixed;2339 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2352 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2340 }2353 }234123542342 /** @name CumulusPalletDmpQueueEvent (284) */2355 /** @name CumulusPalletDmpQueueEvent (286) */2343 export interface CumulusPalletDmpQueueEvent extends Enum {2356 export interface CumulusPalletDmpQueueEvent extends Enum {2344 readonly isInvalidFormat: boolean;2357 readonly isInvalidFormat: boolean;2345 readonly asInvalidFormat: {2358 readonly asInvalidFormat: {2374 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2387 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2375 }2388 }237623892377 /** @name PalletUniqueRawEvent (285) */2390 /** @name PalletUniqueRawEvent (287) */2378 export interface PalletUniqueRawEvent extends Enum {2391 export interface PalletUniqueRawEvent extends Enum {2379 readonly isCollectionSponsorRemoved: boolean;2392 readonly isCollectionSponsorRemoved: boolean;2380 readonly asCollectionSponsorRemoved: u32;2393 readonly asCollectionSponsorRemoved: u32;2399 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2412 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2400 }2413 }240124142402 /** @name PalletUniqueSchedulerEvent (286) */2415 /** @name PalletUniqueSchedulerEvent (288) */2403 export interface PalletUniqueSchedulerEvent extends Enum {2416 export interface PalletUniqueSchedulerEvent extends Enum {2404 readonly isScheduled: boolean;2417 readonly isScheduled: boolean;2405 readonly asScheduled: {2418 readonly asScheduled: {2426 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2439 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2427 }2440 }242824412429 /** @name FrameSupportScheduleLookupError (288) */2442 /** @name FrameSupportScheduleLookupError (290) */2430 export interface FrameSupportScheduleLookupError extends Enum {2443 export interface FrameSupportScheduleLookupError extends Enum {2431 readonly isUnknown: boolean;2444 readonly isUnknown: boolean;2432 readonly isBadFormat: boolean;2445 readonly isBadFormat: boolean;2433 readonly type: 'Unknown' | 'BadFormat';2446 readonly type: 'Unknown' | 'BadFormat';2434 }2447 }243524482436 /** @name PalletCommonEvent (289) */2449 /** @name PalletCommonEvent (291) */2437 export interface PalletCommonEvent extends Enum {2450 export interface PalletCommonEvent extends Enum {2438 readonly isCollectionCreated: boolean;2451 readonly isCollectionCreated: boolean;2439 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2452 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2460 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2473 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2461 }2474 }246224752463 /** @name PalletStructureEvent (290) */2476 /** @name PalletStructureEvent (292) */2464 export interface PalletStructureEvent extends Enum {2477 export interface PalletStructureEvent extends Enum {2465 readonly isExecuted: boolean;2478 readonly isExecuted: boolean;2466 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2479 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2467 readonly type: 'Executed';2480 readonly type: 'Executed';2468 }2481 }246924822470 /** @name PalletRmrkCoreEvent (291) */2483 /** @name PalletRmrkCoreEvent (293) */2471 export interface PalletRmrkCoreEvent extends Enum {2484 export interface PalletRmrkCoreEvent extends Enum {2472 readonly isCollectionCreated: boolean;2485 readonly isCollectionCreated: boolean;2473 readonly asCollectionCreated: {2486 readonly asCollectionCreated: {2557 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2570 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2558 }2571 }255925722560 /** @name PalletRmrkEquipEvent (292) */2573 /** @name PalletRmrkEquipEvent (294) */2561 export interface PalletRmrkEquipEvent extends Enum {2574 export interface PalletRmrkEquipEvent extends Enum {2562 readonly isBaseCreated: boolean;2575 readonly isBaseCreated: boolean;2563 readonly asBaseCreated: {2576 readonly asBaseCreated: {2572 readonly type: 'BaseCreated' | 'EquippablesUpdated';2585 readonly type: 'BaseCreated' | 'EquippablesUpdated';2573 }2586 }257425872575 /** @name PalletEvmEvent (293) */2588 /** @name PalletEvmEvent (295) */2576 export interface PalletEvmEvent extends Enum {2589 export interface PalletEvmEvent extends Enum {2577 readonly isLog: boolean;2590 readonly isLog: boolean;2578 readonly asLog: EthereumLog;2591 readonly asLog: EthereumLog;2591 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2604 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2592 }2605 }259326062594 /** @name EthereumLog (294) */2607 /** @name EthereumLog (296) */2595 export interface EthereumLog extends Struct {2608 export interface EthereumLog extends Struct {2596 readonly address: H160;2609 readonly address: H160;2597 readonly topics: Vec<H256>;2610 readonly topics: Vec<H256>;2598 readonly data: Bytes;2611 readonly data: Bytes;2599 }2612 }260026132601 /** @name PalletEthereumEvent (295) */2614 /** @name PalletEthereumEvent (297) */2602 export interface PalletEthereumEvent extends Enum {2615 export interface PalletEthereumEvent extends Enum {2603 readonly isExecuted: boolean;2616 readonly isExecuted: boolean;2604 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2617 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2605 readonly type: 'Executed';2618 readonly type: 'Executed';2606 }2619 }260726202608 /** @name EvmCoreErrorExitReason (296) */2621 /** @name EvmCoreErrorExitReason (298) */2609 export interface EvmCoreErrorExitReason extends Enum {2622 export interface EvmCoreErrorExitReason extends Enum {2610 readonly isSucceed: boolean;2623 readonly isSucceed: boolean;2611 readonly asSucceed: EvmCoreErrorExitSucceed;2624 readonly asSucceed: EvmCoreErrorExitSucceed;2618 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2631 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2619 }2632 }262026332621 /** @name EvmCoreErrorExitSucceed (297) */2634 /** @name EvmCoreErrorExitSucceed (299) */2622 export interface EvmCoreErrorExitSucceed extends Enum {2635 export interface EvmCoreErrorExitSucceed extends Enum {2623 readonly isStopped: boolean;2636 readonly isStopped: boolean;2624 readonly isReturned: boolean;2637 readonly isReturned: boolean;2625 readonly isSuicided: boolean;2638 readonly isSuicided: boolean;2626 readonly type: 'Stopped' | 'Returned' | 'Suicided';2639 readonly type: 'Stopped' | 'Returned' | 'Suicided';2627 }2640 }262826412629 /** @name EvmCoreErrorExitError (298) */2642 /** @name EvmCoreErrorExitError (300) */2630 export interface EvmCoreErrorExitError extends Enum {2643 export interface EvmCoreErrorExitError extends Enum {2631 readonly isStackUnderflow: boolean;2644 readonly isStackUnderflow: boolean;2632 readonly isStackOverflow: boolean;2645 readonly isStackOverflow: boolean;2647 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2660 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2648 }2661 }264926622650 /** @name EvmCoreErrorExitRevert (301) */2663 /** @name EvmCoreErrorExitRevert (303) */2651 export interface EvmCoreErrorExitRevert extends Enum {2664 export interface EvmCoreErrorExitRevert extends Enum {2652 readonly isReverted: boolean;2665 readonly isReverted: boolean;2653 readonly type: 'Reverted';2666 readonly type: 'Reverted';2654 }2667 }265526682656 /** @name EvmCoreErrorExitFatal (302) */2669 /** @name EvmCoreErrorExitFatal (304) */2657 export interface EvmCoreErrorExitFatal extends Enum {2670 export interface EvmCoreErrorExitFatal extends Enum {2658 readonly isNotSupported: boolean;2671 readonly isNotSupported: boolean;2659 readonly isUnhandledInterrupt: boolean;2672 readonly isUnhandledInterrupt: boolean;2664 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2677 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2665 }2678 }266626792667 /** @name FrameSystemPhase (303) */2680 /** @name FrameSystemPhase (305) */2668 export interface FrameSystemPhase extends Enum {2681 export interface FrameSystemPhase extends Enum {2669 readonly isApplyExtrinsic: boolean;2682 readonly isApplyExtrinsic: boolean;2670 readonly asApplyExtrinsic: u32;2683 readonly asApplyExtrinsic: u32;2673 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2686 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2674 }2687 }267526882676 /** @name FrameSystemLastRuntimeUpgradeInfo (305) */2689 /** @name FrameSystemLastRuntimeUpgradeInfo (307) */2677 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2690 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2678 readonly specVersion: Compact<u32>;2691 readonly specVersion: Compact<u32>;2679 readonly specName: Text;2692 readonly specName: Text;2680 }2693 }268126942682 /** @name FrameSystemLimitsBlockWeights (306) */2695 /** @name FrameSystemLimitsBlockWeights (308) */2683 export interface FrameSystemLimitsBlockWeights extends Struct {2696 export interface FrameSystemLimitsBlockWeights extends Struct {2684 readonly baseBlock: u64;2697 readonly baseBlock: u64;2685 readonly maxBlock: u64;2698 readonly maxBlock: u64;2686 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2699 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2687 }2700 }268827012689 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (307) */2702 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (309) */2690 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2703 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2691 readonly normal: FrameSystemLimitsWeightsPerClass;2704 readonly normal: FrameSystemLimitsWeightsPerClass;2692 readonly operational: FrameSystemLimitsWeightsPerClass;2705 readonly operational: FrameSystemLimitsWeightsPerClass;2693 readonly mandatory: FrameSystemLimitsWeightsPerClass;2706 readonly mandatory: FrameSystemLimitsWeightsPerClass;2694 }2707 }269527082696 /** @name FrameSystemLimitsWeightsPerClass (308) */2709 /** @name FrameSystemLimitsWeightsPerClass (310) */2697 export interface FrameSystemLimitsWeightsPerClass extends Struct {2710 export interface FrameSystemLimitsWeightsPerClass extends Struct {2698 readonly baseExtrinsic: u64;2711 readonly baseExtrinsic: u64;2699 readonly maxExtrinsic: Option<u64>;2712 readonly maxExtrinsic: Option<u64>;2700 readonly maxTotal: Option<u64>;2713 readonly maxTotal: Option<u64>;2701 readonly reserved: Option<u64>;2714 readonly reserved: Option<u64>;2702 }2715 }270327162704 /** @name FrameSystemLimitsBlockLength (310) */2717 /** @name FrameSystemLimitsBlockLength (311) */2705 export interface FrameSystemLimitsBlockLength extends Struct {2718 export interface FrameSystemLimitsBlockLength extends Struct {2706 readonly max: FrameSupportWeightsPerDispatchClassU32;2719 readonly max: FrameSupportWeightsPerDispatchClassU32;2707 }2720 }270827212709 /** @name FrameSupportWeightsPerDispatchClassU32 (311) */2722 /** @name FrameSupportWeightsPerDispatchClassU32 (312) */2710 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2723 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2711 readonly normal: u32;2724 readonly normal: u32;2712 readonly operational: u32;2725 readonly operational: u32;2713 readonly mandatory: u32;2726 readonly mandatory: u32;2714 }2727 }271527282716 /** @name FrameSupportWeightsRuntimeDbWeight (312) */2729 /** @name FrameSupportWeightsRuntimeDbWeight (313) */2717 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2730 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2718 readonly read: u64;2731 readonly read: u64;2719 readonly write: u64;2732 readonly write: u64;2720 }2733 }272127342722 /** @name SpVersionRuntimeVersion (313) */2735 /** @name SpVersionRuntimeVersion (314) */2723 export interface SpVersionRuntimeVersion extends Struct {2736 export interface SpVersionRuntimeVersion extends Struct {2724 readonly specName: Text;2737 readonly specName: Text;2725 readonly implName: Text;2738 readonly implName: Text;2731 readonly stateVersion: u8;2744 readonly stateVersion: u8;2732 }2745 }273327462734 /** @name FrameSystemError (317) */2747 /** @name FrameSystemError (318) */2735 export interface FrameSystemError extends Enum {2748 export interface FrameSystemError extends Enum {2736 readonly isInvalidSpecName: boolean;2749 readonly isInvalidSpecName: boolean;2737 readonly isSpecVersionNeedsToIncrease: boolean;2750 readonly isSpecVersionNeedsToIncrease: boolean;2742 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2755 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2743 }2756 }274427572745 /** @name OrmlVestingModuleError (319) */2758 /** @name OrmlVestingModuleError (320) */2746 export interface OrmlVestingModuleError extends Enum {2759 export interface OrmlVestingModuleError extends Enum {2747 readonly isZeroVestingPeriod: boolean;2760 readonly isZeroVestingPeriod: boolean;2748 readonly isZeroVestingPeriodCount: boolean;2761 readonly isZeroVestingPeriodCount: boolean;2753 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2766 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2754 }2767 }275527682756 /** @name CumulusPalletXcmpQueueInboundChannelDetails (321) */2769 /** @name CumulusPalletXcmpQueueInboundChannelDetails (322) */2757 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2770 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2758 readonly sender: u32;2771 readonly sender: u32;2759 readonly state: CumulusPalletXcmpQueueInboundState;2772 readonly state: CumulusPalletXcmpQueueInboundState;2760 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2773 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2761 }2774 }276227752763 /** @name CumulusPalletXcmpQueueInboundState (322) */2776 /** @name CumulusPalletXcmpQueueInboundState (323) */2764 export interface CumulusPalletXcmpQueueInboundState extends Enum {2777 export interface CumulusPalletXcmpQueueInboundState extends Enum {2765 readonly isOk: boolean;2778 readonly isOk: boolean;2766 readonly isSuspended: boolean;2779 readonly isSuspended: boolean;2767 readonly type: 'Ok' | 'Suspended';2780 readonly type: 'Ok' | 'Suspended';2768 }2781 }276927822770 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (325) */2783 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (326) */2771 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2784 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2772 readonly isConcatenatedVersionedXcm: boolean;2785 readonly isConcatenatedVersionedXcm: boolean;2773 readonly isConcatenatedEncodedBlob: boolean;2786 readonly isConcatenatedEncodedBlob: boolean;2774 readonly isSignals: boolean;2787 readonly isSignals: boolean;2775 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2788 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2776 }2789 }277727902778 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (328) */2791 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (329) */2779 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2792 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2780 readonly recipient: u32;2793 readonly recipient: u32;2781 readonly state: CumulusPalletXcmpQueueOutboundState;2794 readonly state: CumulusPalletXcmpQueueOutboundState;2784 readonly lastIndex: u16;2797 readonly lastIndex: u16;2785 }2798 }278627992787 /** @name CumulusPalletXcmpQueueOutboundState (329) */2800 /** @name CumulusPalletXcmpQueueOutboundState (330) */2788 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2801 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2789 readonly isOk: boolean;2802 readonly isOk: boolean;2790 readonly isSuspended: boolean;2803 readonly isSuspended: boolean;2791 readonly type: 'Ok' | 'Suspended';2804 readonly type: 'Ok' | 'Suspended';2792 }2805 }279328062794 /** @name CumulusPalletXcmpQueueQueueConfigData (331) */2807 /** @name CumulusPalletXcmpQueueQueueConfigData (332) */2795 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2808 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2796 readonly suspendThreshold: u32;2809 readonly suspendThreshold: u32;2797 readonly dropThreshold: u32;2810 readonly dropThreshold: u32;2801 readonly xcmpMaxIndividualWeight: u64;2814 readonly xcmpMaxIndividualWeight: u64;2802 }2815 }280328162804 /** @name CumulusPalletXcmpQueueError (333) */2817 /** @name CumulusPalletXcmpQueueError (334) */2805 export interface CumulusPalletXcmpQueueError extends Enum {2818 export interface CumulusPalletXcmpQueueError extends Enum {2806 readonly isFailedToSend: boolean;2819 readonly isFailedToSend: boolean;2807 readonly isBadXcmOrigin: boolean;2820 readonly isBadXcmOrigin: boolean;2811 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2824 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2812 }2825 }281328262814 /** @name PalletXcmError (334) */2827 /** @name PalletXcmError (335) */2815 export interface PalletXcmError extends Enum {2828 export interface PalletXcmError extends Enum {2816 readonly isUnreachable: boolean;2829 readonly isUnreachable: boolean;2817 readonly isSendFailure: boolean;2830 readonly isSendFailure: boolean;2829 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2842 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2830 }2843 }283128442832 /** @name CumulusPalletXcmError (335) */2845 /** @name CumulusPalletXcmError (336) */2833 export type CumulusPalletXcmError = Null;2846 export type CumulusPalletXcmError = Null;283428472835 /** @name CumulusPalletDmpQueueConfigData (336) */2848 /** @name CumulusPalletDmpQueueConfigData (337) */2836 export interface CumulusPalletDmpQueueConfigData extends Struct {2849 export interface CumulusPalletDmpQueueConfigData extends Struct {2837 readonly maxIndividual: u64;2850 readonly maxIndividual: u64;2838 }2851 }283928522840 /** @name CumulusPalletDmpQueuePageIndexData (337) */2853 /** @name CumulusPalletDmpQueuePageIndexData (338) */2841 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2854 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2842 readonly beginUsed: u32;2855 readonly beginUsed: u32;2843 readonly endUsed: u32;2856 readonly endUsed: u32;2844 readonly overweightCount: u64;2857 readonly overweightCount: u64;2845 }2858 }284628592847 /** @name CumulusPalletDmpQueueError (340) */2860 /** @name CumulusPalletDmpQueueError (341) */2848 export interface CumulusPalletDmpQueueError extends Enum {2861 export interface CumulusPalletDmpQueueError extends Enum {2849 readonly isUnknown: boolean;2862 readonly isUnknown: boolean;2850 readonly isOverLimit: boolean;2863 readonly isOverLimit: boolean;2851 readonly type: 'Unknown' | 'OverLimit';2864 readonly type: 'Unknown' | 'OverLimit';2852 }2865 }285328662854 /** @name PalletUniqueError (344) */2867 /** @name PalletUniqueError (345) */2855 export interface PalletUniqueError extends Enum {2868 export interface PalletUniqueError extends Enum {2856 readonly isCollectionDecimalPointLimitExceeded: boolean;2869 readonly isCollectionDecimalPointLimitExceeded: boolean;2857 readonly isConfirmUnsetSponsorFail: boolean;2870 readonly isConfirmUnsetSponsorFail: boolean;2860 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2873 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2861 }2874 }286228752863 /** @name PalletUniqueSchedulerScheduledV3 (347) */2876 /** @name PalletUniqueSchedulerScheduledV3 (348) */2864 export interface PalletUniqueSchedulerScheduledV3 extends Struct {2877 export interface PalletUniqueSchedulerScheduledV3 extends Struct {2865 readonly maybeId: Option<U8aFixed>;2878 readonly maybeId: Option<U8aFixed>;2866 readonly priority: u8;2879 readonly priority: u8;2869 readonly origin: OpalRuntimeOriginCaller;2882 readonly origin: OpalRuntimeOriginCaller;2870 }2883 }287128842872 /** @name OpalRuntimeOriginCaller (348) */2885 /** @name OpalRuntimeOriginCaller (349) */2873 export interface OpalRuntimeOriginCaller extends Enum {2886 export interface OpalRuntimeOriginCaller extends Enum {2874 readonly isVoid: boolean;2887 readonly isVoid: boolean;2875 readonly isSystem: boolean;2888 readonly isSystem: boolean;2883 readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2896 readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2884 }2897 }288528982886 /** @name FrameSupportDispatchRawOrigin (349) */2899 /** @name FrameSupportDispatchRawOrigin (350) */2887 export interface FrameSupportDispatchRawOrigin extends Enum {2900 export interface FrameSupportDispatchRawOrigin extends Enum {2888 readonly isRoot: boolean;2901 readonly isRoot: boolean;2889 readonly isSigned: boolean;2902 readonly isSigned: boolean;2892 readonly type: 'Root' | 'Signed' | 'None';2905 readonly type: 'Root' | 'Signed' | 'None';2893 }2906 }289429072895 /** @name PalletXcmOrigin (350) */2908 /** @name PalletXcmOrigin (351) */2896 export interface PalletXcmOrigin extends Enum {2909 export interface PalletXcmOrigin extends Enum {2897 readonly isXcm: boolean;2910 readonly isXcm: boolean;2898 readonly asXcm: XcmV1MultiLocation;2911 readonly asXcm: XcmV1MultiLocation;2901 readonly type: 'Xcm' | 'Response';2914 readonly type: 'Xcm' | 'Response';2902 }2915 }290329162904 /** @name CumulusPalletXcmOrigin (351) */2917 /** @name CumulusPalletXcmOrigin (352) */2905 export interface CumulusPalletXcmOrigin extends Enum {2918 export interface CumulusPalletXcmOrigin extends Enum {2906 readonly isRelay: boolean;2919 readonly isRelay: boolean;2907 readonly isSiblingParachain: boolean;2920 readonly isSiblingParachain: boolean;2908 readonly asSiblingParachain: u32;2921 readonly asSiblingParachain: u32;2909 readonly type: 'Relay' | 'SiblingParachain';2922 readonly type: 'Relay' | 'SiblingParachain';2910 }2923 }291129242912 /** @name PalletEthereumRawOrigin (352) */2925 /** @name PalletEthereumRawOrigin (353) */2913 export interface PalletEthereumRawOrigin extends Enum {2926 export interface PalletEthereumRawOrigin extends Enum {2914 readonly isEthereumTransaction: boolean;2927 readonly isEthereumTransaction: boolean;2915 readonly asEthereumTransaction: H160;2928 readonly asEthereumTransaction: H160;2916 readonly type: 'EthereumTransaction';2929 readonly type: 'EthereumTransaction';2917 }2930 }291829312919 /** @name SpCoreVoid (353) */2932 /** @name SpCoreVoid (354) */2920 export type SpCoreVoid = Null;2933 export type SpCoreVoid = Null;292129342922 /** @name PalletUniqueSchedulerError (354) */2935 /** @name PalletUniqueSchedulerError (355) */2923 export interface PalletUniqueSchedulerError extends Enum {2936 export interface PalletUniqueSchedulerError extends Enum {2924 readonly isFailedToSchedule: boolean;2937 readonly isFailedToSchedule: boolean;2925 readonly isNotFound: boolean;2938 readonly isNotFound: boolean;2928 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2941 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2929 }2942 }293029432931 /** @name UpDataStructsCollection (355) */2944 /** @name UpDataStructsCollection (356) */2932 export interface UpDataStructsCollection extends Struct {2945 export interface UpDataStructsCollection extends Struct {2933 readonly owner: AccountId32;2946 readonly owner: AccountId32;2934 readonly mode: UpDataStructsCollectionMode;2947 readonly mode: UpDataStructsCollectionMode;2941 readonly externalCollection: bool;2954 readonly externalCollection: bool;2942 }2955 }294329562944 /** @name UpDataStructsSponsorshipState (356) */2957 /** @name UpDataStructsSponsorshipState (357) */2945 export interface UpDataStructsSponsorshipState extends Enum {2958 export interface UpDataStructsSponsorshipState extends Enum {2946 readonly isDisabled: boolean;2959 readonly isDisabled: boolean;2947 readonly isUnconfirmed: boolean;2960 readonly isUnconfirmed: boolean;2951 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2964 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2952 }2965 }295329662954 /** @name UpDataStructsProperties (357) */2967 /** @name UpDataStructsProperties (358) */2955 export interface UpDataStructsProperties extends Struct {2968 export interface UpDataStructsProperties extends Struct {2956 readonly map: UpDataStructsPropertiesMapBoundedVec;2969 readonly map: UpDataStructsPropertiesMapBoundedVec;2957 readonly consumedSpace: u32;2970 readonly consumedSpace: u32;2958 readonly spaceLimit: u32;2971 readonly spaceLimit: u32;2959 }2972 }296029732961 /** @name UpDataStructsPropertiesMapBoundedVec (358) */2974 /** @name UpDataStructsPropertiesMapBoundedVec (359) */2962 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}2975 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}296329762964 /** @name UpDataStructsPropertiesMapPropertyPermission (363) */2977 /** @name UpDataStructsPropertiesMapPropertyPermission (364) */2965 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}2978 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}296629792967 /** @name UpDataStructsCollectionStats (370) */2980 /** @name UpDataStructsCollectionStats (371) */2968 export interface UpDataStructsCollectionStats extends Struct {2981 export interface UpDataStructsCollectionStats extends Struct {2969 readonly created: u32;2982 readonly created: u32;2970 readonly destroyed: u32;2983 readonly destroyed: u32;2971 readonly alive: u32;2984 readonly alive: u32;2972 }2985 }297329862974 /** @name UpDataStructsTokenChild (371) */2987 /** @name UpDataStructsTokenChild (372) */2975 export interface UpDataStructsTokenChild extends Struct {2988 export interface UpDataStructsTokenChild extends Struct {2976 readonly token: u32;2989 readonly token: u32;2977 readonly collection: u32;2990 readonly collection: u32;2978 }2991 }297929922980 /** @name PhantomTypeUpDataStructs (372) */2993 /** @name PhantomTypeUpDataStructs (373) */2981 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}2994 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}298229952983 /** @name UpDataStructsTokenData (374) */2996 /** @name UpDataStructsTokenData (375) */2984 export interface UpDataStructsTokenData extends Struct {2997 export interface UpDataStructsTokenData extends Struct {2985 readonly properties: Vec<UpDataStructsProperty>;2998 readonly properties: Vec<UpDataStructsProperty>;2986 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2999 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2987 readonly pieces: u128;3000 readonly pieces: u128;2988 }3001 }298930022990 /** @name UpDataStructsRpcCollection (376) */3003 /** @name UpDataStructsRpcCollection (377) */2991 export interface UpDataStructsRpcCollection extends Struct {3004 export interface UpDataStructsRpcCollection extends Struct {2992 readonly owner: AccountId32;3005 readonly owner: AccountId32;2993 readonly mode: UpDataStructsCollectionMode;3006 readonly mode: UpDataStructsCollectionMode;3002 readonly readOnly: bool;3015 readonly readOnly: bool;3003 }3016 }300430173005 /** @name RmrkTraitsCollectionCollectionInfo (377) */3018 /** @name RmrkTraitsCollectionCollectionInfo (378) */3006 export interface RmrkTraitsCollectionCollectionInfo extends Struct {3019 export interface RmrkTraitsCollectionCollectionInfo extends Struct {3007 readonly issuer: AccountId32;3020 readonly issuer: AccountId32;3008 readonly metadata: Bytes;3021 readonly metadata: Bytes;3011 readonly nftsCount: u32;3024 readonly nftsCount: u32;3012 }3025 }301330263014 /** @name RmrkTraitsNftNftInfo (378) */3027 /** @name RmrkTraitsNftNftInfo (379) */3015 export interface RmrkTraitsNftNftInfo extends Struct {3028 export interface RmrkTraitsNftNftInfo extends Struct {3016 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3029 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3017 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3030 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3020 readonly pending: bool;3033 readonly pending: bool;3021 }3034 }302230353023 /** @name RmrkTraitsNftRoyaltyInfo (380) */3036 /** @name RmrkTraitsNftRoyaltyInfo (381) */3024 export interface RmrkTraitsNftRoyaltyInfo extends Struct {3037 export interface RmrkTraitsNftRoyaltyInfo extends Struct {3025 readonly recipient: AccountId32;3038 readonly recipient: AccountId32;3026 readonly amount: Permill;3039 readonly amount: Permill;3027 }3040 }302830413029 /** @name RmrkTraitsResourceResourceInfo (381) */3042 /** @name RmrkTraitsResourceResourceInfo (382) */3030 export interface RmrkTraitsResourceResourceInfo extends Struct {3043 export interface RmrkTraitsResourceResourceInfo extends Struct {3031 readonly id: u32;3044 readonly id: u32;3032 readonly resource: RmrkTraitsResourceResourceTypes;3045 readonly resource: RmrkTraitsResourceResourceTypes;3033 readonly pending: bool;3046 readonly pending: bool;3034 readonly pendingRemoval: bool;3047 readonly pendingRemoval: bool;3035 }3048 }303630493037 /** @name RmrkTraitsPropertyPropertyInfo (382) */3050 /** @name RmrkTraitsPropertyPropertyInfo (383) */3038 export interface RmrkTraitsPropertyPropertyInfo extends Struct {3051 export interface RmrkTraitsPropertyPropertyInfo extends Struct {3039 readonly key: Bytes;3052 readonly key: Bytes;3040 readonly value: Bytes;3053 readonly value: Bytes;3041 }3054 }304230553043 /** @name RmrkTraitsBaseBaseInfo (383) */3056 /** @name RmrkTraitsBaseBaseInfo (384) */3044 export interface RmrkTraitsBaseBaseInfo extends Struct {3057 export interface RmrkTraitsBaseBaseInfo extends Struct {3045 readonly issuer: AccountId32;3058 readonly issuer: AccountId32;3046 readonly baseType: Bytes;3059 readonly baseType: Bytes;3047 readonly symbol: Bytes;3060 readonly symbol: Bytes;3048 }3061 }304930623050 /** @name RmrkTraitsNftNftChild (384) */3063 /** @name RmrkTraitsNftNftChild (385) */3051 export interface RmrkTraitsNftNftChild extends Struct {3064 export interface RmrkTraitsNftNftChild extends Struct {3052 readonly collectionId: u32;3065 readonly collectionId: u32;3053 readonly nftId: u32;3066 readonly nftId: u32;3054 }3067 }305530683056 /** @name PalletCommonError (386) */3069 /** @name PalletCommonError (387) */3057 export interface PalletCommonError extends Enum {3070 export interface PalletCommonError extends Enum {3058 readonly isCollectionNotFound: boolean;3071 readonly isCollectionNotFound: boolean;3059 readonly isMustBeTokenOwner: boolean;3072 readonly isMustBeTokenOwner: boolean;3092 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';3105 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';3093 }3106 }309431073095 /** @name PalletFungibleError (388) */3108 /** @name PalletFungibleError (389) */3096 export interface PalletFungibleError extends Enum {3109 export interface PalletFungibleError extends Enum {3097 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3110 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3098 readonly isFungibleItemsHaveNoId: boolean;3111 readonly isFungibleItemsHaveNoId: boolean;3102 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3115 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3103 }3116 }310431173105 /** @name PalletRefungibleItemData (389) */3118 /** @name PalletRefungibleItemData (390) */3106 export interface PalletRefungibleItemData extends Struct {3119 export interface PalletRefungibleItemData extends Struct {3107 readonly constData: Bytes;3120 readonly constData: Bytes;3108 }3121 }310931223110 /** @name PalletRefungibleError (394) */3123 /** @name PalletRefungibleError (395) */3111 export interface PalletRefungibleError extends Enum {3124 export interface PalletRefungibleError extends Enum {3112 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3125 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3113 readonly isWrongRefungiblePieces: boolean;3126 readonly isWrongRefungiblePieces: boolean;3117 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3130 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3118 }3131 }311931323120 /** @name PalletNonfungibleItemData (395) */3133 /** @name PalletNonfungibleItemData (396) */3121 export interface PalletNonfungibleItemData extends Struct {3134 export interface PalletNonfungibleItemData extends Struct {3122 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3135 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3123 }3136 }312431373125 /** @name UpDataStructsPropertyScope (397) */3138 /** @name UpDataStructsPropertyScope (398) */3126 export interface UpDataStructsPropertyScope extends Enum {3139 export interface UpDataStructsPropertyScope extends Enum {3127 readonly isNone: boolean;3140 readonly isNone: boolean;3128 readonly isRmrk: boolean;3141 readonly isRmrk: boolean;3129 readonly isEth: boolean;3142 readonly isEth: boolean;3130 readonly type: 'None' | 'Rmrk' | 'Eth';3143 readonly type: 'None' | 'Rmrk' | 'Eth';3131 }3144 }313231453133 /** @name PalletNonfungibleError (399) */3146 /** @name PalletNonfungibleError (400) */3134 export interface PalletNonfungibleError extends Enum {3147 export interface PalletNonfungibleError extends Enum {3135 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3148 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3136 readonly isNonfungibleItemsHaveNoAmount: boolean;3149 readonly isNonfungibleItemsHaveNoAmount: boolean;3137 readonly isCantBurnNftWithChildren: boolean;3150 readonly isCantBurnNftWithChildren: boolean;3138 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3151 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3139 }3152 }314031533141 /** @name PalletStructureError (400) */3154 /** @name PalletStructureError (401) */3142 export interface PalletStructureError extends Enum {3155 export interface PalletStructureError extends Enum {3143 readonly isOuroborosDetected: boolean;3156 readonly isOuroborosDetected: boolean;3144 readonly isDepthLimit: boolean;3157 readonly isDepthLimit: boolean;3147 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3160 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3148 }3161 }314931623150 /** @name PalletRmrkCoreError (401) */3163 /** @name PalletRmrkCoreError (402) */3151 export interface PalletRmrkCoreError extends Enum {3164 export interface PalletRmrkCoreError extends Enum {3152 readonly isCorruptedCollectionType: boolean;3165 readonly isCorruptedCollectionType: boolean;3153 readonly isRmrkPropertyKeyIsTooLong: boolean;3166 readonly isRmrkPropertyKeyIsTooLong: boolean;3171 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3184 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3172 }3185 }317331863174 /** @name PalletRmrkEquipError (403) */3187 /** @name PalletRmrkEquipError (404) */3175 export interface PalletRmrkEquipError extends Enum {3188 export interface PalletRmrkEquipError extends Enum {3176 readonly isPermissionError: boolean;3189 readonly isPermissionError: boolean;3177 readonly isNoAvailableBaseId: boolean;3190 readonly isNoAvailableBaseId: boolean;3183 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3196 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3184 }3197 }318531983186 /** @name PalletEvmError (406) */3199 /** @name PalletEvmError (407) */3187 export interface PalletEvmError extends Enum {3200 export interface PalletEvmError extends Enum {3188 readonly isBalanceLow: boolean;3201 readonly isBalanceLow: boolean;3189 readonly isFeeOverflow: boolean;3202 readonly isFeeOverflow: boolean;3194 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3207 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3195 }3208 }319632093197 /** @name FpRpcTransactionStatus (409) */3210 /** @name FpRpcTransactionStatus (410) */3198 export interface FpRpcTransactionStatus extends Struct {3211 export interface FpRpcTransactionStatus extends Struct {3199 readonly transactionHash: H256;3212 readonly transactionHash: H256;3200 readonly transactionIndex: u32;3213 readonly transactionIndex: u32;3205 readonly logsBloom: EthbloomBloom;3218 readonly logsBloom: EthbloomBloom;3206 }3219 }320732203208 /** @name EthbloomBloom (411) */3221 /** @name EthbloomBloom (412) */3209 export interface EthbloomBloom extends U8aFixed {}3222 export interface EthbloomBloom extends U8aFixed {}321032233211 /** @name EthereumReceiptReceiptV3 (413) */3224 /** @name EthereumReceiptReceiptV3 (414) */3212 export interface EthereumReceiptReceiptV3 extends Enum {3225 export interface EthereumReceiptReceiptV3 extends Enum {3213 readonly isLegacy: boolean;3226 readonly isLegacy: boolean;3214 readonly asLegacy: EthereumReceiptEip658ReceiptData;3227 readonly asLegacy: EthereumReceiptEip658ReceiptData;3219 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3232 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3220 }3233 }322132343222 /** @name EthereumReceiptEip658ReceiptData (414) */3235 /** @name EthereumReceiptEip658ReceiptData (415) */3223 export interface EthereumReceiptEip658ReceiptData extends Struct {3236 export interface EthereumReceiptEip658ReceiptData extends Struct {3224 readonly statusCode: u8;3237 readonly statusCode: u8;3225 readonly usedGas: U256;3238 readonly usedGas: U256;3226 readonly logsBloom: EthbloomBloom;3239 readonly logsBloom: EthbloomBloom;3227 readonly logs: Vec<EthereumLog>;3240 readonly logs: Vec<EthereumLog>;3228 }3241 }322932423230 /** @name EthereumBlock (415) */3243 /** @name EthereumBlock (416) */3231 export interface EthereumBlock extends Struct {3244 export interface EthereumBlock extends Struct {3232 readonly header: EthereumHeader;3245 readonly header: EthereumHeader;3233 readonly transactions: Vec<EthereumTransactionTransactionV2>;3246 readonly transactions: Vec<EthereumTransactionTransactionV2>;3234 readonly ommers: Vec<EthereumHeader>;3247 readonly ommers: Vec<EthereumHeader>;3235 }3248 }323632493237 /** @name EthereumHeader (416) */3250 /** @name EthereumHeader (417) */3238 export interface EthereumHeader extends Struct {3251 export interface EthereumHeader extends Struct {3239 readonly parentHash: H256;3252 readonly parentHash: H256;3240 readonly ommersHash: H256;3253 readonly ommersHash: H256;3253 readonly nonce: EthereumTypesHashH64;3266 readonly nonce: EthereumTypesHashH64;3254 }3267 }325532683256 /** @name EthereumTypesHashH64 (417) */3269 /** @name EthereumTypesHashH64 (418) */3257 export interface EthereumTypesHashH64 extends U8aFixed {}3270 export interface EthereumTypesHashH64 extends U8aFixed {}325832713259 /** @name PalletEthereumError (422) */3272 /** @name PalletEthereumError (423) */3260 export interface PalletEthereumError extends Enum {3273 export interface PalletEthereumError extends Enum {3261 readonly isInvalidSignature: boolean;3274 readonly isInvalidSignature: boolean;3262 readonly isPreLogExists: boolean;3275 readonly isPreLogExists: boolean;3263 readonly type: 'InvalidSignature' | 'PreLogExists';3276 readonly type: 'InvalidSignature' | 'PreLogExists';3264 }3277 }326532783266 /** @name PalletEvmCoderSubstrateError (423) */3279 /** @name PalletEvmCoderSubstrateError (424) */3267 export interface PalletEvmCoderSubstrateError extends Enum {3280 export interface PalletEvmCoderSubstrateError extends Enum {3268 readonly isOutOfGas: boolean;3281 readonly isOutOfGas: boolean;3269 readonly isOutOfFund: boolean;3282 readonly isOutOfFund: boolean;3270 readonly type: 'OutOfGas' | 'OutOfFund';3283 readonly type: 'OutOfGas' | 'OutOfFund';3271 }3284 }327232853273 /** @name PalletEvmContractHelpersSponsoringModeT (424) */3286 /** @name PalletEvmContractHelpersSponsoringModeT (425) */3274 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3287 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3275 readonly isDisabled: boolean;3288 readonly isDisabled: boolean;3276 readonly isAllowlisted: boolean;3289 readonly isAllowlisted: boolean;3277 readonly isGenerous: boolean;3290 readonly isGenerous: boolean;3278 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3291 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3279 }3292 }328032933281 /** @name PalletEvmContractHelpersError (426) */3294 /** @name PalletEvmContractHelpersError (427) */3282 export interface PalletEvmContractHelpersError extends Enum {3295 export interface PalletEvmContractHelpersError extends Enum {3283 readonly isNoPermission: boolean;3296 readonly isNoPermission: boolean;3284 readonly type: 'NoPermission';3297 readonly type: 'NoPermission';3285 }3298 }328632993287 /** @name PalletEvmMigrationError (427) */3300 /** @name PalletEvmMigrationError (428) */3288 export interface PalletEvmMigrationError extends Enum {3301 export interface PalletEvmMigrationError extends Enum {3289 readonly isAccountNotEmpty: boolean;3302 readonly isAccountNotEmpty: boolean;3290 readonly isAccountIsNotMigrating: boolean;3303 readonly isAccountIsNotMigrating: boolean;3291 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3304 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3292 }3305 }329333063294 /** @name SpRuntimeMultiSignature (429) */3307 /** @name SpRuntimeMultiSignature (430) */3295 export interface SpRuntimeMultiSignature extends Enum {3308 export interface SpRuntimeMultiSignature extends Enum {3296 readonly isEd25519: boolean;3309 readonly isEd25519: boolean;3297 readonly asEd25519: SpCoreEd25519Signature;3310 readonly asEd25519: SpCoreEd25519Signature;3302 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3315 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3303 }3316 }330433173305 /** @name SpCoreEd25519Signature (430) */3318 /** @name SpCoreEd25519Signature (431) */3306 export interface SpCoreEd25519Signature extends U8aFixed {}3319 export interface SpCoreEd25519Signature extends U8aFixed {}330733203308 /** @name SpCoreSr25519Signature (432) */3321 /** @name SpCoreSr25519Signature (433) */3309 export interface SpCoreSr25519Signature extends U8aFixed {}3322 export interface SpCoreSr25519Signature extends U8aFixed {}331033233311 /** @name SpCoreEcdsaSignature (433) */3324 /** @name SpCoreEcdsaSignature (434) */3312 export interface SpCoreEcdsaSignature extends U8aFixed {}3325 export interface SpCoreEcdsaSignature extends U8aFixed {}331333263314 /** @name FrameSystemExtensionsCheckSpecVersion (436) */3327 /** @name FrameSystemExtensionsCheckSpecVersion (437) */3315 export type FrameSystemExtensionsCheckSpecVersion = Null;3328 export type FrameSystemExtensionsCheckSpecVersion = Null;331633293317 /** @name FrameSystemExtensionsCheckGenesis (437) */3330 /** @name FrameSystemExtensionsCheckGenesis (438) */3318 export type FrameSystemExtensionsCheckGenesis = Null;3331 export type FrameSystemExtensionsCheckGenesis = Null;331933323320 /** @name FrameSystemExtensionsCheckNonce (440) */3333 /** @name FrameSystemExtensionsCheckNonce (441) */3321 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3334 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}332233353323 /** @name FrameSystemExtensionsCheckWeight (441) */3336 /** @name FrameSystemExtensionsCheckWeight (442) */3324 export type FrameSystemExtensionsCheckWeight = Null;3337 export type FrameSystemExtensionsCheckWeight = Null;332533383326 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (442) */3339 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (443) */3327 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3340 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}332833413329 /** @name OpalRuntimeRuntime (443) */3342 /** @name OpalRuntimeRuntime (444) */3330 export type OpalRuntimeRuntime = Null;3343 export type OpalRuntimeRuntime = Null;333133443332 /** @name PalletEthereumFakeTransactionFinalizer (444) */3345 /** @name PalletEthereumFakeTransactionFinalizer (445) */3333 export type PalletEthereumFakeTransactionFinalizer = Null;3346 export type PalletEthereumFakeTransactionFinalizer = Null;333433473335} // declare module3348} // declare moduletests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -50,6 +50,7 @@
'unique',
'nonfungible',
'charging',
+ 'configuration',
];
// Pallets that depend on consensus and governance configuration